/* ============================================================
   FRRIDAY Main Stylesheet
   Minimal Editorial, Interactive Storytelling & Native App Mobile Experience
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--paper);
  overflow-x: clip;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

main {
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Lenis Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 0.7rem + 1.2vw, 1.6rem) var(--gutter);
  transition: transform 0.45s var(--ease), background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background-color: rgba(247, 244, 238, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 4px 20px rgba(27, 26, 23, 0.03);
}

.nav.is-hidden {
  transform: translateY(-110%);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav__dot {
  color: var(--accent);
  display: inline-block;
  animation: pulseDot 3s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 0.2rem + 0.95vw, 1.5rem);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}

.nav__link {
  position: relative;
  transition: color 0.25s ease;
  padding: 0.4rem 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--highlight {
  color: var(--accent);
  font-weight: 600;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55em 1.2em;
  border: 1px solid var(--ink);
  border-radius: var(--radius-full);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.nav__cta:hover {
  background-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  position: relative;
  align-items: center;
  justify-content: center;
  z-index: 102;
  transition: background 0.2s, transform 0.2s;
}

.nav__toggle:active {
  transform: scale(0.92);
}

.nav__burger {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav__toggle.is-active .nav__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle.is-active .nav__burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-active .nav__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer (App style sheet) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(27, 26, 23, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--paper-2);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--hairline);
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 1rem));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateY(0);
}

.mobile-drawer__handle {
  width: 44px;
  height: 4px;
  background: var(--hairline);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer__link {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
}

.mobile-drawer__link span {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--muted);
  letter-spacing: 0.1em;
}

.mobile-drawer__cta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  border: none;
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 3.5rem + 3vw, 6.5rem) var(--gutter) var(--section-y);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(0.8rem, 0.5rem + 0.6vw, 1.2rem);
}

.eyebrow__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
  animation: pulseGlow 2.4s var(--ease) infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
}

.hero__sub {
  margin-top: clamp(1.4rem, 1rem + 1vw, 2.2rem);
  max-width: 48ch;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__sub strong {
  font-weight: 600;
  color: var(--ink);
}

/* Micro metadata chips */
.hero__meta {
  margin-top: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__meta-label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
  padding: 0.4em 0.85em;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--paper-2);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), color 0.25s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.chip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- The FR·60 Media Console --- */
.hero__media {
  display: flex;
  justify-content: center;
  width: 100%;
}
.tv {
  width: 100%;
  max-width: 440px;
  cursor: pointer;
  outline-offset: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  user-select: none;
}

/* ============================================================
   ATMOSPHERIC GRADIENT SPOTLIGHT (BEHIND TV)
   ============================================================ */
.tv__spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(380px, 125%, 560px);
  height: clamp(340px, 110%, 480px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(225, 238, 255, 0.75) 20%,
    rgba(0, 110, 255, 0.35) 42%,
    rgba(0, 240, 255, 0.22) 60%,
    rgba(168, 85, 247, 0.12) 75%,
    transparent 88%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s var(--ease);
  animation: spotBreathe 5.5s ease-in-out infinite;
}

@keyframes spotBreathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

.tv:hover .tv__spotlight {
  transform: translate(-50%, -50%) scale(1.14);
  opacity: 1;
  filter: blur(54px);
}

.tv:has(.tv__screen.is-playing) .tv__spotlight {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(210, 240, 255, 0.8) 22%,
    rgba(0, 120, 255, 0.42) 44%,
    rgba(0, 255, 180, 0.25) 62%,
    rgba(168, 85, 247, 0.14) 76%,
    transparent 90%
  );
  opacity: 1;
}

/* ============================================================
   TV ANTENNA & ELECTRICAL SPARKS
   ============================================================ */
.tv__antenna {
  position: relative;
  width: 260px;
  height: 110px;
  margin-bottom: -1px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}

/* Seamless Metallic Center Swivel Base */
.tv__antenna-mount {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 16px;
  background: linear-gradient(180deg, #eae5da 0%, #b8b1a3 50%, #706a5e 100%);
  border-radius: 8px 8px 0 0;
  border: 1.5px solid rgba(27, 26, 23, 0.3);
  border-bottom: none;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2), inset 0 1px 2px #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8px 2px;
}

.tv__antenna-swivel {
  width: 10px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #dfd8cb, #595347);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-bottom: none;
}

