/* CallCatch website: the premium layer (owner, 2026-11-24).
   Loaded after site.css on every page. It keeps the colours of site.css (night, forest,
   glow, paper) and adds: moving light behind the night sections, a reading bar, soft page
   changes, light that follows the pointer on cards, the strip of business kinds, and the
   "suite" stage of the home page (one call landing in each kind of business's dashboard).
   Everything that moves stops for visitors who ask for less motion. */

@property --turn {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Page to page: a soft cross-fade where the browser can do it. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.22s ease both vt-out;
}
::view-transition-new(root) {
  animation: 0.34s ease both vt-in;
}
@keyframes vt-out {
  to {
    opacity: 0;
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
  }
}

/* ---------- The reading bar at the very top. premium.js adds the element. */
.read-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--glow) 60%, #b6f5d8);
  box-shadow: 0 0 14px rgba(61, 220, 151, 0.7);
  transform: scaleX(var(--read, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .read-bar {
    animation: read-grow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes read-grow {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
}

/* ---------- Moving light behind the night sections. premium.js adds .aurora. */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.aurora i:nth-child(1) {
  top: -12%;
  right: 4%;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.5), transparent 65%);
  animation: drift-a 19s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  bottom: -22%;
  left: -8%;
  width: 52vw;
  height: 52vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(23, 117, 74, 0.6), transparent 65%);
  animation: drift-b 24s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  top: 30%;
  left: 38%;
  width: 28vw;
  height: 28vw;
  max-width: 380px;
  max-height: 380px;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.16), transparent 65%);
  animation: drift-a 29s ease-in-out infinite alternate-reverse;
}
/* A faint grid of lines that fades out toward the edges. */
.aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%);
}
@keyframes drift-a {
  to {
    transform: translate3d(-9%, 12%, 0) scale(1.18);
  }
}
@keyframes drift-b {
  to {
    transform: translate3d(12%, -10%, 0) scale(1.12);
  }
}

/* ---------- The main button: a line of light passes over it now and then. */
.button.is-glow {
  position: relative;
  overflow: hidden;
}
.button.is-glow::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%,
  62% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

/* ---------- Cards: they lift a little, and light follows the pointer. */
.fx-card {
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.fx-card > .fx-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 220, 151, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
@media (hover: hover) {
  .fx-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 117, 74, 0.45);
    box-shadow: 0 26px 60px -34px rgba(4, 19, 13, 0.45);
  }
  .fx-card:hover > .fx-glow {
    opacity: 1;
  }
}

/* ---------- The strip of business kinds at the foot of the hero. */
.kinds-marquee {
  position: relative;
  margin-top: 56px;
  padding: 18px 0 30px;
  border-top: 1px solid var(--hair);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.kinds-track {
  display: flex;
  width: max-content;
  animation: kinds-move 46s linear infinite;
}
.kinds-marquee:hover .kinds-track {
  animation-play-state: paused;
}
.kinds-run {
  display: flex;
  flex: none;
  gap: 14px;
  margin: 0;
  padding: 0 7px;
  list-style: none;
}
.kinds-run li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-night-muted);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.kinds-run li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}
@keyframes kinds-move {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- The suite stage. */
.suite {
  padding-top: 40px;
}
.suite-stage {
  position: relative;
  padding: 26px;
  border-radius: 36px;
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(61, 220, 151, 0.2), transparent 60%),
    radial-gradient(620px 460px at 0% 100%, rgba(23, 117, 74, 0.42), transparent 65%),
    var(--night);
  color: var(--on-night);
  isolation: isolate;
  box-shadow: 0 50px 110px -60px rgba(4, 19, 13, 0.75);
}
/* A slow ring of light around the stage. */
.suite-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--turn), rgba(61, 220, 151, 0.05), rgba(61, 220, 151, 0.75), rgba(61, 220, 151, 0.05) 28%, rgba(255, 255, 255, 0.1) 52%, rgba(61, 220, 151, 0.55) 72%, rgba(61, 220, 151, 0.05));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  animation: turn 12s linear infinite;
  pointer-events: none;
}
@keyframes turn {
  to {
    --turn: 360deg;
  }
}

