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

:root {
  --ink: #111827;
  --muted: #667085;
  --accent: #cd201f;
  --line: #e3e7ed;
  --white: #fff;
  --shadow: 0 24px 70px rgba(24, 32, 48, 0.12);
}
/* -------------------------------------------------------------------------- */
/* Reset, document defaults and accessibility                                 */
/* -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fbfcfe;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 12px 18px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
/* -------------------------------------------------------------------------- */
/* Header and primary navigation                                              */
/* -------------------------------------------------------------------------- */

.site-header {
  height: 72px;
  margin-top: 18px;
  border: 1px solid rgba(190, 210, 238, 0.7);
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px 0 22px;
  position: relative;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(34, 77, 130, 0.08);
}
.brand {
  font: 800 23px/1 "Outfit";
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: baseline;
}
.brand span {
  color: var(--accent);
}
.brand small {
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font: 600 7px/1 "Outfit";
  color: #7888a0;
}
.brand-logo {
  line-height: 0;
}
.brand-logo img {
  display: block;
  width: 125px;
  height: auto;
}
.site-footer .brand-logo img {
  width: 168px;
}
.footer-copyright-brand {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 520px) {
  .site-header .brand-logo img {
    width: 100px;
  }
  .site-footer .brand-logo img {
    width: 150px;
  }
}

.site-header nav {
  display: flex;
  gap: 34px;
}
.site-header nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: #60728e;
}
.site-header nav a:hover,
.site-header nav a.active,
.site-header nav a[aria-current="page"] {
  color: var(--accent);
}
.site-header nav a.active::after,
.site-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}
.header-cta,
.tiny-button {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(21, 92, 255, 0.23);
}
.nav-toggle {
  display: none;
}

/* Keep navigation available without occupying the screen while moving down. */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(calc(-100% - 24px));
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(18, 24, 36, 0.12);
}

/* Fixed call and WhatsApp actions, matching the teaser interaction. */
.floating-contact {
  position: fixed;
  z-index: 90;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-contact__button {
  display: inline-flex;
  width: 56px;
  height: 56px;
  min-height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0 16px;
  overflow: hidden;
  border: 1px solid rgba(18, 24, 36, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(18, 24, 36, 0.18);
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-contact__button svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.floating-contact__button--call {
  padding-inline: 16px;
  background: #fff;
  color: var(--ink);
}
.floating-contact__button span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  margin-left: 0;
  white-space: nowrap;
  transition: max-width 0.28s ease, margin-left 0.28s ease, opacity 0.2s ease;
}
.floating-contact__button--whatsapp {
  padding-inline: 14px;
  min-height: 56px;
  border-color: #20bd5a;
  background: #25d366;
  color: #fff;
  font-size: 15px;
}
.floating-contact__button--call:hover,
.floating-contact__button--call:focus-visible {
  width: 108px;
}
.floating-contact__button--whatsapp:hover,
.floating-contact__button--whatsapp:focus-visible {
  width: 154px;
}
.floating-contact__button:hover span,
.floating-contact__button:focus-visible span {
  max-width: 90px;
  margin-left: 9px;
  opacity: 1;
}
.floating-contact__button--whatsapp svg {
  width: 28px;
  height: 28px;
}
.floating-contact__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 24, 36, 0.23);
}
.floating-contact__button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.3);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
  }
  .floating-contact {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .floating-contact__button,
  .floating-contact__button--whatsapp {
    width: 50px;
    height: 50px;
    min-height: 50px;
    flex-basis: 50px;
    justify-content: center;
    padding: 0;
  }
  .floating-contact__button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .floating-contact__button {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Shared page preloader                                                      */
/* -------------------------------------------------------------------------- */

.site-preloader {
  display: none;
}

.js .site-preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(205, 32, 31, 0.035),
      transparent 28%
    ),
    #fbfcfe;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.js .site-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.preloader-active {
  overflow: hidden;
}

.preloader-content {
  width: min(280px, calc(100vw - 48px));
}

.preloader-brand {
  position: relative;
  display: grid;
  place-items: center;
  height: 96px;
}

.preloader-wordmark {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  overflow: hidden;
  font:
    800 58px/1 "Outfit",
    sans-serif;
  letter-spacing: -5px;
}

.preloader-web,
.preloader-360 {
  display: inline-block;
  transform: translateY(110%);
  animation: preloader-word-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader-web {
  color: #111827;
}

.preloader-360 {
  color: #cd201f;
  animation-delay: 0.1s;
}

.preloader-orbit {
  position: absolute;
  width: 232px;
  height: 62px;
  border: 1px solid rgba(205, 32, 31, 0.24);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-9deg) scaleX(0.72);
  animation: preloader-orbit-reveal 0.7s 0.2s ease forwards;
}

.preloader-node {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  margin: -25px 0 0 214px;
  border: 2px solid #fbfcfe;
  border-radius: 50%;
  background: #cd201f;
  box-shadow: 0 3px 10px rgba(205, 32, 31, 0.3);
  opacity: 0;
  animation: preloader-node-reveal 0.3s 0.62s ease forwards;
}

.preloader-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 7px 2px 12px;
  color: #7b8595;
  font:
    500 7px/1 "DM Mono",
    monospace;
  letter-spacing: 2px;
  opacity: 0;
  animation: preloader-meta-reveal 0.35s 0.38s ease forwards;
}

.preloader-meta b {
  color: #cd201f;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.preloader-progress {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: #e5e8ed;
}

.preloader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #cd201f;
  transform: translateX(-100%);
  animation: preloader-line 1.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-word-reveal {
  to {
    transform: translateY(0);
  }
}

@keyframes preloader-orbit-reveal {
  to {
    opacity: 1;
    transform: rotate(-9deg) scaleX(1);
  }
}

@keyframes preloader-node-reveal {
  to {
    opacity: 1;
  }
}

@keyframes preloader-meta-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloader-line {
  to {
    transform: translateX(0);
  }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  text-align: center;
  padding-top: 108px;
}
.eyebrow,
.kicker {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: #6682a6;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce8f7;
  background: #fff;
  padding: 9px 13px;
  border-radius: 99px;
  box-shadow: 0 7px 22px rgba(34, 77, 130, 0.06);
}
.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e5efff;
}
.hero h1,
.inner-hero h1 {
  font: 600 clamp(54px, 7vw, 92px) / 0.96 "Outfit";
  letter-spacing: -6px;
  margin: 25px 0 24px;
}
.hero h1 em,
.inner-hero h1 em,
.services-nav h2 em,
.before-after h2 em,
.center-heading h2 em,
.cta-panel h2 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.hero-copy {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
}
.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(21, 92, 255, 0.25);
}
.button:hover {
  transform: translateY(-2px);
}
.text-link {
  font-size: 13px;
  font-weight: 700;
}
.text-link span {
  color: var(--accent);
  margin-left: 10px;
}
.orbit-stage {
  height: 560px;
  max-width: 940px;
  margin: 12px auto 0;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.core-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 22%,
    #c3edff 0,
    #5da9ff 25%,
    #1763e5 59%,
    #0b2f91 100%
  );
  box-shadow:
    inset -25px -28px 58px rgba(4, 29, 108, 0.3),
    0 45px 75px rgba(45, 104, 194, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.core-face {
  position: absolute;
  width: 190px;
  height: 176px;
  left: 57px;
  top: 58px;
  border-radius: 35px;
  background: linear-gradient(
    145deg,
    rgba(124, 194, 255, 0.92),
    rgba(20, 78, 209, 0.9)
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    16px 25px 35px rgba(3, 36, 126, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateZ(46px) rotate(-5deg);
  color: #fff;
}
.logo-mark {
  font: 800 54px/1 "Outfit";
  letter-spacing: -5px;
}
.logo-mark span {
  font-size: 24px;
  letter-spacing: -2px;
}
.core-face small {
  font-size: 7px;
  letter-spacing: 1.5px;
  margin-top: 12px;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.ring-one {
  inset: 22px;
}
.ring-two {
  inset: 48px;
  border-color: rgba(255, 255, 255, 0.18);
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 17px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  text-align: left;
  transition: transform 0.3s ease-out;
}
.float-card b {
  font: 700 14px "Outfit";
}
.float-card small {
  grid-column: 2;
  color: #7890af;
  font-size: 11px;
}
.card-performance {
  left: 14%;
  top: 28%;
  transform: rotate(-5deg);
}
.card-launch {
  right: 10%;
  top: 62%;
  transform: rotate(5deg);
}
.mini-icon {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8f3ff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.status-dot {
  grid-row: 1/3;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #e7e0ff;
  position: relative;
}
.status-dot:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #29c982;
  right: -1px;
  top: -1px;
  box-shadow: 0 0 0 5px #e1f9ed;
}
.satellite {
  position: absolute;
  box-shadow: 0 25px 50px rgba(25, 83, 171, 0.22);
}
.satellite-one {
  width: 92px;
  height: 92px;
  left: 25%;
  top: 56%;
  border-radius: 26px;
  transform: rotate(17deg);
  background: linear-gradient(145deg, #9bdcff, #1c68ea);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 27px;
}
.satellite-two {
  width: 120px;
  height: 120px;
  right: 20%;
  top: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff, #d5e6fb 55%, #8aaddc);
}
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.5;
}
.ambient-one {
  width: 360px;
  height: 170px;
  background: #b4d9ff;
  left: 30%;
  top: 44%;
}
.ambient-two {
  width: 170px;
  height: 170px;
  background: #dce7ff;
  right: 17%;
  top: 27%;
}
.cursor-note {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  color: #7895bd;
  font:
    500 12px "DM Mono",
    monospace;
  letter-spacing: 1px;
}
/* -------------------------------------------------------------------------- */
/* Experience showcase                                                        */
/* -------------------------------------------------------------------------- */

.showcase {
  padding-top: 30px;
}
.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
}
.section-intro h2,
.services-nav h2,
.before-after h2,
.center-heading h2,
.cta-panel h2 {
  font: 600 clamp(39px, 5vw, 62px) / 1.03 "Outfit";
  letter-spacing: -4px;
  margin: 12px 0 0;
}
.section-intro > p {
  max-width: 410px;
  color: var(--muted);
  line-height: 1.7;
}
.experience-window {
  border: 1px solid #dce7f3;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(36, 79, 139, 0.13);
  padding: 10px;
}
.window-bar {
  height: 58px;
  border-bottom: 1px solid #e4edf7;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
}
.window-brand {
  font-weight: 800;
}
.window-brand span {
  color: var(--accent);
}
.window-tabs {
  display: flex;
  gap: 8px;
}
.window-tabs span {
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 10px;
  color: #7789a1;
}
.window-tabs .active {
  background: #eef5ff;
  color: var(--accent);
}
.tiny-button {
  padding: 10px 13px;
}
.window-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 390px;
}
.window-body aside {
  padding: 27px 13px;
  border-right: 1px solid #e5edf6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.window-body aside small {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #8da0b7;
  margin: 0 12px 16px;
}
.window-body aside a {
  font-size: 11px;
  color: #74869e;
  padding: 13px 12px;
  border-radius: 9px;
}
.window-body aside a.active {
  background: #edf4ff;
  color: var(--accent);
  font-weight: 700;
}
.dashboard {
  background: #f8fbff;
  padding: 40px;
}
.dash-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.dash-heading small {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #8499b4;
}
.dash-heading h3 {
  font: 600 27px "Outfit";
  letter-spacing: -1.5px;
  margin: 8px 0;
}
.pill {
  background: #eafaf2;
  color: #229b67;
  padding: 8px 11px;
  border-radius: 99px;
  font-size: 9px;
}
.project-card {
  background: #fff;
  border: 1px solid #dce8f5;
  border-radius: 14px;
  margin-top: 26px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(25, 64, 118, 0.06);
}
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #71849e;
}
.project-meta b {
  color: var(--ink);
}
.progress {
  height: 5px;
  background: #e9f1fa;
  border-radius: 4px;
  margin: 24px 0;
}
.progress i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #61c7ff);
  border-radius: 4px;
}
.project-stats {
  display: flex;
  gap: 40px;
  color: #8092a8;
  font-size: 10px;
}
.project-stats b {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}
/* -------------------------------------------------------------------------- */
/* Services overview                                                          */
/* -------------------------------------------------------------------------- */

.services-section {
  padding-top: 160px;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 100px;
}
.services-nav {
  position: sticky;
  top: 40px;
  align-self: start;
}
.services-nav p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
}
.service-list > .service-item {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 20px;
  padding: 29px 5px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-list > .service-item > span {
  font:
    600 11px "DM Mono",
    monospace;
  color: var(--accent);
}
.service-list h3 {
  font: 600 25px "Outfit";
  letter-spacing: -1.3px;
  margin: 0 0 8px;
}
.service-list p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 550px;
  font-size: 14px;
}
.service-list > .service-item > b {
  color: var(--accent);
}
/* -------------------------------------------------------------------------- */
/* Before-and-after comparison                                                */
/* -------------------------------------------------------------------------- */

