/* ==========================================================================
   Krono Connect — Design tokens
   ========================================================================== */
:root {
  /* Palette derived from the Krono Connect logo: deep indigo + charcoal grey */
  --navy-950: #0f0b28;
  --navy-900: #191046;
  --navy-800: #251766;
  --navy-700: #33208c;
  --navy-600: #4a2fb8;
  --charcoal-900: #232326;
  --charcoal-700: #4b4b4e;
  --charcoal-500: #6d6d70;
  --paper: #f6f5f9;
  --paper-dim: #eae8f2;
  --ink: #16141f;
  --ink-soft: rgba(22, 20, 31, 0.68);
  --accent: #6a4fe0;
  --accent-bright: #9686ef;
  --accent-dim: rgba(106, 79, 224, 0.32);
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(22, 20, 31, 0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter Tight", "Inter", -apple-system, sans-serif;

  --space-1: 0.6rem;
  --space-2: 1.15rem;
  --space-3: 1.85rem;
  --space-4: 3rem;
  --space-5: 4.75rem;
  --space-6: 6.5rem;
  --space-7: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 var(--space-2);
  color: inherit;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 var(--space-2); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-x: 0px; --btn-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
  transform: translate(var(--btn-x), var(--btn-y));
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-dim);
}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 14px 36px -8px var(--accent-dim); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: inherit;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  background: rgba(6, 13, 25, 0.0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
  color: var(--paper);
}
.site-header.is-scrolled {
  background: rgba(6, 13, 25, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--paper);
  border-radius: 999px;
  transition: padding 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.brand:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35); }