/* Dual Telescoping Chrome Antenna Rods */
.tv__antenna-rod {
  position: absolute;
  bottom: 10px;
  width: 4.5px;
  height: 96px;
  background: linear-gradient(90deg, #f2eee6, #a8a192 35%, #ffffff 65%, #666052 100%);
  border-radius: 2px;
  transform-origin: bottom center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
}

.tv__antenna-rod--l {
  left: calc(50% - 13px);
  transform: rotate(-28deg);
}

.tv__antenna-rod--r {
  right: calc(50% - 13px);
  transform: rotate(28deg);
}

.tv:hover .tv__antenna-rod--l {
  transform: rotate(-33deg);
}

.tv:hover .tv__antenna-rod--r {
  transform: rotate(33deg);
}

/* Chrome Ball Tips */
.tv__antenna-tip {
  position: absolute;
  top: -8px;
  left: -4.25px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #cfc7b6 45%, #595345 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Electric Sparks & Lightning Arc */
.tv__sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.tv__spark-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spark-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark-line--1 {
  stroke: #ffffff;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 4px #00f0ff) drop-shadow(0 0 10px #7928ca);
  opacity: 0;
  animation: zapArc1 4.5s cubic-bezier(0.1, 0.9, 0.2, 1) infinite;
}

.spark-line--2 {
  stroke: #00f0ff;
  stroke-width: 2px;
  filter: drop-shadow(0 0 6px #00f0ff) drop-shadow(0 0 14px #b800ff);
  opacity: 0;
  animation: zapArc2 4.5s cubic-bezier(0.1, 0.9, 0.2, 1) infinite;
}

.spark-line--3 {
  stroke: #c48aff;
  stroke-width: 1.8px;
  filter: drop-shadow(0 0 5px #00f0ff);
  opacity: 0;
  animation: zapBranch 4.5s ease-in-out infinite;
}

.spark-burst {
  stroke: #ffffff;
  stroke-width: 2px;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px #00f0ff) drop-shadow(0 0 10px #a855f7);
  opacity: 0;
  animation: zapBursts 4.5s ease-in-out infinite;
}

.spark-core {
  fill: #ffffff;
  filter: drop-shadow(0 0 8px #00f0ff) drop-shadow(0 0 16px #a855f7);
  opacity: 0;
  animation: zapCores 4.5s ease-in-out infinite;
}

.tv__spark-flash {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.4) 0%, rgba(168, 85, 247, 0.18) 50%, transparent 75%);
  opacity: 0;
  filter: blur(10px);
  animation: zapFlash 4.5s ease-in-out infinite;
}

/* Sudden Electricity Sparks Keyframes */
@keyframes zapArc1 {
  0%, 68% { opacity: 0; transform: scale(0.98); }
  68.8% { opacity: 1; transform: scale(1.02) translateY(-1px); }
  69.6% { opacity: 0.1; }
  70.4% { opacity: 0.95; transform: scale(0.99) translateY(1px); }
  71.2% { opacity: 0; }
  72.0% { opacity: 1; transform: scale(1.03) translateY(-2px); }
  72.8% { opacity: 0.2; }
  73.6% { opacity: 1; transform: scale(1); }
  74.8% { opacity: 0; }
  85% { opacity: 0; }
  85.8% { opacity: 0.85; }
  86.5% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zapArc2 {
  0%, 68.5% { opacity: 0; }
  69.3% { opacity: 0.9; stroke-dashoffset: 20; }
  70.1% { opacity: 0; }
  71.0% { opacity: 1; stroke-dashoffset: -10; }
  71.8% { opacity: 0.15; }
  72.8% { opacity: 0.95; }
  74.2% { opacity: 0; }
  86.0% { opacity: 0; }
  86.6% { opacity: 1; }
  87.3% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zapBranch {
  0%, 70% { opacity: 0; }
  70.8% { opacity: 0.8; }
  71.6% { opacity: 0; }
  72.4% { opacity: 1; }
  73.4% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zapBursts {
  0%, 68.2% { opacity: 0; transform: scale(0.8); }
  69.0% { opacity: 1; transform: scale(1.2); }
  70.2% { opacity: 0; }
  71.5% { opacity: 1; transform: scale(1.4); }
  73.0% { opacity: 0.2; }
  73.8% { opacity: 1; transform: scale(1.1); }
  75.0% { opacity: 0; }
  85.5% { opacity: 0; }
  86.2% { opacity: 1; }
  87.0% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zapCores {
  0%, 68% { opacity: 0; transform: scale(0.5); }
  68.8% { opacity: 1; transform: scale(1.5); }
  70% { opacity: 0.2; }
  71% { opacity: 1; transform: scale(1.7); }
  72.6% { opacity: 0.3; }
  73.8% { opacity: 1; transform: scale(1.3); }
  75.0% { opacity: 0; }
  85.6% { opacity: 0; }
  86.4% { opacity: 1; transform: scale(1.4); }
  87.2% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zapFlash {
  0%, 68.5% { opacity: 0; transform: translateX(-50%) scale(0.8); }
  69.4% { opacity: 0.85; transform: translateX(-50%) scale(1.2); }
  70.8% { opacity: 0.1; }
  72.2% { opacity: 1; transform: translateX(-50%) scale(1.4); }
  74.0% { opacity: 0.15; }
  75.0% { opacity: 0; }
  85.8% { opacity: 0.6; }
  86.8% { opacity: 0; }
  100% { opacity: 0; }
}

.tv:hover .spark-line--1,
.tv:hover .spark-line--2,
.tv:hover .spark-burst,
.tv:hover .spark-core,
.tv:hover .tv__spark-flash {
  animation-duration: 2s;
}

.tv__sparks.is-zapping .spark-line--1,
.tv__sparks.is-zapping .spark-line--2,
.tv__sparks.is-zapping .spark-burst,
.tv__sparks.is-zapping .spark-core {
  opacity: 1 !important;
  animation: zapArc1 0.4s cubic-bezier(0.1, 0.9, 0.2, 1) infinite !important;
}

.tv__sparks.is-zapping .tv__spark-flash {
  opacity: 0.9 !important;
}

/* ============================================================
   TV CABINET BODY
   ============================================================ */
.tv__set {
  width: 100%;
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(158deg, #ded8cc 0%, #c5bdae 55%, #b1a998 100%);
  border: 1.5px solid rgba(27, 26, 23, 0.22);
  box-shadow: 0 30px 55px -25px rgba(27, 26, 23, 0.48),
              inset 0 2px 3px rgba(255, 255, 255, 0.7),
              inset 0 -4px 8px rgba(27, 26, 23, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  z-index: 3;
}

.tv:hover .tv__set,
.tv:hover .tv__antenna {
  transform: translateY(-6px);
}

.tv:hover .tv__set {
  box-shadow: 0 40px 70px -25px rgba(27, 26, 23, 0.58),
              inset 0 2px 3px rgba(255, 255, 255, 0.7);
}

/* ============================================================
   CRT SCREEN, GRAIN & STATIC GLITCH
   ============================================================ */
.tv__screen {
  flex: 1;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 10%, #201f1a 0%, #11100d 75%);
  border: 3px solid #282620;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  animation: crtGlitchJitter 4.5s ease-in-out infinite;
}

.tv:hover .tv__screen {
  animation-duration: 2s;
}

/* Base Subtle Scanline Noise */
.tv__noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  animation: crtNoise 3.5s steps(6) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes crtNoise {
  to { transform: translateY(-3px); }
}

/* High-Intensity Static Snow & Glitch (Synced with Sparks) */
.tv__static {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  animation: screenStaticGlitch 4.5s cubic-bezier(0.1, 0.9, 0.2, 1) infinite;
}

.tv:hover .tv__static {
  animation-duration: 2s;
}

.tv__static-noise {
  position: absolute;
  inset: -15%;
  background-image: 
    radial-gradient(circle, #ffffff 12%, transparent 13%),
    radial-gradient(circle at 40% 60%, #ffffff 8%, transparent 9%),
    radial-gradient(circle at 80% 20%, #ffffff 10%, transparent 11%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 2px, transparent 2px 4px);
  background-size: 6px 6px, 10px 10px, 8px 8px, 100% 4px;
  mix-blend-mode: screen;
  animation: noiseJitter 0.12s steps(2) infinite;
}

.tv__static-lines {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 30%, 
    rgba(255, 255, 255, 0.75) 50%, 
    rgba(255, 255, 255, 0.2) 70%, 
    transparent 100%
  );
  animation: crtRoll 0.35s linear infinite;
}

@keyframes noiseJitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 3%); }
}

@keyframes crtRoll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Screen Static Glitch Keyframes Synced to Spark Timing */
@keyframes screenStaticGlitch {
  0%, 68% { opacity: 0; }
  68.8% { opacity: 0.85; }
  69.6% { opacity: 0.15; }
  70.4% { opacity: 0.95; }
  71.2% { opacity: 0.05; }
  72.0% { opacity: 1; }
  72.8% { opacity: 0.35; }
  73.6% { opacity: 0.9; }
  74.8% { opacity: 0; }
  85% { opacity: 0; }
  85.8% { opacity: 0.8; }
  86.5% { opacity: 0; }
  100% { opacity: 0; }
}

/* Screen Jitter & Bloom Keyframes */
@keyframes crtGlitchJitter {
  0%, 68% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
  68.8% { filter: brightness(1.6) contrast(1.4); transform: translate(-1px, 1px); }
  69.6% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
  70.4% { filter: brightness(1.7) contrast(1.5); transform: translate(1.5px, -1px); }
  71.2% { filter: brightness(1.1) contrast(1); transform: translate(0, 0); }
  72.0% { filter: brightness(1.8) contrast(1.6); transform: translate(-1.5px, -1px); }
  72.8% { filter: brightness(1.2) contrast(1.1); transform: translate(0.5px, 0.5px); }
  73.6% { filter: brightness(1.5) contrast(1.3); transform: translate(0, 0); }
  74.8% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
  85% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
  85.8% { filter: brightness(1.4) contrast(1.2); transform: translate(1px, -0.5px); }
  86.5% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
  100% { filter: brightness(1) contrast(1); transform: translate(0, 0); }
}

/* Interactive Instant Zapping Static State */
.tv__sparks.is-zapping ~ .tv__set .tv__static,
.tv.is-sparking .tv__static {
  opacity: 0.95 !important;
  animation: screenStaticGlitch 0.4s cubic-bezier(0.1, 0.9, 0.2, 1) infinite !important;
}

.tv__sparks.is-zapping ~ .tv__set .tv__screen,
.tv.is-sparking .tv__screen {
  filter: brightness(1.6) contrast(1.4) !important;
}

/* ============================================================
   MID-CENTURY WOODEN STOOL STAND
   ============================================================ */
.tv__stand {
  width: 82%;
  margin: -4px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
}

/* Stool Top Solid Walnut Seat */
.stool__top {
  width: 100%;
  height: 18px;
  background: linear-gradient(180deg, #8f552e 0%, #703f1d 40%, #4f270e 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(27, 26, 23, 0.35),
              inset 0 2px 2px rgba(255, 230, 190, 0.4),
              inset 0 -2px 3px rgba(0, 0, 0, 0.5);
  border: 1px solid #421e08;
}

.stool__grain {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,0.06) 8px 10px, transparent 10px 24px, rgba(0,0,0,0.12) 24px 27px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
  opacity: 0.8;
}

/* Stool Apron Frame */
.stool__apron {
  width: 90%;
  height: 8px;
  background: linear-gradient(180deg, #3a1906 0%, #291002 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.5);
}

/* Stool Legs Structural Frame */
.stool__frame {
  width: 94%;
  height: 92px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 8px;
}

/* Center Arch Rail (Leaves clean wide open space in center) */
.stool__center-rail {
  position: absolute;
  top: 8px;
  left: 24%;
  width: 52%;
  height: 5px;
  background: linear-gradient(180deg, #4d240b, #2c1203);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Grouped Leg Pairs (Left & Right) */
.stool__leg-group {
  position: relative;
  width: 48px;
  height: 90px;
}

.stool__leg {
  position: absolute;
  top: 0;
  border-radius: 2px 2px 3px 3px;
  transform-origin: top center;
}

/* --- Left Leg Pair --- */
.stool__leg--bl {
  left: 16px;
  width: 12px;
  height: 86px;
  background: linear-gradient(180deg, #3d1b06, #220e03);
  transform: rotate(10deg);
  filter: brightness(0.65);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}

.stool__leg--fl {
  left: 0;
  width: 14px;
  height: 90px;
  background: linear-gradient(115deg, #aa6a3e 0%, #7a431d 60%, #4d260e 100%);
  transform: rotate(14deg);
  box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.35), inset 1px 1px 2px rgba(255, 230, 190, 0.4);
  z-index: 2;
}

.stool__rung--left {
  position: absolute;
  top: 46px;
  left: 2px;
  width: 28px;
  height: 5px;
  background: linear-gradient(180deg, #743f1b, #45210a);
  border-radius: 2px;
  transform: rotate(12deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* --- Right Leg Pair --- */
.stool__leg--br {
  right: 16px;
  width: 12px;
  height: 86px;
  background: linear-gradient(180deg, #3d1b06, #220e03);
  transform: rotate(-10deg);
  filter: brightness(0.65);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}

.stool__leg--fr {
  right: 0;
  width: 14px;
  height: 90px;
  background: linear-gradient(245deg, #aa6a3e 0%, #7a431d 60%, #4d260e 100%);
  transform: rotate(-14deg);
  box-shadow: -3px 6px 12px rgba(0, 0, 0, 0.35), inset -1px 1px 2px rgba(255, 230, 190, 0.4);
  z-index: 2;
}

.stool__rung--right {
  position: absolute;
  top: 46px;
  right: 2px;
  width: 28px;
  height: 5px;
  background: linear-gradient(180deg, #743f1b, #45210a);
  border-radius: 2px;
  transform: rotate(-12deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Brass Gold Ferrules (Boots on Front Legs) */
.stool__ferrule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: linear-gradient(90deg, #fceda2 0%, #d8a83e 45%, #9b7218 85%, #d8a83e 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 1px 2px #ffffff, 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Floor Contact Ambient Shadow */
.stool__shadow {
  width: 106%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(27, 26, 23, 0.5) 0%, rgba(27, 26, 23, 0.16) 50%, transparent 75%);
  margin-top: -6px;
  filter: blur(3px);
}

@keyframes crtNoise {
  to { transform: translateY(-3px); }
}

.tv__label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.85);
  z-index: 3;
  transition: opacity 0.3s ease;
}

.tv__play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), background-color 0.3s ease, opacity 0.3s ease;
  z-index: 4;
}

.tv__play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 16px solid var(--ink);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.tv:hover .tv__play {
  transform: scale(1.1);
  background: #ffffff;
}

/* Video Player Layer */
.tv__player {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08080a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.tv__screen.is-playing .tv__player {
  opacity: 1;
}

/* YouTube IFrame Embed Container (Scaled 16:9 crop so zero black bars or YouTube edge UI appear) */
.tv__yt-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tv__yt-wrap.is-active {
  opacity: 1;
  visibility: visible;
}

.tv__yt-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 aspect ratio scaled up to fill 4:3 box and crop out YouTube top/bottom chrome */
  width: 178%;
  height: 134%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none !important;
  user-select: none;
}

/* CRT Screen Glass Shield (Blocks all YouTube hover cards, routes clicks to vintage TV controls) */
.tv__glass {
  position: absolute;
  inset: 0;
  z-index: 8;
  cursor: pointer;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: auto;
}

/* Retro OSD HUD */
.tv__hud {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00ff88;
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.8);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tv__screen.is-playing .tv__hud {
  opacity: 1;
}

/* On-Screen Volume Display (OSD) */
.tv__vol-osd {
  position: absolute;
  top: 26px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00ff88;
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.9);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 3px;
}

.tv__vol-osd.is-visible {
  opacity: 1;
}

/* Playing State Visibility */
.tv__screen.is-playing .tv__play {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
}

.tv__screen.is-playing .tv__label {
  opacity: 0;
}

/* ============================================================
   TV HARDWARE CONTROL PANEL (RIGHT SIDE CONTROLS)
   ============================================================ */
.tv__panel {
  width: clamp(56px, 16%, 82px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 2px 2px 4px;
  user-select: none;
  z-index: 5;
}

.tv__brand {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #524b3f;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85), 0 -1px 1px rgba(27, 26, 23, 0.65);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(27, 26, 23, 0.04);
  box-shadow: inset 0 1px 2px rgba(27, 26, 23, 0.22), 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-top-color: rgba(27, 26, 23, 0.25);
  user-select: none;
  margin-bottom: 2px;
}

.tv__brand-dot {
  color: var(--accent);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85), 0 -1px 1px rgba(0, 50, 150, 0.7);
  display: inline-block;
}

/* Hardware Control Unit & Typography */
.tv__hw-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.tv__hw-label {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #554e42;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

/* Power / Playback Status LED */
.tv__hw-unit--status {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 1px 0 2px;
}

.tv__led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d48a14;
  box-shadow: 0 0 5px rgba(212, 138, 20, 0.8), inset 0 1px 1px #fff;
  border: 1px solid rgba(27, 26, 23, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tv__led.is-active,
.tv__screen.is-playing ~ .tv__panel .tv__led {
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88, inset 0 1px 2px #ffffff;
}

/* Tactile Vintage Hardware Push Buttons */
.tv__hw-btn {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, #eae4d8 0%, #b8b0a1 50%, #8f8778 100%);
  border: 1px solid #5a5448;
  box-shadow: 0 2px 4px rgba(27, 26, 23, 0.35), inset 0 1px 1px #ffffff, inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
  padding: 0;
}

.tv__hw-btn:hover {
  background: linear-gradient(180deg, #f5f0e6 0%, #c8c0b2 50%, #9e9687 100%);
  box-shadow: 0 3px 6px rgba(27, 26, 23, 0.4), inset 0 1px 1.5px #ffffff;
}

.tv__hw-btn:active {
  transform: translateY(1.5px) scale(0.96);
  box-shadow: 0 1px 2px rgba(27, 26, 23, 0.4), inset 0 2px 3px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #a39c8f 0%, #80796d 100%);
}

.tv__hw-btn-icon {
  font-size: 9px;
  line-height: 1;
  color: #2b2720;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Tactile Rotary Knobs */
.tv__dial {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ede8dc 0%, #b8b1a2 55%, #6e675a 100%);
  box-shadow: 0 3px 5px rgba(27, 26, 23, 0.38), inset 0 1px 1px #ffffff, inset 0 -2px 3px rgba(0, 0, 0, 0.45);
  border: 1.5px solid #4a453b;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  padding: 0;
}

.tv__dial:hover {
  filter: brightness(1.06);
}

.tv__dial:active {
  transform: scale(0.94);
}

.tv__dial--vol {
  width: 22px;
  height: 22px;
}

.tv__dial--ch {
  width: 28px;
  height: 28px;
}

.tv__dial-notch {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: #201e18;
  border-radius: 1px;
  box-shadow: 0 0.5px 0.5px rgba(255, 255, 255, 0.7);
}

.tv__dial-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #91897c);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
}

/* Volume Micro Step Controls */
.tv__hw-vol-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  margin-top: 1px;
}

.tv__hw-step {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #c8c1b3;
  border: 1px solid #7d7567;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  color: #2b2720;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 2px rgba(27, 26, 23, 0.25), inset 0 1px 0 #fff;
  transition: transform 0.1s, background 0.15s;
}

.tv__hw-step:hover {
  background: #ded7cb;
}

.tv__hw-step:active {
  transform: scale(0.9);
  background: #9c9486;
}

/* Vintage Speaker Grille */
.tv__speaker {
  width: 100%;
  height: 38px;
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, #575044 0 2px, #b0a797 2px 4px);
  box-shadow: inset 0 2px 3px rgba(27, 26, 23, 0.45), 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(27, 26, 23, 0.2);
  margin-top: 2px;
}

.tv__caption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--muted);
}

/* Scroll Cue */
.hero__scroll {
  margin-top: clamp(1.8rem, 1.2rem + 1.5vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll-line {
  width: 44px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: left;
  animation: scrollPulse 2.6s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ============================================================
   SHARED SECTION PRIMITIVES
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--hairline);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(1.8rem, 1.2rem + 1.5vw, 2.8rem);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 24ch;
  color: var(--ink);
}

.section-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}

.section-desc {
  font-size: var(--step-0);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
}

/* Tags & Badges */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  background: var(--paper-2);
  color: var(--ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  border: 1px solid var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ============================================================
   INTRODUCTION SECTION
   ============================================================ */
.intro {
  background: var(--paper);
}

.intro__content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 3vw, 4.5rem);
  align-items: start;
}

.intro__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.intro__text {
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.intro__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   SELECTED WORK / CASE STUDIES
   ============================================================ */
.work__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 1.8rem + 2.5vw, 4.5rem);
}

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1.2rem + 3.5vw, 5rem);
  align-items: center;
}

.case:nth-child(even) .case__media {
  order: 2;
}

.case__media {
  position: relative;
  width: 100%;
}

.case__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: radial-gradient(130% 120% at 20% 10%, #fff 0%, var(--paper-2) 65%, #ece7dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 45px -25px rgba(27, 26, 23, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.case:hover .case__stage {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px -30px rgba(27, 26, 23, 0.45);
}

.case__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.3rem;
}

.case__desc {
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-soft);
}

.case__metrics {
  display: flex;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  margin: 0.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.metric__num {
  font-family: var(--font-accent);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  display: block;
}

.metric__label {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
}


/* Floating interactive props */
.float {
  position: absolute;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  z-index: 10;
  filter: drop-shadow(0 10px 14px rgba(27, 26, 23, 0.22));
  animation: floatMotion 5s ease-in-out infinite;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.float:active {
  cursor: grabbing;
}

.float--1 { top: 8%; right: 8%; animation-duration: 4.6s; }
.float--2 { bottom: 10%; left: 6%; animation-duration: 5.4s; animation-delay: -1.5s; }
.float--3 { top: 12%; left: 8%; animation-duration: 4.8s; animation-delay: -2.5s; }

@keyframes floatMotion {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ============================================================
   RETRO DEVICE STAGES & AMBIENT GRADIENT SPOTLIGHTS
   ============================================================ */
.case__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: radial-gradient(130% 120% at 20% 10%, #fff 0%, var(--paper-2) 65%, #ece7dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 45px -25px rgba(27, 26, 23, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.case:hover .case__stage {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px -30px rgba(27, 26, 23, 0.45);
}

/* Ambient Diffuse Spotlights */
.case__spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(35px);
  opacity: 0.65;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  z-index: 1;
}

.case:hover .case__spotlight {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1.12);
}

.case__spotlight--wp {
  background: radial-gradient(circle, rgba(255, 140, 0, 0.45) 0%, rgba(220, 90, 0, 0.22) 35%, transparent 68%);
}

.case__spotlight--android {
  background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, rgba(0, 180, 255, 0.2) 38%, transparent 68%);
}

.case__spotlight--ios {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.42) 0%, rgba(138, 92, 255, 0.22) 38%, transparent 68%);
}

.case__spotlight--erp {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(79, 70, 229, 0.2) 40%, transparent 70%);
}

.case__spotlight--scripts {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(239, 68, 68, 0.2) 38%, transparent 68%);
}

/* Base Retro Device Container */
.retro-device {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s var(--ease);
}

.case:hover .retro-device {
  transform: translateY(-4px) scale(1.02);
}

/* Common Phosphor Scanlines */
.retro-crt__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  z-index: 5;
}

/* ============================================================
   DEVICE 01: FR-WP-CORE WORKSTATION CONSOLE (WORDPRESS)
   ============================================================ */
.retro-device--terminal {
  width: min(92%, 460px);
}

.retro-device__housing {
  width: 100%;
  background: linear-gradient(160deg, #eae5da 0%, #d3cbc0 50%, #beb6a8 100%);
  border-radius: 16px;
  border: 2px solid #544e43;
  padding: 14px;
  box-shadow: 0 20px 45px -15px rgba(27, 26, 23, 0.5),
              inset 0 2px 2px rgba(255, 255, 255, 0.8),
              inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.retro-device__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2px;
}

.retro-device__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: #3b362e;
  letter-spacing: -0.01em;
}

.retro-device__dot {
  color: var(--accent);
}

.retro-device__model {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #635c51;
  letter-spacing: 0.08em;
}

.retro-device__led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
}

.retro-device__led--amber {
  background: #ffaa00;
  box-shadow: 0 0 8px #ffaa00, inset 0 1px 2px #fff;
  animation: ledBlink 2.8s infinite;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.retro-device__screen--amber {
  background: radial-gradient(120% 120% at 50% 10%, #291a05 0%, #120b02 80%);
  border: 3px solid #1a1208;
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  color: #ffaa00;
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 0 4px rgba(255, 170, 0, 0.5);
}

.retro-crt__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 170, 0, 0.25);
  padding-bottom: 6px;
}

.retro-crt__badge {
  background: rgba(255, 170, 0, 0.2);
  color: #ffaa00;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 170, 0, 0.4);
  font-size: 9px;
  font-weight: 700;
}

.retro-crt__stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.retro-stat-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.retro-stat-box__lbl {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.retro-stat-box__val {
  font-size: 14px;
  font-weight: 700;
  color: #fff3db;
  text-shadow: 0 0 8px rgba(255, 170, 0, 0.8);
}

.retro-crt__waterfall {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.retro-crt__waterfall-label {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.retro-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
}

.retro-bar {
  flex: 1;
  background: linear-gradient(180deg, #ffe082 0%, #ffaa00 100%);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(255, 170, 0, 0.6);
  animation: barPulse 2.5s ease-in-out infinite alternate;
}

.retro-bar:nth-child(2) { animation-delay: -0.4s; }
.retro-bar:nth-child(3) { animation-delay: -0.8s; }
.retro-bar:nth-child(4) { animation-delay: -1.2s; }
.retro-bar:nth-child(5) { animation-delay: -1.6s; }
.retro-bar:nth-child(6) { animation-delay: -2.0s; }
.retro-bar:nth-child(7) { animation-delay: -2.4s; }

@keyframes barPulse {
  0% { transform: scaleY(0.7); }
  100% { transform: scaleY(1.05); }
}

.retro-crt__footer {
  font-size: 8.5px;
  opacity: 0.75;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 170, 0, 0.2);
  padding-top: 4px;
}

.retro-device__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 0;
}

.retro-knob-unit, .retro-switch-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.retro-knob-lbl {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  color: #574f44;
}

.retro-micro-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #a69e90 60%, #524b3f 100%);
  border: 1px solid #4a4337;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.retro-micro-knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 4px;
  background: #221f19;
  border-radius: 1px;
}

.retro-toggle-switch {
  width: 28px;
  height: 14px;
  background: #3b362e;
  border-radius: 7px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.retro-toggle-switch::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 1.5px;
  width: 11px;
  height: 11px;
  background: #ffaa00;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255, 170, 0, 0.8);
}

.retro-grille {
  flex: 1;
  height: 14px;
  background: repeating-linear-gradient(90deg, #423d34 0 2px, transparent 2px 5px);
  border-radius: 3px;
  opacity: 0.6;
}

/* ============================================================
   DEVICE 02: FR-120-CYBER CYBERDECK (ANDROID NATIVE 120HZ)
   ============================================================ */
.retro-device--cyberdeck {
  width: min(88%, 380px);
}

.cyberdeck__housing {
  width: 100%;
  background: linear-gradient(165deg, #2a2d36 0%, #1a1c22 60%, #101216 100%);
  border-radius: 20px;
  border: 2px solid #414654;
  padding: 14px;
  box-shadow: 0 25px 50px -18px rgba(0, 0, 0, 0.65),
              inset 0 1px 2px rgba(255, 255, 255, 0.25),
              inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.cyberdeck__top-ridge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.cyberdeck__antenna {
  width: 6px;
  height: 18px;
  background: linear-gradient(90deg, #d8d3c8, #8c867a);
  border-radius: 3px 3px 0 0;
  position: absolute;
  top: -24px;
  left: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.cyberdeck__antenna::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -2px;
  width: 10px;
  height: 5px;
  border-radius: 50%;
  background: #f0ebe1;
}

.cyberdeck__brand {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #8c93a8;
  letter-spacing: 0.1em;
}

.cyberdeck__led--green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88, inset 0 1px 2px #ffffff;
}

.cyberdeck__screen--green {
  background: radial-gradient(120% 120% at 50% 10%, #0c2016 0%, #040d08 80%);
  border: 3px solid #0f2b1d;
  border-radius: 10px;
  padding: 12px;
  position: relative;
  overflow: hidden;
  color: #00ff88;
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 0 4px rgba(0, 255, 136, 0.6);
}

.cyberdeck__status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 255, 136, 0.25);
  padding-bottom: 4px;
}

.cyberdeck__metric-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cyberdeck__metric-title {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.cyberdeck__fps-badge {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.9);
}

.cyberdeck__metric-sub {
  font-size: 8.5px;
  opacity: 0.85;
}

.cyberdeck__graph-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cyberdeck__graph-label {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.cyberdeck__flow-bars {
  display: flex;
  gap: 4px;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  padding: 1px;
}

.cyberdeck__flow-bar {
  height: 100%;
  border-radius: 2px;
}

.cyberdeck__footer-tags {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  opacity: 0.75;
  letter-spacing: 0.06em;
}

.cyberdeck__bottom-deck {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 0;
}

.cyberdeck__dpad {
  width: 32px;
  height: 32px;
  position: relative;
}

.cyberdeck__dpad-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 28px;
  background: #14151a;
  border: 1px solid #4a4e5c;
  border-radius: 2px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.5);
}

.cyberdeck__dpad-cross::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 10px;
  background: #14151a;
  border: 1px solid #4a4e5c;
  border-radius: 2px;
}

.cyberdeck__action-keys {
  display: flex;
  gap: 8px;
}

.cyberdeck__key {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff4b4b 0%, #aa1a1a 100%);
  border: 1px solid #440a0a;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
}

.cyberdeck__key:nth-child(2) {
  background: linear-gradient(180deg, #0088ff 0%, #0044aa 100%);
  border-color: #002255;
}

/* ============================================================
   DEVICE 03: FR-AURA-SWIFT TERMINAL (IOS SWIFTUI - BRAUN STYLE)
   ============================================================ */
.retro-device--braun {
  width: min(88%, 380px);
}

.braun__housing {
  width: 100%;
  background: linear-gradient(160deg, #f5f4ef 0%, #e2dfd7 60%, #ccc7bd 100%);
  border-radius: 22px;
  border: 2px solid #5a5448;
  padding: 16px;
  box-shadow: 0 25px 50px -18px rgba(27, 26, 23, 0.45),
              inset 0 2px 3px rgba(255, 255, 255, 0.9),
              inset 0 -3px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.braun__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.braun__brand {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: #4a443a;
  letter-spacing: 0.04em;
}

.braun__led--blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #007aff;
  box-shadow: 0 0 8px #007aff, inset 0 1px 2px #ffffff;
}

.braun__screen {
  background: linear-gradient(180deg, #0e131d 0%, #182233 100%);
  border: 2.5px solid #232c3d;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #f7f9fc;
}

.braun__island {
  width: 60px;
  height: 14px;
  background: #000000;
  border-radius: 8px;
  margin: 0 auto 2px;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

.braun__card {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.braun__card-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #64b5f6;
  letter-spacing: 0.08em;
}

.braun__card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.braun__card-sub {
  font-size: 9px;
  color: #b0bec5;
}

.braun__telemetry {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.braun__telemetry-row {
  display: flex;
  justify-content: space-between;
  color: #90a4ae;
}

.braun__telemetry-val {
  font-weight: 700;
  color: #00e5ff;
}

.braun__dial-unit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.braun__dial-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #635c51;
  letter-spacing: 0.08em;
}

.braun__dial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cdc6b9 55%, #7a7263 100%);
  border: 1.5px solid #4a4337;
  box-shadow: 0 3px 5px rgba(27, 26, 23, 0.35), inset 0 1px 1px #fff;
  position: relative;
}

.braun__dial-notch {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: #2b2720;
  border-radius: 1px;
}

/* ============================================================
   DEVICE 04: FR-ERP-8000 MAINFRAME OPERATIONS CONSOLE
   ============================================================ */
.retro-device--mainframe {
  width: min(94%, 480px);
}

.mainframe__housing {
  width: 100%;
  background: linear-gradient(165deg, #22242c 0%, #15161b 60%, #0d0e11 100%);
  border-radius: 14px;
  border: 2px solid #3d404d;
  overflow: hidden;
  box-shadow: 0 25px 50px -18px rgba(0, 0, 0, 0.7),
              inset 0 1px 2px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

.mainframe__bar {
  background: #111216;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #2e303a;
}

.mainframe__lights {
  display: flex;
  gap: 5px;
}

.mainframe__light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.5);
}

.mainframe__light--red { background: #ff4444; box-shadow: 0 0 5px #ff4444; }
.mainframe__light--amber { background: #ffbb00; box-shadow: 0 0 5px #ffbb00; }
.mainframe__light--green { background: #00ff88; box-shadow: 0 0 5px #00ff88; }

.mainframe__title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #a0a8be;
  letter-spacing: 0.08em;
}

.mainframe__badge {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.35);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.mainframe__body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 155px;
  background: #0d0e12;
}

.mainframe__sidebar {
  background: #13141a;
  border-right: 1.5px solid #23252e;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #6c7387;
  letter-spacing: 0.06em;
}

.mainframe__sidebar span {
  padding: 4px 6px;
  border-radius: 3px;
}

.mainframe__sidebar span.is-active {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border-left: 2px solid #a855f7;
  font-weight: 700;
}

.mainframe__main {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #cbd5e1;
}

.mainframe__stream-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

.mainframe__status-ok {
  color: #00ff88;
  font-weight: 700;
}

.mainframe__chart {
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #1e293b;
  border-radius: 4px;
  padding: 6px 8px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mainframe__bar-col {
  flex: 1;
  background: linear-gradient(180deg, #c084fc 0%, #6366f1 100%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
  animation: barPulse 2.8s ease-in-out infinite alternate;
}

.mainframe__bar-col:nth-child(2) { animation-delay: -0.6s; }
.mainframe__bar-col:nth-child(3) { animation-delay: -1.2s; }
.mainframe__bar-col:nth-child(4) { animation-delay: -1.8s; }
.mainframe__bar-col:nth-child(5) { animation-delay: -2.4s; }

.mainframe__matrix-row {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  border-top: 1px solid #1e293b;
  padding-top: 5px;
  color: #94a3b8;
}

/* ============================================================
   DEVICE 05: FR-NOVA-CLI RACKMOUNT DAEMON UNIT (SCRIPTS & TOOLS)
   ============================================================ */
.retro-device--rack {
  width: min(92%, 460px);
}

.rack__housing {
  width: 100%;
  background: linear-gradient(165deg, #252830 0%, #17181c 60%, #0d0e10 100%);
  border-radius: 12px;
  border: 2px solid #4a4f5e;
  padding: 12px;
  box-shadow: 0 25px 50px -18px rgba(0, 0, 0, 0.7),
              inset 0 1px 2px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rack__faceplate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #383b47;
  padding-bottom: 6px;
}

.rack__screws {
  display: flex;
  gap: 6px;
}

.rack__screw {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #e2e8f0 0%, #64748b 80%, #334155 100%);
  border: 1px solid #1e293b;
  box-shadow: inset 0 1px 1px #fff;
  position: relative;
}

.rack__screw::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  height: 1.5px;
  background: #0f172a;
  transform: translateY(-50%) rotate(45deg);
}

.rack__brand-plate {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rack__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.08em;
}

.rack__ver {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #94a3b8;
}

.rack__terminal {
  background: #06090a;
  border: 2px solid #16241b;
  border-radius: 8px;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #38ef7d;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 0 14px rgba(0,0,0,0.9);
  text-shadow: 0 0 4px rgba(56, 239, 125, 0.6);
}

.rack__terminal-head {
  color: #f59e0b;
  font-weight: 700;
  font-size: 9.5px;
  border-bottom: 1px solid rgba(56, 239, 125, 0.2);
  padding-bottom: 4px;
}

.rack__terminal-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
}

.rack__log {
  margin: 0;
  line-height: 1.35;
}

.rack__terminal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  border-top: 1px solid rgba(56, 239, 125, 0.2);
  padding-top: 4px;
  opacity: 0.85;
}

.rack__cursor {
  animation: cursorBlink 1s step-end infinite;
  color: #38ef7d;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.rack__bottom-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.rack__rocker-switch {
  width: 24px;
  height: 14px;
  background: #ff2222;
  border-radius: 2px;
  border: 1px solid #5a1111;
  box-shadow: 0 0 8px rgba(255, 34, 34, 0.6), inset 0 1px 2px #ff9999;
  position: relative;
}

.rack__rocker-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 1px;
  opacity: 0.8;
}

.rack__switch-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #7b8296;
  letter-spacing: 0.08em;
}

/* ============================================================
   OUR PRODUCTS — DIGITAL PRODUCTS SLIDER
   ============================================================ */
.products-section {
  background: var(--paper);
  position: relative;
}

.products-slider {
  width: 100%;
  margin-top: 1.5rem;
}

.products-slider__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  box-shadow: 0 25px 60px -25px rgba(27, 26, 23, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: clamp(1.2rem, 1rem + 1.8vw, 2.5rem);
}

.products-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.product-slide {
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
  opacity: 0.25;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.product-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.product-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 1.2rem + 2vw, 3.5rem);
  align-items: center;
  width: 100%;
}

/* Product Media Preview */
.product-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.22);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.product-slide.is-active:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(12, 11, 9, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* Product Content & Typography */
.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0.5rem 0;
}

.product-card__category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.product-card__actions {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1px solid var(--ink);
  box-shadow: 0 10px 22px rgba(27, 26, 23, 0.15);
  transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.product-card__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.35);
}

.product-card__btn-arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.product-card__btn:hover .product-card__btn-arrow {
  transform: translateX(4px);
}

/* Products Slider Controls Deck */
.products-slider__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.4rem;
  padding: 0 0.5rem;
  gap: 1rem;
}

.products-slider__pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.products-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--hairline);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.products-slider__dot:hover {
  background: var(--ink-soft);
}

.products-slider__dot.is-active {
  width: 28px;
  background: var(--accent);
}

.products-slider__nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.products-slider__counter {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  min-width: 50px;
  text-align: center;
}

.products-slider__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--paper-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.products-slider__btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.05);
}