.suite-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.suite-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--on-night);
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.suite-tab:hover {
  background: rgba(255, 255, 255, 0.07);
}
.suite-tab:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}
.suite-tab.is-on {
  border-color: rgba(61, 220, 151, 0.6);
  background: linear-gradient(180deg, rgba(61, 220, 151, 0.18), rgba(61, 220, 151, 0.05));
  box-shadow: 0 14px 40px -22px rgba(61, 220, 151, 0.8);
}
.suite-tab-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-night-muted);
  transition:
    background 0.25s,
    color 0.25s;
}
.suite-tab.is-on .suite-tab-icon {
  background: var(--glow);
  color: var(--night);
}
.suite-tab-icon svg {
  width: 21px;
  height: 21px;
}
.suite-tab-words {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.suite-tab-words strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.suite-tab-words small {
  color: var(--on-night-muted);
  font-size: 0.8rem;
}
/* The line that fills while a tab has its turn. */
.suite-tab-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.suite-stage.is-playing .suite-tab.is-on .suite-tab-bar {
  animation: tab-fill var(--turn-time, 8s) linear both;
}
@keyframes tab-fill {
  to {
    transform: scaleX(1);
  }
}

.suite-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  padding: 34px 14px 8px;
}
.suite-panel[hidden] {
  display: none;
}
.suite-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* The call, as it is being answered. */
.suite-call {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--hair);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.suite-call-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-night-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[lang='ml'] .suite-call-top {
  letter-spacing: 0;
}
.suite-call-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glow);
  color: var(--night);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: ring-out 2s ease-out infinite;
}
.suite-call-dot svg {
  width: 15px;
  height: 15px;
}
@keyframes ring-out {
  to {
    box-shadow: 0 0 0 14px rgba(61, 220, 151, 0);
  }
}
.suite-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  margin-left: auto;
}
.suite-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--glow);
  transform: scaleY(0.3);
  animation: wave 1.1s ease-in-out infinite;
}
.suite-wave i:nth-child(2) {
  animation-delay: 0.15s;
}
.suite-wave i:nth-child(3) {
  animation-delay: 0.3s;
}
.suite-wave i:nth-child(4) {
  animation-delay: 0.45s;
}
.suite-wave i:nth-child(5) {
  animation-delay: 0.6s;
}
@keyframes wave {
  50% {
    transform: scaleY(1);
  }
}
.suite-say {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
  line-height: 1.4;
}
html[lang='ml'] .suite-say {
  line-height: 1.6;
}
.suite-say small {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
}
.suite-say.is-ai {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: rgba(61, 220, 151, 0.16);
}
.suite-say.is-ai small {
  color: var(--glow);
}
.suite-done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--glow);
  color: var(--night);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.suite-done svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.suite-h {
  margin-top: 6px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.2;
}
.suite-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.suite-points li {
  display: flex;
  gap: 10px;
  color: var(--on-night);
  font-size: 0.98rem;
  line-height: 1.45;
}
html[lang='ml'] .suite-points li {
  line-height: 1.65;
}
.suite-points svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--glow);
}
.suite-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(61, 220, 151, 0.5);
  color: var(--glow);
  font-weight: 700;
  text-decoration: none;
}
.suite-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.suite-link:hover svg {
  transform: translateX(4px);
}

/* The dashboard window. */
.suite-dash {
  position: relative;
  border-radius: 20px;
  background: #f4f6f1;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 90px -20px rgba(61, 220, 151, 0.35);
  overflow: hidden;
  transform: perspective(1500px) rotateY(var(--ry, -5deg)) rotateX(var(--rx, 2deg));
  transform-origin: 60% 50%;
  transition: transform 0.5s var(--ease);
}
.sd-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #e9ede6;
}
.sd-chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c6cec7;
}
.sd-chrome span {
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
}
.sd-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 372px;
  padding: 18px;
}
.sd-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sd-logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--night);
  color: var(--glow);
  font-weight: 800;
}
.sd-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.sd-title b {
  font-size: 1.02rem;
}
.sd-title small {
  color: var(--muted);
  font-size: 0.8rem;
}
.sd-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: #dff5ea;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.sd-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.sd-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sd-stats li {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  line-height: 1.25;
}
.sd-stats b {
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 88%;
}
.sd-stats span {
  color: var(--muted);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}