.brand img {
  height: 40px;
  width: auto;
  max-width: none;
  aspect-ratio: 409 / 147;
  display: block;
  flex-shrink: 0;
}
.site-header.is-scrolled .brand { padding: 0.3rem 0.7rem; }
.site-header.is-scrolled .brand img { height: 34px; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.nav-list li:not(:has(.nav-cta)) {
  position: relative;
}
.nav-list a:not(.nav-cta) {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(245, 243, 238, 0.82);
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.3s ease, background 0.35s var(--ease-out), transform 0.3s var(--ease-out);
  display: inline-block;
}
.nav-list a:not(.nav-cta):hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-cta {
  display: none;
  margin-left: var(--space-2);
  background: var(--paper) !important;
  color: var(--navy-950) !important;
  padding: 0.75rem 1.6rem !important;
  font-weight: 600;
}
.nav-cta:hover { background: #fff !important; transform: translateY(-1px); }
@media (min-width: 1100px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 210;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  .site-header { justify-content: center; position: fixed; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-list {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-4);
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list a { font-size: 1.5rem; }
  .nav-list .nav-cta { display: inline-flex; margin-top: var(--space-3); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 70% 20%, var(--navy-800), var(--navy-950) 65%);
  color: var(--paper);
  overflow: hidden;
}
@media (max-width: 700px) {
  .hero { min-height: 0; padding-top: 5.5rem; padding-bottom: 2.5rem; }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow--one {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, var(--navy-600), transparent 70%);
  animation: drift-one 16s ease-in-out infinite;
}
.hero-glow--two {
  width: 360px; height: 360px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: drift-two 20s ease-in-out infinite;
}
.hero-mouse-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 40%), rgba(150, 134, 239, 0.28), transparent 65%);
}
.hero:hover .hero-mouse-glow { opacity: 1; }
@keyframes drift-one {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes drift-two {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.15); }
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.9;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(5.5rem, 11vh, 7.5rem);
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
  text-align: center;
}
.hero-grid {
  display: grid;
  gap: clamp(1rem, 2.4vh, var(--space-4));
  max-width: 820px;
  margin: 0 auto;
  justify-items: center;
}
.hero .eyebrow { justify-content: center; color: #fff; margin-bottom: 0.6rem; }
.hero .eyebrow::before { display: none; }
.hero h1 { color: var(--paper); font-size: clamp(2.2rem, 4vw + 3vh, 5.4rem); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; will-change: transform; }
.hero-sub {
  font-size: clamp(0.95rem, 0.7rem + 1vw, 1.2rem);
  color: rgba(245, 243, 238, 0.78);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub--lead {
  color: var(--paper);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.8rem + 1vw, 1.35rem);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-2);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, var(--space-4));
  margin-top: clamp(1rem, 3vh, var(--space-5));
  width: 100%;
  max-width: 1100px;
  border-top: 1px solid var(--line);
  padding-top: clamp(1rem, 2.5vh, var(--space-4));
  text-align: center;
}
.hero-meta div {
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}
@media (max-height: 700px) {
  .hero-meta { display: none; }
}
.hero-meta strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.4rem + 0.9vw, 1.05rem);
  color: var(--accent-bright);
  flex-shrink: 0;
}
.hero-meta span {
  font-size: clamp(0.6rem, 0.3rem + 0.6vw, 0.85rem);
  color: rgba(245, 243, 238, 0.65);
  max-width: 260px;
}
@media (max-width: 700px) {
  .hero-meta { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-meta div { justify-content: center; }
}


/* ==========================================================================
   Sections (general)
   ========================================================================== */
section { position: relative; }
.section {
  padding: var(--space-7) 0;
}
.section-contact { padding-bottom: var(--space-4); }
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(70%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark), transparent);
}
.section-dark::before { background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero + .section::before { display: none; }
.section-dark {
  background: var(--navy-950);
  color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 28px 28px;
}
.section-dark .eyebrow { color: var(--accent-bright); }
.section-alt { background: var(--paper-dim); }

.section-head {
  max-width: none;
  width: 100%;
  margin-bottom: var(--space-4);
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(245, 243, 238, 0.72); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .split > div:not(.visual-panel) { text-align: center; }
  .split .eyebrow { justify-content: center; }
  .split .eyebrow::before { display: none; }
  .split p { margin-left: auto; margin-right: auto; }
  .section-head { text-align: center; }
  .section-head p { margin-left: auto; margin-right: auto; }
  .contact-grid > .reveal:first-child { text-align: center; }
  .contact-grid > .reveal:first-child .eyebrow { justify-content: center; }
  .contact-grid > .reveal:first-child .eyebrow::before { display: none; }
  .contact-grid > .reveal:first-child p { margin-left: auto; margin-right: auto; }
  .contact-details { justify-items: center; }
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* visual panel used in split sections */
.visual-panel {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.visual-panel:hover {
  box-shadow: 0 30px 60px -20px rgba(37, 23, 102, 0.45);
}
.visual-panel canvas,
.visual-panel svg,
.visual-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-panel img { opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out); }
.visual-panel.is-visible img { opacity: 1; transform: scale(1); }
.visual-panel svg path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.visual-panel.is-visible svg path { animation: draw-line 1.6s var(--ease-out) forwards; }
.visual-panel svg circle { opacity: 0; transform-origin: center; }
.visual-panel.is-visible svg circle { animation: pop-in 0.5s var(--ease-out) forwards; animation-delay: 1.2s; }
.visual-panel svg circle.hotspot { transform-box: fill-box; }
.visual-panel.is-visible svg circle.hotspot { animation: pop-in 0.5s var(--ease-out) forwards, pulse-ring 2.4s ease-out infinite; animation-delay: 1.2s, 1.8s; }
.visual-panel svg .panel-annotation text,
.visual-panel svg .panel-annotation rect.chip { opacity: 0; transform: translateY(4px); transform-box: fill-box; }
.visual-panel svg .panel-annotation rect.chip { fill: rgba(9, 7, 26, 0.8); stroke: rgba(150, 134, 239, 0.45); stroke-width: 1; }
.visual-panel.is-visible svg .panel-annotation text,
.visual-panel.is-visible svg .panel-annotation rect.chip {
  animation: label-in 0.6s var(--ease-out) forwards;
}
.visual-panel.is-visible svg .panel-annotation text:nth-of-type(1),
.visual-panel.is-visible svg .panel-annotation rect.chip:nth-of-type(1) { animation-delay: 1.5s; }
.visual-panel.is-visible svg .panel-annotation text:nth-of-type(2),
.visual-panel.is-visible svg .panel-annotation rect.chip:nth-of-type(2) { animation-delay: 1.7s; }
.visual-panel.is-visible svg .panel-annotation text:nth-of-type(3),
.visual-panel.is-visible svg .panel-annotation rect.chip:nth-of-type(3) { animation-delay: 1.9s; }
.visual-panel.is-visible svg .panel-annotation text:nth-of-type(4),
.visual-panel.is-visible svg .panel-annotation rect.chip:nth-of-type(4) { animation-delay: 2.1s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes label-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 0.9; transform: translateY(0); } }
@keyframes pulse-ring {
  0% { filter: drop-shadow(0 0 0 rgba(150, 134, 239, 0.6)); }
  70% { filter: drop-shadow(0 0 6px rgba(150, 134, 239, 0)); }
  100% { filter: drop-shadow(0 0 0 rgba(150, 134, 239, 0)); }
}

/* Continuous signal-flow motion — travelling dots + animated dashes, speeds up on hover */
.visual-panel svg .pulse-dot { opacity: 0; filter: drop-shadow(0 0 4px rgba(201, 189, 251, 0.9)); }
.visual-panel.is-visible svg .pulse-dot { opacity: 1; animation-delay: 1.6s; }
.visual-panel svg .orbit-ring { animation: spin-orbit 18s linear infinite; transform-origin: center; transform-box: fill-box; }
.visual-panel:hover svg .orbit-ring { animation-duration: 7s; }
.visual-panel:hover svg circle.hotspot { animation-duration: 1.1s, 1.1s; }
@keyframes spin-orbit { to { transform: rotate(360deg); } }
.visual-panel .panel-label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.7);
  z-index: 3;
}