.products-slider__btn:active {
  transform: scale(0.95);
}

@media (max-width: 960px) {
  .product-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================================
   OUR CLIENTS SLIDER & PORTFOLIO CARDS (NIGHT ZONE THEME)
   ============================================================ */
.clients-section {
  width: 100%;
}

.clients-slider {
  width: 100%;
  margin-top: 1.5rem;
}

.clients-slider__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--night-surface);
  border: 1px solid var(--night-hairline);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(1.2rem, 1rem + 1.8vw, 2.5rem);
}

.clients-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.client-slide {
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
  opacity: 0.25;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.client-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.client-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 1.2rem + 2vw, 3.5rem);
  align-items: center;
  width: 100%;
}

/* Client Card Media & Interaction */
.client-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  outline: none;
}

.client-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0c0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px -15px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}

.client-card__media-link:hover .client-card__img {
  transform: scale(1.04);
}

.client-card__media-link:hover .client-card__media {
  border-color: var(--accent);
  box-shadow: 0 22px 50px -15px rgba(0, 102, 255, 0.35);
}

.client-card__media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 11, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-card__media-link:hover .client-card__media-overlay,
.client-card__media-link:focus-visible .client-card__media-overlay {
  opacity: 1;
}

.client-card__visit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #14130e;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  transition: transform 0.3s var(--ease);
}