.sd-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sd-col,
.sd-arrive,
.sd-chart,
.sd-lane {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.sd-body h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
html[lang='ml'] .sd-body h4 {
  letter-spacing: 0;
}
.sd-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sd-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--mint-soft);
  font-size: 0.84rem;
  line-height: 1.25;
}
.sd-row time {
  flex: none;
  min-width: 38px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.sd-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sd-who small {
  color: var(--muted);
  font-size: 0.74rem;
}
.sd-row.is-free {
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--muted);
}
.sd-row.is-free b {
  font-weight: 500;
}
.sd-ai {
  flex: none;
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--night);
  color: var(--glow);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.sd-btn {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
/* What the call just added. */
.is-new {
  box-shadow:
    0 0 0 1.5px var(--glow),
    0 10px 24px -14px rgba(23, 117, 74, 0.7);
}
.sd-row.is-new,
.sd-job.is-new {
  background: #e3f8ee;
}

/* Restaurant: an order ticket. */
.sd-ticket {
  padding: 10px;
  border-radius: 12px;
  background: #e3f8ee;
  font-size: 0.84rem;
}
.sd-ticket-top,
.sd-ticket-foot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sd-items {
  margin: 8px 0;
  padding: 6px 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
}
.sd-items li {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.sd-ticket-foot {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}

/* Hotel: the room chart. */
.sd-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sd-chart-row {
  display: grid;
  grid-template-columns: 62px repeat(7, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
  min-height: 28px;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc((100% - 62px) / 7 - 1px), var(--line) 0 calc((100% - 62px) / 7));
  background-position: 64px 0;
  background-repeat: no-repeat;
  font-size: 0.74rem;
}
.sd-chart-row.is-head {
  min-height: 0;
  background: none;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
.sd-chart-name {
  grid-column: 1;
  font-weight: 700;
}
.sd-bar {
  grid-row: 1;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-bar.is-new {
  background: var(--glow);
  color: var(--night);
}
.sd-arrive p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
}

/* Auditorium: the month. */
.sd-cols.is-cal {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.sd-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.sd-cal i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--mint-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
}
.sd-cal .is-m {
  background: linear-gradient(135deg, var(--amber) 50%, var(--mint-soft) 50%);
  color: var(--ink);
}
.sd-cal .is-e {
  background: linear-gradient(135deg, var(--mint-soft) 50%, #7fb99d 50%);
  color: var(--ink);
}
.sd-cal .is-f {
  background: var(--forest);
  color: #fff;
}
.sd-cal .is-new {
  background: var(--glow);
  color: var(--night);
  font-weight: 800;
}
.sd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
}
.sd-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sd-legend span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--forest);
}
.sd-legend .is-m::before {
  background: var(--amber);
}
.sd-legend .is-e::before {
  background: #7fb99d;
}

/* Repair: the job board. */
.sd-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sd-lane {
  padding: 10px;
  background: #fafbf8;
}
.sd-lane ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sd-job {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.3;
}
.sd-job small {
  color: var(--muted);
  font-size: 0.74rem;
}
.sd-job .sd-ai {
  margin: 2px 0 0;
}
.sd-job em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
}
.sd-tech {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
}
.sd-tech i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 0.66rem;
  font-style: normal;
}