.before-after {
  margin-top: 160px;
  padding: 150px 0;
  background: #f0f6ff;
  text-align: center;
}
.before-after h2 {
  margin-top: 18px;
}
.compare {
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  max-width: 800px;
  text-align: left;
}
.compare-card {
  min-height: 300px;
  border-radius: 22px;
  padding: 30px;
}
.scattered {
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-card small {
  letter-spacing: 2px;
  color: #8ca0b8;
  font-size: 8px;
}
.compare-card ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}
.compare-card li {
  border-bottom: 1px solid #e5edf6;
  padding: 15px 0;
  font-size: 13px;
}
.compare-card li:before {
  content: "×";
  color: #8aa2c0;
  margin-right: 10px;
}
.compare-card li span {
  float: right;
  font-size: 9px;
  text-transform: uppercase;
  color: #a0aec0;
}
.compare-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 26px;
}
.connected {
  background: linear-gradient(145deg, #1265f5, #453cda);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px rgba(44, 78, 218, 0.25);
}
.connected .check {
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 24px;
}
.connected h3 {
  font: 600 27px "Outfit";
  margin: 20px 0 8px;
}
.connected p {
  font-size: 12px;
  line-height: 1.6;
  max-width: 240px;
  color: #d8e6ff;
}
/* -------------------------------------------------------------------------- */
/* Process and final call to action                                           */
/* -------------------------------------------------------------------------- */

.process {
  padding-top: 150px;
}
.center-heading {
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 55px;
}
.steps article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  min-height: 240px;
  background: #fff;
}
.steps span {
  color: var(--accent);
  font:
    600 11px "DM Mono",
    monospace;
}
.steps h3 {
  font: 600 23px "Outfit";
  margin: 48px 0 12px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.cta-wrap {
  padding: 150px 0 90px;
}
.cta-panel {
  min-height: 430px;
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(130deg, #164fd4, #2888f4);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-panel .kicker {
  color: #bcd7ff;
}
.cta-panel h2 {
  position: relative;
  z-index: 1;
}
.cta-panel h2 em {
  color: #fff;
  font-weight: 400;
}
.cta-panel p {
  color: #d9e8ff;
}
.button-light {
  background: #fff;
  color: var(--accent);
  margin-top: 15px;
}
.cta-orbit {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  right: -230px;
  top: -250px;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.035),
    0 0 0 140px rgba(255, 255, 255, 0.025);
}
/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 25px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}
.footer-main p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  justify-self: end;
  font-size: 13px;
}
.footer-bottom {
  margin-top: 55px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #8a9bb1;
  font-size: 10px;
}
/* -------------------------------------------------------------------------- */
/* Inner pages                                                                */
/* -------------------------------------------------------------------------- */