.client-card__media-link:hover .client-card__visit-pill {
  transform: translateY(0);
}

.client-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* Client Card Content & Typography */
.client-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0.5rem 0;
}

.client-card__meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.client-card__category {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--night-accent);
}

.client-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4ade80;
  font-weight: 600;
}

.client-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.client-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--night-ink);
}

.client-card__desc {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--night-muted);
}

.client-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.1rem;
}

.client-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #c8c3b6;
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-weight: 500;
}

.client-card__actions {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  background: var(--night-ink);
  color: #14130e !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1px solid var(--night-ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.client-card__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.4);
}

.client-card__btn-arrow {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.client-card__btn:hover .client-card__btn-arrow {
  transform: translate(2px, -2px);
}

/* Clients Slider Controls */
.clients-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.clients-slider__pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clients-slider__dot {
  width: 28px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.clients-slider__dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.clients-slider__dot.is-active {
  width: 48px;
  background: var(--accent);
}

.clients-slider__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.clients-slider__counter {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--night-muted);
  letter-spacing: 0.05em;
  min-width: 60px;
  text-align: center;
}

.clients-slider__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--night-surface-2);
  border: 1px solid var(--night-hairline);
  color: var(--night-ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.clients-slider__btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: scale(1.05);
}

.clients-slider__btn:active {
  transform: scale(0.95);
}