.suite-note {
  margin-top: 16px;
  padding: 0 14px 4px;
  color: var(--on-night-muted);
  font-size: 0.82rem;
}
.suite-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}
.suite-more span {
  margin-right: 4px;
  font-weight: 700;
}
.suite-more i {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

/* How a panel plays once the stage is on screen: the caller speaks, the AI answers, the
   result is written, and the new line lands in the dashboard. */
.js .suite-stage.is-live .suite-panel.is-on .suite-say,
.js .suite-stage.is-live .suite-panel.is-on .suite-done,
.js .suite-stage.is-live .suite-panel.is-on .sd-stats li,
.js .suite-stage.is-live .suite-panel.is-on .suite-points li {
  animation: su-up 0.6s var(--ease) both;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-dash {
  animation: su-dash 0.8s var(--ease) both;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-say.is-caller {
  animation-delay: 0.25s;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-say.is-ai {
  animation-delay: 1.15s;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-done {
  animation-name: su-pop;
  animation-delay: 2.05s;
}
.js .suite-stage.is-live .suite-panel.is-on .sd-stats li:nth-child(1) {
  animation-delay: 0.2s;
}
.js .suite-stage.is-live .suite-panel.is-on .sd-stats li:nth-child(2) {
  animation-delay: 0.3s;
}
.js .suite-stage.is-live .suite-panel.is-on .sd-stats li:nth-child(3) {
  animation-delay: 0.4s;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-points li:nth-child(1) {
  animation-delay: 0.5s;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-points li:nth-child(2) {
  animation-delay: 0.62s;
}
.js .suite-stage.is-live .suite-panel.is-on .suite-points li:nth-child(3) {
  animation-delay: 0.74s;
}
.js .suite-stage.is-live .suite-panel.is-on .is-new {
  animation:
    su-pop 0.7s var(--spring) 2.5s both,
    su-ping 1.6s ease-out 3.1s 2;
}
@keyframes su-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes su-pop {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
}
@keyframes su-dash {
  from {
    opacity: 0;
    transform: perspective(1500px) rotateY(-14deg) rotateX(6deg) translateY(26px);
  }
}
@keyframes su-ping {
  from {
    box-shadow:
      0 0 0 1.5px var(--glow),
      0 0 0 0 rgba(61, 220, 151, 0.55);
  }
  to {
    box-shadow:
      0 0 0 1.5px var(--glow),
      0 0 0 14px rgba(61, 220, 151, 0);
  }
}

/* ---------- Smaller screens. */
@media (max-width: 1080px) {
  .suite-tabs {
    display: flex;
    margin: 0 -26px;
    padding: 2px 26px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .suite-tabs::-webkit-scrollbar {
    display: none;
  }
  .suite-tab {
    flex: none;
    scroll-snap-align: center;
  }
}
@media (max-width: 900px) {
  .suite-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0 4px;
  }
  /* The call first, the dashboard under it, then the words. */
  .suite-side {
    display: contents;
  }
  .suite-call {
    order: 1;
  }
  .suite-dash {
    order: 2;
    transform: none;
  }
  .suite-h {
    order: 3;
    margin-top: 10px;
  }
  .suite-points {
    order: 4;
  }
  .suite-link {
    order: 5;
    justify-self: start;
  }
  .suite-note {
    padding: 0;
  }
  @keyframes su-dash {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }
}
@media (max-width: 560px) {
  .suite-stage {
    padding: 16px;
    border-radius: 26px;
  }
  .suite-tabs {
    margin: 0 -16px;
    padding: 2px 16px 6px;
  }
  .sd-body {
    min-height: 0;
    padding: 12px;
  }
  .sd-cols,
  .sd-cols.is-cal {
    grid-template-columns: minmax(0, 1fr);
  }
  .sd-board {
    grid-template-columns: minmax(0, 1fr);
  }
  .sd-live span {
    display: none;
  }
  .sd-live {
    padding: 7px;
  }
  .sd-chart-row {
    grid-template-columns: 50px repeat(7, minmax(0, 1fr));
    background-image: none;
    font-size: 0.66rem;
  }
  .sd-bar {
    padding: 4px 5px;
    font-size: 0.62rem;
  }
  .sd-cal {
    max-width: 300px;
  }
  .kinds-marquee {
    margin-top: 36px;
  }
}

/* ---------- Less motion: everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  .aurora i,
  .button.is-glow::after,
  .kinds-track,
  .suite-stage::before,
  .suite-call-dot,
  .suite-wave i,
  .sd-live i,
  .suite-tab-bar {
    animation: none !important;
  }
  .js .suite-stage.is-live .suite-panel.is-on * {
    animation: none !important;
  }
  .button.is-glow::after {
    display: none;
  }
  .kinds-marquee {
    overflow-x: auto;
  }
  .suite-dash,
  .fx-card {
    transition: none;
  }
}

/* ---------- Meet our team: the 3D office of AI agents (team.js draws it). */
.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.team-bot {
  width: 30px;
  height: 30px;
  color: var(--green);
}
.team-bot-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: bot-blink 3.4s infinite;
}
.team-bot-tip {
  transform-box: fill-box;
  transform-origin: center;
  animation: bot-ping 1.6s ease-in-out infinite;
}
.team-eyebrow .team-bot {
  animation: bot-nod 4s ease-in-out infinite;
}
@keyframes bot-blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@keyframes bot-ping {
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}
@keyframes bot-nod {
  0%,
  70%,
  100% {
    transform: rotate(0);
  }
  78% {
    transform: rotate(-12deg);
  }
  88% {
    transform: rotate(10deg);
  }
}

.team-stage {
  position: relative;
  border-radius: 36px;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(61, 220, 151, 0.2), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(23, 117, 74, 0.4), transparent 65%),
    var(--night);
  color: var(--on-night);
  box-shadow: 0 50px 110px -60px rgba(4, 19, 13, 0.75);
  overflow: hidden;
  isolation: isolate;
}
.team-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(61, 220, 151, 0.28);
  border-radius: inherit;
  pointer-events: none;
}
.team-room {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  width: 100%;
  -webkit-user-select: none;
  user-select: none;
}
.team-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.team-stage.is-3d .team-canvas {
  opacity: 1;
}
.team-canvas:active {
  cursor: grabbing;
}
.team-tags {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
/* A name over a robot's head. */
.team-tag {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 11px 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(4, 19, 13, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font: inherit;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  will-change: transform;
}
.team-tag b {
  font-size: 0.82rem;
  font-weight: 700;
}
.team-tag small {
  color: var(--tone, var(--glow));
  font-size: 0.68rem;
  font-weight: 600;
}
.team-tag:hover,
.team-tag.is-on {
  border-color: var(--tone, var(--glow));
  background: rgba(4, 19, 13, 0.92);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone, var(--glow)) 30%, transparent);
}
[data-tone='lead'] {
  --tone: #ffe2a0;
}
[data-tone='build'] {
  --tone: #3ddc97;
}
[data-tone='voice'] {
  --tone: #b6f5d8;
}
[data-tone='grow'] {
  --tone: #ff9a8f;
}
[data-tone='care'] {
  --tone: #f2b84b;
}
/* The three dots of someone talking. */
.team-talk {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  display: none;
  gap: 3px;
  padding: 6px 9px;
  border-radius: 12px 12px 12px 3px;
  background: #fff;
  transform: translateX(-30%);
}
.team-tag.is-talking .team-talk {
  display: inline-flex;
}
.team-talk u {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: talk-dot 0.9s ease-in-out infinite;
}
.team-talk u:nth-child(2) {
  animation-delay: 0.15s;
}
.team-talk u:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes talk-dot {
  50% {
    transform: translateY(-3px);
    opacity: 0.4;
  }
}
.team-live,
.team-hint {
  position: absolute;
  top: 18px;
  z-index: 2;
  margin: 0;
  padding: 6px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(4, 19, 13, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--on-night);
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
}
.team-live {
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.team-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
  animation: blink 1.6s ease-in-out infinite;
}
.team-hint {
  right: 18px;
  color: var(--on-night-muted);
  transition: opacity 0.4s;
}
.team-stage.has-chosen .team-hint,
.team-stage.was-turned .team-hint {
  opacity: 0;
}

/* The card of the chosen agent. */
.team-card {
  position: absolute;
  bottom: 86px;
  left: 22px;
  z-index: 1200;
  display: flex;
  gap: 14px;
  width: min(360px, calc(100% - 44px));
  padding: 16px 40px 16px 16px;
  border: 1px solid var(--tone, var(--glow));
  border-radius: 22px;
  background: rgba(4, 19, 13, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.8),
    0 0 50px -18px var(--tone, var(--glow));
}
.team-card.is-in {
  animation: card-in 0.45s var(--spring) both;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
}
.team-card-face {
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--tone, var(--glow));
  color: var(--night);
}
.team-card-face .team-bot {
  width: 34px;
  height: 34px;
  color: inherit;
}
.team-card-words {
  min-width: 0;
}
.team-card-kind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--on-night-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang='ml'] .team-card-kind {
  letter-spacing: 0;
}
.team-card-now {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--glow);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
.team-card-now::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow);
  animation: blink 1.6s ease-in-out infinite;
}
.team-card-name {
  margin-top: 2px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1.15;
}
.team-card-role {
  color: var(--tone, var(--glow));
  font-weight: 700;
}
.team-card-does {
  margin-top: 6px;
  color: var(--on-night);
  font-size: 0.92rem;
  line-height: 1.45;
}
html[lang='ml'] .team-card-does {
  line-height: 1.65;
}
.team-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.team-card-close svg {
  width: 14px;
  height: 14px;
}