/* Route/rate motif for Voice */
.route-lines { position: absolute; inset: 0; }

/* Capability cards — Bulk SMS / Consultancy */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: var(--space-3);
  margin-top: var(--space-4);
  position: relative;
}
@media (max-width: 800px) {
  .capability-grid { grid-template-columns: 1fr; }
}
.capability-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: var(--space-4);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
}
.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-dim), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -26px var(--accent-dim);
  border-color: var(--accent-dim);
}
.capability-card:hover::before { opacity: 1; }
.section-dark .capability-card { background: var(--navy-900); border-color: var(--line); }
.capability-card h3 { position: relative; font-size: 1.25rem; line-height: 1.3; }
.capability-card p { position: relative; margin-bottom: 0; font-size: 1rem; line-height: 1.6; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
}
#contact-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { display: grid; gap: var(--space-3); }
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--accent-bright); margin-bottom: 0.2rem; }
.email-reveal {
  cursor: pointer;
  border-bottom: 1px dashed rgba(245, 243, 238, 0.4);
  transition: opacity 0.2s ease;
}
.email-reveal.is-revealed { cursor: text; border-bottom: none; }
.email-reveal:hover,
.email-reveal:focus-visible { opacity: 0.8; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-3);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-field input,
  .form-field textarea { text-align: center; }
  .form-field input::placeholder,
  .form-field textarea::placeholder { text-align: center; }
}
.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(245, 243, 238, 0.75);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(245, 243, 238, 0.05);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(245, 243, 238, 0.08);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245, 243, 238, 0.45); }
.form-status { margin-top: var(--space-2); font-size: 0.92rem; }
.form-status[data-state="success"] { color: #8fd19e; }
.form-status[data-state="error"] { color: #e29a9a; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #ffffff;
  padding: var(--space-4) 0;
  font-size: 0.88rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem var(--space-3);
}
.footer-row > span:first-child { text-align: left; }
.footer-credit { text-align: right; }
@media (max-width: 600px) {
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-row > span:first-child, .footer-credit { text-align: center; }
}
.footer-row a { color: #ffffff; text-decoration: none; transition: color 0.2s ease; }
.footer-row a:hover { color: var(--accent-bright); }
.footer-credit { color: #ffffff; }

/* Reveal animation hooks (GSAP toggles .is-visible) */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }

/* ===== Visual-panel illustration motion ===== */
.visual-panel svg .kc-pulse,
.visual-panel svg .kc-breathe,
.visual-panel svg .kc-ping,
.visual-panel svg .kc-ring,
.visual-panel svg .kc-wave,
.visual-panel svg .kc-float,
.visual-panel svg .kc-grow,
.visual-panel svg .kc-rise,
.visual-panel svg .kc-twinkle {
  transform-box: fill-box;
  transform-origin: center;
}
.visual-panel svg .kc-spin-slow,
.visual-panel svg .kc-orbit {
  transform-box: view-box;
  transform-origin: 200px 160px;
}
@keyframes kc-flow { to { stroke-dashoffset: -56; } }
@keyframes kc-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes kc-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes kc-ping {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes kc-ring {
  0% { transform: scale(0.55); opacity: 0.85; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes kc-wave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
@keyframes kc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes kc-grow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.92); }
}
@keyframes kc-rise {
  0% { transform: translateY(26px); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: translateY(-30px); opacity: 0; }
}
@keyframes kc-twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.8; }
}
@keyframes kc-spin { to { transform: rotate(360deg); } }
.visual-panel svg .kc-flow { animation: kc-flow 3.2s linear infinite; }
.visual-panel svg .kc-pulse { animation: kc-pulse 2.6s ease-in-out infinite; }
.visual-panel svg .kc-breathe { animation: kc-breathe 3.4s ease-in-out infinite; }
.visual-panel svg .kc-ping { animation: kc-ping 2.4s ease-out infinite; }
.visual-panel svg .kc-ring { animation: kc-ring 3.3s ease-out infinite; }
.visual-panel svg .kc-wave { animation: kc-wave 1.4s ease-in-out infinite; }
.visual-panel svg .kc-float { animation: kc-float 4.6s ease-in-out infinite; }
.visual-panel svg .kc-grow { animation: kc-grow 4.2s ease-in-out infinite; }
.visual-panel svg .kc-rise { animation: kc-rise 3.9s ease-in infinite; }
.visual-panel svg .kc-twinkle { animation: kc-twinkle 4.8s ease-in-out infinite; }
.visual-panel svg .kc-spin-slow { animation: kc-spin 40s linear infinite; }
.visual-panel svg .kc-orbit { animation: kc-spin 14s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .visual-panel svg [class^="kc-"],
  .visual-panel svg [class*=" kc-"] { animation: none !important; }
}