@media (max-width: 960px) {
  .client-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================================
   FEATURED PULLQUOTE
   ============================================================ */
.pullquote {
  text-align: center;
  padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--gutter);
  background: var(--paper);
}

.pullquote__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.8rem, 1.2rem + 2.8vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin: 0 auto;
  color: var(--ink);
  background: linear-gradient(110deg, var(--ink) 0%, var(--ink) 40%, var(--accent) 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.2s var(--ease);
}

.pullquote__text:hover {
  background-position: 0% 0;
}

.pullquote__text em {
  -webkit-text-fill-color: var(--accent-ink);
}

.pullquote__cite {
  margin-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   NIGHT ZONE & SCROLL-DRIVEN WIPE
   ============================================================ */
.wipe {
  height: 220vh;
  position: relative;
  background-color: var(--paper);
  margin-bottom: -1px;
}

.wipe__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: var(--paper);
}

.wipe__circle {
  grid-area: 1 / 1;
  width: clamp(240px, 30vmin, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, #161512 0%, #0e0d0b 75%, #070605 100%);
  box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: scale3d(0, 0, 1);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
  transform-origin: center center;
}

.wipe__label {
  grid-area: 1 / 1;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5rem);
  letter-spacing: -0.03em;
  color: var(--night-ink);
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.95);
  pointer-events: none;
  text-align: center;
  will-change: transform, opacity;
}

.wipe__label em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--night-accent);
}

.night-zone {
  background-color: var(--night);
  color: var(--night-ink);
  position: relative;
  z-index: 10;
}

.night-zone .section {
  border-top: 1px solid var(--night-hairline);
}

.night-zone .section-title {
  color: var(--night-ink);
}

.night-zone .section-title em {
  color: var(--night-accent);
}

.night-zone .eyebrow {
  color: var(--night-muted);
}

.night-zone .section-desc {
  color: var(--night-muted);
}

/* ============================================================
   CAPABILITIES GRID (THE 7 CORE OFFERINGS)
   ============================================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.capability-card {
  background: var(--night-surface);
  border: 1px solid var(--night-hairline);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s var(--ease);
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: var(--night-accent);
  box-shadow: 0 20px 40px -15px rgba(169, 181, 255, 0.15);
}

.capability-card--featured {
  grid-column: span 3;
  background: linear-gradient(145deg, #24231b, #181712);
  border-color: rgba(169, 181, 255, 0.3);
}

.capability-card__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--night-accent);
  font-weight: 600;
}

.capability-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--night-ink);
}

.capability-card__desc {
  font-size: var(--step--1);
  color: var(--night-muted);
  line-height: 1.55;
}

.capability-card__tech {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a9b5ff;
}



/* ============================================================
   NOTES FROM THE BUILD ROOM (MANUSCRIPT DESK)
   ============================================================ */
.notes {
  position: relative;
}

.dsk {
  position: relative;
  aspect-ratio: 1150 / 640;
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--night-hairline);
  background: radial-gradient(circle at center, #1a1914 0%, #0d0d0a 100%);
}

.dsk__stage {
  position: absolute;
  inset: 0;
  --lx: 50%;
  --ly: 50%;
}

.dsk__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 420px at var(--lx) var(--ly), rgba(255, 214, 150, 0.18), transparent 75%);
}

.dsk-ms {
  position: absolute;
  width: 220px;
  background: linear-gradient(180deg, #fbf8f2 0%, #efebe2 100%);
  color: var(--ink);
  padding: 16px 16px 14px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transform: rotate(var(--r, 0deg));
  filter: brightness(0.55) saturate(0.9);
  transition: all 0.45s var(--ease);
  cursor: pointer;
}

.dsk-ms.on, .dsk-ms:hover {
  filter: brightness(1) saturate(1);
  transform: rotate(calc(var(--r, 0deg) * 0.3)) scale(1.08);
  z-index: 10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 214, 150, 0.2);
}