/* The same team as a row of buttons under the room. */
.team-list {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--hair);
  overflow-x: auto;
  scrollbar-width: none;
}
.team-list::-webkit-scrollbar {
  display: none;
}
.team-list li {
  flex: none;
}
.team-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.team-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}
.team-chip:focus-visible,
.team-card-close:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}
.team-chip.is-on {
  border-color: var(--tone);
  background: color-mix(in srgb, var(--tone) 16%, transparent);
}
.team-chip-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 10px var(--tone);
}
.team-chip-words {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}
.team-chip-words b {
  font-size: 0.88rem;
}
.team-chip-words small {
  color: var(--on-night-muted);
  font-size: 0.72rem;
}
.team-note {
  max-width: 46rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Without 3D: no room, the team as a grid of cards, the chosen one's card in the flow. */
.team-stage.is-flat .team-room {
  display: none;
}
.team-stage.is-flat .team-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  padding-top: 22px;
  border-top: 0;
}
.team-stage.is-flat .team-chip {
  width: 100%;
  border-radius: 16px;
}
.team-stage.is-flat .team-chip-words {
  white-space: normal;
}
.team-stage.is-flat .team-card {
  position: relative;
  bottom: auto;
  left: auto;
  width: auto;
  margin: 22px 22px 0;
}