.inner-main {
  padding-top: 100px;
}
.inner-hero {
  text-align: center;
  padding: 70px 0 120px;
}
.inner-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}
.inner-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 680px;
  margin: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 140px;
}
.service-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  min-height: 280px;
}
.service-grid article > span {
  font:
    600 11px "DM Mono",
    monospace;
  color: var(--accent);
}
.service-grid h2 {
  font: 600 29px/1.15 "Outfit";
  letter-spacing: -1.7px;
  margin: 45px 0 14px;
}
.service-grid p {
  color: var(--muted);
  line-height: 1.65;
}
.service-grid a {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.work-list {
  padding-bottom: 140px;
}
.work-list article {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 65px;
  margin-bottom: 90px;
}
.work-visual {
  aspect-ratio: 1.4;
  border-radius: 26px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.visual-one {
  background: radial-gradient(circle at 70% 30%, #75c4ff, #155cff 55%, #102d8c);
}
.visual-two {
  background: radial-gradient(circle at 20% 80%, #bc9cff, #463fd4 54%, #101d5c);
}
.work-visual span {
  font-size: 9px;
  letter-spacing: 2px;
}
.work-visual b {
  font: 600 40px/1.05 "Outfit";
  max-width: 400px;
}
.work-list h2,
.about-values h2 {
  font: 600 39px/1.1 "Outfit";
  letter-spacing: -2px;
}
.work-list p,
.about-values p {
  color: var(--muted);
  line-height: 1.7;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-bottom: 140px;
}
.about-values > div:first-child {
  position: sticky;
  top: 150px;
  align-self: start;
}
.value-list article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.value-list span {
  font:
    600 11px "DM Mono",
    monospace;
  color: var(--accent);
}
.value-list h3 {
  font: 600 25px "Outfit";
  margin: 15px 0 8px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 70px 0 140px;
}
.contact-layout h1 {
  font: 600 clamp(50px, 6vw, 76px) / 1 "Outfit";
  letter-spacing: -5px;
  margin: 20px 0;
}
.contact-layout h1 em {
  font-style: normal;
  color: var(--accent);
}
.contact-layout > div > p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}
.contact-note {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.contact-note a {
  font-size: 22px;
  color: var(--ink);
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 35px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #d9e5f3;
  border-radius: 10px;
  background: #f9fbff;
  padding: 14px;
  outline: none;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #e4eeff;
}
.contact-form small {
  color: var(--muted);
  line-height: 1.5;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
}
.form-status {
  margin: 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.form-status p {
  margin: 0;
}
.form-status p + p {
  margin-top: 4px;
}
.form-status.success {
  background: #edf9f3;
  color: #116a47;
}
.form-status.error {
  background: #fff0ef;
  color: #9f1115;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* -------------------------------------------------------------------------- */
/* Responsive layout                                                          */
/* -------------------------------------------------------------------------- */

@media (max-width: 800px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }
  .site-header {
    height: 62px;
    margin-top: 10px;
    grid-template-columns: 1fr auto auto;
  }
  .site-header nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 14px;
  }
  .site-header nav a.active::after,
  .site-header nav a[aria-current="page"]::after {
    right: 14px;
    bottom: 7px;
    left: 14px;
  }
  .nav-toggle {
    display: block;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    margin: 5px;
  }
  .header-cta {
    padding: 11px 12px;
  }
  .header-cta span {
    display: none;
  }
  .hero {
    padding-top: 75px;
  }
  .hero h1,
  .inner-hero h1 {
    letter-spacing: -3px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .orbit-stage {
    height: 440px;
  }
  .core-orb {
    width: 220px;
    height: 220px;
  }
  .core-face {
    width: 140px;
    height: 130px;
    left: 40px;
    top: 40px;
    border-radius: 26px;
  }
  .logo-mark {
    font-size: 40px;
  }
  .card-performance {
    left: 0;
    top: 22%;
  }
  .card-launch {
    right: 0;
    top: 65%;
  }
  .satellite-one {
    width: 65px;
    height: 65px;
    left: 12%;
  }
  .satellite-two {
    width: 75px;
    height: 75px;
    right: 5%;
  }
  .section-intro,
  .services-section,
  .about-values,
  .contact-layout {
    display: block;
  }
  .section-intro > p {
    margin-top: 25px;
  }
  .window-tabs {
    display: none;
  }
  .window-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .window-body aside {
    display: none;
  }
  .dashboard {
    padding: 20px;
  }
  .project-stats {
    gap: 15px;
  }
  .services-section {
    padding-top: 110px;
  }
  .services-nav {
    position: static;
    margin-bottom: 30px;
  }
  .before-after {
    margin-top: 100px;
    padding: 100px 0;
  }
  .compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .compare-arrow {
    transform: rotate(90deg);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .cta-wrap {
    padding-top: 100px;
  }
  .cta-panel {
    padding: 70px 20px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-links {
    justify-self: start;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .work-list article {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-values > div:first-child {
    position: static;
  }
  .contact-form {
    margin-top: 50px;
  }
}

/* Feature banners share a broader presentation width. */
.koko-payment.section-shell {
  margin-top: clamp(88px, 8vw, 118px);
  margin-bottom: clamp(64px, 6vw, 86px);
}
.vibe-production.section-shell {
  padding-top: clamp(62px, 7vw, 92px);
  padding-bottom: clamp(62px, 7vw, 92px);
}
.cta-wrap.section-shell {
  width: min(1360px, calc(100% - 28px));
  padding-top: clamp(42px, 5vw, 68px);
}
@media (max-width: 700px) {
  .koko-payment.section-shell {
    margin-top: 64px;
    margin-bottom: 54px;
  }
  .vibe-production.section-shell {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .cta-wrap.section-shell {
    width: calc(100% - 20px);
    padding-top: 34px;
  }
}

/* -------------------------------------------------------------------------- */
/* Vibe Code to Production                                                    */
/* -------------------------------------------------------------------------- */

.vibe-production {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-block: clamp(90px, 12vw, 150px);
}
.vibe-production__content h2,
.koko-payment h2 {
  margin: 18px 0 24px;
  font-weight: 600;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.vibe-production__content h2 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}
.vibe-production__content > p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.vibe-production__content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}
.vibe-production__content li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 12px;
  margin-right: 9px;
  background: var(--accent);
  clip-path: polygon(0 42%, 68% 42%, 68% 0, 100% 50%, 68% 100%, 68% 58%, 0 58%);
  transform: rotate(-45deg);
}
.vibe-production__visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  perspective: 1000px;
}
.vibe-production__grid {
  display: none;
}
.vibe-editor,
.vibe-product {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(47, 65, 91, 0.13);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 64px rgba(25, 42, 68, 0.15);
  backdrop-filter: blur(14px);
}
.vibe-editor {
  top: 13%;
  left: 10%;
  width: 80%;
  animation: vibe-editor-cycle 11s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.vibe-editor__bar,
.vibe-editor__footer,
.vibe-product__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  font: 500 8px/1 "DM Mono", monospace;
  letter-spacing: 0.06em;
}
.vibe-editor__bar {
  height: 42px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(47, 65, 91, 0.09);
}
.vibe-editor__bar > i,
.vibe-product__bar > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa6b6;
}
.vibe-editor__bar > i:first-child,
.vibe-product__bar > i:first-child { background: var(--accent); }
.vibe-editor__bar > i:nth-child(2),
.vibe-product__bar > i:nth-child(2) { background: #f0a328; }
.vibe-editor__bar > i:nth-child(3),
.vibe-product__bar > i:nth-child(3) { background: #32a66a; }
.vibe-editor__bar > span { margin-left: 7px; }
.vibe-editor__bar > b { margin-left: auto; color: var(--accent); }
.vibe-editor__body {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  min-height: 260px;
  padding: 28px 22px;
}
.vibe-editor__body > span {
  color: #b0bac7;
  font: 400 9px/2.15 "DM Mono", monospace;
}
.vibe-editor code {
  color: #536176;
  font: 400 clamp(9px, 1vw, 12px)/2.15 "DM Mono", monospace;
  white-space: nowrap;
}
.vibe-editor code b { color: #8c4db5; font-weight: 500; }
.vibe-editor code em { color: #b51f2e; font-style: normal; }
.vibe-editor code i { color: #2766a7; font-style: normal; }
.vibe-editor__body mark {
  position: absolute;
  left: 66%;
  bottom: 32px;
  width: 7px;
  height: 14px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(205, 32, 31, 0.45);
  animation: vibe-cursor-blink 1s steps(1) infinite, vibe-cursor-run 11s steps(5, end) infinite;
}
.vibe-editor__footer {
  justify-content: space-between;
  height: 34px;
  padding: 0 13px;
  border-top: 1px solid rgba(47, 65, 91, 0.09);
}
.vibe-editor__footer span { display: flex; align-items: center; gap: 6px; }
.vibe-editor__footer span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #32a66a;
  box-shadow: 0 0 8px rgba(50, 166, 106, 0.5);
}
.vibe-editor__footer b { color: var(--accent); }
.vibe-build-stream {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), #536f9f, transparent);
  opacity: 0;
  animation: vibe-build-stream 11s ease infinite;
}
.vibe-build-stream i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(205, 32, 31, 0.55);
  transform: translate(-50%, -50%);
}
.vibe-build-stream span {
  position: absolute;
  top: 15px;
  left: 50%;
  color: var(--accent);
  font: 500 7px/1 "DM Mono", monospace;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transform: translateX(-50%);
}
.vibe-product {
  z-index: 5;
  top: 14%;
  left: 8%;
  width: 84%;
  height: 72%;
  opacity: 0;
  transform: perspective(900px) rotateY(-10deg) scale(0.74);
  animation: vibe-product-cycle 11s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.vibe-product__bar {
  height: 35px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(47, 65, 91, 0.1);
}
.vibe-product__bar > span {
  min-width: 45%;
  margin-left: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f3f5f8;
}
.vibe-product__bar > b { margin-left: auto; color: #258b58; }
.vibe-product__nav {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 48px;
  padding: 0 6%;
  border-bottom: 1px solid rgba(47, 65, 91, 0.09);
}
.vibe-product__nav strong { margin-right: auto; font-size: 8px; letter-spacing: 0.12em; }
.vibe-product__nav > i { width: 26px; height: 2px; background: #c4ccd7; }
.vibe-product__nav > span {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
  font-size: 7px;
  font-weight: 700;
}
.vibe-product__hero {
  position: relative;
  height: 46%;
  margin: 7% 6% 4%;
  padding: 7% 8%;
  overflow: hidden;
  border: 1px solid #e0e5ec;
  background: linear-gradient(135deg, rgba(205, 32, 31, 0.1), rgba(75, 101, 143, 0.08));
}
.vibe-product__hero small { display: block; margin-bottom: 8%; color: var(--accent); font: 500 6px/1 "DM Mono", monospace; letter-spacing: 0.13em; }
.vibe-product__hero strong { font-size: clamp(18px, 2.4vw, 28px); line-height: 0.95; letter-spacing: -0.05em; }
.vibe-product__hero strong em { color: var(--accent); font-style: normal; }
.vibe-product__hero > i {
  position: absolute;
  top: 12%;
  right: 7%;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(205, 32, 31, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(205, 32, 31, 0.035);
  transform: rotateX(68deg);
}
.vibe-product__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin: 0 6%; }
.vibe-product__cards i { height: 38px; border: 1px solid #e0e5ec; background: #f6f8fa; }
.vibe-product__stamp { position: absolute; right: 5%; bottom: 4%; color: #7f8b9b; font: 500 7px/1 "DM Mono", monospace; letter-spacing: 0.1em; }
.vibe-product__stamp span { display: inline-grid; width: 17px; height: 17px; margin-left: 5px; place-items: center; border-radius: 50%; background: #32a66a; color: #fff; }
.vibe-checks { position: absolute; z-index: 9; inset: 0; pointer-events: none; }
.vibe-checks span {
  position: absolute;
  right: 4%;
  padding: 8px 10px;
  border: 1px solid #dde3eb;
  background: rgba(255,255,255,.94);
  color: #536176;
  box-shadow: 0 10px 25px rgba(25, 42, 68, 0.1);
  font: 500 8px/1 "DM Mono", monospace;
  opacity: 0;
  animation: vibe-check-cycle 11s ease infinite;
}
.vibe-checks span:first-child { top: 15%; }
.vibe-checks span:nth-child(2) { top: 25%; animation-delay: .55s; }
.vibe-checks span:nth-child(3) { top: 35%; animation-delay: 1.1s; }
.vibe-production__scan {
  display: none;
}
@keyframes vibe-editor-cycle { 0%,43%{opacity:1;transform:rotateY(5deg) translateZ(24px)} 50%,82%{opacity:.12;transform:scale(.84)} 90%,100%{opacity:1;transform:rotateY(5deg) translateZ(24px)} }
@keyframes vibe-product-cycle { 0%,47%{opacity:0;filter:blur(5px);transform:rotateY(-10deg) scale(.74)} 57%,82%{opacity:1;filter:none;transform:rotateY(-1deg) scale(1)} 90%,100%{opacity:0;filter:blur(2px);transform:rotateY(4deg) scale(.94)} }
@keyframes vibe-build-stream { 0%,38%{opacity:0;transform:scaleX(.15)} 44%,49%{opacity:1;transform:scaleX(1)} 55%,100%{opacity:0} }
@keyframes vibe-check-cycle { 0%,9%{opacity:0;transform:translateY(7px)} 16%,38%{opacity:1;transform:none} 44%,100%{opacity:0;transform:translateY(-5px)} }
@keyframes vibe-scan-cycle { 0%,8%{top:4%;opacity:0} 16%{opacity:.65} 42%{top:90%;opacity:0} 100%{opacity:0} }
@keyframes vibe-cursor-blink { 50%{opacity:0} }
@keyframes vibe-cursor-run { 0%,8%{left:50%;bottom:72%} 15%{left:47%;bottom:60%} 22%{left:52%;bottom:48%} 29%{left:56%;bottom:36%} 36%,100%{left:66%;bottom:24%} }

/* -------------------------------------------------------------------------- */
/* KoKo flexible payments and reminder                                        */
/* -------------------------------------------------------------------------- */

.koko-payment {
  position: relative;
  scroll-margin-top: 120px;
  min-height: 430px;
  margin-block: clamp(80px, 10vw, 130px);
  padding: clamp(42px, 5vw, 66px);
  overflow: visible;
  isolation: isolate;
  border-radius: 32px 10px 32px 10px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(118deg, #171b28 0%, #202535 56%, #271d2e 100%);
  background-size: 38px 38px, 38px 38px, auto;
  color: #fff;
  box-shadow: 0 35px 90px rgba(21, 27, 40, 0.25);
}
.koko-payment::before {
  content: "";
  position: absolute;
  top: 0;
  right: 45%;
  left: 45px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #f294ad, transparent);
  box-shadow: 0 0 15px rgba(205,32,31,.45);
}
.koko-payment__content { position: relative; z-index: 6; width: min(47%, 500px); }
.koko-payment .kicker { color: #f3a2b5; }
.koko-payment h2 em { color: #f3a2b5; font-style: normal; }
.koko-payment__content > p { max-width: 430px; margin: 0 0 26px; color: #bbc2d0; font-size: 16px; line-height: 1.65; }
.koko-payment__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.koko-payment__actions > a:last-child { padding-block: 8px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 650; }
.koko-payment__content > small { display: block; margin-top: 16px; color: #848c9d; font-size: 10px; }
.koko-payment__brand { position: absolute; z-index: 7; top: 28px; right: 34px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.koko-payment__brand img { width: clamp(142px, 14vw, 195px); height: clamp(64px, 7vw, 88px); padding: 7px 14px; object-fit: contain; border-radius: 16px 5px 16px 5px; background: #fff; box-shadow: 8px 8px 0 rgba(205,32,31,.18), 0 18px 45px rgba(0,0,0,.3); animation: koko-float 6s ease-in-out infinite; }
.koko-payment__brand span { color: #8992a4; font: 500 7px/1 "DM Mono", monospace; letter-spacing: .12em; }
.koko-payment__visual { position: absolute; z-index: 4; right: clamp(95px, 12vw, 155px); bottom: -2px; width: clamp(360px, 36vw, 505px); height: calc(100% + 55px); pointer-events: none; }
.koko-payment__visual > img { position: absolute; z-index: 3; right: -3%; bottom: 0; width: auto; max-width: none; height: 103%; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)); animation: koko-float 5.5s ease-in-out infinite -.8s; }
.koko-payment__orbit,
.koko-notice__orbit { position: absolute; border: 1px solid rgba(244,150,174,.25); border-radius: 50%; transform: rotateX(67deg) rotateZ(-15deg); animation: koko-orbit 14s linear infinite; }
.koko-payment__orbit { z-index: 1; top: 20%; right: 1%; width: 72%; aspect-ratio: 1; }
.koko-payment__orbit::before,
.koko-payment__orbit::after,
.koko-notice__orbit::before,
.koko-notice__orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(123,142,180,.22); border-radius: 50%; }
.koko-payment__orbit::after,
.koko-notice__orbit::after { inset: 38%; }
.koko-payment__orbit i,
.koko-notice__orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #f3a2b5; box-shadow: 0 0 12px #f3a2b5; }
.koko-payment__orbit i:first-child,
.koko-notice__orbit i:first-child { top: 50%; left: -4px; }
.koko-payment__orbit i:nth-child(2),
.koko-notice__orbit i:nth-child(2) { top: 7%; left: 73%; background: #fff; }
.koko-payment__orbit i:nth-child(3),
.koko-notice__orbit i:nth-child(3) { top: 73%; left: 87%; background: var(--accent); }
.koko-payment__steps { position: absolute; z-index: 2; left: 49%; bottom: 32px; display: flex; gap: 10px; transform: perspective(700px) rotateY(-15deg); }
.koko-payment__steps i { display: grid; width: 54px; height: 68px; padding: 9px; align-items: end; border: 1px solid rgba(255,255,255,.11); border-radius: 12px 4px 12px 4px; background: rgba(255,255,255,.04); color: #929bad; font: 500 9px/1 "DM Mono", monospace; font-style: normal; }
.koko-payment__signal { position: absolute; z-index: 8; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 14px 16px; border: 1px solid rgba(244,150,174,.22); border-radius: 15px 5px 15px 5px; background: rgba(27,31,46,.92); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.koko-payment__signal > b { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(244,150,174,.35); border-radius: 50%; color: #f3a2b5; font: 500 10px/1 "DM Mono", monospace; }
.koko-payment__signal span { display: flex; flex-direction: column; }
.koko-payment__signal strong { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.koko-payment__signal small { margin-top: 4px; color: #939cad; font-size: 9px; }

.koko-notice {
  position: fixed;
  z-index: 180;
  right: clamp(16px, 2.5vw, 34px);
  bottom: clamp(100px, 9vw, 130px);
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  width: min(460px, calc(100vw - 32px));
  min-height: 170px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 25px 8px 25px 8px;
  background: linear-gradient(120deg, rgba(23,27,40,.98), rgba(38,29,44,.97));
  color: #fff;
  box-shadow: 0 28px 80px rgba(16,22,34,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.95);
  transform-origin: 90% 100%;
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.koko-notice.is-visible { opacity: 1; visibility: visible; transform: none; }
.koko-notice__close { position: absolute; z-index: 5; top: 10px; right: 10px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.04); color: #aab2c2; cursor: pointer; font-size: 20px; }
.koko-notice__close:hover,
.koko-notice__close:focus-visible { border-color: #f3a2b5; color: #fff; outline: none; }
.koko-notice__visual { position: relative; align-self: stretch; min-height: 170px; }
.koko-notice__visual > img { position: absolute; z-index: 3; left: -18px; bottom: 0; width: 178px; height: 200px; max-width: none; object-fit: contain; filter: drop-shadow(0 15px 20px rgba(0,0,0,.3)); animation: koko-float 5s ease-in-out infinite; }
.koko-notice__visual > b { position: absolute; z-index: 4; left: 13px; bottom: 11px; padding: 5px 8px; border: 1px solid rgba(244,150,174,.3); border-radius: 999px; background: #171b28; color: #f3a2b5; font: 500 7px/1 "DM Mono", monospace; letter-spacing: .12em; }
.koko-notice__orbit { z-index: 2; top: 25px; left: 10px; width: 130px; aspect-ratio: 1; animation-duration: 9s; }
.koko-notice__content { padding: 28px 45px 28px 4px; }
.koko-notice__content > span { display: block; margin-bottom: 10px; color: #f3a2b5; font: 500 8px/1.4 "DM Mono", monospace; letter-spacing: .13em; }
.koko-notice__content > strong { display: block; font-size: 20px; line-height: 1.1; }
.koko-notice__content > strong em { color: #f3a2b5; font-style: normal; }
.koko-notice__content ol { display: flex; gap: 0; margin: 15px 0 10px; padding: 0; list-style: none; }
.koko-notice__content li { position: relative; width: 38px; color: #929bad; font: 500 8px/1 "DM Mono", monospace; }
.koko-notice__content li::before { content: ""; display: block; width: 6px; height: 6px; margin-bottom: 5px; border: 1px solid #7d8698; border-radius: 50%; background: #202532; }
.koko-notice__content li:not(:last-child)::after { content: ""; position: absolute; top: 3px; left: 6px; width: 32px; height: 1px; background: linear-gradient(90deg, #f3a2b5, var(--accent)); }
.koko-notice__content li:first-child::before { border-color: #f3a2b5; background: #f3a2b5; box-shadow: 0 0 10px rgba(243,162,181,.65); }
.koko-notice__content a { color: #fff; font-size: 12px; font-weight: 650; }
.koko-notice__content a:hover { color: #f3a2b5; }
@keyframes koko-float { 50%{transform:translateY(-8px) rotate(-.5deg)} }
@keyframes koko-orbit { to{transform:rotateX(67deg) rotateZ(345deg)} }

@media (max-width: 900px) {
  .vibe-production { grid-template-columns: 1fr; }
  .vibe-production__visual { min-height: 570px; order: 2; }
  .koko-payment { min-height: 620px; display: flex; align-items: flex-end; }
  .koko-payment__content { width: 100%; }
  .koko-payment__visual { top: -28px; right: 2%; bottom: auto; width: 390px; height: 405px; }
  .koko-payment__brand { left: 34px; right: auto; }
  .koko-payment__steps,
  .koko-payment__signal { display: none; }
}
@media (max-width: 560px) {
  .vibe-production { width: min(100% - 28px, 1180px); padding-block: 72px; }
  .vibe-production__content ul { grid-template-columns: 1fr; }
  .vibe-production__visual { min-height: 460px; }
  .vibe-editor { left: 7%; width: 86%; }
  .vibe-editor__body { min-height: 200px; padding: 20px 14px; }
  .vibe-editor code { font-size: 8px; }
  .vibe-editor__bar > b { display: none; }
  .vibe-product { top: 11%; height: 78%; }
  .vibe-checks span { right: 2%; padding: 6px; font-size: 6px; }
  .koko-payment { width: calc(100% - 24px); min-height: 650px; padding: 30px 24px; }
  .koko-payment__brand { top: 22px; left: 22px; }
  .koko-payment__brand img { width: 125px; height: 57px; }
  .koko-payment__brand span { display: none; }
  .koko-payment__visual { top: -15px; right: -65px; width: 325px; height: 350px; }
  .koko-payment__actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .koko-notice { right: 12px; bottom: 92px; grid-template-columns: 105px 1fr; width: calc(100vw - 24px); min-height: 152px; }
  .koko-notice__visual { min-height: 152px; }
  .koko-notice__visual > img { left: -15px; width: 130px; height: 165px; }
  .koko-notice__orbit { top: 31px; left: 2px; width: 100px; }
  .koko-notice__visual > b { left: 6px; }
  .koko-notice__content { padding: 24px 38px 24px 0; }
  .koko-notice__content > span { max-width: 170px; font-size: 7px; }
  .koko-notice__content > strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .vibe-editor { opacity: .14; transform: scale(.84); animation: none; }
  .vibe-product { opacity: 1; filter: none; transform: none; animation: none; }
  .vibe-build-stream,
  .vibe-production__scan { display: none; }
  .vibe-checks span { opacity: 0; animation: none; }
  .vibe-editor__body mark,
  .koko-payment__brand img,
  .koko-payment__visual > img,
  .koko-payment__orbit,
  .koko-notice__visual > img,
  .koko-notice__orbit { animation: none; }
  .koko-notice { transition: none; }
}

/* KoKo refinement: clean Web 360 surfaces with KoKo's pink accent. */
.koko-payment {
  border: 1px solid #25262b;
  background:
    radial-gradient(circle at 79% 42%, rgba(236, 91, 151, 0.18), transparent 29%),
    linear-gradient(112deg, #111216 0%, #18191e 60%, #20171c 100%);
  background-size: auto;
  box-shadow: 0 34px 85px rgba(17, 24, 39, 0.2);
}
.koko-payment::before {
  right: 55%;
  background: linear-gradient(90deg, #ed5c98, #ffb0cc, transparent);
  box-shadow: 0 0 18px rgba(237, 92, 152, 0.42);
}
.koko-payment .kicker,
.koko-payment h2 em {
  color: #f47eac;
}
.koko-payment__content > p {
  color: #c9cbd1;
}
.koko-payment__brand img {
  box-shadow: 8px 8px 0 rgba(237, 92, 152, 0.2), 0 18px 45px rgba(0,0,0,.3);
}
.koko-payment__orbit {
  border-color: rgba(244, 126, 172, 0.28);
}
.koko-payment__orbit i {
  background: #f47eac;
  box-shadow: 0 0 12px rgba(244, 126, 172, 0.85);
}
.koko-payment__signal {
  border-color: rgba(244, 126, 172, 0.25);
  background: rgba(20, 20, 24, 0.95);
}
.koko-payment__signal > b {
  border-color: rgba(244, 126, 172, 0.42);
  color: #f47eac;
}

.koko-notice {
  grid-template-columns: 172px 1fr;
  width: min(510px, calc(100vw - 32px));
  min-height: 226px;
  overflow: hidden;
  border: 1px solid #e3e5e9;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.2);
}
.koko-notice::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 172px;
  background:
    radial-gradient(circle at 48% 48%, rgba(255,255,255,.75), transparent 38%),
    linear-gradient(145deg, #fff2f7, #f9d7e5);
}
.koko-notice::after {
  content: "";
  position: absolute;
  top: 0;
  right: 44px;
  left: 172px;
  height: 2px;
  background: linear-gradient(90deg, #ed5c98, rgba(237, 92, 152, 0));
}
.koko-notice__close {
  top: 14px;
  right: 14px;
  border-color: #e0e3e8;
  background: #f7f8fa;
  color: #667085;
}
.koko-notice__close:hover,
.koko-notice__close:focus-visible {
  border-color: #ed5c98;
  background: #fff2f7;
  color: #c52f6d;
}
.koko-notice__visual {
  z-index: 1;
  min-height: 226px;
}
.koko-notice__visual::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 16px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(237, 92, 152, 0.22);
  border-radius: 50%;
}
.koko-notice__visual > img {
  left: -12px;
  bottom: -4px;
  width: 205px;
  height: 230px;
  filter: drop-shadow(0 16px 20px rgba(45, 33, 39, 0.18));
}
.koko-notice__orbit {
  top: 42px;
  left: 17px;
  width: 138px;
  border-color: rgba(237, 92, 152, 0.28);
}
.koko-notice__orbit::before,
.koko-notice__orbit::after {
  border-color: rgba(59, 72, 96, 0.13);
}
.koko-notice__orbit i {
  background: #ed5c98;
  box-shadow: 0 0 10px rgba(237, 92, 152, 0.6);
}
.koko-notice__content {
  position: relative;
  z-index: 2;
  padding: 30px 42px 28px 18px;
}
.koko-notice__content > img {
  display: block;
  width: 64px;
  height: 28px;
  margin-bottom: 8px;
  object-fit: contain;
  object-position: left center;
}
.koko-notice__content > span {
  margin-bottom: 9px;
  color: #b6376d;
  font-size: 7px;
  letter-spacing: 0.14em;
}
.koko-notice__content > strong {
  color: #151821;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.koko-notice__content > strong em {
  color: #d94381;
}
.koko-notice__content > p {
  max-width: 270px;
  margin: 9px 0 15px;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}
.koko-notice__button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  isolation: isolate;
  padding: 2px;
  border-radius: 11px;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(210, 55, 119, 0.2);
}
.koko-notice__button::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 190%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, #ed5c98, #16171b 28%, #ffb1ce 52%, #16171b 76%, #ed5c98);
  animation: koko-button-border 3s linear infinite;
}
.koko-notice__button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: 9px;
  background: #15161a;
  transition: background 0.2s ease;
}
.koko-notice__button > span {
  padding-left: 14px;
}
.koko-notice__button > b {
  display: grid;
  width: 38px;
  align-self: stretch;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,.14);
  font-size: 17px;
}
.koko-notice__button:hover::after,
.koko-notice__button:focus-visible::after {
  background: #292025;
}
.koko-notice__button:focus-visible {
  outline: 3px solid rgba(237, 92, 152, 0.25);
  outline-offset: 3px;
}
@keyframes koko-button-border {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .koko-notice {
    grid-template-columns: 112px 1fr;
    min-height: 198px;
    border-radius: 20px;
  }
  .koko-notice::before { width: 112px; }
  .koko-notice::after { left: 112px; }
  .koko-notice__visual { min-height: 198px; }
  .koko-notice__visual::after { left: 6px; bottom: 25px; width: 96px; height: 96px; }
  .koko-notice__visual > img { left: -18px; bottom: 3px; width: 145px; height: 180px; }
  .koko-notice__orbit { top: 48px; left: 6px; width: 100px; }
  .koko-notice__content { padding: 26px 38px 24px 8px; }
  .koko-notice__content > img { width: 54px; height: 24px; }
  .koko-notice__content > strong { font-size: 19px; }
  .koko-notice__content > p { max-width: 205px; font-size: 10px; }
  .koko-notice__button { min-height: 40px; gap: 10px; font-size: 11px !important; }
  .koko-notice__button > span { padding-left: 10px; }
  .koko-notice__button > b { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .koko-notice__button::before { animation: none; }
}

/* Sequential KoKo instalment confirmation loop. */
.koko-payment__steps {
  left: 40%;
  z-index: 9;
}
.koko-payment__steps i {
  position: relative;
  width: 86px;
  height: 78px;
  overflow: hidden;
  align-items: stretch;
  color: #8f98aa;
  transition: none;
}
.koko-payment__steps i::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(57, 217, 138, .24), rgba(57, 217, 138, .06));
  opacity: 0;
}
.koko-payment__steps i > b {
  font: 600 9px/1 "DM Mono", monospace;
  font-weight: 600;
}
.koko-payment__steps i > em {
  display: block;
  margin-top: 8px;
  color: #c3c9d3;
  font: 600 7px/1.25 "DM Mono", monospace;
  font-style: normal;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.koko-payment__steps i > span {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: transparent;
  font: 800 12px/1 Arial, sans-serif;
  transform: scale(.6) rotate(-25deg);
}
.koko-payment__steps i > small {
  align-self: end;
  color: var(--green, #39d98a);
  font: 700 7px/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
}
.koko-payment__steps i:first-child { animation: koko-step-one 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(2) { animation: koko-step-two 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(3) { animation: koko-step-three 9s ease-in-out infinite; }
.koko-payment__steps i:first-child::before { animation: koko-fill-one 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(2)::before { animation: koko-fill-two 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(3)::before { animation: koko-fill-three 9s ease-in-out infinite; }
.koko-payment__steps i:first-child > span { animation: koko-check-one 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(2) > span { animation: koko-check-two 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(3) > span { animation: koko-check-three 9s ease-in-out infinite; }
.koko-payment__steps i:first-child > small { animation: koko-label-one 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(2) > small { animation: koko-label-two 9s ease-in-out infinite; }
.koko-payment__steps i:nth-child(3) > small { animation: koko-label-three 9s ease-in-out infinite; }
.koko-payment__signal {
  overflow: hidden;
  animation: koko-summary-complete 9s ease-in-out infinite;
}
.koko-payment__signal > b {
  position: relative;
  flex: 0 0 38px;
  animation: koko-summary-icon 9s ease-in-out infinite;
}
.koko-payment__signal > b > i {
  position: absolute;
  color: #07150f;
  font: 800 16px/1 Arial, sans-serif;
  font-style: normal;
  opacity: 0;
  transform: scale(.5) rotate(-25deg);
  animation: koko-summary-tick 9s ease-in-out infinite;
}
.koko-payment__signal > b > span {
  animation: koko-summary-number 9s ease-in-out infinite;
}
.koko-payment__signal-copy {
  min-width: 0;
}
.koko-payment__signal-copy--initial {
  animation: koko-summary-initial 9s ease-in-out infinite;
}
.koko-payment__signal-copy--complete {
  position: absolute;
  left: 66px;
  opacity: 0;
  transform: translateY(8px);
  animation: koko-summary-copy 9s ease-in-out infinite;
}
.koko-payment__signal-copy--complete strong { color: #56e49b; }
@keyframes koko-step-one {
  0%, 8%, 88%, 100% { border-color: rgba(255,255,255,.11); color: #8f98aa; transform: none; box-shadow: none; }
  14%, 82% { border-color: rgba(57,217,138,.65); color: #56e49b; transform: translateY(-5px); box-shadow: 0 13px 28px rgba(57,217,138,.12); }
}
@keyframes koko-step-two {
  0%, 26%, 88%, 100% { border-color: rgba(255,255,255,.11); color: #8f98aa; transform: none; box-shadow: none; }
  32%, 82% { border-color: rgba(57,217,138,.65); color: #56e49b; transform: translateY(-5px); box-shadow: 0 13px 28px rgba(57,217,138,.12); }
}
@keyframes koko-step-three {
  0%, 44%, 88%, 100% { border-color: rgba(255,255,255,.11); color: #8f98aa; transform: none; box-shadow: none; }
  50%, 82% { border-color: rgba(57,217,138,.65); color: #56e49b; transform: translateY(-5px); box-shadow: 0 13px 28px rgba(57,217,138,.12); }
}
@keyframes koko-fill-one { 0%,8%,88%,100%{opacity:0;transform:translateY(100%)} 14%,82%{opacity:1;transform:none} }
@keyframes koko-fill-two { 0%,26%,88%,100%{opacity:0;transform:translateY(100%)} 32%,82%{opacity:1;transform:none} }
@keyframes koko-fill-three { 0%,44%,88%,100%{opacity:0;transform:translateY(100%)} 50%,82%{opacity:1;transform:none} }
@keyframes koko-check-one { 0%,8%,88%,100%{opacity:0;transform:translateY(6px) scale(.6) rotate(-25deg);color:transparent;background:transparent} 14%,82%{opacity:1;transform:none;color:#07150f;background:#39d98a;border-color:#39d98a} }
@keyframes koko-check-two { 0%,26%,88%,100%{opacity:0;transform:translateY(6px) scale(.6) rotate(-25deg);color:transparent;background:transparent} 32%,82%{opacity:1;transform:none;color:#07150f;background:#39d98a;border-color:#39d98a} }
@keyframes koko-check-three { 0%,44%,88%,100%{opacity:0;transform:translateY(6px) scale(.6) rotate(-25deg);color:transparent;background:transparent} 50%,82%{opacity:1;transform:none;color:#07150f;background:#39d98a;border-color:#39d98a} }
@keyframes koko-label-one { 0%,8%,88%,100%{opacity:0;transform:translateY(6px)} 14%,82%{opacity:1;transform:none} }
@keyframes koko-label-two { 0%,26%,88%,100%{opacity:0;transform:translateY(6px)} 32%,82%{opacity:1;transform:none} }
@keyframes koko-label-three { 0%,44%,88%,100%{opacity:0;transform:translateY(6px)} 50%,82%{opacity:1;transform:none} }
@keyframes koko-summary-complete { 0%,56%,88%,100%{border-color:rgba(244,150,174,.25);background:rgba(20,20,24,.95);box-shadow:0 16px 36px rgba(0,0,0,.28)} 63%,82%{border-color:rgba(57,217,138,.7);background:rgba(24,54,42,.96);box-shadow:0 18px 40px rgba(57,217,138,.14)} }
@keyframes koko-summary-icon { 0%,56%,88%,100%{border-color:rgba(244,126,172,.42);background:transparent;color:#f47eac;transform:none} 63%,82%{border-color:#39d98a;background:#39d98a;color:#07150f;transform:scale(1.08)} }
@keyframes koko-summary-number { 0%,56%,88%,100%{opacity:1;transform:none} 63%,82%{opacity:0;transform:scale(.6)} }
@keyframes koko-summary-tick { 0%,56%,88%,100%{opacity:0;transform:scale(.5) rotate(-25deg)} 63%,82%{opacity:1;transform:none} }
@keyframes koko-summary-initial { 0%,56%,88%,100%{opacity:1;transform:none} 63%,82%{opacity:0;transform:translateY(-8px)} }
@keyframes koko-summary-copy { 0%,56%,88%,100%{opacity:0;transform:translateY(8px)} 63%,82%{opacity:1;transform:none} }

@media (max-width: 1050px) and (min-width: 901px) {
  .koko-payment__steps { left: 36%; }
}
@media (prefers-reduced-motion: reduce) {
  .koko-payment__steps i,
  .koko-payment__steps i::before,
  .koko-payment__steps i > span,
  .koko-payment__steps i > small,
  .koko-payment__signal,
  .koko-payment__signal > b,
  .koko-payment__signal > b > i,
  .koko-payment__signal > b > span,
  .koko-payment__signal-copy { animation: none; }
  .koko-payment__steps i { border-color: rgba(57,217,138,.65); color: #56e49b; }
  .koko-payment__steps i::before { opacity: 1; }
  .koko-payment__steps i > span { opacity: 1; color: #07150f; background: #39d98a; border-color: #39d98a; transform: none; }
  .koko-payment__steps i > small { opacity: 1; transform: none; }
  .koko-payment__signal { border-color: rgba(57,217,138,.7); background: rgba(24,54,42,.96); }
  .koko-payment__signal > b { border-color: #39d98a; background: #39d98a; }
  .koko-payment__signal > b > span,
  .koko-payment__signal-copy--initial { display: none; }
  .koko-payment__signal > b > i { opacity: 1; transform: none; }
  .koko-payment__signal-copy--complete { position: static; opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .brand small {
    display: none;
  }
  .header-cta {
    font-size: 10px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 20px;
  }
  .orbit-stage {
    height: 390px;
  }
  .core-orb {
    width: 180px;
    height: 180px;
  }
  .core-face {
    width: 112px;
    height: 104px;
    left: 34px;
    top: 35px;
  }
  .logo-mark {
    font-size: 31px;
  }
  .logo-mark span {
    font-size: 16px;
  }
  .core-face small {
    display: none;
  }
  .float-card {
    padding: 11px;
  }
  .float-card small {
    display: none;
  }
  .mini-icon,
  .status-dot {
    width: 30px;
    height: 30px;
  }
  .satellite-one {
    display: none;
  }
  .cursor-note {
    display: none;
  }
  .section-intro h2,
  .services-nav h2,
  .before-after h2,
  .center-heading h2,
  .cta-panel h2 {
    letter-spacing: -2.5px;
  }
  .window-bar {
    grid-template-columns: 1fr 1fr;
  }
  .window-body {
    min-height: 270px;
  }
  .dash-heading h3 {
    font-size: 21px;
  }
  .project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps article {
    min-height: auto;
  }
  .steps h3 {
    margin-top: 25px;
  }
  .compare-card {
    min-height: 260px;
  }
  .cta-panel {
    min-height: 390px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .work-visual {
    padding: 25px;
  }
  .work-visual b {
    font-size: 30px;
  }
}
.window-body aside > span {
  font-size: 11px;
  color: #806f72;
  padding: 13px 12px;
  border-radius: 9px;
}
.window-body aside > span.active {
  background: #f9e9ea;
  color: var(--accent);
  font-weight: 700;
}

/* Shared component refinements */
.site-header {
  border-color: #eadcdd;
  box-shadow: 0 10px 30px rgba(89, 24, 31, 0.08);
}
.header-cta,
.tiny-button,
.button-primary {
  box-shadow: 0 10px 24px rgba(124, 24, 35, 0.24);
}
.eyebrow {
  border-color: #ecdfe0;
  box-shadow: 0 7px 22px rgba(89, 24, 31, 0.06);
}
.eyebrow span {
  box-shadow: 0 0 0 4px #f8e8e9;
}
.core-orb {
  background: radial-gradient(
    circle at 30% 22%,
    #ffdadd 0,
    #d66b74 25%,
    #8f202c 59%,
    #3f0710 100%
  );
  box-shadow:
    inset -25px -28px 58px rgba(55, 5, 12, 0.34),
    0 45px 75px rgba(109, 24, 34, 0.3);
}
.core-face {
  background: linear-gradient(
    145deg,
    rgba(220, 111, 120, 0.95),
    rgba(104, 15, 27, 0.92)
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    16px 25px 35px rgba(61, 5, 13, 0.3);
}
.mini-icon {
  background: #f9e7e9;
}
.status-dot {
  background: #f3d8da;
}
.satellite-one {
  background: linear-gradient(145deg, #ef9ba2, #801622);
}
.satellite-two {
  background: radial-gradient(circle at 35% 25%, #fff, #f1dfe0 55%, #bd858a);
}
.ambient-one {
  background: #e9b8bc;
}
.ambient-two {
  background: #f3dedf;
}
.cursor-note {
  color: #9b7378;
}
.experience-window {
  border-color: #eadcdd;
  box-shadow: 0 35px 80px rgba(89, 24, 31, 0.13);
}
.window-bar {
  border-color: #efe3e4;
}
.window-tabs .active,
.window-body aside a.active {
  background: #f9e9ea;
}
.dashboard {
  background: #fdf8f8;
}
.pill {
  background: #f6e8e9;
  color: #8b2933;
}
.project-card {
  border-color: #eadcdd;
  box-shadow: 0 12px 35px rgba(89, 24, 31, 0.06);
}
.progress {
  background: #f3e5e6;
}
.progress i {
  background: linear-gradient(90deg, #74131e, #d1616b);
}
.before-after {
  background: #fbf2f3;
}
.visual-one {
  background: radial-gradient(circle at 70% 30%, #df858c, #821925 55%, #3b0810);
}
.visual-two {
  background: radial-gradient(circle at 20% 80%, #d4969b, #7b1a25 54%, #35080e);
}
.connected {
  background: linear-gradient(145deg, #8f1c28, #4f0912);
  box-shadow: 0 30px 60px rgba(91, 20, 29, 0.25);
}
.cta-panel {
  background: linear-gradient(130deg, #68101b, #a62e3a);
}
.contact-form {
  box-shadow: 0 24px 70px rgba(89, 24, 31, 0.13);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fffafa;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px #f4dfe1;
}
.brand small {
  font-family: "Outfit", sans-serif;
}
.eyebrow,
.kicker,
.core-face small,
.compare-card small,
.work-visual span {
  font-family: "DM Mono", monospace;
}
.satellite {
  box-shadow: 0 25px 50px rgba(89, 24, 31, 0.22);
}
.connected p,
.cta-panel p {
  color: #f4dfe1;
}
.cta-panel .kicker {
  color: #e9c1c5;
}

/* Red theme components */
.site-header {
  border-color: #e3e7ed;
  box-shadow: 0 10px 30px rgba(24, 32, 48, 0.08);
}
.header-cta,
.tiny-button,
.button-primary {
  box-shadow: 0 10px 25px rgba(205, 32, 31, 0.25);
}
.eyebrow {
  border-color: #e3e7ed;
  box-shadow: 0 7px 22px rgba(24, 32, 48, 0.06);
}
.eyebrow span {
  box-shadow: 0 0 0 4px #ffe8e7;
}
.core-orb {
  background: radial-gradient(
    circle at 29% 20%,
    #ffd4d1 0,
    #ff6a64 24%,
    #cd201f 58%,
    #780609 100%
  );
  box-shadow:
    inset -25px -28px 58px rgba(95, 0, 4, 0.34),
    0 45px 75px rgba(205, 32, 31, 0.28);
}
.core-face {
  background: linear-gradient(
    145deg,
    rgba(255, 105, 99, 0.96),
    rgba(181, 15, 20, 0.94)
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    16px 25px 35px rgba(100, 0, 4, 0.27);
}
.mini-icon {
  background: #ffebea;
}
.status-dot {
  background: #f1e8ff;
}
.satellite {
  box-shadow: 0 25px 50px rgba(205, 32, 31, 0.18);
}
.satellite-one {
  background: linear-gradient(145deg, #ff8984, #cd201f);
}
.satellite-two {
  background: radial-gradient(circle at 35% 25%, #fff, #edf1f7 55%, #adb8c8);
}
.ambient-one {
  background: #ffc8c5;
}
.ambient-two {
  background: #e7ebf2;
}
.cursor-note {
  color: #7d8797;
}
.experience-window {
  border-color: #e3e7ed;
  box-shadow: 0 35px 80px rgba(24, 32, 48, 0.12);
}
.window-bar {
  border-color: #e8ebf0;
}
.window-tabs .active,
.window-body aside > span.active {
  background: #fff0ef;
}
.dashboard {
  background: #f7f8fa;
}
.pill {
  background: #edf9f3;
  color: #16865b;
}
.project-card {
  border-color: #e3e7ed;
  box-shadow: 0 12px 35px rgba(24, 32, 48, 0.06);
}
.progress {
  background: #e9edf2;
}
.progress i {
  background: linear-gradient(90deg, #b51014, #ff4b46);
}
.before-after {
  background: #f4f6f9;
}
.visual-one {
  background: radial-gradient(circle at 70% 30%, #ff817c, #cd201f 55%, #76070a);
}
.visual-two {
  background: radial-gradient(circle at 20% 80%, #ff9792, #b61217 54%, #510408);
}
.connected {
  background: linear-gradient(145deg, #e32927, #a40d12);
  box-shadow: 0 30px 60px rgba(205, 32, 31, 0.24);
}
.connected p,
.cta-panel p {
  color: #fff1f0;
}
.cta-panel {
  background: linear-gradient(130deg, #ac0f14, #e52b29);
}
.cta-panel .kicker {
  color: #ffd2cf;
}
.contact-form {
  box-shadow: 0 24px 70px rgba(24, 32, 48, 0.12);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fbfcfe;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px #ffe2e0;
}

/* Navigation and hero controls */
.site-header {
  height: 66px;
  margin-top: 14px;
  padding: 0 8px 0 20px;
  border-radius: 14px;
}
.site-header nav {
  gap: 40px;
}
.site-header nav a {
  font-size: 14px;
  line-height: 1;
}
.header-cta {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 13px;
  gap: 13px;
}
.long-arrow {
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 0;
  display: inline-block;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}
.button:hover .long-arrow,
.header-cta:hover .long-arrow {
  transform: translate(4px, -1px);
}
.action-play {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
.action-play b {
  font-weight: 700;
}
.play-disc {
  width: 48px;
  height: 48px;
  border: 1px solid #ffd1cf;
  background: #fff0ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 8px 22px rgba(205, 32, 31, 0.1);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.play-disc:before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(205, 32, 31, 0.16);
  border-radius: 50%;
  transform: scale(0.8);
  opacity: 0;
  transition: 0.25s ease;
}
.play-disc i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--accent);
  margin-left: 2px;
}
.action-play:hover .play-disc {
  transform: scale(1.06);
  background: #fff;
}
.action-play:hover .play-disc:before {
  transform: scale(1);
  opacity: 1;
}

/* Precision 360 instrument */
.orbit-stage {
  height: 525px;
}
.precision-core {
  width: 330px;
  height: 330px;
  background: none;
  border-radius: 50%;
  box-shadow: none;
  isolation: isolate;
  transform-style: preserve-3d;
}
.precision-shadow {
  position: absolute;
  width: 238px;
  height: 42px;
  left: 46px;
  bottom: -27px;
  background: rgba(15, 18, 24, 0.25);
  filter: blur(22px);
  border-radius: 50%;
  transform: translateZ(-80px) rotateX(68deg);
}
.dial-edge {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #454b57 0,
    #151820 38%,
    #05070a 70%,
    #363c47 100%
  );
  box-shadow:
    inset 2px 2px 1px rgba(255, 255, 255, 0.24),
    inset -5px -7px 12px #000,
    0 30px 48px rgba(9, 12, 18, 0.28);
  transform: translateZ(10px);
}
.dial-face {
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 35%,
    #2a2e37 0,
    #171a21 57%,
    #090b0f 100%
  );
  border: 1px solid #555b66;
  box-shadow:
    inset 0 0 0 5px #0d1015,
    inset 0 0 0 6px rgba(255, 255, 255, 0.08);
  transform: translateZ(26px);
  overflow: hidden;
  color: #fff;
}
.dial-face:before {
  content: "";
  position: absolute;
  inset: 27px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 32%,
    #ff4f49,
    #cd201f 56%,
    #8e0a0e 100%
  );
  box-shadow:
    inset 7px 8px 16px rgba(255, 255, 255, 0.16),
    inset -10px -12px 22px rgba(88, 0, 4, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(205, 32, 31, 0.22);
}
.dial-scale {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  animation: dialDrift 32s linear infinite;
}
.dial-scale i {
  position: absolute;
  left: 50%;
  top: 1px;
  width: 1px;
  height: 7px;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: 0 121px;
  transform: rotate(calc(var(--tick) * 15deg));
}
.dial-scale i:nth-child(3n) {
  height: 11px;
  width: 2px;
  background: #fff;
}
.dial-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.precision-logo {
  font: 700 72px/0.8 "Outfit";
  letter-spacing: -7px;
  text-shadow: 0 8px 18px rgba(90, 0, 4, 0.22);
}
.precision-logo small {
  font-size: 22px;
  letter-spacing: -2px;
  margin-left: 3px;
}
.dial-center b {
  font:
    500 7px "DM Mono",
    monospace;
  letter-spacing: 2.1px;
  margin-top: 19px;
}
.dial-index,
.dial-degree {
  position: absolute;
  z-index: 3;
  font:
    500 6px "DM Mono",
    monospace;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
}
.dial-index {
  left: 50%;
  top: 49px;
  transform: translateX(-50%);
}
.dial-degree {
  right: 42px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}
.orbit-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(205, 32, 31, 0.55);
  border-radius: 50%;
  transform-style: preserve-3d;
}
.arc-horizontal {
  width: 382px;
  height: 152px;
  margin: -76px -191px;
  transform: translateZ(3px) rotate(-12deg);
  border-width: 2px;
  border-left-color: #ff5f59;
  border-right-color: #930a0f;
}
.arc-vertical {
  width: 148px;
  height: 388px;
  margin: -194px -74px;
  transform: translateZ(-3px) rotate(22deg);
  border-color: rgba(24, 28, 36, 0.48);
}
.calibration-node {
  position: absolute;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff;
  color: #161a22;
  border: 1px solid #dfe3e9;
  box-shadow: 0 8px 18px rgba(15, 18, 24, 0.12);
  display: grid;
  place-items: center;
  font:
    500 7px "DM Mono",
    monospace;
  font-style: normal;
}
.node-one {
  left: 22px;
  top: 9px;
}
.node-two {
  right: 7px;
  bottom: 15px;
}
.node-three {
  right: -9px;
  top: 82px;
  background: #cd201f;
  color: #fff;
  border-color: #f34b47;
}
.float-card {
  z-index: 12;
  min-width: 232px;
  padding: 15px 18px;
  border: 1px solid #e1e5eb;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(18, 24, 36, 0.13);
  backdrop-filter: blur(10px);
}
.float-card b {
  font-size: 14px;
  color: #151b26;
}
.float-card small {
  color: #667085;
}
.mini-icon,
.status-icon {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.mini-icon {
  background: #fff0ef;
  color: #cd201f;
}
.status-icon {
  background: #161a22;
  color: #fff;
}
.mini-icon svg,
.status-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-performance {
  left: 9%;
  top: 24%;
  transform: rotate(-3deg);
}
.card-launch {
  right: 6%;
  top: 61%;
  transform: rotate(3deg);
}
.satellite {
  z-index: 8;
}
.satellite-one {
  width: 78px;
  height: 78px;
  left: 13%;
  top: 61%;
  border-radius: 22px;
  background: linear-gradient(145deg, #20242d, #090b0f);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.2),
    0 20px 35px rgba(12, 15, 22, 0.2);
  transform: rotate(14deg);
  display: grid;
  place-items: center;
}
.satellite-one span {
  color: #fff;
  font-size: 23px;
  transform: rotate(-14deg);
}
.satellite-two {
  width: 92px;
  height: 92px;
  right: 20%;
  top: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ff8b86, #cd201f 58%, #8e090d);
  box-shadow:
    inset 5px 6px 14px rgba(255, 255, 255, 0.16),
    0 20px 38px rgba(205, 32, 31, 0.18);
  display: grid;
  place-items: center;
}
.satellite-two i {
  width: 17px;
  height: 17px;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}
@keyframes dialDrift {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 800px) {
  .precision-core {
    width: 330px;
    height: 330px;
    scale: 0.76;
  }
  .card-performance {
    left: 0;
    top: 21%;
  }
  .card-launch {
    right: 0;
    top: 66%;
  }
  .satellite-one {
    left: 8%;
    top: 61%;
  }
  .satellite-two {
    right: 4%;
    top: 27%;
  }
}
@media (max-width: 520px) {
  .precision-core {
    width: 330px;
    height: 330px;
    scale: 0.57;
  }
  .float-card {
    min-width: 0;
    padding: 11px 12px;
  }
  .float-card b {
    font-size: 12px;
  }
  .mini-icon,
  .status-icon {
    width: 32px;
    height: 32px;
  }
  .card-performance {
    top: 17%;
    left: 0;
  }
  .card-launch {
    top: 72%;
    right: 0;
  }
  .satellite-one {
    display: none;
  }
  .satellite-two {
    width: 58px;
    height: 58px;
    right: 3%;
    top: 31%;
  }
}

/* CTA controls and compositing-safe motion */
.button,
.header-cta {
  align-items: center;
}
.long-arrow {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
}
.button:hover .long-arrow,
.header-cta:hover .long-arrow {
  transform: translateX(3px);
}
.action-play {
  height: 52px;
  padding: 6px 9px 6px 7px;
  border: 1px solid #dfe3e9;
  border-radius: 13px;
  background: #fff;
  gap: 11px;
  box-shadow: 0 10px 26px rgba(18, 24, 36, 0.07);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.action-play:hover {
  transform: translateY(-2px);
  border-color: #f0aaa7;
  box-shadow: 0 14px 30px rgba(18, 24, 36, 0.1);
}
.action-play .play-disc {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: #cd201f;
  box-shadow: none;
}
.action-play .play-disc:before {
  display: none;
}
.action-play .play-disc i {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left: 6px solid #fff;
}
.action-play b {
  font-size: 13px;
  white-space: nowrap;
}
.action-arrow {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #f4f5f7;
  color: #202631;
  display: grid;
  place-items: center;
  font:
    700 16px/1 Arial,
    sans-serif;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.action-play:hover .action-arrow {
  transform: translateX(2px);
  background: #fff0ef;
  color: #cd201f;
}
.precision-core {
  transform-style: flat;
  will-change: transform;
}
.dial-edge,
.dial-face,
.precision-shadow,
.orbit-arc {
  transform-style: flat;
}
.dial-face {
  isolation: isolate;
}
.dial-face:before {
  transform: none;
  backface-visibility: hidden;
}
@media (max-width: 520px) {
  .action-play {
    height: 49px;
    padding-right: 7px;
  }
  .action-play .play-disc {
    width: 35px;
    height: 35px;
  }
  .action-play b {
    font-size: 11px;
  }
  .action-arrow {
    display: none;
  }
}

/* Custom arrow construction */
.hero-actions > .button-primary,
.hero-actions > .action-play {
  width: 270px;
  height: 56px;
}
.hero-actions > .button-primary {
  justify-content: space-between;
  padding: 0 20px;
}
.hero-actions > .action-play {
  padding: 7px 9px 7px 7px;
}
.long-arrow {
  position: relative;
  width: 25px;
  height: 14px;
  flex: 0 0 25px;
  font-size: 0;
  color: currentColor;
}
.long-arrow:before,
.action-arrow:before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 50%;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: translateY(-50%);
}
.long-arrow:after,
.action-arrow:after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}
.diagonal-arrow {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
  flex: 0 0 28px;
  font-size: 0;
  color: currentColor;
  vertical-align: middle;
  transform: rotate(-45deg);
}
.diagonal-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 1px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.diagonal-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.service-list > .service-item > .diagonal-arrow {
  width: 32px;
  flex-basis: 32px;
}
.button:hover .long-arrow,
.header-cta:hover .long-arrow {
  transform: translateX(3px);
}
.action-arrow {
  position: relative;
  font-size: 0;
}
.action-arrow:before {
  left: 5px;
  right: 5px;
  height: 3px;
}
.action-arrow:after {
  right: 5px;
  width: 7px;
  height: 7px;
  border-width: 3px;
}
.header-cta .long-arrow {
  width: 22px;
  flex-basis: 22px;
}
@media (max-width: 620px) {
  .hero-actions > .button-primary,
  .hero-actions > .action-play {
    width: 100%;
    max-width: 270px;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* Hero action layout */
.hero-actions {
  gap: 24px;
}
.hero-actions > .button-primary {
  width: auto;
  min-width: 200px;
  height: 54px;
  padding: 0 18px 0 21px;
  border-radius: 11px;
  justify-content: space-between;
}
.hero-actions > .action-play {
  width: auto;
  max-width: none;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 12px;
}
.hero-actions > .action-play:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
.action-play .play-disc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffeceb;
  box-shadow: none;
}
.action-play .play-disc i {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left: 6px solid #cd201f;
}
.action-play b {
  font-size: 14px;
  color: #273247;
}
.action-play:hover .play-disc {
  background: #ffdfdd;
  transform: scale(1.04);
}
.long-arrow {
  width: 22px;
  height: 12px;
  flex-basis: 22px;
}
.long-arrow:before {
  height: 2.5px;
}
.long-arrow:after {
  width: 7px;
  height: 7px;
  border-width: 2.5px;
}
.header-cta .long-arrow {
  width: 19px;
  flex-basis: 19px;
}
.header-cta .long-arrow:after {
  width: 6px;
  height: 6px;
}
@media (max-width: 620px) {
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions > .button-primary,
  .hero-actions > .action-play {
    width: auto;
    max-width: none;
  }
  .hero-actions > .button-primary {
    min-width: 190px;
  }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions > .button-primary {
    min-width: 210px;
  }
  .hero-actions > .action-play {
    height: 46px;
  }
}

/* Ambient hero depth and idle floating motion */
.hero {
  position: relative;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  inset: 20px -12vw -20px;
  background:
    radial-gradient(
      circle at 12% 35%,
      rgba(205, 32, 31, 0.045) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 87% 21%,
      rgba(17, 24, 39, 0.04) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 76% 62%,
      rgba(205, 32, 31, 0.035) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 25% 76%,
      rgba(17, 24, 39, 0.035) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 50% 52%,
      rgba(205, 32, 31, 0.035),
      transparent 31%
    ),
    radial-gradient(
      circle at 18% 55%,
      rgba(86, 101, 126, 0.025),
      transparent 19%
    );
  background-size:
    190px 190px,
    230px 230px,
    310px 310px,
    270px 270px,
    100% 100%,
    100% 100%;
  opacity: 0.65;
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 420px;
  height: 150px;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(205, 32, 31, 0.025);
  filter: blur(45px);
}
.precision-core {
  animation: idleCore 6.8s ease-in-out infinite;
  will-change: transform, translate;
}
.float-card {
  will-change: transform, translate;
}
.card-performance {
  animation: idleCardA 5.6s ease-in-out infinite;
}
.card-launch {
  animation: idleCardB 6.3s ease-in-out -1.4s infinite;
}
.satellite-one {
  animation: idleSatelliteA 5.2s ease-in-out -0.8s infinite;
}
.satellite-two {
  animation: idleSatelliteB 6s ease-in-out -2.1s infinite;
}
.calibration-node {
  animation: idleNode 4.4s ease-in-out infinite;
}
.node-two {
  animation-delay: -1.5s;
}
.node-three {
  animation-delay: -2.8s;
}
@keyframes idleCore {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}
@keyframes idleCardA {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 2px -8px;
  }
}
@keyframes idleCardB {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: -2px 7px;
  }
}
@keyframes idleSatelliteA {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: -3px -9px;
  }
}
@keyframes idleSatelliteB {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 4px 8px;
  }
}
@keyframes idleNode {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -3px;
  }
}

/* Soft circular red shades */
.hero:before {
  inset: 0 -14vw -30px;
  background:
    radial-gradient(
        circle,
        rgba(205, 32, 31, 0.075) 0,
        rgba(205, 32, 31, 0.04) 34%,
        rgba(205, 32, 31, 0.012) 58%,
        transparent 72%
      ) -5%
      22%/260px 260px no-repeat,
    radial-gradient(
        circle,
        rgba(255, 77, 72, 0.06) 0,
        rgba(205, 32, 31, 0.025) 38%,
        transparent 70%
      )
      18% 76%/150px 150px no-repeat,
    radial-gradient(
        circle,
        rgba(205, 32, 31, 0.05) 0,
        rgba(205, 32, 31, 0.018) 45%,
        transparent 73%
      )
      79% 18%/190px 190px no-repeat,
    radial-gradient(
        circle,
        rgba(205, 32, 31, 0.07) 0,
        rgba(205, 32, 31, 0.026) 36%,
        transparent 70%
      )
      96% 60%/300px 300px no-repeat,
    radial-gradient(
        circle,
        transparent 48%,
        rgba(205, 32, 31, 0.025) 50%,
        rgba(205, 32, 31, 0.012) 58%,
        transparent 66%
      )
      58% 73%/220px 220px no-repeat;
  opacity: 1;
  filter: blur(5px);
}

/* Precise CTA alignment */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-actions > .button-primary {
  justify-content: center;
  gap: 17px;
  padding-inline: 21px;
}
.long-arrow {
  align-self: center;
  margin: 0;
  top: 0;
}
.long-arrow:before,
.long-arrow:after {
  top: 50%;
}
.hero-actions > .action-play {
  align-items: center;
}
.action-play b {
  line-height: 1;
}

/* Hero trust row and supporting orbital objects */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 23px;
  color: #778399;
}

.hero-trust p {
  margin: 0;
  font-size: 12px;
}

.hero-trust b {
  color: #36435a;
  font-weight: 700;
}

.trust-badges {
  display: flex;
  align-items: center;
  padding-left: 7px;
}

.trust-badges span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid #fbfcfe;
  border-radius: 50%;
  color: #a5161b;
  background: #ffe2df;
  font-size: 8px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
}

.trust-badges span:nth-child(2) {
  color: #41516c;
  background: #e7edf6;
}

.trust-badges span:nth-child(3) {
  color: #7d4251;
  background: #f1e1e8;
}

.trust-badges span:last-child {
  color: #5f6d82;
  background: #f0f3f7;
}

.satellite-one {
  width: 82px;
  height: 82px;
  left: 24%;
  top: 59%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  background: linear-gradient(145deg, #ff7771 0%, #ed3532 44%, #b80e13 100%);
  box-shadow:
    inset 5px 6px 12px rgba(255, 255, 255, 0.2),
    inset -7px -9px 16px rgba(111, 0, 5, 0.18),
    0 22px 38px rgba(205, 32, 31, 0.2);
  transform: rotate(14deg);
}

.satellite-one svg {
  width: 38px;
  height: 38px;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-14deg);
  filter: drop-shadow(0 3px 6px rgba(102, 0, 5, 0.18));
}

.satellite-two {
  width: 100px;
  height: 100px;
  right: 19%;
  top: 27%;
  border: 0;
  outline: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 34% 27%,
    #f9fafc 0%,
    #eef2f7 33%,
    #dbe2ec 68%,
    #aeb9c9 100%
  );
  box-shadow:
    inset 7px 8px 16px rgba(255, 255, 255, 0.45),
    inset -9px -11px 20px rgba(100, 118, 145, 0.13),
    0 22px 40px rgba(41, 55, 79, 0.12);
}

@media (max-width: 620px) {
  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }
  .satellite-one {
    width: 62px;
    height: 62px;
    left: 1%;
  }
  .satellite-one svg {
    width: 29px;
    height: 29px;
  }
  .satellite-two {
    width: 62px;
    height: 62px;
    right: 3%;
  }
}

/* Final responsive safeguards */
@media (max-width: 520px) {
  .hero h1,
  .inner-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.8vw, 46px);
    letter-spacing: -2px;
    overflow-wrap: anywhere;
  }
  .hero-copy,
  .inner-hero p {
    font-size: 15px;
  }
  .inner-main {
    padding-top: 55px;
  }
  .inner-hero {
    padding: 55px 0 80px;
  }
  .orbit-stage {
    height: 370px;
  }
  .precision-core {
    scale: 0.57;
  }
  .services-section,
  .process,
  .cta-wrap {
    padding-top: 82px;
  }
  .service-list > .service-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }
  .service-list h3 {
    font-size: 21px;
  }
  .service-grid,
  .work-list,
  .about-values {
    padding-bottom: 90px;
  }
  .service-grid article {
    min-height: auto;
    padding: 26px 22px;
  }
  .service-grid h2 {
    margin-top: 28px;
    font-size: 25px;
  }
  .steps {
    margin-top: 38px;
  }
  .cta-panel {
    min-height: 350px;
    padding: 58px 18px;
    border-radius: 22px;
  }
  .contact-layout {
    padding: 55px 0 90px;
  }
  .contact-layout h1 {
    font-size: clamp(37px, 11.5vw, 50px);
    letter-spacing: -3px;
  }
  .contact-note {
    margin-top: 36px;
  }
  .contact-note a {
    font-size: 18px;
  }
  .contact-form {
    margin-top: 38px;
    padding: 24px 18px;
    border-radius: 18px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-bottom {
    margin-top: 36px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 12px 7px;
  }
  .site-header .brand-logo img {
    width: 86px;
  }
  .nav-toggle {
    width: 34px;
    padding: 6px;
  }
  .header-cta {
    padding-inline: 8px;
    font-size: 9px;
  }
  .hero {
    padding-top: 58px;
  }
  .hero h1,
  .inner-hero h1 {
    font-size: 34px;
  }
  .orbit-stage {
    height: 340px;
  }
  .float-card {
    padding: 9px 10px;
  }
  .float-card b {
    font-size: 10px;
  }
  .satellite-two {
    width: 50px;
    height: 50px;
  }
}

/* Teaser instrument, adapted verbatim for the main-site hero */
.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 18px;
  min-height: calc(100svh - 72px);
  padding-top: 38px;
  text-align: left;
}
.hero-content {
  position: relative;
  z-index: 4;
}
.hero h1 {
  font-size: clamp(55px, 5.4vw, 78px);
}
.hero-copy {
  margin-inline: 0;
}
.hero-actions {
  justify-content: flex-start;
}
.teaser-instrument {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  width: min(650px, 49vw);
  aspect-ratio: 1;
  margin-left: auto;
  perspective: 1100px;
  contain: layout;
}
.teaser-instrument-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translate3d(var(--shift-x), var(--shift-y), 0)
    rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: teaser-scene-float 7s ease-in-out infinite;
}
.teaser-instrument-scene:before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: rgba(205, 32, 31, 0.15);
  filter: blur(48px);
  transform: translateZ(-70px);
}
.teaser-dial {
  position: absolute;
  z-index: 3;
  inset: 20%;
  border: 1px solid #cdd4dd;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 2%, #e9edf2 57%, #c9d1dc);
  box-shadow:
    inset 10px 12px 18px rgba(255, 255, 255, 0.9),
    inset -15px -17px 27px rgba(83, 96, 116, 0.15),
    0 48px 78px rgba(57, 69, 87, 0.22),
    0 14px 22px rgba(205, 32, 31, 0.1);
  transform: translateZ(65px);
  transform-style: preserve-3d;
  animation: teaser-dial-float 5.5s ease-in-out infinite;
}
.teaser-dial-rim {
  position: absolute;
  inset: 9%;
  border: 13px solid var(--accent);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 2px #8c0e12,
    0 0 0 1px #9b1115,
    0 9px 15px rgba(82, 0, 3, 0.22);
  background: #f5f7fa;
  transform: translateZ(18px);
}
.teaser-ticks {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #758092 0deg 0.8deg, transparent 0.8deg 7.5deg);
  mask: radial-gradient(transparent 0 80%, #000 80% 83%, transparent 83%);
  -webkit-mask: radial-gradient(transparent 0 80%, #000 80% 83%, transparent 83%);
  animation: teaser-tick-spin 32s linear infinite;
}
.teaser-dial-face {
  position: absolute;
  inset: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd2dc;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, #eef1f5 66%, #cbd2dc);
  box-shadow:
    inset -10px -12px 20px rgba(70, 82, 101, 0.08),
    0 11px 20px rgba(40, 52, 72, 0.14);
  transform: translateZ(30px);
}
.teaser-dial-face img {
  display: block;
  width: 62%;
  height: auto;
}
.teaser-dial-face b {
  margin-top: 7px;
  color: #768296;
  font: 500 7px/1 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.teaser-degree {
  position: absolute;
  top: 11%;
  color: var(--accent);
  font: 500 8px/1 "DM Mono", monospace;
}
.teaser-dial-index {
  position: absolute;
  right: 3%;
  bottom: 20%;
  color: #667085;
  font: 500 7px/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
}
.teaser-orbit {
  position: absolute;
  z-index: 2;
  inset: 7%;
  border: 1px solid rgba(205, 32, 31, 0.32);
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: teaser-orbit-clockwise 18s linear infinite;
}
.teaser-orbit-two {
  inset: 13% 1%;
  border-color: #bdc8d8;
  animation: teaser-orbit-counter 25s linear infinite;
}
.teaser-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #fbfcfe;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 5px 9px rgba(60, 0, 0, 0.2), 0 0 15px rgba(205, 32, 31, 0.35);
}
.teaser-orbit-one i {
  top: 9%;
  right: 20%;
}
.teaser-orbit-two i {
  bottom: 11%;
  left: 22%;
  background: #7c8799;
}
.teaser-satellite {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 38px rgba(51, 60, 75, 0.2);
}
.teaser-satellite-red {
  top: 62%;
  left: 5%;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ff7771, #d51e20 54%, #9f090d);
  color: #fff;
  font-size: 28px;
  animation: teaser-red-float 4.4s ease-in-out infinite;
}
.teaser-satellite-silver {
  top: 20%;
  right: 7%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #e4e9ef 49%, #aab5c4);
  animation: teaser-silver-float 5.8s 1s ease-in-out infinite;
}
.teaser-detail-card {
  position: absolute;
  z-index: 6;
  width: 170px;
  padding: 14px 16px;
  border: 1px solid rgba(210, 218, 228, 0.85);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(45, 57, 75, 0.12);
  transform: translateZ(95px);
}
.teaser-detail-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font: 500 7px/1 "DM Mono", monospace;
  letter-spacing: 0.12em;
}
.teaser-detail-card b {
  display: block;
  font-size: 13px;
}
.teaser-detail-card span {
  display: block;
  margin-top: 4px;
  color: #8490a2;
  font-size: 9px;
}
.teaser-detail-card-top {
  top: 12%;
  left: 3%;
  animation: teaser-card-a 5s ease-in-out infinite;
}
.teaser-detail-card-bottom {
  right: 0;
  bottom: 13%;
  animation: teaser-card-b 6s 1.2s ease-in-out infinite;
}

/* Selected projects slider */
.projects-section {
  padding: 120px 0 50px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
}
.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}
.projects-heading h2 {
  margin: 12px 0 0;
  font: 600 clamp(39px, 5vw, 62px)/1.03 "Outfit";
  letter-spacing: -4px;
}
.projects-heading h2 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}
.slider-controls {
  display: flex;
  gap: 9px;
}
.slider-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid #d9dee6;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
}
.slider-controls button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.project-slider {
  display: flex;
  gap: 24px;
  width: min(1400px, calc(100% - max(20px, (100% - 1180px) / 2)));
  margin-left: max(20px, calc((100% - 1180px) / 2));
  padding: 0 20px 28px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.project-slider::-webkit-scrollbar {
  display: none;
}
.project-slide {
  flex: 0 0 min(760px, 72vw);
  scroll-snap-align: start;
}
.project-image {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 24px;
  background: #e8ebf0;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.14);
}
.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-slide:hover .project-image img {
  transform: scale(1.025);
}
.project-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 24px 4px 0;
}
.project-caption > span {
  grid-column: 1/-1;
  color: var(--accent);
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: 0.12em;
}
.project-caption h3 {
  margin: 2px 0 0;
  font-size: 29px;
  letter-spacing: -1.4px;
}
.project-caption p {
  grid-column: 1;
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.project-caption a {
  grid-column: 2;
  grid-row: 2/4;
  align-self: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

@keyframes teaser-scene-float {
  50% { transform: translate3d(var(--shift-x), calc(var(--shift-y) - 10px), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
}
@keyframes teaser-dial-float { 50% { translate: 0 -8px; } }
@keyframes teaser-tick-spin { to { rotate: 360deg; } }
@keyframes teaser-orbit-clockwise { from { transform: rotateX(67deg) rotateZ(-18deg); } to { transform: rotateX(67deg) rotateZ(342deg); } }
@keyframes teaser-orbit-counter { from { transform: rotateY(62deg) rotateZ(28deg); } to { transform: rotateY(62deg) rotateZ(-332deg); } }
@keyframes teaser-red-float { 50% { transform: translateZ(125px) rotate(7deg) translateY(-16px); } }
@keyframes teaser-silver-float { 50% { transform: translateZ(80px) translateY(13px); } }
@keyframes teaser-card-a { 50% { transform: translateZ(95px) translateY(-12px); } }
@keyframes teaser-card-b { 50% { transform: translateZ(95px) translateY(10px); } }

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    text-align: center;
  }
  .hero-copy {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .teaser-instrument {
    width: min(650px, 82vw);
    margin: -10px auto -20px;
  }
}
@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 58px;
  }
  .teaser-instrument {
    width: min(450px, 90vw);
    margin-top: 8px;
  }
  .teaser-detail-card {
    width: 112px;
    padding: 9px 10px;
  }
  .teaser-detail-card b { font-size: 10px; }
  .teaser-detail-card span { font-size: 6.5px; }
  .teaser-satellite-red {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .teaser-satellite-silver {
    width: 40px;
    height: 40px;
  }
  .projects-section {
    padding-top: 88px;
  }
  .projects-heading {
    align-items: flex-start;
    gap: 24px;
  }
  .projects-heading h2 {
    font-size: 37px;
    letter-spacing: -2.4px;
  }
  .slider-controls button {
    width: 40px;
    height: 40px;
  }
  .project-slide {
    flex-basis: 86vw;
  }
  .project-image {
    border-radius: 18px;
  }
  .project-caption {
    display: block;
    padding-top: 18px;
  }
  .project-caption h3 {
    margin: 8px 0 5px;
    font-size: 24px;
  }
  .project-caption a {
    display: inline-block;
    margin-top: 12px;
  }
}
@media (max-width: 380px) {
  .teaser-instrument {
    width: 94vw;
  }
  .teaser-detail-card span,
  .teaser-dial-face b {
    display: none;
  }
  .projects-heading h2 {
    font-size: 32px;
  }
  .slider-controls {
    display: none;
  }
}

/* Final interaction and layout authority */
.teaser-instrument-scene {
  animation: none;
  transition: none;
  will-change: transform;
}
.projects-section {
  padding-block: 140px 90px;
}
.projects-heading {
  position: relative;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 54px;
  text-align: center;
}
.projects-heading h2 {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -5px;
}
.slider-controls {
  margin-top: 28px;
}
.project-slider {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-right: 0;
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
}
.project-slide {
  flex-basis: calc((100% - 24px) / 2);
  min-width: 0;
}
.project-image {
  border-radius: 20px;
}
.project-caption {
  padding-inline: 2px;
}
.services-section {
  gap: clamp(70px, 9vw, 135px);
  padding-top: 140px;
  padding-bottom: 90px;
}
.services-nav {
  top: 50vh;
  transform: translateY(-46%);
  margin-top: clamp(78px, 7vw, 112px);
}
.service-list > .service-item {
  min-height: 190px;
  align-content: center;
  padding-block: 44px;
}
.service-list > .service-item:first-child {
  border-top: 1px solid var(--line);
}
.service-list h3 {
  font-size: clamp(25px, 2.2vw, 32px);
}
.process {
  padding-top: 130px;
}
@media (max-width: 800px) {
  .projects-section { padding-block: 100px 60px; }
  .projects-heading h2 { font-size: clamp(42px, 9vw, 62px); letter-spacing: -3px; }
  .project-slide { flex-basis: 78vw; }
  .services-section { padding-top: 100px; padding-bottom: 50px; }
  .services-nav { position: static; transform: none; margin-top: 0; }
  .service-list > .service-item { min-height: 150px; }
}
@media (max-width: 520px) {
  .projects-heading { align-items: center; margin-bottom: 38px; text-align: center; }
  .projects-heading h2 { font-size: 38px; letter-spacing: -2.4px; }
  .project-slider { width: calc(100% - 24px); gap: 14px; }
  .project-slide { flex-basis: 86vw; }
  .slider-controls { margin-top: 20px; }
  .service-list > .service-item { min-height: 138px; padding-block: 30px; }
}

/* Project rail fades, hover actions and project dialog */
.project-slider-frame {
  position: relative;
}
.project-slider-frame::before,
.project-slider-frame::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: -8px;
  bottom: 0;
  width: max(36px, calc((100% - 1180px) / 2 + 72px));
  pointer-events: none;
}
.project-slider-frame::before {
  left: 0;
  background: linear-gradient(90deg, #f7f8fa 12%, rgba(247, 248, 250, 0));
}
.project-slider-frame::after {
  right: 0;
  background: linear-gradient(270deg, #f7f8fa 12%, rgba(247, 248, 250, 0));
}
.project-image {
  position: relative;
  isolation: isolate;
}
.project-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(7, 10, 16, 0.58);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.project-view {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease;
}
.project-view:hover {
  background: #fff;
}
.project-view > span {
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 0.45px currentColor;
}
.project-image:hover::after,
.project-image:focus-within::after {
  opacity: 1;
}
.project-image:hover .project-view,
.project-image:focus-within .project-view {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.dialog-open {
  overflow: hidden;
}
.project-dialog {
  width: min(1080px, calc(100% - 40px));
  max-height: min(820px, calc(100dvh - 40px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(9, 14, 24, 0.32);
}
.project-dialog::backdrop {
  background: rgba(9, 13, 21, 0.68);
  backdrop-filter: blur(8px);
}
.project-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  animation: project-dialog-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.project-dialog-close {
  position: fixed;
  z-index: 3;
  top: max(30px, calc((100dvh - min(820px, 100dvh - 40px)) / 2 + 16px));
  right: max(30px, calc((100vw - min(1080px, 100vw - 40px)) / 2 + 16px));
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}
.project-dialog-media {
  min-height: 600px;
  background: #e9edf2;
}
.project-dialog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% center;
}
.project-dialog-content {
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto;
  padding: 68px 52px 52px;
}
.project-dialog-content h2 {
  margin: 12px 0 18px;
  font: 600 clamp(38px, 4vw, 58px)/0.98 "Outfit";
  letter-spacing: -3px;
}
.project-dialog-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.project-dialog blockquote {
  position: relative;
  align-self: center;
  width: 100%;
  margin: 34px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.project-dialog blockquote::before {
  content: "“";
  position: absolute;
  top: 16px;
  left: -4px;
  color: var(--accent);
  font: 600 48px/1 Georgia, serif;
}
.project-dialog blockquote p {
  margin: 25px 0 12px;
  color: #2f3a4d;
  font-size: 17px;
  line-height: 1.55;
}
.project-dialog blockquote cite {
  color: #7b8799;
  font: 500 9px/1.4 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-dialog-link {
  align-self: flex-start;
}
.project-dialog-link[hidden] {
  display: none;
}
@keyframes project-dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
}
@media (max-width: 760px) {
  .project-slider-frame::before,
  .project-slider-frame::after {
    width: 46px;
  }
  .project-view {
    min-height: 46px;
    padding-inline: 17px;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .project-image::after {
    opacity: 0.28;
  }
  .project-dialog[open] {
    display: block;
  }
  .project-dialog-media {
    min-height: 0;
    aspect-ratio: 3/2;
  }
  .project-dialog-content {
    padding: 38px 24px 32px;
  }
  .project-dialog-content h2 {
    font-size: 39px;
  }
  .project-dialog-close {
    position: fixed;
  }
}

/* Project rail and dialog finishing pass */
.project-slider {
  width: min(1480px, calc(100% - 24px));
}
.project-slide {
  flex-basis: calc((100% - 28px) / 2);
}
.project-slider-frame::before,
.project-slider-frame::after {
  width: max(90px, calc((100% - 1480px) / 2 + 150px));
}
.project-slider-frame::before {
  background: linear-gradient(90deg, #f7f8fa 25%, rgba(247, 248, 250, 0.82) 48%, rgba(247, 248, 250, 0));
}
.project-slider-frame::after {
  background: linear-gradient(270deg, #f7f8fa 25%, rgba(247, 248, 250, 0.82) 48%, rgba(247, 248, 250, 0));
}
.project-caption {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
}
.project-caption > span {
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
}
.project-caption h3 {
  grid-column: 2;
  grid-row: 1;
}
.project-caption p {
  grid-column: 1/3;
  grid-row: 2;
}
.project-caption > a {
  grid-column: 3;
  grid-row: 1/3;
}
.project-dialog {
  overflow: visible;
}
.project-dialog-close {
  position: absolute;
  top: -21px;
  right: -21px;
  width: 46px;
  height: 46px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.2);
}
.project-dialog-media {
  overflow: hidden;
  border-radius: 26px 0 0 26px;
}
.project-dialog-content {
  max-height: min(820px, calc(100dvh - 40px));
  overflow-y: auto;
  border-radius: 0 26px 26px 0;
}
.project-reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
}
.project-reviewer img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 5px;
  border: 1px solid #e1e5eb;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.project-dialog .project-reviewer cite {
  display: grid;
  gap: 5px;
  color: inherit;
  font: inherit;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}
.project-reviewer cite strong {
  color: var(--ink);
  font: 700 12px/1.2 "Outfit", sans-serif;
}
.project-reviewer cite span {
  color: #7b8799;
  font: 500 9px/1.4 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-dialog-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.project-dialog-link {
  align-self: center;
  justify-content: center;
  min-width: 235px;
  margin: 0;
}
@media (max-width: 800px) {
  .project-slider {
    width: calc(100% - 12px);
  }
  .project-slide {
    flex-basis: 82vw;
  }
  .project-slider-frame::before,
  .project-slider-frame::after {
    width: 64px;
  }
  .project-caption {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .project-caption > a {
    grid-column: 1/3;
    grid-row: 3;
    justify-self: start;
  }
  .project-dialog-media {
    border-radius: 26px 26px 0 0;
  }
  .project-dialog-content {
    border-radius: 0 0 26px 26px;
  }
  .project-dialog-close {
    position: absolute;
    top: -14px;
    right: -8px;
  }
}
@media (max-width: 520px) {
  .project-slider-frame::before,
  .project-slider-frame::after {
    width: 38px;
  }
  .project-caption {
    column-gap: 9px;
  }
  .project-caption > span {
    font-size: 7px;
  }
  .project-caption h3 {
    font-size: 22px;
  }
}

/* Keep project rail edges clean; no artificial fade masks. */
.project-slider-frame::before,
.project-slider-frame::after {
  display: none;
}

/* Project caption: title left, project tag right. */
.project-caption {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
}
.project-caption h3 {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.project-caption > span {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}
.project-caption p {
  grid-column: 1/3;
  grid-row: 2;
}
.project-caption > a {
  grid-column: 1/3;
  grid-row: 3;
  justify-self: end;
}
@media (max-width: 520px) {
  .project-caption {
    column-gap: 14px;
  }
  .project-caption > span {
    max-width: 150px;
    white-space: normal;
    line-height: 1.4;
  }
}

/* Give the project description the full caption width. */
.project-caption p {
  grid-column: 1/-1;
  width: 100%;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(13px, 1vw, 15px);
}
@media (max-width: 800px) {
  .project-caption p {
    white-space: normal;
    font-size: 14px;
  }
}

/* Branded Web 360 preloader */
.js .site-preloader {
  background:
    radial-gradient(circle at 50% 48%, rgba(205, 32, 31, 0.09), transparent 24%),
    linear-gradient(rgba(137, 150, 170, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 150, 170, 0.055) 1px, transparent 1px),
    #fbfcfe;
  background-size: auto, 44px 44px, 44px 44px, auto;
}
.preloader-content {
  width: min(420px, calc(100vw - 48px));
}
.preloader-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.9;
}
.preloader-logo-stage img {
  position: relative;
  z-index: 3;
  display: block;
  width: min(270px, 68%);
  height: auto;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px) scale(0.94);
  animation: preloader-logo-enter 0.72s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.preloader-logo-orbit {
  position: absolute;
  z-index: 1;
  width: 330px;
  height: 105px;
  border: 1px solid rgba(205, 32, 31, 0.26);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-9deg) scale(0.7);
  animation: preloader-orbit-enter 0.85s 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.preloader-logo-orbit-two {
  width: 245px;
  height: 155px;
  border-color: rgba(125, 138, 158, 0.22);
  transform: rotate(64deg) scale(0.7);
  animation-name: preloader-orbit-enter-two;
}
.preloader-logo-node {
  position: absolute;
  z-index: 4;
  top: 28%;
  right: 10%;
  width: 8px;
  height: 8px;
  border: 2px solid #fbfcfe;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(205, 32, 31, 0.1);
  opacity: 0;
  animation: preloader-node-enter 0.3s 0.72s ease forwards;
}
.preloader-meta {
  width: min(330px, 84%);
  margin: 2px auto 0;
  color: #7d899a;
}
.preloader-meta b {
  color: var(--accent);
}
@keyframes preloader-logo-enter {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
@keyframes preloader-orbit-enter {
  to {
    opacity: 1;
    transform: rotate(-9deg) scale(1);
  }
}
@keyframes preloader-orbit-enter-two {
  to {
    opacity: 1;
    transform: rotate(64deg) scale(1);
  }
}
@keyframes preloader-node-enter {
  to {
    opacity: 1;
  }
}
@media (max-width: 520px) {
  .preloader-content {
    width: min(370px, calc(100vw - 32px));
  }
  .preloader-meta {
    font-size: 6px;
    letter-spacing: 1.1px;
  }
}

/* Final desktop navigation proportions. */
@media (min-width: 801px) {
  .site-header nav a {
    font-size: 14px;
  }
  .site-header .header-cta {
    min-height: 42px;
    padding-inline: 20px;
    border-radius: 11px;
    gap: 13px;
    font-size: 13px;
  }
  .site-header .header-cta .long-arrow {
    font-size: 0;
  }

  .project-dialog {
    width: min(1320px, calc(100% - 56px));
    max-height: min(900px, calc(100dvh - 48px));
  }
  .project-dialog[open] {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  }
  .project-dialog-media {
    min-height: min(760px, calc(100dvh - 48px));
  }
  .project-dialog-content {
    max-height: min(900px, calc(100dvh - 48px));
    padding: 72px clamp(52px, 4.5vw, 76px) 58px;
  }
  .project-dialog blockquote {
    margin-block: 40px 34px;
    padding-top: 28px;
  }
  .project-dialog blockquote p {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.65;
  }
}

/* Balanced footer grid and social navigation. */
.footer-main {
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(50px, 8vw, 130px);
  align-items: center;
}
.footer-brand-block {
  display: flex;
  align-items: center;
}
.footer-brand-block .brand-logo {
  margin: 0;
}
.footer-brand-block p {
  max-width: 310px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.footer-brand-block > a:last-child {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.footer-brand-block > a:last-child:hover {
  color: var(--accent);
}
.footer-column {
  display: block;
  justify-self: stretch;
  min-width: 120px;
}
.footer-column > span {
  display: block;
  margin-bottom: 17px;
  color: #8a9bb1;
  font: 600 10px/1 "DM Mono", monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-column > div {
  display: grid;
  gap: 12px 24px;
}
.footer-links > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  white-space: nowrap;
}
.footer-column a {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.footer-column a:hover {
  color: var(--accent);
}
.footer-links a.active,
.footer-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}
.footer-socials a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(18, 24, 36, 0.06);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-socials > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.footer-socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-3px);
}

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: auto 1fr auto;
    column-gap: 32px;
  }
  .footer-column {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand-block {
    max-width: 100%;
  }
  .footer-links > div {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .footer-links > div::-webkit-scrollbar { display: none; }
  .footer-socials > div {
    gap: 14px;
  }
  .footer-bottom {
    align-items: flex-start;
    gap: 8px;
  }
}

/* On phones, introduce the production animation directly after its title. */
@media (max-width: 700px) {
  .vibe-production.section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: calc(100% - 28px);
    padding-block: 56px;
  }
  .vibe-production__content {
    display: contents;
  }
  .vibe-production__content > .kicker {
    order: 1;
  }
  .vibe-production__content > h2 {
    order: 2;
    margin: 16px 0 0;
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.02;
  }
  .vibe-production__visual {
    order: 3;
    width: min(100%, 620px);
    min-height: clamp(390px, 105vw, 500px);
    margin: 24px auto 30px;
  }
  .vibe-production__content > p {
    order: 4;
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.65;
  }
  .vibe-production__content > ul {
    order: 5;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: 25px 0 30px;
    gap: 14px;
  }
  .vibe-production__content > ul > li {
    min-width: 0;
  }
  .vibe-production__content > .button {
    order: 6;
    justify-self: start;
    width: min(100%, 365px);
    justify-content: center;
  }
  .vibe-editor {
    left: 3%;
    width: 94%;
  }
  .vibe-editor__body {
    min-height: clamp(190px, 52vw, 250px);
    padding: 20px 14px;
  }
  .vibe-product {
    left: 3%;
    width: 94%;
  }
  .vibe-checks span {
    right: 0;
  }
}

@media (max-width: 420px) {
  .vibe-production.section-shell {
    width: calc(100% - 24px);
  }
  .vibe-production__visual {
    min-height: 370px;
    margin-block: 18px 26px;
  }
  .vibe-production__content > h2 {
    font-size: clamp(34px, 10.5vw, 44px);
  }
  .vibe-production__content > .button {
    width: auto;
  }
}

/* Compact the production story on mobile and keep its content rhythm aligned. */
@media (max-width: 700px) {
  .vibe-production.section-shell {
    padding-block: 42px 48px;
  }
  .vibe-production__content > .kicker,
  .vibe-production__content > h2,
  .vibe-production__content > p,
  .vibe-production__content > ul {
    width: calc(100% - 10px);
    margin-left: 10px;
  }
  .vibe-production__visual {
    min-height: clamp(300px, 76vw, 380px);
    margin: 14px auto 18px;
  }
  .vibe-editor {
    top: 4%;
  }
  .vibe-product {
    top: 4%;
    height: 88%;
  }
  .vibe-production__content > .button {
    justify-self: center;
    width: auto;
    min-width: 260px;
    max-width: calc(100% - 20px);
    margin: 0 auto 18px;
  }
  .vibe-production__content > .kicker,
  .vibe-production__content > h2 {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .vibe-production__visual {
    min-height: 290px;
    margin-block: 10px 16px;
  }
  .vibe-production__content > .button {
    min-width: 245px;
  }
}

@media (max-width: 600px) {
  .floating-contact {
    bottom: max(32px, calc(env(safe-area-inset-bottom) + 18px));
  }
}

/* Mobile KoKo banner: reserve a clear artwork zone above the copy. */
@media (max-width: 560px) {
  .koko-payment.section-shell {
    display: block;
    min-height: 0;
    padding: 24px 22px 34px;
    overflow: hidden;
  }
  .koko-payment__brand {
    top: 22px;
    left: 22px;
  }
  .koko-payment__brand img {
    width: 112px;
    height: 52px;
  }
  .koko-payment__visual {
    top: 48px;
    right: -10px;
    width: 235px;
    height: 250px;
  }
  .koko-payment__visual > img {
    right: 0;
    width: auto;
    height: 100%;
  }
  .koko-payment__content {
    width: 100%;
    padding-top: 265px;
  }
  .koko-payment h2 {
    max-width: 100%;
    margin: 15px 0 20px;
    font-size: clamp(36px, 10.5vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }
  .koko-payment__content > p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }
  .koko-payment__actions {
    align-items: flex-start;
  }
  .koko-payment__actions .button {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .koko-payment.section-shell {
    padding-inline: 18px;
  }
  .koko-payment__brand {
    left: 18px;
  }
  .koko-payment__visual {
    top: 58px;
    right: -18px;
    width: 210px;
    height: 225px;
  }
  .koko-payment__content {
    padding-top: 245px;
  }
}

/* Project dialog section boundaries. */
.project-dialog-testimonial {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: clamp(34px, 5vh, 58px) 0 !important;
  border-top: 1px solid var(--line);
}
.project-dialog-testimonial::before {
  position: static;
  display: block;
  margin: 0 0 22px;
  flex: 0 0 auto;
}
.project-dialog-testimonial > p {
  margin: 0 0 24px;
}
.project-dialog-testimonial .project-reviewer {
  margin-top: 0;
}
.project-dialog-actions {
  align-items: center;
  min-height: 104px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.project-dialog-actions[hidden] {
  display: none;
}

@media (max-width: 800px) {
  .project-dialog-testimonial {
    padding-block: 34px !important;
  }
  .project-dialog-actions {
    min-height: 92px;
    padding-top: 22px;
  }
}

/* Header CTA belongs to the navigation; mobile keeps only the menu toggle visible. */
.site-header {
  grid-template-columns: 1fr auto;
}
.site-header nav {
  align-items: center;
}
.site-header nav .header-cta {
  margin-left: 10px;
  color: #fff;
}
.site-header nav .header-cta:hover {
  color: #fff;
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 10px 0 18px;
  }
  .site-header nav {
    top: calc(100% + 10px);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(18, 24, 36, 0.14);
    overflow: hidden;
  }
  .site-header nav a:not(.header-cta) {
    padding: 13px 14px;
    border-radius: 9px;
    font-size: 14px;
  }
  .site-header nav a:not(.header-cta):hover,
  .site-header nav a:not(.header-cta).active {
    background: #f2f6fc;
  }
  .site-header nav .header-cta {
    display: flex;
    justify-content: center;
    align-self: center;
    width: auto;
    min-width: 190px;
    margin: 10px auto 14px;
    padding: 14px 18px;
    font-size: 13px;
  }
  .site-header nav .header-cta .long-arrow {
    display: inline-block;
  }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.18s ease;
  }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .site-footer,
  .footer-brand-block,
  .footer-column,
  .footer-bottom {
    text-align: center;
  }
  .footer-brand-block,
  .footer-links > div,
  .footer-socials > div {
    justify-content: center;
  }
  .footer-column {
    justify-self: center;
  }
  .footer-links > div {
    flex-wrap: wrap;
    overflow: visible;
  }
  .footer-bottom {
    align-items: center;
  }

  /* Keep both quick actions inside the mobile safe area without crowding. */
  .floating-contact {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .floating-contact__button,
  .floating-contact__button--whatsapp,
  .floating-contact__button:hover,
  .floating-contact__button:focus-visible {
    width: 52px;
    height: 52px;
    min-height: 52px;
    flex-basis: 52px;
    padding: 0;
    justify-content: center;
  }
  .floating-contact__button span {
    display: none;
  }
}

/* Hard mobile width boundary: no section may create a hidden right-side canvas. */
@media (max-width: 800px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .section-shell,
  .projects-heading,
  .project-slider,
  .vibe-production.section-shell,
  .process.section-shell,
  .cta-wrap.section-shell,
  .koko-payment.section-shell {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-inline: auto;
  }
  .site-header {
    left: auto;
    right: auto;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }
  main,
  .hero,
  .orbit-stage,
  .teaser-instrument {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .koko-payment.section-shell { overflow: visible; }
  .koko-payment__brand {
    top: 118px;
  }
  .koko-payment__visual {
    z-index: 8;
    top: -58px;
    right: -12px;
    width: 290px;
    height: 310px;
  }
  .koko-payment__content { padding-top: 210px; }
  .koko-payment__actions {
    align-items: center;
    width: 100%;
    gap: 0;
    text-align: center;
  }
  .koko-payment__actions > a:first-child { margin-inline: auto; }
  .koko-payment__actions > a:last-child { margin-top: 18px; }
  .koko-payment__actions .diagonal-arrow {
    width: 20px;
    height: 13px;
    flex-basis: 20px;
    margin-left: 4px;
  }
  .koko-payment__actions .diagonal-arrow::after {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 380px) {
  .koko-payment__brand {
    top: 108px;
  }
  .koko-payment__visual {
    top: -48px;
    right: -18px;
    width: 255px;
    height: 280px;
  }
  .koko-payment__content { padding-top: 195px; }
}