.dsk-ms__head {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #8c8577;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd6c7;
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.dsk-ms__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.dsk-ms__body {
  font-size: 11px;
  color: #48433a;
  line-height: 1.5;
}

.notes-mobile-bundle {
  display: none;
}

/* ============================================================
   ABOUT & INTERACTIVE SERVICES
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 3.5vw, 5rem);
  align-items: start;
}

.about__lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--night-muted);
}

.about__lead strong {
  color: var(--night-ink);
  font-weight: 600;
}

.services__list {
  display: flex;
  flex-direction: column;
}

.service__row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0.5rem;
  border-bottom: 1px solid var(--night-hairline);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service__row:first-child {
  border-top: 1px solid var(--night-hairline);
}

.service__row:hover {
  background: rgba(255, 255, 255, 0.035);
  padding-left: 1rem;
}

.service__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--night-accent);
}

.service__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--night-ink);
}

.service__arrow {
  color: var(--night-accent);
  transition: transform 0.3s var(--ease);
}

.service__row:hover .service__arrow {
  transform: translateX(6px);
}

/* ============================================================
   RETRO GADGET 02: FR-80 MECHANICAL TELEPRINTER & SPEC DISPENSER
   ============================================================ */
.teleprinter-wrap {
  margin-top: 1.5rem;
}

.teleprinter {
  background: linear-gradient(165deg, #e4dfd4 0%, #cbc4b5 55%, #aba291 100%);
  border: 2px solid #5a5448;
  border-radius: 18px;
  box-shadow: 0 35px 75px -20px rgba(0, 0, 0, 0.65), inset 0 2px 2px #ffffff;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  color: #2b2720;
}

.teleprinter__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(27, 26, 23, 0.15);
  padding-bottom: 0.8rem;
}

.teleprinter__badge {
  display: flex;
  flex-direction: column;
}

.teleprinter__logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #2b2720;
}

.teleprinter__dot { color: var(--accent); }

.teleprinter__model {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #696254;
  letter-spacing: 0.12em;
}

.teleprinter__leds {
  display: flex;
  gap: 12px;
}

.tp-led-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tp-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
  background: #666;
  box-shadow: inset 0 1px 1px #fff;
  transition: all 0.3s ease;
}

.tp-led--ready.is-on {
  background: #00d26a;
  box-shadow: 0 0 8px #00d26a, inset 0 1px 1px #fff;
}

.tp-led--busy.is-on {
  background: #ffaa00;
  box-shadow: 0 0 8px #ffaa00, inset 0 1px 1px #fff;
  animation: ledPulse 0.3s infinite alternate;
}

@keyframes ledPulse {
  to { filter: brightness(1.5); }
}

.tp-led-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #524d42;
}

/* Paper Feed Ejection Slot */
.teleprinter__slot-wrap {
  background: #1e1d18;
  border: 2px solid #4a4539;
  border-radius: 8px;
  padding: 10px 14px 14px;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.8);
  position: relative;
  display: flex;
  justify-content: center;
}

.teleprinter__slot-roller {
  position: absolute;
  top: 6px;
  left: 5%;
  right: 5%;
  height: 6px;
  background: linear-gradient(180deg, #111, #444 50%, #000 100%);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* The Continuous Printed Receipt */
.tp-receipt {
  width: 100%;
  background: #fffef9;
  color: #1a1915;
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.06);
  padding: 1.2rem 1.4rem;
  position: relative;
  margin-top: 10px;
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.tp-receipt__perf {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle, transparent 2px, #fffef9 2.5px);
  background-size: 8px 6px;
}

.tp-receipt__perf--top { top: -3px; }
.tp-receipt__perf--bottom { bottom: -3px; }

.tp-receipt__body {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1a1915;
  margin: 0;
  user-select: text;
}

.tp-receipt__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #c2bcaf;
}

.tp-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}

.tp-btn--fill {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  flex: 1;
}

.tp-btn--fill:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.tp-btn--tear {
  background: #ede8dc;
  color: #3b362b;
  border-color: #beb7a8;
}

.tp-btn--tear:hover {
  background: #ded7c9;
}

/* Teleprinter Operator Control Panel */
.teleprinter__panel {
  background: #ded7cb;
  border: 1.5px solid #a39b8c;
  border-radius: 12px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tp-panel__row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tp-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tp-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #3f392f;
  letter-spacing: 0.08em;
  display: block;
}

.tp-hint {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #797162;
  letter-spacing: 0.04em;
}

.tp-field-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #0066ff;
  background: rgba(0, 102, 255, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

/* Retro Terminal Input Box (Inset Dark Chassis) */
.tp-input-box {
  background: #141310;
  border: 1.5px solid #544d3f;
  border-radius: 6px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  gap: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-input-box:focus-within {
  border-color: #00ff88;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.8), 0 0 8px rgba(0, 255, 136, 0.4);
}

.tp-input-box--area {
  align-items: flex-start;
  padding-top: 0.6rem;
}

.tp-input-prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.8);
  user-select: none;
  line-height: 1;
}

.tp-input,
.tp-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #e5fbee;
  text-shadow: 0 0 2px rgba(0, 255, 136, 0.3);
  caret-color: #00ff88;
  padding: 0;
  resize: none;
}

.tp-input::placeholder,
.tp-textarea::placeholder {
  color: #63756b;
  font-style: italic;
  font-size: 11px;
}

/* Quick Preset Insertion Tags */
.tp-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.tp-quick-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #6e6758;
  margin-right: 2px;
}

.tp-tag-btn {
  font-family: var(--font-mono);
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #e8e2d6;
  border: 1px solid #b8b0a1;
  color: #3b362b;
  cursor: pointer;
  transition: all 0.15s;
}

.tp-tag-btn:hover {
  background: #1a1915;
  color: #00ff88;
  border-color: #1a1915;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tp-tag-btn:active {
  transform: scale(0.95);
}

/* Discipline Selection Chips */
.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tp-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 4px;
  background: #ede8df;
  border: 1px solid #aba291;
  color: #3b362b;
  cursor: pointer;
  transition: all 0.15s;
}

.tp-chip:hover, .tp-chip.is-active {
  background: #1a1915;
  color: #fff;
  border-color: #1a1915;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Scale & Sprint 2-Column Grid */
.tp-panel__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.tp-select-unit {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tp-scale-buttons,
.tp-tier-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tp-scale-btn,
.tp-tier-btn {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 0.38rem 0.65rem;
  border-radius: 4px;
  background: #ede8df;
  border: 1px solid #aba291;
  color: #4a4437;
  cursor: pointer;
  transition: all 0.15s;
}

.tp-scale-btn.is-active,
.tp-tier-btn.is-active {
  background: #0066ff;
  color: #fff;
  border-color: #0052cc;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.35);
}

/* Terminal Bottom Action Row */
.tp-panel__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.tp-terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d26a;
  box-shadow: 0 0 6px #00d26a;
}

.tp-status-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: #554e42;
  letter-spacing: 0.06em;
}

/* Mechanical Chunky Print Button */
.tp-print-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #d33c2a 0%, #9e1f10 100%);
  border: 1.5px solid #6b1206;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(158, 31, 16, 0.45), inset 0 1px 1px #ffa399;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.tp-print-btn:hover {
  background: linear-gradient(180deg, #e34a38 0%, #b52514 100%);
  box-shadow: 0 6px 14px rgba(158, 31, 16, 0.55), inset 0 1px 1.5px #fff;
}

.tp-print-btn:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 2px 3px rgba(0,0,0,0.4);
}

.tp-support-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #696254;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.tp-support-link {
  color: #0066ff;
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================================
   TELEPRINTER MOBILE POLISH & TOUCH EXPERIENCE
   ============================================================ */
@media (max-width: 768px) {
  .teleprinter {
    padding: 1.1rem 0.9rem;
    border-radius: 14px;
    gap: 1.1rem;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
  }

  .teleprinter__head {
    padding-bottom: 0.7rem;
  }

  .teleprinter__logo {
    font-size: 15px;
  }

  .teleprinter__slot-wrap {
    padding: 8px 10px 12px;
    border-radius: 6px;
  }

  /* Perforated Dot-Matrix Paper Receipt on Mobile */
  .tp-receipt {
    padding: 0.9rem 0.85rem;
    margin-top: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  }

  .tp-receipt__body {
    font-size: clamp(7.5px, 2.3vw, 10.5px);
    line-height: 1.42;
    letter-spacing: -0.015em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tp-receipt__actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
  }

  .tp-btn {
    width: 100%;
    padding: 0.65rem 0.8rem;
    font-size: 10.5px;
    text-align: center;
  }

  /* Operator Control Console on Mobile */
  .teleprinter__panel {
    padding: 0.95rem 0.8rem;
    border-radius: 10px;
    gap: 0.95rem;
  }

  .tp-label-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .tp-label {
    font-size: 9px;
  }

  .tp-hint {
    font-size: 8px;
  }

  /* Touch-optimized 2-column discipline chips */
  .tp-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    width: 100%;
  }

  .tp-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.6rem 0.4rem;
    font-size: 9.5px;
    min-height: 38px;
    line-height: 1.2;
    border-radius: 6px;
  }

  .tp-input-box {
    padding: 0.55rem 0.65rem;
    min-height: 42px;
  }

  .tp-input,
  .tp-textarea {
    font-size: 11.5px;
  }

  .tp-quick-tags {
    gap: 0.3rem;
  }

  .tp-tag-btn {
    padding: 3px 6px;
    font-size: 8px;
  }

  .tp-panel__grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.65rem 0;
  }

  .tp-scale-buttons,
  .tp-tier-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.35rem;
  }

  .tp-scale-btn,
  .tp-tier-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0.4rem;
    font-size: 8.5px;
    min-height: 34px;
    line-height: 1.2;
  }

  .tp-panel__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .tp-terminal-status {
    justify-content: center;
    text-align: center;
  }

  .tp-status-text {
    font-size: 8px;
  }

  .tp-print-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-size: 11px;
    min-height: 46px;
  }

  .tp-support-bar {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
    font-size: 10.5px;
  }
}