@media (max-width: 760px) {
  .team-stage {
    border-radius: 26px;
  }
  .team-room {
    aspect-ratio: 1;
  }
  /* On a phone only the name stands over a robot; its job is in the card and the row below. */
  .team-tag small {
    display: none;
  }
  .team-tag {
    padding: 3px 8px 4px;
    border-radius: 10px;
  }
  .team-tag b {
    font-size: 0.72rem;
  }
  .team-hint {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .team-live {
    top: 12px;
    left: 12px;
  }
  /* The card sits under the room, so it never hides the robots. */
  .team-card {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: 0 12px 12px;
  }
  .team-list {
    padding: 12px 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-bot,
  .team-bot-eye,
  .team-bot-tip,
  .team-talk u,
  .team-live i,
  .team-card-now::before,
  .team-card.is-in {
    animation: none !important;
  }
}

.team-card[hidden] {
  display: none;
}

/* Meet our team is not in the page (owner, 2026-12-02). The footer has a small quiet link with the little
   robot (no animation); it opens the office in a box (#team-dialog). team.js fetches the 3D library and
   starts the room only after the first opening. */
.foot-team {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--on-night-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.foot-team svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--glow);
}
.foot-team:hover {
  color: #fff;
  text-decoration: underline;
}

html:has(.team-dialog[open]) {
  overflow: hidden;
}
.team-dialog {
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 28px 28px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 30px;
  background: var(--night);
  color: var(--on-night);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.75);
}
.team-dialog::backdrop {
  background: rgba(4, 19, 13, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.team-dialog[open] {
  animation: team-box-in 0.35s var(--ease);
}
@keyframes team-box-in {
  from {
    opacity: 0;
  }
}
/* A browser without <dialog>: the box opens in the flow, under the footer. */
.team-dialog.is-inline {
  position: static;
  margin: 0 auto 24px;
}
/* The close button stays in view while the box scrolls. */
.team-dialog > form {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 0;
}
.team-shut {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(61, 220, 151, 0.4);
  border-radius: 50%;
  background: var(--night-2);
  color: var(--on-night);
  cursor: pointer;
  transition: border-color 0.2s;
}
.team-shut:hover,
.team-shut:focus-visible {
  border-color: var(--glow);
}
.team-shut svg {
  width: 16px;
  height: 16px;
}
.team-head {
  max-width: 40rem;
  margin-bottom: 20px;
  padding-right: 40px;
}
.team-head .display {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
}
html[lang='ml'] .team-head .display {
  font-size: clamp(1.4rem, 4vw, 2rem);
}
.team-head .lead {
  margin-top: 10px;
  color: var(--on-night-muted);
  font-size: 1.02rem;
}
.team-head .eyebrow {
  color: var(--glow);
}
.team-dialog .team-stage {
  border-radius: 22px;
  box-shadow: none;
}
.team-dialog .team-room {
  max-height: min(60dvh, 560px);
}
.team-dialog .team-note {
  margin-top: 14px;
  color: var(--on-night-muted);
  font-size: 0.88rem;
}
@media (max-width: 760px) {
  .team-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 20px 12px 14px;
    border-radius: 22px;
  }
  .team-shut {
    top: -6px;
    right: -2px;
  }
  .team-head {
    padding-right: 44px;
  }
  .team-dialog .team-stage {
    border-radius: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-dialog[open] {
    animation: none;
  }
}