@media (max-width: 480px) {
  .tp-chips {
    grid-template-columns: 1fr;
  }
  .tp-scale-buttons {
    grid-template-columns: 1fr;
  }
  .tp-tier-buttons {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT INLINE FORM & MODAL
   ============================================================ */
.contact-box {
  max-width: 680px;
  margin: 0 auto clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  background: var(--night-surface);
  border: 1px solid var(--night-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: start;
}

.form-row--3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.15rem;
  align-items: start;
}

@media (max-width: 680px) {
  .form-row--2,
  .form-row--3 {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: flex-start;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--night-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.form-group input,
.form-group select {
  width: 100%;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  background: #12120e;
  border: 1px solid var(--night-hairline);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  color: var(--night-ink);
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: normal;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F8B80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

.form-group select option {
  background-color: #1a1914;
  color: #f2efe7;
  padding: 10px;
}

.form-group textarea {
  resize: vertical !important;
  max-width: 100% !important;
  min-width: 100% !important;
  min-height: 120px;
  line-height: 1.6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  word-break: break-word;
  white-space: pre-wrap;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.form-group input.is-highlighted {
  border-color: #00ff88 !important;
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.35) !important;
  animation: inputGlow 1.5s ease;
}

@keyframes inputGlow {
  0% { transform: scale(1.02); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Dynamic Systematic Teleprinter Spec Attachment Card */
.form-spec-card {
  background: linear-gradient(165deg, #181920 0%, #0e0f14 100%);
  border: 1.5px solid #00d26a;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 210, 106, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: specCardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.3rem;
  box-sizing: border-box;
  max-width: 100%;
}

@keyframes specCardIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.form-spec-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  padding-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-spec-card__tag-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-spec-card__icon {
  font-size: 14px;
}

.form-spec-card__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #00ff88;
  letter-spacing: 0.08em;
}

.form-spec-card__id {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #a9b5ff;
  background: rgba(169, 181, 255, 0.12);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(169, 181, 255, 0.2);
}

.form-spec-card__clear {
  background: transparent;
  border: 1px solid rgba(255, 95, 86, 0.4);
  color: #ff8a80;
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.form-spec-card__clear:hover {
  background: rgba(255, 95, 86, 0.15);
  border-color: #ff5f56;
  color: #fff;
}

.form-spec-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.form-spec-card__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-spec-card__item--full {
  grid-column: span 2;
}

.form-spec-card__label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #8c90a4;
  letter-spacing: 0.06em;
}

.form-spec-card__val {
  font-family: var(--font-body);
  font-size: 12px;
  color: #f7f4ee;
  line-height: 1.4;
}

.form-spec-card__reqs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #bbf7d0;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 9px;
  border-radius: 4px;
  border-left: 2px solid #00ff88;
  margin: 0;
  line-height: 1.45;
  word-break: break-word;
}

.form-spec-card--modal {
  background: #f7f5ed;
  border-color: #0066ff;
  color: #1a1915;
}

.form-spec-card--modal .form-spec-card__tag { color: #0066ff; }
.form-spec-card--modal .form-spec-card__head { border-color: rgba(0, 102, 255, 0.2); }
.form-spec-card--modal .form-spec-card__val { color: #1a1915; }
.form-spec-card--modal .form-spec-card__reqs {
  background: #ede9dc;
  color: #1f2937;
  border-left-color: #0066ff;
}

.form-submit-btn {
  margin-top: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: var(--step-0);
}

.form-submit-btn:hover {
  background: #0052cc;
}

.form-status {
  font-size: var(--step--1);
  text-align: center;
  margin-top: 0.75rem;
  min-height: 1.4em;
  transition: all 0.3s ease;
}
.form-status.success,
.form-status.is-success { color: #00d26a; }
.form-status.error,
.form-status.is-error { color: #ff5f56; }

.form-status-simple {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  text-align: left;
  margin-top: 0.9rem;
  animation: specCardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-status-simple--success {
  background: rgba(0, 210, 106, 0.1);
  border: 1px solid rgba(0, 210, 106, 0.45);
  color: #00ff88;
}

.modal-form .form-status-simple--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.form-status-simple__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00d26a;
  color: #0c0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.modal-form .form-status-simple__icon {
  background: #16a34a;
  color: #ffffff;
}

.form-status-simple__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-status-simple__text strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #f7f4ee;
}

.modal-form .form-status-simple__text strong {
  color: #14532d;
}

.form-status-simple__text span {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.modal-form .form-status-simple__text span {
  color: #334155;
}

.form-status-card {
  background: rgba(0, 210, 106, 0.08);
  border: 1px solid rgba(0, 210, 106, 0.35);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  text-align: left;
  margin-top: 0.8rem;
  animation: specCardIn 0.35s ease;
}

.form-status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.form-status-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #00ff88;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-status-card__code {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 255, 136, 0.15);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.form-status-card__body {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.form-status-card__link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}

.form-status-card__link:hover {
  color: #7dd3fc;
}

.modal-form .form-status-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
}

.modal-form .form-status-card__badge {
  color: #16a34a;
}

.modal-form .form-status-card__code {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.modal-form .form-status-card__body {
  color: #1e293b;
}

.modal-form .form-status-card__link {
  color: #0284c7;
}

/* Contact Popup Modal */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s ease;
}

.c-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.c-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 14, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.c-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(580px, 94vw);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.c-modal.is-open .c-modal__dialog {
  transform: translateY(0) scale(1);
}

.c-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.c-modal__close:hover {
  transform: rotate(90deg);
  background: var(--hairline);
}

.c-modal__close.is-sparked {
  transform: scale(0.88) rotate(90deg);
  background: rgba(255, 59, 48, 0.16);
  border-color: #ff3b30;
  color: #ff3b30;
  box-shadow: 0 0 16px rgba(255, 45, 85, 0.5);
}

.c-modal__head {
  margin-bottom: 1.4rem;
  text-align: left;
}

.c-modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.1;
  color: var(--ink);
}

.c-modal__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}

.modal-form .form-group label {
  color: var(--muted);
  font-weight: 600;
}

.modal-form .form-group input,
.modal-form .form-group select {
  background: #ffffff;
  border: 1px solid var(--hairline);
  color: var(--ink);
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}

.modal-form .form-group select {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6862' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

.modal-form .form-group select option {
  background-color: #ffffff;
  color: #1b1a17;
  padding: 10px;
}

.modal-form .form-group textarea {
  background: #ffffff;
  border: 1px solid var(--hairline);
  color: var(--ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--night);
  border-top: 1px solid var(--night-hairline);
  padding: clamp(3rem, 2.2rem + 2.5vw, 4.5rem) var(--gutter) calc(3.5rem + env(safe-area-inset-bottom, 1rem));
  text-align: center;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.6rem + 3.8vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--night-ink);
  max-width: 18ch;
  margin: 0 auto clamp(1.2rem, 0.8rem + 1vw, 1.8rem);
}

.footer__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--night-accent);
}

.footer__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--night-hairline);
  padding-top: 2rem;
  padding-right: 84px; /* Ample clearance so fixed scroll-to-top button never overlaps copyright */
  color: var(--night-muted);
  font-size: var(--step--1);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand-info {
  text-align: left;
}

.footer__brand-title {
  color: var(--night-ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__brand-dot {
  color: var(--accent);
}

.footer__brand-tag {
  font-size: 12px;
  margin-top: 2px;
  color: var(--night-muted);
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer__nav-links a {
  color: var(--night-muted);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color 0.2s ease;
}

.footer__nav-links a:hover {
  color: var(--night-ink);
}

.footer__contact-chips {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--night-muted);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__contact-chip:hover {
  color: var(--night-ink);
}

.footer__contact-chip--phone {
  color: #60a5fa;
  font-weight: 600;
}
.footer__contact-chip--phone:hover {
  color: #93c5fd;
}

.footer__contact-chip--wa {
  color: #4ade80;
  font-weight: 600;
}
.footer__contact-chip--wa:hover {
  color: #86efac;
}

.footer__contact-chip--ticket {
  color: var(--accent);
}
.footer__contact-chip--ticket:hover {
  color: #5c9dff;
}

.footer__copy-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer__copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--night-muted);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--night-muted);
  opacity: 0.85;
}

/* ============================================================
   FULLSCREEN VIDEO OVERLAY
   ============================================================ */
.v-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  visibility: hidden;
}

.v-overlay.is-open { visibility: visible; }
.v-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 14, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.v-overlay.is-open::before { opacity: 1; }
.v-overlay.is-closing::before { opacity: 0; }

.v-overlay__frame {
  position: relative;
  z-index: 1;
  width: min(1000px, 94vw);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.v-overlay__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.v-overlay__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE APP BEHAVIOR)
   ============================================================ */
@media (max-width: 960px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .intro__content,
  .about__grid,
  .lab__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .capability-card--featured {
    grid-column: span 2;
  }

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

  .case:nth-child(even) .case__media {
    order: 0;
  }

  .ticket-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero {
    overflow-x: clip;
  }

  .hero__media {
    overflow: hidden;
    max-width: 100%;
  }

  .tv__spotlight {
    width: min(320px, 90vw);
    height: min(280px, 80vw);
  }

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

  .capability-card--featured {
    grid-column: span 1;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .dsk {
    display: none;
  }

  .notes-mobile-bundle {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .notes-card-mobile {
    background: var(--night-surface);
    border: 1px solid var(--night-hairline);
    border-radius: var(--radius-md);
    padding: 1.2rem;
  }

  .notes-card-mobile__tab {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    color: var(--night-accent);
    margin-bottom: 0.4rem;
  }

  .notes-card-mobile__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step-0);
    color: var(--night-ink);
    margin-bottom: 0.5rem;
  }

  .notes-card-mobile__desc {
    font-size: var(--step--1);
    color: var(--night-muted);
    line-height: 1.5;
  }

  /* ============================================================
     MOBILE FOOTER LAYOUT (TOUCH-OPTIMIZED & BEAUTIFULLY ALIGNED)
     ============================================================ */
  .footer {
    padding-top: 3rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    /* Generous bottom padding ensuring floating WhatsApp button NEVER obscures footer content */
    padding-bottom: calc(7rem + env(safe-area-inset-bottom, 1rem));
  }

  .footer__meta {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    text-align: center;
    padding-right: 0;
    padding-top: 2.2rem;
    width: 100%;
  }

  .footer__brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .footer__brand-title {
    font-size: 1.35rem;
    color: #f7f4ee;
  }

  .footer__brand-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8c8472;
    margin-top: 3px;
  }

  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  /* Clean structured grid for main page links */
  .footer__nav-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
  }

  .footer__nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.2rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #c4beaf;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .footer__nav-links a:hover,
  .footer__nav-links a:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  /* Tactile 2-column contact channel tiles */
  .footer__contact-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    width: 100%;
  }

  .footer__contact-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 0.5rem;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    background: #171613;
    border: 1px solid #2e2a22;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .footer__contact-chip:active {
    transform: scale(0.97);
  }

  .footer__contact-chip--phone {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.45);
    color: #60a5fa;
  }
  .footer__contact-chip--phone:active {
    background: rgba(0, 102, 255, 0.25);
    color: #93c5fd;
  }

  .footer__contact-chip--wa {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.5);
    color: #4ade80;
  }
  .footer__contact-chip--wa:active {
    background: rgba(37, 211, 102, 0.28);
    color: #86efac;
  }

  .footer__contact-chip--ticket {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2ded4;
  }

  .footer__contact-chip--email {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #c8c3b6;
    font-size: 10.5px;
  }

  .footer__copy-wrap {
    align-items: center;
    text-align: center;
    margin-top: 0.2rem;
  }

  .footer__copyright {
    font-size: 11px;
    color: #787263;
  }

  .footer__legal {
    font-size: 10.5px;
    color: #787263;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.4rem, 1.8rem + 4vw, 3.2rem);
  }

  .case__metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .ticket-card__btn {
    width: 100%;
  }

  .footer__nav-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__nav-links a:last-child {
    grid-column: span 3;
  }

  .footer__contact-chips {
    grid-template-columns: 1fr;
  }
  .footer__contact-chip {
    padding: 0.75rem 0.8rem;
    font-size: 11.5px;
  }
  .footer__contact-chip--email {
    font-size: 11px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .wipe {
    height: auto !important;
  }
  .wipe__sticky {
    position: static !important;
    height: auto !important;
  }
  .wipe__circle {
    display: none !important;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON (DESKTOP ONLY)
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, #2b2822 0%, #1a1915 60%, #0f0e0c 100%);
  border: 1.5px solid #544d3f;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.65),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.2),
              inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  color: #f7f4ee;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease),
              visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
  user-select: none;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: linear-gradient(160deg, #3d3930 0%, #24221d 60%, #151410 100%);
  border-color: var(--accent);
  color: #00ff88;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.75), 0 0 15px rgba(0, 102, 255, 0.35);
}

.scroll-top-btn:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-top-btn__icon {
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}

.scroll-top-btn:hover .scroll-top-btn__icon {
  transform: translateY(-2px);
}

.scroll-top-btn__text {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9c9586;
  margin-top: 1px;
  transition: color 0.2s ease;
}

.scroll-top-btn:hover .scroll-top-btn__text {
  color: #00ff88;
}

/* Strictly hide on mobile & tablet screens */
@media (max-width: 768px) {
  .scroll-top-btn {
    display: none !important;
    pointer-events: none !important;
  }
}

/* ============================================================
   ENGRAVED / DEBOSSED RETRO EDITORIAL PRELOADER
   ============================================================ */

body.is-preloading {
  overflow: hidden !important;
}

.engraved-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease), visibility 0.5s ease, transform 0.5s var(--ease);
}

.engraved-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  pointer-events: none;
}

.engraved-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
}

/* Authentic Debossed / Letterpress Engraved Paper Logo */
.engraved-logo {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #dfd8cb;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  text-shadow: 
    -1px -1px 1px rgba(27, 26, 23, 0.28),
     1px  1px 2px rgba(255, 255, 255, 0.95),
     0px  1px 0px rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 1px 1px rgba(27, 26, 23, 0.05));
  margin-bottom: 2rem;
  animation: engravedBreathe 3s ease-in-out infinite;
}

@keyframes engravedBreathe {
  0%, 100% {
    text-shadow: 
      -1px -1px 1px rgba(27, 26, 23, 0.28),
       1px  1px 2px rgba(255, 255, 255, 0.95),
       0px  1px 0px rgba(255, 255, 255, 0.9);
  }
  50% {
    text-shadow: 
      -1.5px -1.5px 2px rgba(27, 26, 23, 0.35),
       1.5px  1.5px 2px rgba(255, 255, 255, 1),
       0px  1.5px 0px rgba(255, 255, 255, 0.95);
  }
}

.engraved-logo__dot {
  color: var(--accent);
  text-shadow: 
    -1px -1px 1px rgba(0, 50, 180, 0.35),
     1px  1px 1.5px rgba(255, 255, 255, 0.9);
}

/* Meta & Status */
.engraved-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 180px;
}

.engraved-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.engraved-label {
  text-transform: uppercase;
  font-weight: 500;
}

.engraved-pct {
  font-weight: 600;
  color: var(--ink);
}

/* Debossed Inset Progress Track */
.engraved-track {
  width: 100%;
  height: 4px;
  background: #eae4d7;
  border-radius: 9999px;
  box-shadow: 
    inset 1px 1px 2px rgba(27, 26, 23, 0.18),
    inset -1px -1px 1px rgba(255, 255, 255, 0.8),
    0 1px 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  position: relative;
}

.engraved-bar {
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: 9999px;
  transition: width 0.12s ease-out;
}

/* ============================================================
   FLOATING TACTILE WHATSAPP QUICK ACTION BUTTON
   ============================================================ */
.wa-float-btn {
  position: fixed;
  bottom: 6rem;
  right: 2.2rem;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ae06c 0%, #20ba59 55%, #128c4b 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -4px rgba(37, 211, 102, 0.5),
              0 4px 12px rgba(0, 0, 0, 0.4),
              inset 0 1.5px 2px rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
  user-select: none;
}

.wa-float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.65),
              0 6px 16px rgba(0, 0, 0, 0.5),
              0 0 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.wa-float-btn:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wa-float-btn__icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s var(--ease);
}

.wa-float-btn:hover .wa-float-btn__icon {
  transform: scale(1.06);
}

/* Pulsing Online Radar Ring */
.wa-float-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: waPulseGlow 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75);
    opacity: 0.9;
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    opacity: 0;
  }
}

/* Hover Tooltip (Desktop) */
.wa-float-btn__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #151412;
  color: #f7f4ee;
  border: 1px solid #3d3930;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.75);
  transition: opacity 0.25s ease,
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease;
}

.wa-float-btn__tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #151412;
}

.wa-float-btn:hover .wa-float-btn__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .wa-float-btn {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1.25rem;
    width: 52px;
    height: 52px;
    box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.65), 
                0 4px 12px rgba(0, 0, 0, 0.5),
                inset 0 1.5px 2px rgba(255, 255, 255, 0.4);
  }
  .wa-float-btn:active {
    transform: scale(0.92);
  }
  .wa-float-btn__tooltip {
    display: none !important;
  }
  .wa-float-btn__pulse {
    inset: -3px;
    animation-duration: 2.2s;
  }
}

/* ============================================================
   FAST DIRECT CONTACT STRIP (FOOTER)
   ============================================================ */
.contact-fastbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  width: 100%;
}

.contact-fastbar__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  background: linear-gradient(160deg, #1d1b17 0%, #131210 100%);
  border: 1px solid #332f27;
  border-radius: 12px;
  text-decoration: none;
  color: var(--night-ink);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.4),
              inset 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.contact-fastbar__item:hover {
  transform: translateY(-3px);
  background: linear-gradient(160deg, #26231e 0%, #171613 100%);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.6);
}

.contact-fastbar__item--wa:hover {
  border-color: #25D366;
}

.contact-fastbar__item--email:hover {
  border-color: #ff9900;
}

.contact-fastbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #25221c;
  border: 1px solid #3f3a30;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-fastbar__item--wa .contact-fastbar__icon {
  color: #25D366;
}
.contact-fastbar__item--email .contact-fastbar__icon {
  color: #fbbf24;
}

.contact-fastbar__item--wa:hover .contact-fastbar__icon {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
  color: #4ade80;
}

.contact-fastbar__item--email:hover .contact-fastbar__icon {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
  color: #fde68a;
}

.contact-fastbar__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.contact-fastbar__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8c8472;
  margin-bottom: 2px;
}

.contact-fastbar__val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #f7f4ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-fastbar__action {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #9c9586;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-fastbar__item:hover .contact-fastbar__action {
  transform: translateX(3px);
  color: #f7f4ee;
}

/* Footer Link Special Accents */
.footer__wa-link {
  color: #4ade80 !important;
  font-weight: 600;
}

/* ============================================================
   MODAL & DRAWER DIRECT CONTACT ACTION BUTTONS
   ============================================================ */
.c-modal__quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.c-modal__quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
}

.c-modal__quick-btn--wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #128c4b;
}

.c-modal__quick-btn--wa:hover {
  background: #25D366;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Mobile Drawer Direct Reach Buttons */
.mobile-drawer__direct {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mobile-drawer__direct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.6rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
}

.mobile-drawer__direct-btn--wa {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #128c4b;
}

.mobile-drawer__direct-btn--wa:hover,
.mobile-drawer__direct-btn--wa:active {
  background: #25D366;
  color: #ffffff;
}

.mobile-drawer__direct-btn--phone {
  background: rgba(0, 102, 255, 0.14);
  border: 1px solid rgba(0, 102, 255, 0.45);
  color: #0052cc;
}

.mobile-drawer__direct-btn--phone:hover,
.mobile-drawer__direct-btn--phone:active {
  background: #0066ff;
  color: #ffffff;
}
