:root {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --ink: #12111c;
  --ink-soft: #5b5972;
  --ink-faint: #8b899e;
  --line: rgba(18, 17, 28, 0.09);
  --pink: #f8228b;
  --blue: #2e9df4;
  --blue-light: #79d2ff;
  --purple: #6e22b8;
  --navy: #2a1b8c;

  --grad-brand: linear-gradient(115deg, var(--pink) 0%, var(--purple) 52%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(248, 34, 139, 0.1), rgba(46, 157, 244, 0.1));

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.16, 0.8, 0.24, 1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4, .display{
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
p{ margin:0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px){
  .wrap{ padding: 0 20px; }
}

/* ---------- utility: reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-left{ transform: translateX(-40px); }
.reveal-right{ transform: translateX(40px); }
.reveal-scale{ transform: scale(.94) translateY(16px); }
.reveal-blur{ filter: blur(10px); transform: translateY(16px); }
.reveal.in.reveal-left, .reveal.in.reveal-right, .reveal.in.reveal-scale{ transform: none; }
.reveal.in.reveal-blur{ filter: none; transform: none; }
/* until the entrance settles, the reveal owns transitions (and the stagger delay) */
.reveal:not(.settled){
  transition: opacity .8s var(--ease) var(--rd, 0ms),
              transform .8s var(--ease) var(--rd, 0ms),
              filter .8s var(--ease) var(--rd, 0ms);
}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal:not(.settled){ opacity:1; transform:none; filter:none; transition:none; }
  html{ scroll-behavior:auto; }
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- nav ---------- */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,249,252,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
header::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--grad-brand);
}
header.scrolled{
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px -18px rgba(18,17,28,0.18);
}
nav.wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.brand .mark{ width: 34px; height: 34px; flex-shrink:0; object-fit: contain; transition: transform .35s var(--ease); }
.brand:hover .mark{ transform: rotate(-8deg) scale(1.08); }
.nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a{
  position: relative;
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-links a:hover{ color: var(--ink); background: rgba(18,17,28,0.05); }
.nav-links a.active{
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px rgba(110,34,184,0.28);
}
.nav-links-cta{ display: none; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18,17,28,0.22);
}
.btn-gradient{
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(110,34,184,0.28);
}
.btn-gradient:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(110,34,184,0.36);
}
.btn-ghost{
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--ink); }

.menu-toggle{
  display:none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items:center; justify-content:center;
  transition: border-color .25s, background .25s;
}
.menu-toggle:hover{ border-color: var(--ink); }
.menu-toggle.open{ background: var(--ink); border-color: var(--ink); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:''; display:block; width: 16px; height: 2px; background: var(--ink);
  position: relative; transition: all .25s var(--ease);
}
.menu-toggle span::before{ position:absolute; top:-5px; }
.menu-toggle span::after{ position:absolute; top:5px; }
.menu-toggle.open span{ background: transparent; }
.menu-toggle.open span::before{ top:0; background:#fff; transform: rotate(45deg); }
.menu-toggle.open span::after{ top:0; background:#fff; transform: rotate(-45deg); }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .menu-toggle{ display:flex; }

  .nav-links.mobile-open{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:84px;
    left:0; right:0;
    background: var(--surface);
    padding: 8px 32px 28px;
    border-bottom:1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(18,17,28,0.22);
    gap: 0;
    animation: navSlide .3s var(--ease);
  }
  .nav-links.mobile-open li{ border-bottom: 1px solid var(--line); }
  .nav-links.mobile-open li:last-of-type{ border-bottom: none; }
  .nav-links.mobile-open a{
    display:block;
    padding: 16px 4px;
    border-radius: 0;
  }
  .nav-links.mobile-open a:hover{ background: none; color: var(--purple); }
  .nav-links.mobile-open a.active{ background: none; box-shadow: none; color: var(--purple); }
  .nav-links-cta{ display:block; margin-top: 18px; }
  .nav-links-cta .btn{ width: 100%; justify-content:center; }
}

@keyframes navSlide{
  from{ opacity: 0; transform: translateY(-10px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .nav-links.mobile-open{ animation: none; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(110,34,184,0.07);
  border: 1px solid rgba(110,34,184,0.16);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand);
}
.hero h1{
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 700;
}
.hero h1 .grad{
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  margin-top: 26px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 500px;
}
.hero-ctas{
  display:flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-meta{
  margin-top: 56px;
  display:flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-meta div{ display:flex; flex-direction: column; gap: 2px; }
.hero-meta .num{ font-family:'Space Grotesk',sans-serif; font-size: 26px; font-weight:700; }
.hero-meta .lbl{ font-size: 13px; color: var(--ink-faint); }

/* signature blend mark */
.blend-stage{
  position: relative;
  height: 480px;
}
.hero-logo{
  position: absolute;
  top: 50%; left: 50%;
  width: min(70%, 460px);
  height: auto;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 30px 60px rgba(46,29,140,0.25));
  animation: logoFloat 7s ease-in-out infinite;
}
/* 3d mark: webgl canvas fills the stage, cursor-driven tilt lives in HeroLogo3D */
.hero-logo-3d{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-logo-3d canvas{
  display: block;
  width: 100% !important;
  height: 100% !important;
}
@keyframes logoFloat{
  0%,100%{ transform: translate(-50%,-50%) translateY(0); }
  50%{ transform: translate(-50%,-50%) translateY(-16px); }
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .blend-stage{ height: 300px; }
  .hero-visual{ order: -1; }
  .hero{ padding: 140px 0 70px; }
}

/* ---------- marquee strip ---------- */
.strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: var(--surface);
}
.strip-track{
  display:flex;
  gap: 64px;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.strip-track span{
  font-family:'Space Grotesk',sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display:flex; align-items:center; gap:12px;
  white-space:nowrap;
}
.strip-track span::before{
  content:''; width:6px; height:6px; border-radius:50%; background: var(--grad-brand);
}
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- section shell ---------- */
section{ padding: 120px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 64px;
}
.kicker{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
  display:block;
}
.section-head h1,
.section-head h2{
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 700;
}
.section-head p{
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- services ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18,17,28,0.08);
  border-color: rgba(18,17,28,0.03);
}
.icon-blend{
  width: 54px; height: 54px;
  position: relative;
  margin-bottom: 24px;
}
.icon-blend i{
  position:absolute;
  width: 34px; height: 34px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  mix-blend-mode: multiply;
  transition: transform .4s var(--ease);
  font-style: normal;
}
.icon-blend i:nth-child(1){ background: var(--pink); top:0; left:0; }
.icon-blend i:nth-child(2){ background: var(--blue); bottom:0; right:0; }
.service-card:hover .icon-blend i:nth-child(1){ transform: translate(-4px,-4px) rotate(-8deg); }
.service-card:hover .icon-blend i:nth-child(2){ transform: translate(4px,4px) rotate(8deg); }

.service-icon{
  width: 54px; height: 54px;
  display:flex; align-items:center; justify-content:center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-icon svg{ width: 26px; height: 26px; }
.service-card:hover .service-icon{ transform: scale(1.08) rotate(-4deg); }
.service-icon.grad-1{
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 22px rgba(248,34,139,0.26);
}
.service-icon.grad-2{
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 10px 22px rgba(110,34,184,0.26);
}
.service-icon.grad-3{
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 10px 22px rgba(46,157,244,0.26);
}

.service-card h3{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p{
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.tag-list{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}
.service-card .tag{
  display:inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.03em;
}

@media (max-width: 980px){
  .service-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .service-grid{ grid-template-columns: 1fr; }
}

/* ---------- contact form ---------- */
.contact-form-grid{
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px){
  .contact-form-grid{ grid-template-columns: 1fr; }
}
.contact-form{
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  box-shadow: 0 36px 64px -32px rgba(18,17,28,0.22);
}
.contact-form::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:4px;
  background: var(--grad-brand);
}
.contact-form::after{
  content:'';
  position:absolute; top:-140px; right:-120px;
  width:280px; height:280px;
  background: var(--grad-soft);
  filter: blur(60px);
  border-radius:50%;
  pointer-events:none;
}
@media (max-width: 560px){
  .contact-form{ padding: 32px 24px 28px; }
}

.contact-aside{ padding-top: 4px; }
.contact-aside-card{
  background: linear-gradient(165deg, rgba(248,34,139,0.06), rgba(46,157,244,0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-aside-card h3{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 26px;
}
.aside-steps{
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}
.aside-steps li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.aside-steps li div:last-child{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aside-steps strong{ font-size: 15px; font-weight: 600; }
.aside-steps span{ font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.aside-icon{
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--purple);
}
.aside-icon svg{ width: 18px; height: 18px; }
.aside-direct{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.aside-direct span{ color: var(--ink-faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 4px; }
.aside-direct a{ color: var(--ink); font-weight: 600; transition: color .2s; }
.aside-direct a:hover{ color: var(--purple); }
@media (max-width: 560px){
  .contact-aside-card{ padding: 28px 24px; }
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 640px){
  .form-row{ grid-template-columns: 1fr; }
}
.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  resize: vertical;
  transition: border-color .25s var(--ease);
}
.form-field select{
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b5972' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-field select:invalid{ color: var(--ink-faint); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--purple);
}
.contact-form .btn{
  align-self: flex-start;
}
.form-status{
  font-size: 14.5px;
  line-height: 1.6;
}
.form-status-success{ color: var(--purple); }
.form-status-error{ color: var(--pink); }

/* ---------- global reach ---------- */
.reach{
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 72px 60px;
  position: relative;
  overflow: hidden;
}
.reach::before{
  content:'';
  position:absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(248,34,139,0.35), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(46,157,244,0.35), transparent 45%);
  opacity: 0.55;
}
.reach-inner{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.reach h1,
.reach h2{
  font-size: clamp(28px,3.2vw,38px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 420px;
}
.reach p{
  margin-top: 18px;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.65;
  max-width: 420px;
}
.reach-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.reach-stats .stat-num{
  font-family:'Space Grotesk',sans-serif;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(120deg,#FF4FA6,#79D2FF);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.reach-stats .stat-lbl{
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
}
.globe-dots{
  position:absolute; right: -60px; bottom: -60px;
  width: 340px; height: 340px;
  opacity: 0.5;
}

@media (max-width: 900px){
  .reach{ padding: 48px 28px; }
  .reach-inner{ grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px){
  .reach-stats{ grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* ---------- blend lab (signature interactive element) ---------- */
.lab{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 56px 44px;
}
.lab-track{
  position: relative;
  height: 84px;
  border-radius: 999px;
  background: #F0F0F5;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.lab-track.dragging{ cursor: grabbing; }
.lab-fill-left, .lab-fill-right{
  position: absolute;
  top: 0; bottom: 0;
  mix-blend-mode: multiply;
  transition: width .05s linear;
}
.lab-fill-left{
  left: 0;
  background: linear-gradient(90deg, #FF4FA6, var(--pink));
}
.lab-fill-right{
  right: 0;
  background: linear-gradient(270deg, var(--blue-light), var(--blue));
}
.lab-overlap{
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  background: var(--navy);
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: left .05s linear;
}
.lab-handle{
  position: absolute;
  top: 50%;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18,17,28,0.28);
  transform: translate(-50%,-50%);
  display: flex; align-items:center; justify-content:center;
  cursor: grab;
  border: 3px solid #fff;
}
.lab-handle:active{ cursor: grabbing; }
.lab-pct{
  font-family:'Space Grotesk',sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  pointer-events:none;
}
.lab-labels{
  display:flex; justify-content: space-between;
  margin-top: 22px;
}
.lab-labels strong{
  display:block; font-family:'Space Grotesk',sans-serif; font-size: 16px; font-weight:600;
}
.lab-labels span{ font-size: 13px; color: var(--ink-faint); }
.lab-label-right{ text-align: right; }
.lab-readout{
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  min-height: 50px;
}

@media (max-width: 640px){
  .lab{ padding: 32px 22px 28px; }
  .lab-handle{ width: 46px; height: 46px; }
}

/* ---------- process: checkpoint trail ---------- */
.checkpoint-track{
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 10px;
}
.checkpoint-line{
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.checkpoint-line-fill{
  position: absolute; left: 0; top: 0; width: 100%;
  background: var(--grad-brand);
}
.checkpoint-marker{
  position: absolute; left: 50%; top: 0;
  width: 18px; height: 18px;
  margin-left: -9px; margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 7px rgba(110,34,184,0.16), 0 8px 18px rgba(110,34,184,0.4);
  z-index: 6;
  transition: opacity .3s;
}
.checkpoint-marker::after{
  content:'';
  position:absolute; inset:-7px;
  border-radius:50%;
  border: 1.5px solid rgba(110,34,184,0.35);
  animation: checkpointPulse 1.8s ease-out infinite;
}

.checkpoint-item{
  position: relative;
  padding: 46px 0;
  min-height: 200px;
  display: flex;
}
.checkpoint-badge{
  position: absolute; left: 50%; top: 46px;
  transform: translateX(-50%) scale(0.86);
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--ink-faint);
  z-index: 3;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease),
    color .5s var(--ease), box-shadow .5s var(--ease);
}
.checkpoint-icon svg{ width: 36px; height: 36px; }
.checkpoint-item.reached .checkpoint-badge{
  border-color: transparent;
  color: #fff;
  transform: translateX(-50%) scale(1);
  animation: checkpointPop .55s var(--ease);
}
.checkpoint-item.reached .checkpoint-badge.grad-1{
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 0 0 9px rgba(248,34,139,0.12), 0 18px 34px rgba(248,34,139,0.34);
}
.checkpoint-item.reached .checkpoint-badge.grad-2{
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 0 0 9px rgba(110,34,184,0.12), 0 18px 34px rgba(110,34,184,0.34);
}
.checkpoint-item.reached .checkpoint-badge.grad-3{
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 0 9px rgba(46,157,244,0.12), 0 18px 34px rgba(46,157,244,0.34);
}

.checkpoint-content{
  width: calc(50% - 76px);
  opacity: .3;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.checkpoint-item.reached .checkpoint-content{ opacity: 1; transform: translateY(0); }
.checkpoint-item.side-right .checkpoint-content{ margin-left: auto; text-align: left; }
.checkpoint-item.side-left .checkpoint-content{ margin-right: auto; text-align: right; }

.checkpoint-flag{
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px 6px 12px;
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
  margin-bottom: 16px;
  transition: background .5s var(--ease);
}
.checkpoint-item.side-left .checkpoint-flag{
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
}
.checkpoint-item.reached .checkpoint-flag{ background: var(--purple); }
.checkpoint-content h3{ font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.checkpoint-content p{ font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

@keyframes checkpointPop{
  0%{ transform: translateX(-50%) scale(0.86); }
  55%{ transform: translateX(-50%) scale(1.15); }
  100%{ transform: translateX(-50%) scale(1); }
}
@keyframes checkpointPulse{
  0%{ transform: scale(0.7); opacity: 1; }
  100%{ transform: scale(1.5); opacity: 0; }
}

@media (max-width: 720px){
  .checkpoint-track{ padding-left: 44px; }
  .checkpoint-line{ left: 18px; margin-left: 0; }
  .checkpoint-marker{ left: 18px; margin-left: -9px; }
  .checkpoint-badge{ left: 18px; width: 72px; height: 72px; }
  .checkpoint-icon svg{ width: 28px; height: 28px; }
  .checkpoint-item{ padding: 30px 0; min-height: 0; }
  .checkpoint-item.side-right .checkpoint-content,
  .checkpoint-item.side-left .checkpoint-content{
    width: auto;
    margin: 0 0 0 92px;
    text-align: left;
  }
  .checkpoint-item.side-left .checkpoint-flag{
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  }
}
@media (prefers-reduced-motion: reduce){
  .checkpoint-content{ opacity:1; transform:none; transition:none; }
  .checkpoint-badge{ transition:none; animation:none; }
  .checkpoint-marker::after{ animation:none; }
}

/* ---------- work / results ---------- */
.work-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.work-card{
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.work-card.large{ grid-row: span 2; min-height: 546px; }
.work-card::before{
  content:''; position:absolute; inset:0; z-index:0;
}
.work-1::before{ background: linear-gradient(150deg, var(--navy), var(--purple) 60%, var(--pink) 130%); }
.work-2::before{ background: linear-gradient(150deg, #1a2b57, var(--blue) 120%); }
.work-3::before{ background: linear-gradient(150deg, #4a1250, var(--pink) 110%); }
.work-card .kicker{ color: rgba(255,255,255,0.75); position:relative; z-index:1; }
.work-card h3{ font-size: 26px; font-weight:600; position: relative; z-index:1; margin-bottom: 10px; }
.work-card p{ position:relative; z-index:1; color: rgba(255,255,255,0.75); font-size: 14.5px; line-height:1.6; max-width: 380px; }
.work-card .metrics{
  position: relative; z-index:1;
  display:flex; gap: 28px; margin-top: 24px;
}
.work-card .metrics div{ display:flex; flex-direction:column; }
.work-card .metrics .m-num{ font-family:'Space Grotesk',sans-serif; font-size: 24px; font-weight:700; }
.work-card .metrics .m-lbl{ font-size: 12px; color: rgba(255,255,255,0.6); margin-top:2px; }
.work-card .other-service-link{
  position: relative; z-index: 1;
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.work-card-links{
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.work-card-links .other-service-link{ margin-top: 0; }

@media (max-width: 900px){
  .work-grid{ grid-template-columns: 1fr; }
  .work-card.large{ grid-row: auto; min-height: 320px; }
}

/* ---------- testimonials ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display:flex; flex-direction:column; gap: 20px;
}
.testi-quote{
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.testi-person{
  display:flex; align-items:center; gap: 12px;
  margin-top: auto;
}
.avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink:0;
}
.testi-person .name{ font-weight: 600; font-size: 14px; }
.testi-person .role{ font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 900px){ .testi-grid{ grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}
.cta-band::after{
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 55%);
}
.cta-band h2{
  position:relative; z-index:1;
  color: #fff;
  font-size: clamp(28px,4vw,42px);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.15;
}
.cta-band p{
  position:relative; z-index:1;
  color: rgba(255,255,255,0.85);
  margin-top: 18px;
  font-size: 16px;
}
.cta-band .hero-ctas{ justify-content: center; position:relative; z-index:1; }
.cta-band .btn-primary{ background:#fff; color: var(--ink); }
.cta-band .btn-ghost{ background: transparent; border-color: rgba(255,255,255,0.4); color:#fff; }
.cta-band .btn-ghost:hover{ border-color:#fff; }

@media (max-width: 700px){
  .cta-band{ padding: 56px 28px; }
}

/* ---------- footer ---------- */
footer{
  position: relative;
  overflow: hidden;
  padding: 70px 0 40px;
  border-top: 1px solid var(--line);
}
footer::before{
  content:'';
  position:absolute; top:-160px; left:-100px;
  width:380px; height:380px;
  background: var(--grad-soft);
  filter: blur(70px);
  border-radius:50%;
  pointer-events:none;
}
footer::after{
  content:'';
  position:absolute; top:-1px; left:50%; transform:translateX(-50%);
  width:120px; height:3px;
  background: var(--grad-brand);
  border-radius: 0 0 3px 3px;
}
.footer-top, .footer-bottom{ position:relative; z-index:1; }
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ color: var(--ink-soft); font-size: 14.5px; line-height:1.6; max-width: 280px; }
.footer-col h4{
  display:flex; align-items:center; gap:8px;
  font-size: 13px; text-transform:uppercase; letter-spacing:0.06em;
  color: var(--ink-faint); margin-bottom: 18px; font-weight:600; font-family:'Inter',sans-serif;
}
.footer-col h4::before{
  content:''; width:6px; height:6px; flex-shrink:0;
  border-radius:50%; background: var(--grad-brand);
}
.footer-col ul{ display:flex; flex-direction:column; gap: 12px; }
.footer-col a{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 14.5px; color: var(--ink-soft); transition: color .2s;
}
.footer-col a::after{
  content:'→';
  font-size: 12px; color: var(--purple);
  opacity:0; transform:translateX(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.footer-col a:hover{ color: var(--ink); }
.footer-col a:hover::after{ opacity:1; transform:translateX(0); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom-right{ display:flex; align-items:center; gap: 24px; }
.footer-legal-link{
  margin-left: 12px;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.footer-legal-link:hover{ color: var(--ink); }
.back-to-top{
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600; color: var(--ink-soft);
  transition: color .2s, transform .2s;
}
.back-to-top:hover{ color: var(--purple); transform: translateY(-3px); }
.socials{ display:flex; gap: 14px; }
.socials a{
  width: 36px; height:36px; border-radius:50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
  transition: border-color .25s, transform .25s, background .3s, color .3s, box-shadow .3s;
}
.socials a:hover{
  border-color: transparent;
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(110,34,184,0.3);
}

@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .footer-bottom-right{ width:100%; justify-content:space-between; }
}

/* ==========================================================================
   MEGA MENU & SERVICES DROPDOWN
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}
.dropdown-caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  transition: transform 0.25s var(--ease);
}
.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.mega-menu-overlay {
  position: absolute;
  top: 100%;
  left: -120px;
  padding-top: 14px;
  z-index: 1000;
  width: 680px;
  animation: fadeInDown 0.25s var(--ease) forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(110, 34, 184, 0.14);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 24px 50px -12px rgba(18, 17, 28, 0.22);
}

.mega-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.mega-menu-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--pink);
}
.mega-menu-title {
  font-size: 17px;
  color: var(--ink);
  margin-top: 2px;
}
.mega-menu-view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  transition: transform 0.2s;
}
.mega-menu-view-all:hover {
  transform: translateX(3px);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}
.mega-menu-item:hover {
  background: rgba(110, 34, 184, 0.06);
  transform: translateX(4px);
}
.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: transform 0.3s var(--ease);
}
.mega-item-icon svg {
  width: 18px;
  height: 18px;
}
.mega-item-icon.grad-1 {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}
.mega-item-icon.grad-2 {
  background: linear-gradient(135deg, var(--purple), var(--blue));
}
.mega-item-icon.grad-3 {
  background: linear-gradient(135deg, var(--blue), var(--pink));
}
.mega-menu-item:hover .mega-item-icon {
  transform: scale(1.1) rotate(-4deg);
}
.mega-item-text {
  display: flex;
  flex-direction: column;
}
.mega-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.mega-item-desc {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .mega-menu-overlay {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 10px 0;
  }
  .mega-menu-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SERVICES OVERVIEW HUB
   ========================================================================== */
.services-hub-section {
  padding: 120px 0 80px;
}

.services-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 40px;
  justify-content: center;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}
.filter-pill:hover {
  border-color: var(--purple);
  color: var(--ink);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(110, 34, 184, 0.28);
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.service-hub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.service-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(18, 17, 28, 0.12);
  border-color: rgba(110, 34, 184, 0.25);
}
.service-hub-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.service-hub-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-hub-icon svg {
  width: 26px;
  height: 26px;
}
.service-hub-icon.grad-1 {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 20px rgba(248, 34, 139, 0.24);
}
.service-hub-icon.grad-2 {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 10px 20px rgba(110, 34, 184, 0.24);
}
.service-hub-icon.grad-3 {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 10px 20px rgba(46, 157, 244, 0.24);
}
.service-hub-card:hover .service-hub-icon {
  transform: scale(1.08) rotate(-4deg);
}
.service-category-badge {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 17, 28, 0.05);
  color: var(--ink-soft);
}

.service-hub-title {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}
.service-hub-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-mini-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(46, 157, 244, 0.08);
  color: var(--navy);
  border: 1px solid rgba(46, 157, 244, 0.18);
}

.service-card-highlights {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.highlight-check {
  color: #10b981;
  font-weight: 700;
}

.service-explore-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(18, 17, 28, 0.04);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.service-explore-btn:hover {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(110, 34, 184, 0.25);
  transform: translateX(2px);
}
.service-explore-btn .arrow-icon {
  font-size: 16px;
  transition: transform 0.25s;
}
.service-explore-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   SERVICE DETAIL HERO
   ========================================================================== */
.service-detail-page {
  position: relative;
  overflow: hidden;
}

.service-detail-hero {
  position: relative;
  padding: 140px 0 80px;
  background: radial-gradient(circle at 15% 20%, rgba(248, 34, 139, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 85% 60%, rgba(46, 157, 244, 0.08) 0%, transparent 45%);
}

.service-hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(110, 34, 184, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.service-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.service-hero-breadcrumb a {
  color: var(--purple);
  font-weight: 500;
}
.crumb-sep {
  opacity: 0.5;
}
.crumb-active {
  color: var(--ink-soft);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.service-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(248, 34, 139, 0.1);
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(248, 34, 139, 0.2);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: pulseDot 2s infinite;
}

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

.service-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 800;
}

.service-hero-tagline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 600px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  background: rgba(18, 17, 28, 0.05);
  border-color: var(--ink);
}

/* Glass Stats Panel */
.stats-glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(110, 34, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 60px -15px rgba(110, 34, 184, 0.15);
  position: relative;
}

.stats-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.stats-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink);
}
.stats-live-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #10b98118;
  color: #059669;
  border: 1px solid #10b98130;
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-box {
  background: rgba(248, 249, 252, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.stat-lbl {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.stats-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   IN-PAGE SUBNAV BAR
   ========================================================================== */
.service-subnav-bar {
  position: sticky;
  top: 84px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 32px;
}
.subnav-inner a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s;
}
.subnav-inner a:hover {
  color: var(--purple);
}

/* ==========================================================================
   TECH STACK EXPLORER
   ========================================================================== */
.tech-stack-section {
  padding: 80px 0;
}

.core-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.core-pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.core-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(18, 17, 28, 0.1);
  border-color: rgba(110, 34, 184, 0.2);
}

.pillar-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar-icon-box svg {
  width: 22px;
  height: 22px;
}
.pillar-icon-box.grad-1 {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 8px 18px rgba(248, 34, 139, 0.24);
}
.pillar-icon-box.grad-2 {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 8px 18px rgba(110, 34, 184, 0.24);
}
.pillar-icon-box.grad-3 {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 8px 18px rgba(46, 157, 244, 0.24);
}
.core-pillar-card:hover .pillar-icon-box {
  transform: scale(1.08) rotate(-4deg);
}
.pillar-top h3 {
  font-size: 18px;
  color: var(--ink);
}

.core-pillar-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.tech-pill {
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(110, 34, 184, 0.08);
  color: var(--purple);
}

.tech-deep-dive-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 12px 30px -10px rgba(18, 17, 28, 0.06);
}

.tech-tab-headers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tech-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(18, 17, 28, 0.04);
  transition: all 0.25s var(--ease);
}
.tech-tab-btn:hover {
  background: rgba(110, 34, 184, 0.1);
  color: var(--purple);
}
.tech-tab-btn.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(110, 34, 184, 0.25);
}

.tech-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.tech-item-row {
  background: rgba(248, 249, 252, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.tech-item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.tech-item-main h4 {
  font-size: 16px;
  color: var(--ink);
}
.tech-level-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(46, 157, 244, 0.12);
  color: var(--navy);
}
.tech-item-row p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ==========================================================================
   DELIVERABLES & CAPABILITIES
   ========================================================================== */
.deliverables-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.6);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.deliverable-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.deliverable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(18, 17, 28, 0.1);
  border-color: rgba(248, 34, 139, 0.2);
}

.deliverable-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--pink);
  opacity: 0.8;
  line-height: 1;
}

.deliverable-content {
  display: flex;
  flex-direction: column;
}
.deliverable-content h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.deliverable-content p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}

.deliverable-metric-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #059669;
  background: #10b98115;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.metric-check {
  font-weight: 800;
}

/* ==========================================================================
   PROCESS & CASE STUDY SPOTLIGHT
   ========================================================================== */
.service-process-section {
  padding: 80px 0;
}

.service-process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.process-flow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}
.process-step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.step-num-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.process-flow-details h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.process-flow-details p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.service-case-spotlight {
  margin-top: 40px;
}
.spotlight-card {
  background: linear-gradient(135deg, #181628 0%, #201a3d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px -15px rgba(18, 17, 28, 0.4);
}
.spotlight-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.spotlight-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--blue-light);
  display: block;
  margin-bottom: 6px;
}
.spotlight-header h3 {
  font-size: 26px;
  color: #fff;
}

.spotlight-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.spotlight-col {
  display: flex;
  flex-direction: column;
}
.spotlight-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-bottom: 8px;
}
.spotlight-col p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.result-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.result-highlight {
  color: var(--blue-light) !important;
  font-weight: 600;
}

@media (max-width: 860px) {
  .spotlight-body {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ESTIMATOR / SCOPE PLANNER
   ========================================================================== */
.estimator-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.6);
}

.estimator-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px -15px rgba(18, 17, 28, 0.08);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.estimator-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 14px;
}

.estimator-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.estimator-tier-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  transition: all 0.25s var(--ease);
}
.estimator-tier-btn:hover {
  border-color: var(--purple);
  background: rgba(110, 34, 184, 0.04);
}
.estimator-tier-btn.selected {
  border-color: var(--purple);
  background: rgba(110, 34, 184, 0.08);
  box-shadow: 0 4px 14px rgba(110, 34, 184, 0.12);
}

.tier-btn-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.estimator-tier-btn.selected .tier-btn-radio {
  border-color: var(--purple);
}
.radio-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}
.estimator-tier-btn.selected .radio-inner {
  background: var(--purple);
}

.tier-btn-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tier-btn-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.tier-btn-meta {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.tier-btn-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.urgency-buttons {
  display: flex;
  gap: 10px;
}
.urgency-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  transition: all 0.2s;
}
.urgency-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.estimator-summary-card {
  background: linear-gradient(135deg, rgba(248, 34, 139, 0.05), rgba(46, 157, 244, 0.08));
  border: 1px solid rgba(110, 34, 184, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.summary-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.summary-kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--pink);
}
.summary-header h3 {
  font-size: 20px;
  color: var(--ink);
  margin-top: 4px;
}

.summary-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.summary-metric-block {
  display: flex;
  flex-direction: column;
}
.summary-metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.summary-metric-lbl {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.summary-metric-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

.summary-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.service-faq-section {
  padding: 80px 0;
}

.faq-accordion-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-card-item.open {
  border-color: rgba(110, 34, 184, 0.3);
  box-shadow: 0 10px 24px -6px rgba(110, 34, 184, 0.08);
}

.faq-question-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
}
.faq-toggle-icon {
  font-size: 22px;
  color: var(--purple);
  line-height: 1;
}

.faq-answer-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid rgba(18, 17, 28, 0.04);
  padding-top: 14px;
  animation: fadeIn 0.25s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CROSS-SERVICE CARDS & CTA BANNER
   ========================================================================== */
.other-services-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.5);
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.other-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.other-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(18, 17, 28, 0.1);
}
.other-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.other-icon-box svg {
  width: 22px;
  height: 22px;
}
.other-icon-box.grad-1 {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 8px 18px rgba(248, 34, 139, 0.24);
}
.other-icon-box.grad-2 {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 8px 18px rgba(110, 34, 184, 0.24);
}
.other-icon-box.grad-3 {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 8px 18px rgba(46, 157, 244, 0.24);
}
.other-service-card:hover .other-icon-box {
  transform: scale(1.08) rotate(-4deg);
}
.other-service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}
.other-service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
}
.other-service-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  transition: transform 0.2s;
}
.other-service-link:hover {
  transform: translateX(4px);
}

.service-cta-banner {
  padding: 60px 0 100px;
}

.service-cta-box {
  background: linear-gradient(135deg, #12111c 0%, #201a3d 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(18, 17, 28, 0.5);
}

.cta-glow-orb {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(248, 34, 139, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-kicker {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--pink);
  display: block;
  margin-bottom: 12px;
}
.service-cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 16px;
}
.service-cta-box p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.service-cta-box .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.service-cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ==========================================================================
   ABOUT US PAGE — funky edition
   ========================================================================== */
.about-page {
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 12.5 1 25 8 T 50 8 T 75 8 T 100 8' fill='none' stroke='%23f8228b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  overflow-x: clip;
}

/* ---------- shared bits ---------- */
.about-section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.about-section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 700;
}
.about-section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.about-squiggle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.about-squiggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  height: 0.34em;
  background: var(--squiggle) no-repeat center / 100% 100%;
  transform-origin: left center;
  animation: aboutSquiggleIn 0.9s var(--ease) 0.3s both;
}
@keyframes aboutSquiggleIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.about-highlight {
  position: relative;
  display: inline-block;
  background: var(--grad-brand);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aboutGradientShift 6s linear infinite;
}
@keyframes aboutGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.about-strike {
  position: relative;
  color: var(--ink-faint);
  white-space: nowrap;
}
.about-strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 55%;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  transform: rotate(-2.5deg) scaleX(0);
  transform-origin: left center;
  animation: aboutStrikeIn 0.7s var(--ease) 0.5s both;
}
@keyframes aboutStrikeIn {
  to { transform: rotate(-2.5deg) scaleX(1); }
}

/* ==========================  HERO  ========================== */
.about-hero {
  position: relative;
  padding: 148px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(248, 34, 139, 0.13), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(46, 157, 244, 0.14), transparent 45%),
    radial-gradient(circle at 60% 95%, rgba(110, 34, 184, 0.12), transparent 50%);
}
.about-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
}

.about-hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 40%),
    rgba(248, 34, 139, 0.16),
    transparent 70%
  );
  transition: background 0.15s linear;
}

.about-hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(110, 34, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 34, 184, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 72%);
  animation: aboutGridDrift 24s linear infinite;
}
@keyframes aboutGridDrift {
  to { background-position: 54px 54px, 54px 54px; }
}

.about-blob {
  position: absolute;
  z-index: 0;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  filter: blur(38px);
  pointer-events: none;
  will-change: transform;
}
.about-blob-a {
  width: 340px; height: 340px;
  top: 4%; left: -6%;
  background: rgba(248, 34, 139, 0.42);
  animation: aboutBlobFloat 17s ease-in-out infinite;
}
.about-blob-b {
  width: 300px; height: 300px;
  top: 34%; right: -5%;
  background: rgba(46, 157, 244, 0.4);
  animation: aboutBlobFloat 21s ease-in-out infinite reverse;
}
.about-blob-c {
  width: 260px; height: 260px;
  bottom: -8%; left: 42%;
  background: rgba(110, 34, 184, 0.34);
  animation: aboutBlobFloat 25s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes aboutBlobFloat {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(60px, 40px) scale(1.14) rotate(120deg); }
  66%  { transform: translate(-40px, 70px) scale(0.9) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

/* floating emoji */
.about-floaters {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.about-floater {
  position: absolute;
  font-size: 30px;
  opacity: 0.85;
  filter: drop-shadow(0 8px 14px rgba(18, 17, 28, 0.16));
  animation: aboutFloat calc(11s + var(--f) * 1.4s) ease-in-out infinite;
  animation-delay: calc(var(--f) * -1.7s);
}
.about-floater:nth-child(1) { top: 16%; left: 7%; }
.about-floater:nth-child(2) { top: 26%; left: 88%; font-size: 24px; }
.about-floater:nth-child(3) { top: 62%; left: 5%; }
.about-floater:nth-child(4) { top: 12%; left: 74%; font-size: 26px; }
.about-floater:nth-child(5) { top: 74%; left: 90%; }
.about-floater:nth-child(6) { top: 45%; left: 93%; font-size: 22px; }
.about-floater:nth-child(7) { top: 80%; left: 16%; font-size: 26px; }
.about-floater:nth-child(8) { top: 8%; left: 26%; font-size: 22px; }
@keyframes aboutFloat {
  0%   { transform: translateY(0) rotate(-8deg); }
  50%  { transform: translateY(-26px) rotate(10deg); }
  100% { transform: translateY(0) rotate(-8deg); }
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 34, 184, 0.18);
  box-shadow: 0 10px 26px -14px rgba(110, 34, 184, 0.4);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.about-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(248, 34, 139, 0.6);
  animation: aboutPing 2s ease-out infinite;
}
@keyframes aboutPing {
  0%   { box-shadow: 0 0 0 0 rgba(248, 34, 139, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(248, 34, 139, 0); }
}
.about-eyebrow-wave {
  display: inline-block;
  transform-origin: 70% 80%;
  animation: aboutWave 2.6s ease-in-out infinite;
}
@keyframes aboutWave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(16deg); }
  20% { transform: rotate(-12deg); }
  30% { transform: rotate(16deg); }
  40% { transform: rotate(-8deg); }
  50% { transform: rotate(12deg); }
}

.about-hero-title {
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.about-word {
  display: inline-block;
  margin-right: 0.28em;
}
.about-word:last-child { margin-right: 0; }
.about-word-space { display: none; }
.about-char {
  display: inline-block;
  background: var(--grad-brand);
  background-size: 320% 100%;
  background-position: calc(var(--c) * -6%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    aboutCharDrop 0.7s var(--ease) both,
    aboutCharBob 3.6s ease-in-out infinite;
  animation-delay: calc(var(--c) * 45ms), calc(700ms + var(--c) * 70ms);
  transition: transform 0.25s var(--ease);
}
/* poke an individual letter. the animations have to be dropped entirely —
   a running animation outranks a plain transform declaration. */
.about-char:hover {
  animation: none;
  transform: translateY(-16px) rotate(-9deg) scale(1.2);
}
@keyframes aboutCharDrop {
  0%   { opacity: 0; transform: translateY(-70px) rotate(-18deg) scale(0.5); }
  60%  { opacity: 1; transform: translateY(8px) rotate(4deg) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes aboutCharBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-2deg); }
}

.about-alias-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  font-family: 'Space Grotesk', sans-serif;
}
.about-alias-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.about-alias-slot {
  position: relative;
  display: inline-block;
  min-height: 1.5em;
}
.about-alias {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--purple);
  opacity: 0;
  transform: translateY(14px) rotateX(-70deg);
  transform-origin: center top;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.about-alias.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.about-hero-copy {
  max-width: 690px;
  margin: 0 auto 34px;
}
.about-hero-copy p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}
.about-wiggle-btn:hover {
  animation: aboutWiggle 0.5s ease-in-out;
}
@keyframes aboutWiggle {
  0%, 100% { transform: translateY(-2px) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(-2.5deg); }
  75% { transform: translateY(-2px) rotate(2.5deg); }
}
.about-bounce-btn {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-bounce-btn:hover {
  animation: aboutHop 0.6s ease;
}
@keyframes aboutHop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  70% { transform: translateY(-4px); }
}

/* hand-drawn sticker pills */
.about-stickers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.about-sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px dashed rgba(110, 34, 184, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(18, 17, 28, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.about-sticker:hover {
  transform: rotate(0deg) scale(1.08) !important;
  border-color: var(--pink);
  box-shadow: 0 14px 28px -14px rgba(248, 34, 139, 0.5);
}
.about-sticker-emoji {
  font-size: 15px;
  animation: aboutSpinSlow 9s linear infinite;
}
@keyframes aboutSpinSlow {
  to { transform: rotate(360deg); }
}
.sticker-1 { transform: rotate(-3deg); animation: aboutStickerBob 5s ease-in-out infinite; }
.sticker-2 { transform: rotate(2deg); animation: aboutStickerBob 6.2s ease-in-out infinite -1s; }
.sticker-3 { transform: rotate(-1.5deg); animation: aboutStickerBob 5.6s ease-in-out infinite -2.4s; }
.sticker-4 { transform: rotate(3deg); animation: aboutStickerBob 6.8s ease-in-out infinite -3.2s; }
@keyframes aboutStickerBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.about-scroll-hint {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.about-scroll-mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(110, 34, 184, 0.35);
  border-radius: 14px;
}
.about-scroll-mouse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--purple);
  animation: aboutScrollDot 1.7s var(--ease) infinite;
}
@keyframes aboutScrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px); }
}

/* ==========================  MARQUEE  ========================== */
.about-marquee {
  padding: 26px 0;
  background: linear-gradient(135deg, #12111c 0%, #241a4a 55%, #12111c 100%);
  border-top: 3px solid transparent;
  border-image: var(--grad-brand) 1;
  overflow: hidden;
}
.about-marquee-row {
  display: flex;
  width: max-content;
}
.about-marquee-row + .about-marquee-row {
  margin-top: 10px;
}
.about-marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
}
.about-marquee-left .about-marquee-track {
  animation: aboutMarquee 26s linear infinite;
}
.about-marquee-right .about-marquee-track {
  animation: aboutMarquee 32s linear infinite reverse;
}
.about-marquee:hover .about-marquee-track {
  animation-play-state: paused;
}
@keyframes aboutMarquee {
  to { transform: translateX(-100%); }
}
.about-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(19px, 2.6vw, 30px);
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}
.about-marquee-right .about-marquee-item {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
}
.about-marquee-star {
  font-size: 0.62em;
  color: var(--pink);
  -webkit-text-stroke: 0;
  animation: aboutSpinSlow 6s linear infinite;
}

/* ==========================  STATS  ========================== */
.about-stats-section {
  padding: 96px 0;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-stat-tile {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 40px -28px rgba(18, 17, 28, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-stat-tile::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}
.about-stat-tile.grad-1::before { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.about-stat-tile.grad-2::before { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.about-stat-tile.grad-3::before { background: linear-gradient(90deg, var(--blue), var(--pink)); }
.about-stat-tile:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 26px 50px -24px rgba(110, 34, 184, 0.42);
}
.about-stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-stat-value em {
  font-style: normal;
  font-size: 0.5em;
}
.about-stat-label {
  display: block;
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.about-stat-joke {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-faint);
  font-style: italic;
}
.about-stat-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.about-stat-tile:hover .about-stat-shine {
  animation: aboutShine 0.85s var(--ease);
}
@keyframes aboutShine {
  to { left: 130%; }
}

/* ==========================  STORY TIMELINE  ========================== */
.about-story-section {
  padding: 90px 0 100px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-timeline {
  position: relative;
  padding: 10px 0;
}
.about-timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pink), var(--purple), var(--blue));
  background-size: 100% 200%;
  animation: aboutRailFlow 8s linear infinite;
}
@keyframes aboutRailFlow {
  to { background-position: 0 200%; }
}
.about-chapter {
  position: relative;
  width: 50%;
  padding: 0 52px 46px 0;
}
.about-chapter.is-right {
  margin-left: 50%;
  padding: 0 0 46px 52px;
}
.about-chapter-node {
  position: absolute;
  top: 14px;
  right: -26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 3px solid var(--purple);
  box-shadow: 0 10px 24px -12px rgba(110, 34, 184, 0.55);
  z-index: 2;
}
.about-chapter.is-right .about-chapter-node {
  right: auto;
  left: -26px;
}
.about-chapter-emoji {
  font-size: 22px;
  animation: aboutNodeBob 3.4s ease-in-out infinite;
}
@keyframes aboutNodeBob {
  0%, 100% { transform: scale(1) rotate(-6deg); }
  50% { transform: scale(1.18) rotate(8deg); }
}
.about-chapter-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  opacity: 0;
}
.about-chapter.in .about-chapter-ring {
  animation: aboutRingPulse 2.4s ease-out infinite;
}
@keyframes aboutRingPulse {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.9); }
}
.about-chapter-card {
  position: relative;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -30px rgba(18, 17, 28, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-chapter:hover .about-chapter-card {
  transform: translateY(-6px) rotate(0.6deg);
  box-shadow: 0 26px 54px -26px rgba(110, 34, 184, 0.4);
}
.about-chapter.is-right:hover .about-chapter-card {
  transform: translateY(-6px) rotate(-0.6deg);
}
.about-chapter-year {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--purple);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.about-chapter-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-chapter-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-chapter-aside {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(110, 34, 184, 0.24);
  font-size: 13px;
  font-style: italic;
  color: var(--pink);
}

/* ==========================  VALUES / FLIP CARDS  ========================== */
.about-values-section {
  padding: 96px 0;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-flip {
  perspective: 1400px;
  min-height: 330px;
}
/* cascade the cards in rather than all at once */
.about-flip.reveal { transition-delay: calc(var(--v, 0) * 90ms); }
.about-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  padding: 0;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}
/* :focus (not just :focus-visible) so a tap flips the card on touch devices */
.about-flip-inner:hover,
.about-flip-inner:focus {
  transform: rotateY(180deg);
}
.about-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.about-flip-front {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(18, 17, 28, 0.4);
}
.about-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(140deg, #12111c 0%, #2a1b8c 100%);
  color: #fff;
  justify-content: center;
}
.about-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease);
}
.about-value-icon.grad-1 { background: linear-gradient(135deg, rgba(248,34,139,0.18), rgba(110,34,184,0.18)); }
.about-value-icon.grad-2 { background: linear-gradient(135deg, rgba(110,34,184,0.18), rgba(46,157,244,0.18)); }
.about-value-icon.grad-3 { background: linear-gradient(135deg, rgba(46,157,244,0.18), rgba(248,34,139,0.18)); }
.about-flip-inner:hover .about-value-icon {
  transform: rotate(-10deg) scale(1.1);
}
.about-value-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.about-value-copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-flip-cue {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}
.about-flip-inner:hover .about-flip-cue {
  animation: aboutNudge 0.8s ease infinite;
}
@keyframes aboutNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.about-value-back-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.about-value-back-copy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
}
.about-value-back-emoji {
  position: absolute;
  right: -18px;
  bottom: -24px;
  font-size: 96px;
  opacity: 0.16;
  animation: aboutNodeBob 5s ease-in-out infinite;
}

/* ==========================  TEAM  ========================== */
.about-team-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(46, 157, 244, 0.1), transparent 40%),
    radial-gradient(circle at 5% 80%, rgba(248, 34, 139, 0.09), transparent 40%),
    rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-team-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(18, 17, 28, 0.4);
  /* opacity is listed so the Reveal fade still runs on this element */
  transition: opacity 0.6s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.3s;
}
.about-team-card.reveal { transition-delay: calc(var(--t, 0) * 90ms); }
.about-team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(110, 34, 184, 0.3);
  box-shadow: 0 30px 56px -28px rgba(110, 34, 184, 0.45);
  animation: aboutJelly 0.6s var(--ease);
}
@keyframes aboutJelly {
  0% { transform: translateY(-10px) scale(1, 1); }
  30% { transform: translateY(-10px) scale(1.05, 0.94); }
  55% { transform: translateY(-10px) scale(0.97, 1.04); }
  80% { transform: translateY(-10px) scale(1.02, 0.98); }
  100% { transform: translateY(-10px) scale(1, 1); }
}
.about-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.about-avatar.grad-1 { background: linear-gradient(135deg, rgba(248,34,139,0.2), rgba(110,34,184,0.2)); }
.about-avatar.grad-2 { background: linear-gradient(135deg, rgba(110,34,184,0.2), rgba(46,157,244,0.2)); }
.about-avatar.grad-3 { background: linear-gradient(135deg, rgba(46,157,244,0.2), rgba(248,34,139,0.2)); }
.about-avatar-calm,
.about-avatar-chaos {
  position: absolute;
  font-size: 32px;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.about-avatar-chaos {
  opacity: 0;
  transform: scale(0.4) rotate(-45deg);
}
.about-team-card:hover .about-avatar-calm {
  opacity: 0;
  transform: scale(0.4) rotate(45deg);
}
.about-team-card:hover .about-avatar-chaos {
  opacity: 1;
  transform: scale(1.12) rotate(0deg);
  animation: aboutShake 0.5s ease-in-out 0.3s infinite;
}
@keyframes aboutShake {
  0%, 100% { transform: scale(1.12) rotate(-7deg); }
  50% { transform: scale(1.12) rotate(7deg); }
}
.about-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px dashed rgba(110, 34, 184, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.about-team-card:hover .about-avatar-ring {
  opacity: 1;
  animation: aboutSpinSlow 7s linear infinite;
}
.about-team-handle {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}
.about-team-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}
.about-team-meta {
  margin: 0;
  display: grid;
  gap: 14px;
}
.about-team-meta dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.about-team-meta dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.about-team-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(110, 34, 184, 0.28);
  background: var(--grad-soft);
}
.about-team-note-emoji {
  font-size: 34px;
  flex-shrink: 0;
  animation: aboutNodeBob 4s ease-in-out infinite;
}
.about-team-note p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.about-team-note a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ==========================  CULTURE / TRUTHS  ========================== */
.about-culture-section {
  padding: 96px 0;
}
.about-truths {
  display: grid;
  gap: 12px;
  max-width: 880px;
}
.about-truth {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: opacity 0.6s var(--ease), border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.about-truth:hover {
  border-color: rgba(110, 34, 184, 0.32);
  transform: translateX(6px);
}
.about-truth.is-open {
  border-color: rgba(110, 34, 184, 0.38);
  box-shadow: 0 20px 44px -30px rgba(110, 34, 184, 0.55);
}
.about-truth-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
}
.about-truth-emoji {
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.about-truth.is-open .about-truth-emoji {
  animation: aboutPop 0.5s var(--ease);
}
.about-truth-head:hover .about-truth-emoji {
  transform: scale(1.2) rotate(-12deg);
}
@keyframes aboutPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.45) rotate(14deg); }
  100% { transform: scale(1) rotate(0); }
}
.about-truth-rule {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.about-truth-plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.about-truth-plus::before,
.about-truth-plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.about-truth-plus::before {
  width: 14px; height: 2.5px;
  transform: translate(-50%, -50%);
}
.about-truth-plus::after {
  width: 2.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.about-truth.is-open .about-truth-plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}
.about-truth.is-open .about-truth-plus::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.about-truth-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.about-truth.is-open .about-truth-body {
  grid-template-rows: 1fr;
}
.about-truth-body > p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px 0 64px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.35s var(--ease), padding 0.45s var(--ease);
}
.about-truth.is-open .about-truth-body > p {
  padding-bottom: 22px;
  opacity: 1;
}

/* the completely unnecessary button */
.about-button-zone {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 56px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #12111c 0%, #2a1b8c 100%);
  color: #fff;
  /* deliberately not clipped — the confetti needs to escape the panel */
  position: relative;
  box-shadow: 0 30px 70px -30px rgba(18, 17, 28, 0.6);
}
.about-button-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}
.about-button-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}
.about-press-count {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  animation: aboutPop 0.4s var(--ease);
}
.about-button-stage {
  position: relative;
  display: grid;
  place-items: center;
}
.about-big-button {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff5f8f, #d1004b 62%, #8c0032 100%);
  box-shadow:
    0 16px 0 #6d0027,
    0 26px 44px -14px rgba(209, 0, 75, 0.7),
    inset 0 -6px 14px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  animation: aboutButtonPulse 2.8s ease-in-out infinite;
}
.about-big-button-face {
  display: block;
  padding: 0 24px;
}
.about-big-button:hover {
  transform: translateY(-3px);
}
.about-big-button:active {
  transform: translateY(13px) scale(0.97);
  box-shadow:
    0 3px 0 #6d0027,
    0 8px 18px -8px rgba(209, 0, 75, 0.6),
    inset 0 -3px 10px rgba(0, 0, 0, 0.3);
  animation: none;
}
@keyframes aboutButtonPulse {
  0%, 100% { box-shadow: 0 16px 0 #6d0027, 0 26px 44px -14px rgba(209, 0, 75, 0.7), inset 0 -6px 14px rgba(0,0,0,0.28); }
  50% { box-shadow: 0 16px 0 #6d0027, 0 26px 60px -8px rgba(255, 95, 143, 0.9), inset 0 -6px 14px rgba(0,0,0,0.28); }
}

.about-confetti {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 5;
}
.about-confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  animation: aboutConfettiFly 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes aboutConfettiFly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2) rotate(0deg);
  }
  12% { opacity: 1; }
  45% {
    transform: translate(calc(var(--cx) * 0.6), var(--cy)) scale(var(--cs)) rotate(calc(var(--cr) * 0.5));
  }
  100% {
    opacity: 0;
    transform: translate(var(--cx), calc(var(--cy) * -0.35 + 260px)) scale(var(--cs)) rotate(var(--cr));
  }
}

/* ==========================  GREEN / RED FLAGS  ========================== */
.about-flags-section {
  padding: 90px 0 100px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
}
.about-flags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.about-flag-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px -32px rgba(18, 17, 28, 0.42);
  transition: opacity 0.7s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.about-flag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 58px -28px rgba(18, 17, 28, 0.4);
}
.about-flag-green { border-top: 4px solid #14b877; }
.about-flag-red { border-top: 4px solid var(--pink); }
.about-flag-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.about-flag-emoji {
  font-size: 28px;
  animation: aboutFlagWave 3.4s ease-in-out infinite;
  transform-origin: 20% 80%;
}
@keyframes aboutFlagWave {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(10deg); }
}
.about-flag-head h3 {
  font-size: 20px;
  font-weight: 700;
}
.about-flag-card ul {
  display: grid;
  gap: 14px;
}
.about-flag-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.about-flag-card.in li {
  animation: aboutFlagItemIn 0.5s var(--ease) both;
  animation-delay: calc(var(--g) * 110ms);
}
@keyframes aboutFlagItemIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.about-flag-tick,
.about-flag-cross {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  transition: transform 0.3s var(--ease);
}
.about-flag-tick { background: rgba(20, 184, 119, 0.16); color: #0e8f5c; }
.about-flag-cross { background: rgba(248, 34, 139, 0.14); color: var(--pink); }
.about-flag-card li:hover .about-flag-tick,
.about-flag-card li:hover .about-flag-cross {
  transform: scale(1.25) rotate(12deg);
}

/* ==========================  RESPONSIVE  ========================== */
@media (max-width: 980px) {
  .about-stats-grid,
  .about-values-grid,
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-flags-grid {
    grid-template-columns: 1fr;
  }
  .about-button-zone {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .about-button-copy p { margin: 0 auto; }
}

@media (max-width: 900px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 12px; }
}

@media (max-width: 860px) {
  .about-timeline-rail { left: 22px; }
  .about-chapter,
  .about-chapter.is-right {
    width: 100%;
    margin-left: 0;
    padding: 0 0 32px 62px;
  }
  .about-chapter-node,
  .about-chapter.is-right .about-chapter-node {
    left: -4px;
    right: auto;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 720px) {
  .about-hero { padding: 126px 0 72px; }
  .about-floater { display: none; }
  .about-floater:nth-child(1),
  .about-floater:nth-child(3),
  .about-floater:nth-child(5) { display: block; }
  .about-alias { white-space: normal; }
  .about-alias-slot { min-height: 2.6em; }
  .about-stats-grid,
  .about-values-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-section,
  .about-values-section,
  .about-team-section,
  .about-culture-section {
    padding: 68px 0;
  }
  .about-truth-body > p { padding-left: 24px; }
  .about-button-zone { padding: 32px 24px; }
  .about-team-note { flex-direction: column; text-align: center; }
  .about-hero-actions { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-spotlight,
  .about-hero-grid-lines,
  .about-blob,
  .about-floaters {
    animation: none !important;
    display: none;
  }
  .about-char,
  .about-eyebrow-wave,
  .about-eyebrow-dot,
  .about-sticker,
  .about-sticker-emoji,
  .about-scroll-mouse::after,
  .about-marquee-track,
  .about-marquee-star,
  .about-timeline-rail,
  .about-chapter-emoji,
  .about-chapter-ring,
  .about-value-back-emoji,
  .about-team-note-emoji,
  .about-flag-emoji,
  .about-big-button,
  .about-stat-shine,
  .about-squiggle::after,
  .about-strike::after,
  .about-highlight,
  .about-flag-card.in li,
  .about-avatar-ring,
  .about-truth-emoji {
    animation: none !important;
  }
  .about-char { opacity: 1; transform: none; }
  .about-squiggle::after,
  .about-strike::after { transform: none; opacity: 1; }
  .about-team-card:hover,
  .about-truth:hover,
  .about-stat-tile:hover,
  .about-flag-card:hover,
  .about-chapter:hover .about-chapter-card {
    transform: none;
    animation: none;
  }
  /* no flipping — stack both faces so the punchline stays readable */
  .about-flip,
  .about-flip-inner { min-height: 0; }
  .about-flip-inner,
  .about-flip-inner:hover,
  .about-flip-inner:focus { transform: none; }
  .about-flip-face {
    position: relative;
    inset: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
  .about-flip-back {
    transform: none;
    margin-top: 12px;
  }
  .about-flip-cue { display: none; }
  .about-marquee-row { width: 100%; }
  .about-marquee-track:nth-child(2) { display: none; }
}

/* ==========================================================================
   FUNKY & STYLISH HOME PAGE DESIGN SYSTEM
   ========================================================================== */

/* ---------- Shared Funky Section Headers & Badges ---------- */
.funky-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.funky-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(110, 34, 184, 0.08);
  border: 1px solid rgba(110, 34, 184, 0.22);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(110, 34, 184, 0.08);
}

.funky-pill-badge.badge-warning {
  background: rgba(248, 34, 139, 0.08);
  border-color: rgba(248, 34, 139, 0.25);
  color: var(--pink);
}

.pulsing-neon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  animation: neonPulse 1.8s infinite ease-in-out;
}

.pulsing-neon-dot.dot-pink {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

@keyframes neonPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 16px var(--pink); }
}

.funky-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.funky-gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.funky-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- 1. Funky Dual-Track Kinetic Neo-Marquee ---------- */
.funky-marquee-wrap {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 32px -16px rgba(18, 17, 28, 0.06);
}

.funky-marquee-wrap::before,
.funky-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.funky-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--surface) 20%, rgba(255, 255, 255, 0));
}

.funky-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--surface) 20%, rgba(255, 255, 255, 0));
}

.funky-ticker {
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.funky-ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.ticker-forward .funky-ticker-track {
  animation: funkyScrollForward 35s linear infinite;
}

.ticker-reverse .funky-ticker-track {
  animation: funkyScrollReverse 32s linear infinite;
}

.funky-ticker:hover .funky-ticker-track {
  animation-play-state: paused;
}

@keyframes funkyScrollForward {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@keyframes funkyScrollReverse {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

.funky-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(248, 249, 252, 0.9);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.funky-ticker-item:hover {
  transform: translateY(-2px) scale(1.03);
}

.funky-ticker-item.glow-pink:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 18px rgba(248, 34, 139, 0.2);
}

.funky-ticker-item.glow-blue:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(46, 157, 244, 0.2);
}

.funky-ticker-item.glow-purple:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 18px rgba(110, 34, 184, 0.2);
}

.ticker-emoji { font-size: 16px; }
.ticker-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--grad-brand);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ticker-sparkle { color: var(--pink); margin-left: 4px; font-size: 12px; }

.funky-ticker-item-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 12px;
}

.ticker-tag-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(18, 17, 28, 0.05);
  color: var(--purple);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(110, 34, 184, 0.12);
}

.ticker-dot { color: var(--pink); font-size: 14px; margin-left: 8px; }

/* ---------- 2. Funky Bento Grid Capabilities Matrix ---------- */
.funky-bento-section {
  padding: 130px 0 110px;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(248, 34, 139, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(46, 157, 244, 0.04) 0%, transparent 45%);
}

.funky-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.funky-bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  box-shadow: 0 12px 36px -16px rgba(18, 17, 28, 0.06);
}

.funky-bento-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.funky-bento-card.bento-glow-pink:hover {
  border-color: rgba(248, 34, 139, 0.45);
  box-shadow: 0 24px 54px -18px rgba(248, 34, 139, 0.22);
}

.funky-bento-card.bento-glow-blue:hover {
  border-color: rgba(46, 157, 244, 0.45);
  box-shadow: 0 24px 54px -18px rgba(46, 157, 244, 0.22);
}

.funky-bento-card.bento-glow-purple:hover {
  border-color: rgba(110, 34, 184, 0.45);
  box-shadow: 0 24px 54px -18px rgba(110, 34, 184, 0.22);
}

.funky-bento-card.bento-featured {
  grid-column: span 2;
  background: linear-gradient(145deg, #ffffff 0%, rgba(248, 34, 139, 0.02) 100%);
}

.bento-glass-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}

.funky-bento-card:hover .bento-glass-shine {
  left: 200%;
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bento-icon-orb {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 34, 139, 0.1), rgba(46, 157, 244, 0.1));
  border: 1px solid rgba(110, 34, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.35s var(--ease);
}

.funky-bento-card:hover .bento-icon-orb {
  transform: scale(1.15) rotate(6deg);
}

.bento-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(18, 17, 28, 0.04);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}

.bento-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 8px;
}

.bento-card-title {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--ink);
}

.bento-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(18, 17, 28, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.bento-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(18, 17, 28, 0.03);
  border: 1px solid rgba(18, 17, 28, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
}

.bento-link-arrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.funky-bento-card:hover .bento-link-arrow {
  gap: 8px;
  color: var(--pink);
}

.bento-cta-bar {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(248, 34, 139, 0.06), rgba(46, 157, 244, 0.06));
  border: 1px solid rgba(110, 34, 184, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bento-cta-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-fire-badge {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink);
}

.bento-cta-content p {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 980px) {
  .funky-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .funky-bento-card.bento-featured { grid-column: span 2; }
}

@media (max-width: 680px) {
  .funky-bento-grid { grid-template-columns: 1fr; }
  .funky-bento-card.bento-featured { grid-column: span 1; }
  .bento-cta-bar { flex-direction: column; text-align: center; }
}

/* ---------- 4. Funky Vs Boring Side-by-Side Reality Check ---------- */
.funky-vs-section {
  padding: 120px 0;
  background: #12111c;
  color: #fff;
  border-radius: 36px;
  margin: 40px 16px;
  position: relative;
  overflow: hidden;
}

.funky-vs-section .funky-title {
  color: #fff;
}

.funky-vs-section .funky-subtitle {
  color: #a09eb5;
}

.funky-vs-container {
  max-width: 980px;
  margin: 0 auto;
}

.vs-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.vs-head-col {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

.boring-head {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.codestroom-head {
  background: linear-gradient(135deg, rgba(248, 34, 139, 0.15), rgba(110, 34, 184, 0.2));
  border: 1px solid rgba(248, 34, 139, 0.35);
  box-shadow: 0 8px 24px rgba(248, 34, 139, 0.15);
}

.vs-head-col .emoji-badge { font-size: 28px; }
.vs-head-col h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.vs-head-col p { font-size: 13px; color: #a09eb5; }

.vs-rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vs-row-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.vs-row-card:hover {
  transform: scale(1.01);
  border-color: rgba(255, 255, 255, 0.14);
}

.vs-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cross-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.cell-boring .vs-text {
  font-size: 14.5px;
  color: #8c89a0;
  line-height: 1.45;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.4);
}

.cell-funky .vs-text {
  font-size: 14.5px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.45;
}

.vs-cell-divider {
  padding: 0 16px;
}

.vs-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--pink);
  background: rgba(248, 34, 139, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
}

.vs-bottom-banner {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-sparkle { font-size: 28px; }
.banner-left h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.banner-left p { font-size: 14px; color: #a09eb5; }

@media (max-width: 768px) {
  .vs-table-head { grid-template-columns: 1fr; }
  .vs-row-card { grid-template-columns: 1fr; gap: 12px; }
  .vs-cell-divider { display: none; }
  .vs-bottom-banner { flex-direction: column; text-align: center; }
  .banner-left { flex-direction: column; }
}

/* ---------- 5. Funky Showcase & Industry Impact ---------- */
.funky-showcase-section {
  padding: 120px 0;
}

.showcase-tab-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}

.showcase-tab-btn:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  color: var(--ink);
}

.showcase-tab-btn.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(110, 34, 184, 0.3);
}

.showcase-display-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 28px 64px -28px rgba(18, 17, 28, 0.1);
  position: relative;
  overflow: hidden;
}

.showcase-display-card.showcase-glow-pink {
  border-color: rgba(248, 34, 139, 0.3);
}

.showcase-display-card.showcase-glow-blue {
  border-color: rgba(46, 157, 244, 0.3);
}

.showcase-display-card.showcase-glow-purple {
  border-color: rgba(110, 34, 184, 0.3);
}

.showcase-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.showcase-emoji-large { font-size: 32px; }

.showcase-industry-tag {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  background: rgba(110, 34, 184, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

.showcase-headline {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.showcase-summary {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.showcase-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.showcase-tag-pill {
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(18, 17, 28, 0.03);
  border: 1px solid rgba(18, 17, 28, 0.09);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--ink);
}

.showcase-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.metrics-box-glow {
  background: linear-gradient(145deg, #12111c, #1a1829);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: 0 20px 48px rgba(18, 17, 28, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 26px;
}

.metrics-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-cell {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-cell:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 13.5px;
  color: #a09eb5;
}

@media (max-width: 900px) {
  .showcase-display-card { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- 6. Funky Testimonials Wall ---------- */
.funky-testimonials-section {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(248, 249, 252, 0) 0%, rgba(248, 34, 139, 0.03) 50%, rgba(248, 249, 252, 0) 100%);
}

.funky-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.funky-testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  box-shadow: 0 12px 32px -16px rgba(18, 17, 28, 0.06);
}

.funky-testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(18, 17, 28, 0.12);
}

.funky-testi-card.testi-glow-pink:hover { border-color: rgba(248, 34, 139, 0.4); }
.funky-testi-card.testi-glow-blue:hover { border-color: rgba(46, 157, 244, 0.4); }
.funky-testi-card.testi-glow-purple:hover { border-color: rgba(110, 34, 184, 0.4); }

.testi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stars-row {
  color: #f59e0b;
  display: flex;
  gap: 2px;
  font-size: 16px;
}

.testi-verified-pill {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}

.testi-quote-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 26px;
}

.testi-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 17, 28, 0.06);
}

.testi-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(110, 34, 184, 0.25);
}

.testi-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.testi-role {
  font-size: 12.5px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .funky-testi-grid { grid-template-columns: 1fr; }
}

/* ---------- 7. Funky FAQ Accordion ---------- */
.funky-faq-section {
  padding: 120px 0;
}

.funky-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: var(--purple);
  box-shadow: 0 10px 28px -12px rgba(110, 34, 184, 0.15);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question-btn:hover {
  color: var(--purple);
}

.faq-toggle-icon {
  font-size: 22px;
  font-weight: 600;
  color: var(--purple);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(110, 34, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-answer-panel {
  padding: 0 28px 24px;
}

.faq-answer-panel p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-bottom-hint {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.faq-bottom-hint p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- 8. Funky Launchpad CTA Section ---------- */
.funky-cta-section {
  padding: 120px 0;
}

.funky-cta-box {
  position: relative;
  background: #12111c;
  color: #fff;
  border-radius: 36px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 36px 80px -28px rgba(18, 17, 28, 0.35);
}

.cta-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.cta-ambient-glow.glow-1 {
  top: -120px;
  left: -80px;
  background: var(--pink);
}

.cta-ambient-glow.glow-2 {
  bottom: -120px;
  right: -80px;
  background: var(--blue);
}

.cta-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
  background: rgba(248, 34, 139, 0.12);
  border: 1px solid rgba(248, 34, 139, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.funky-cta-heading {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.funky-cta-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: #a09eb5;
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.funky-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.copy-email-btn {
  position: relative;
  cursor: pointer;
}

.copied-tooltip {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  animation: tooltipPop 0.25s var(--ease);
}

@keyframes tooltipPop {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cta-book-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-book-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.funky-cta-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #8c89a0;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .funky-cta-box { padding: 50px 24px; }
  .funky-cta-actions { flex-direction: column; width: 100%; }
  .funky-cta-actions .btn { width: 100%; justify-content: center; }
}


/* ---------- preloader ---------- */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  transition: opacity 0.5s ease-in;
}
.preloader.fade-out{
  opacity: 0;
  pointer-events: none;
}
.preloader-logo-wrap{
  transform: scale(0.7);
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.preloader.growing .preloader-logo-wrap{
  transform: scale(1.6);
}
.preloader.fade-out .preloader-logo-wrap{
  transform: scale(24);
  transition: transform 0.55s cubic-bezier(0.55, 0, 1, 0.45);
}
.preloader-logo{
  display: block;
  width: 64px;
  height: 64px;
  animation: preloaderSpin 0.7s linear infinite;
}
@keyframes preloaderSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce){
  .preloader-logo{ animation: none; }
  .preloader-logo-wrap{ transition: none; transform: scale(1); }
  .preloader.fade-out .preloader-logo-wrap{ transform: scale(1); }
}

/* ---------- legal pages ---------- */
.legal-page{
  padding: 160px 0 100px;
}
.legal-wrap{
  max-width: 820px;
}
.legal-updated{
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-faint);
}
.legal-content{
  margin-top: 50px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-content h2{
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 46px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-of-type{
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content h3{
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 26px;
  margin-bottom: 12px;
}
.legal-content p{
  margin-bottom: 16px;
}
.legal-content ul{
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content a{
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover{ color: var(--pink); }
.legal-content strong{ color: var(--ink); font-weight: 600; }
.legal-ack{
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

@media (max-width: 640px){
  .legal-page{ padding: 130px 0 70px; }
}

/* ==========================================================================
   PORTFOLIO / CASE STUDIES / BLOG
   Shared page shell (.page-hero, .filter-bar) plus the three page layouts.
   Kept in its own file so index.css stays navigable; loaded from main.jsx
   after index.css, and relies on the design tokens declared there.
   ========================================================================== */

/* ---------- shared page hero ---------- */
.page-hero{
  position: relative;
  padding: 146px 0 84px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 20%, rgba(248,34,139,0.12), transparent 44%),
    radial-gradient(circle at 86% 10%, rgba(46,157,244,0.13), transparent 46%),
    radial-gradient(circle at 62% 96%, rgba(110,34,184,0.11), transparent 52%);
}
.page-hero-inner{ position: relative; z-index: 3; }
.page-hero-glow{
  position: absolute; z-index: 0;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.page-hero-glow-a{
  width: 380px; height: 380px; top: -12%; left: -6%;
  background: rgba(248,34,139,0.26);
}
.page-hero-glow-b{
  width: 320px; height: 320px; top: 10%; right: -8%;
  background: rgba(46,157,244,0.26);
}
.page-hero-grid-lines{
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(110,34,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,34,184,0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 40% 40%, #000 8%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 40% 40%, #000 8%, transparent 74%);
}
.page-hero-copy{ max-width: 760px; }
.page-hero-copy h1{
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 700;
}
.page-hero-lead{
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
}
.page-hero-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.page-hero-stat-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-stat-lbl{
  margin-top: 4px;
  font-size: 13px; color: var(--ink-faint); line-height: 1.4;
}

@media (max-width: 760px){
  .page-hero{ padding: 120px 0 64px; }
  .page-hero-stats{ grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* ---------- shared filter chips ---------- */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}
.filter-chip{
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.filter-chip:hover{ color: var(--ink); border-color: rgba(18,17,28,0.22); transform: translateY(-1px); }
.filter-chip.is-active{
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(110,34,184,0.24);
}

/* ---------- shared breadcrumbs + badge (used on the dark detail heroes) ---------- */
.crumbs{
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.62);
  margin-bottom: 24px;
}
.crumbs a{ color: rgba(255,255,255,0.9); }
.crumbs a:hover{ text-decoration: underline; }

.case-badge{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

/* ==================== portfolio ==================== */
.portfolio-section{ padding: 96px 0 120px; }
.portfolio-block{ margin-bottom: 96px; }
.portfolio-block:last-of-type{ margin-bottom: 0; }
.portfolio-block-head{ max-width: 640px; margin-bottom: 44px; }
.portfolio-block-head h2{ font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.portfolio-block-head p{ margin-top: 14px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }

.product-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.product-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover{
  transform: translateY(-5px);
  border-color: rgba(110,34,184,0.24);
  box-shadow: 0 22px 48px rgba(18,17,28,0.09);
}
.product-card-top{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.product-mark{
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.product-mark.grad-1{ background: linear-gradient(135deg, var(--pink), var(--purple)); }
.product-mark.grad-2{ background: linear-gradient(135deg, var(--purple), var(--blue)); }
.product-mark.grad-3{ background: linear-gradient(135deg, var(--blue), var(--pink)); }
.product-status{
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
}
.product-status.status-live{ color: #0f8a5f; border-color: rgba(15,138,95,0.28); background: rgba(15,138,95,0.08); }
.product-status.status-beta{ color: var(--purple); border-color: rgba(110,34,184,0.28); background: rgba(110,34,184,0.08); }
.product-status.status-early-access{ color: var(--pink); border-color: rgba(248,34,139,0.28); background: rgba(248,34,139,0.08); }
.product-card h3{ font-size: 24px; font-weight: 700; }
.product-tagline{ margin-top: 8px; font-size: 15.5px; font-weight: 600; color: var(--purple); line-height: 1.5; }
.product-desc{ margin-top: 14px; font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.product-highlights{ margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.product-highlights li{
  position: relative;
  padding-left: 22px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.product-highlights li::before{
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand);
}

/* .tag-list is a column stack elsewhere on the site; these pages want chips */
.product-card .tag-list,
.project-card .tag-list,
.case-stack{
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.product-card .tag,
.project-card .tag,
.case-stack .tag,
.post-tags .tag{
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(110,34,184,0.07);
  font-size: 12px; font-weight: 600;
  color: var(--purple);
}

.project-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.project-card:hover{
  transform: translateY(-5px);
  border-color: rgba(46,157,244,0.28);
  box-shadow: 0 22px 48px rgba(18,17,28,0.09);
}
.project-card-meta{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.project-industry{ color: var(--pink); }
.project-year{ color: var(--ink-faint); }
.project-card h3{ font-size: 19px; font-weight: 700; line-height: 1.3; }
.project-summary{ margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.project-metrics{
  display: flex; gap: 24px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.project-metric-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 700; color: var(--ink);
}
.project-metric-lbl{ font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; line-height: 1.35; }
.project-scope{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px;
}
.project-scope span{
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-soft);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portfolio-empty{
  padding: 56px 0;
  text-align: center;
  font-size: 16px; color: var(--ink-soft);
}
.portfolio-empty button{
  color: var(--purple); font-weight: 700; font-size: inherit;
  text-decoration: underline;
}

.portfolio-crosslink{
  margin-top: 88px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--grad-soft);
}
.portfolio-crosslink h3{ font-size: 22px; font-weight: 700; }
.portfolio-crosslink p{ margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

@media (max-width: 1000px){
  .project-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .portfolio-section{ padding: 72px 0 96px; }
  .product-grid, .project-grid{ grid-template-columns: 1fr; }
  .product-card, .project-card{ padding: 26px; }
  .portfolio-crosslink{ padding: 28px 24px; }
}

/* ==================== case studies ==================== */
.case-section{ padding: 96px 0 120px; }

.case-featured{
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 72px;
}
.case-featured.grad-1{ background: linear-gradient(140deg, var(--navy), var(--purple) 58%, var(--pink) 125%); }
.case-featured.grad-2{ background: linear-gradient(140deg, #1a2b57, var(--blue) 118%); }
.case-featured.grad-3{ background: linear-gradient(140deg, #4a1250, var(--pink) 112%); }
.case-featured-body{ position: relative; z-index: 1; max-width: 780px; }
.case-featured h2{ font-size: clamp(26px, 3.4vw, 40px); line-height: 1.14; font-weight: 700; }
.case-featured-body > p{
  margin-top: 18px; font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.78); max-width: 640px;
}
.case-featured-stats{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 38px;
}
.case-stat-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
}
.case-stat-lbl{ font-size: 12.5px; margin-top: 3px; line-height: 1.4; opacity: 0.72; }
.case-featured-foot{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.case-meta{ display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.case-meta span::before{ content: '— '; opacity: 0.5; }
.case-meta span:first-child::before{ content: ''; }
.case-featured .btn-primary{ background: #fff; color: var(--ink); }

.case-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.case-card:hover{
  transform: translateY(-5px);
  border-color: rgba(110,34,184,0.24);
  box-shadow: 0 22px 48px rgba(18,17,28,0.09);
}
.case-card-meta{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.case-card-service{ color: var(--pink); }
.case-card-year{ color: var(--ink-faint); }
.case-card h3{ font-size: 20px; font-weight: 700; line-height: 1.28; }
.case-card h3 a{ transition: color .2s; }
.case-card h3 a:hover{ color: var(--purple); }
.case-card-client{ margin-top: 8px; font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.case-card-excerpt{ margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.case-card-stats{
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case-card-stats .case-stat-num{ font-size: 20px; color: var(--purple); }
.case-card-stats .case-stat-lbl{ color: var(--ink-faint); opacity: 1; font-size: 11.5px; }
.case-card-link{
  margin-top: auto; padding-top: 22px;
  font-size: 14px; font-weight: 700; color: var(--purple);
  transition: transform .25s var(--ease);
  display: inline-block;
}
.case-card-link:hover{ transform: translateX(4px); }

/* ---------- case study detail ---------- */
.case-detail-hero{
  padding: 148px 0 72px;
  color: #fff;
}
.case-detail-hero.grad-1{ background: linear-gradient(140deg, var(--navy), var(--purple) 60%, var(--pink) 130%); }
.case-detail-hero.grad-2{ background: linear-gradient(140deg, #1a2b57, var(--blue) 120%); }
.case-detail-hero.grad-3{ background: linear-gradient(140deg, #4a1250, var(--pink) 115%); }
.case-detail-hero h1{
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.1; font-weight: 700;
  max-width: 900px;
}
.case-detail-lead{
  margin-top: 20px; font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.8); max-width: 700px;
}
.case-detail-facts{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin: 44px 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.case-detail-facts div{ display: flex; flex-direction: column; gap: 5px; }
.case-detail-facts dt{
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.case-detail-facts dd{ margin: 0; font-size: 15px; font-weight: 600; }

.case-detail-body{ padding: 0 0 110px; }
.case-results-band{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -44px; margin-bottom: 72px;
  padding: 34px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(18,17,28,0.10);
  position: relative; z-index: 2;
}
.case-results-band .case-stat-num{
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-results-band .case-stat-lbl{ color: var(--ink-faint); opacity: 1; }

.case-detail-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.case-block{ margin-bottom: 56px; }
.case-block:last-child{ margin-bottom: 0; }
.case-block h2{ font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; line-height: 1.2; }
.case-block > p{ margin-top: 18px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }

.case-steps{ margin-top: 28px; display: flex; flex-direction: column; gap: 24px; }
.case-steps li{ display: flex; gap: 20px; }
.case-step-num{
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--purple);
}
.case-steps h3{ font-size: 17px; font-weight: 700; }
.case-steps p{ margin-top: 7px; font-size: 15px; line-height: 1.68; color: var(--ink-soft); }

.case-results-list{ margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.case-results-list li{
  position: relative; padding-left: 30px;
  font-size: 15.5px; line-height: 1.68; color: var(--ink-soft);
}
.case-results-list li::before{
  content: '↗';
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--pink);
}

.case-quote{
  margin: 56px 0 0;
  padding: 34px 38px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--pink);
  background: var(--grad-soft);
}
.case-quote p{ font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--ink); }
.case-quote footer{ margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.case-quote strong{ font-size: 14px; }
.case-quote span{ font-size: 13px; color: var(--ink-faint); }

.case-detail-aside{ position: sticky; top: 104px; }
.case-aside-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.case-aside-card h3{ font-size: 19px; font-weight: 700; }
.case-aside-card p{ margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.case-aside-card .btn{ margin-top: 22px; width: 100%; justify-content: center; }
.case-aside-mail{
  display: block; margin-top: 16px; text-align: center;
  font-size: 13.5px; font-weight: 600; color: var(--purple);
}
.case-aside-mail:hover{ text-decoration: underline; }

.case-more{ padding: 0 0 110px; }

@media (max-width: 1000px){
  .case-grid{ grid-template-columns: repeat(2, 1fr); }
  .case-detail-grid{ grid-template-columns: 1fr; gap: 40px; }
  .case-detail-aside{ position: static; }
}
@media (max-width: 760px){
  .case-section{ padding: 72px 0 96px; }
  .case-featured{ padding: 34px 26px; }
  .case-featured-stats{ grid-template-columns: repeat(2, 1fr); }
  .case-grid{ grid-template-columns: 1fr; }
  .case-detail-hero{ padding: 120px 0 60px; }
  .case-detail-facts{ grid-template-columns: repeat(2, 1fr); }
  .case-results-band{ grid-template-columns: repeat(2, 1fr); padding: 26px 24px; margin-top: -32px; }
  .case-quote{ padding: 26px 24px; }
}

/* ==================== blog ==================== */
.blog-section{ padding: 96px 0 120px; }

.blog-featured{
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  margin-bottom: 56px;
}
.blog-featured.grad-1{ background: linear-gradient(140deg, var(--navy), var(--purple) 58%, var(--pink) 125%); }
.blog-featured.grad-2{ background: linear-gradient(140deg, #1a2b57, var(--blue) 118%); }
.blog-featured.grad-3{ background: linear-gradient(140deg, #4a1250, var(--pink) 112%); }
.blog-featured-body{ max-width: 760px; }
.blog-featured h2{ font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; }
.blog-featured h2 a:hover{ text-decoration: underline; }
.blog-featured-body > p{
  margin-top: 18px; font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.blog-featured-meta{
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 24px; font-size: 13.5px; color: rgba(255,255,255,0.7);
}
.blog-featured .btn-primary{ margin-top: 30px; background: #fff; color: var(--ink); }

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.blog-card:hover{
  transform: translateY(-5px);
  border-color: rgba(110,34,184,0.24);
  box-shadow: 0 22px 48px rgba(18,17,28,0.09);
}
.blog-card-band{ height: 8px; }
.blog-card-band.grad-1{ background: linear-gradient(90deg, var(--pink), var(--purple)); }
.blog-card-band.grad-2{ background: linear-gradient(90deg, var(--purple), var(--blue)); }
.blog-card-band.grad-3{ background: linear-gradient(90deg, var(--blue), var(--pink)); }
.blog-card-body{ padding: 30px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.blog-card-cat{ color: var(--pink); }
.blog-card h3{ font-size: 19px; font-weight: 700; line-height: 1.32; }
.blog-card h3 a{ transition: color .2s; }
.blog-card h3 a:hover{ color: var(--purple); }
.blog-card-body > p{ margin-top: 13px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.blog-card-foot{
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 22px;
  font-size: 13px; color: var(--ink-faint);
}
.blog-card-foot .case-card-link{ padding-top: 0; }

/* ---------- blog post detail ---------- */
.post-hero{
  padding: 148px 0 68px;
  color: #fff;
}
.post-hero.grad-1{ background: linear-gradient(140deg, var(--navy), var(--purple) 60%, var(--pink) 130%); }
.post-hero.grad-2{ background: linear-gradient(140deg, #1a2b57, var(--blue) 120%); }
.post-hero.grad-3{ background: linear-gradient(140deg, #4a1250, var(--pink) 115%); }
.post-hero h1{
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12; font-weight: 700;
  max-width: 860px;
}
.post-hero-excerpt{
  margin-top: 20px; font-size: 18px; line-height: 1.62;
  color: rgba(255,255,255,0.8); max-width: 680px;
}
.post-hero-meta{
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 28px; font-size: 13.5px; color: rgba(255,255,255,0.7);
}

.post-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 96px;
}
.post-body p{
  font-size: 17px; line-height: 1.8; color: var(--ink-soft);
  margin-bottom: 22px;
}
.post-body h2{
  font-size: clamp(23px, 2.6vw, 29px);
  font-weight: 700; line-height: 1.25;
  margin: 44px 0 16px;
}
.post-list{ margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.post-list li{
  position: relative; padding-left: 26px;
  font-size: 16.5px; line-height: 1.7; color: var(--ink-soft);
}
.post-list li::before{
  content: '';
  position: absolute; left: 2px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand);
}
.post-quote{
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-md);
  background: var(--grad-soft);
  font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--ink);
}
.post-tags{
  flex-direction: row; flex-wrap: wrap; gap: 8px;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-aside{ position: sticky; top: 104px; }
.post-more{ padding: 0 0 110px; }

@media (max-width: 1000px){
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .post-layout{ grid-template-columns: 1fr; gap: 44px; }
  .post-aside{ position: static; }
}
@media (max-width: 760px){
  .blog-section{ padding: 72px 0 96px; }
  .blog-featured{ padding: 34px 26px; }
  .blog-grid{ grid-template-columns: 1fr; }
  .post-hero{ padding: 120px 0 56px; }
  .post-layout{ padding-top: 56px; padding-bottom: 80px; }
  .post-quote{ padding: 22px 22px; font-size: 17px; }
}
/* ==========================================================================
   CONTACT PAGE — funky edition
   Hero with channel tiles, the brief-writing form card, and the reach tiles.
   Loaded from main.jsx after index.css; reuses the funky design-system
   primitives declared there (.funky-title, .funky-pill-badge, .pulsing-neon-dot).
   ========================================================================== */

/* ==================== hero ==================== */
.contact-hero{
  position: relative;
  padding: 150px 0 92px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(circle at 12% 16%, rgba(248,34,139,0.13), transparent 44%),
    radial-gradient(circle at 88% 14%, rgba(46,157,244,0.14), transparent 46%),
    radial-gradient(circle at 55% 100%, rgba(110,34,184,0.12), transparent 52%);
}
.contact-hero-inner{ position: relative; z-index: 3; }

.contact-hero-spotlight{
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 38%),
    rgba(248,34,139,0.15),
    transparent 70%
  );
  transition: background .15s linear;
}
.contact-hero-grid{
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(rgba(110,34,184,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,34,184,0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 38%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 8%, transparent 72%);
  animation: contactGridDrift 26s linear infinite;
}
@keyframes contactGridDrift{
  to{ background-position: 54px 54px, 54px 54px; }
}

.contact-blob{
  position: absolute; z-index: 0;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  filter: blur(44px);
  pointer-events: none;
  will-change: transform;
}
.contact-blob-a{
  width: 330px; height: 330px; top: 2%; left: -7%;
  background: rgba(248,34,139,0.34);
  animation: contactBlobFloat 18s ease-in-out infinite;
}
.contact-blob-b{
  width: 300px; height: 300px; top: 14%; right: -6%;
  background: rgba(46,157,244,0.32);
  animation: contactBlobFloat 21s ease-in-out infinite reverse;
}
@keyframes contactBlobFloat{
  0%, 100%{ transform: translate(0,0) rotate(0deg); }
  50%{ transform: translate(26px, -22px) rotate(16deg); }
}

.contact-floaters{
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.contact-floater{
  position: absolute;
  font-size: 26px;
  opacity: 0.5;
  animation: contactFloat 13s ease-in-out infinite;
  animation-delay: calc(var(--f) * -2.1s);
}
.contact-floater:nth-child(1){ top: 16%; left: 7%; }
.contact-floater:nth-child(2){ top: 30%; right: 9%; }
.contact-floater:nth-child(3){ top: 62%; left: 5%; }
.contact-floater:nth-child(4){ top: 70%; right: 6%; }
.contact-floater:nth-child(5){ top: 12%; right: 26%; }
.contact-floater:nth-child(6){ top: 78%; left: 24%; }
@keyframes contactFloat{
  0%, 100%{ transform: translateY(0) rotate(-6deg); }
  50%{ transform: translateY(-20px) rotate(8deg); }
}

.contact-hero-title{ max-width: 900px; margin: 0 auto 20px; }
.contact-hero-sub{ margin: 0 auto; }

.contact-opener{
  margin-top: 30px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 15px;
}
.contact-opener-label{
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-opener-slot{
  position: relative;
  display: inline-grid;
  min-width: 260px;
  min-height: 26px;
  text-align: left;
}
.contact-opener-line{
  grid-area: 1 / 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--purple);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.contact-opener-line.is-active{ opacity: 1; transform: translateY(0); }

/* ---------- channel tiles ---------- */
.channel-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}
.channel-tile{
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.channel-tile::before{
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.channel-tile.ch-pink::before{ background: linear-gradient(90deg, var(--pink), var(--purple)); }
.channel-tile.ch-purple::before{ background: linear-gradient(90deg, var(--purple), var(--blue)); }
.channel-tile.ch-blue::before{ background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.channel-tile.ch-mixed::before{ background: var(--grad-brand); }
.channel-tile:hover{
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(110,34,184,0.26);
  box-shadow: 0 24px 48px -18px rgba(110,34,184,0.32);
}
.channel-tile:hover::before{ transform: scaleX(1); }
.channel-emoji{
  display: block;
  font-size: 30px;
  margin-bottom: 14px;
  transition: transform .35s var(--ease);
}
.channel-tile:hover .channel-emoji{ transform: scale(1.18) rotate(-10deg); }
.channel-label{
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.channel-value{
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.channel-hint{
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
}
.channel-arrow{
  position: absolute;
  right: 22px; bottom: 22px;
  font-size: 16px; font-weight: 700;
  color: var(--ink-faint);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.channel-tile:hover .channel-arrow{ opacity: 1; transform: translateX(0); color: var(--pink); }

.contact-status-strip{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.contact-status-strip span{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 1000px){
  .channel-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .contact-hero{ padding: 118px 0 68px; }
  .channel-grid{ grid-template-columns: 1fr; }
  .contact-opener-slot{ min-width: 0; text-align: center; }
  .contact-floater{ font-size: 20px; opacity: 0.35; }
}

/* ==================== form ==================== */
.contact-form-section{ padding: 104px 0 96px; }
.contact-form-section .contact-form-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.funky-form-card{
  position: relative;
  overflow: hidden;
  padding: 0 0 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(18,17,28,0.34);
}
.form-card-glow{
  position: absolute; z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.form-card-glow.glow-a{
  width: 260px; height: 260px; top: -90px; right: -70px;
  background: rgba(248,34,139,0.20);
}
.form-card-glow.glow-b{
  width: 240px; height: 240px; bottom: -100px; left: -80px;
  background: rgba(46,157,244,0.20);
}

.form-card-head{
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(18,17,28,0.02);
}
.form-card-dots{ display: inline-flex; gap: 6px; }
.form-card-dots i{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.form-card-dots i:nth-child(1){ background: rgba(248,34,139,0.55); }
.form-card-dots i:nth-child(2){ background: rgba(110,34,184,0.45); }
.form-card-dots i:nth-child(3){ background: rgba(46,157,244,0.5); }
.form-card-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink-faint);
}
.form-card-flag{
  margin-left: auto;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(110,34,184,0.08);
}

.funky-form-card > *:not(.form-card-glow):not(.form-card-head){
  position: relative; z-index: 1;
  margin-left: 34px;
  margin-right: 34px;
}

.quick-picks{ margin-top: 28px; }
.quick-picks-label{
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.quick-picks-row{ display: flex; flex-wrap: wrap; gap: 9px; }
.quick-pick{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
  transition: transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.quick-pick:hover{
  transform: translateY(-2px) rotate(-1deg);
  color: var(--ink);
  border-color: rgba(110,34,184,0.32);
}
.quick-pick.is-active{
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(110,34,184,0.55);
}

.funky-form-card .form-row{ margin-top: 24px; }
.funky-field{ position: relative; }
.funky-field label{
  display: block;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 8px;
}
.funky-field input,
.funky-field select,
.funky-field textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.funky-field textarea{ resize: vertical; line-height: 1.6; }
.funky-field input::placeholder,
.funky-field textarea::placeholder{ color: var(--ink-faint); }
.funky-field input:focus,
.funky-field select:focus,
.funky-field textarea:focus{
  outline: none;
  background: var(--surface);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(110,34,184,0.14);
}
.funky-field select{
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236e22b8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  cursor: pointer;
}
.field-counter{
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.funky-submit{
  margin-top: 26px;
  width: calc(100% - 68px);
  justify-content: center;
  gap: 9px;
  padding: 16px 26px;
  font-size: 16px;
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(110,34,184,0.62);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.funky-submit:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -14px rgba(110,34,184,0.7);
}
.funky-submit:disabled{ opacity: 0.65; cursor: progress; }
.submit-spinner{
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  animation: submitSpin .7s linear infinite;
}
@keyframes submitSpin{ to{ transform: rotate(360deg); } }

.form-fineprint{
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.funky-status{
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.55;
  animation: statusPop .4s var(--ease);
}
.funky-status.form-status-success{
  background: rgba(110,34,184,0.08);
  border: 1px solid rgba(110,34,184,0.22);
  color: var(--purple);
}
.funky-status.form-status-error{
  background: rgba(248,34,139,0.08);
  border: 1px solid rgba(248,34,139,0.24);
  color: var(--pink);
}
.funky-status a{ font-weight: 700; text-decoration: underline; }
@keyframes statusPop{
  from{ opacity: 0; transform: translateY(8px) scale(0.98); }
  to{ opacity: 1; transform: none; }
}

/* ---------- aside ---------- */
.funky-aside-card{
  position: sticky;
  top: 104px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #1a1730 0%, #2a1b8c 62%, #4a1250 130%);
  color: #fff;
  overflow: hidden;
}
.aside-live{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 22px;
}
.aside-live .pulsing-neon-dot{ background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.funky-aside-card h3{ font-size: 22px; font-weight: 700; }

.funky-steps{
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.funky-steps li{ display: flex; gap: 14px; }
.funky-steps li > div{ display: flex; flex-direction: column; gap: 4px; }
.funky-step-emoji{
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 19px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform .3s var(--ease);
}
.funky-steps li:hover .funky-step-emoji{ transform: rotate(-10deg) scale(1.1); }
.funky-steps strong{
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.funky-step-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.45);
}
.funky-steps span{
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
}

.funky-aside-direct{
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; flex-direction: column; gap: 10px;
}
.funky-aside-direct-label{
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.funky-aside-direct a{
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600;
  color: #fff;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.funky-aside-direct a:hover{ transform: translateX(4px); color: var(--blue-light); }

@media (max-width: 980px){
  .contact-form-section .contact-form-grid{ grid-template-columns: 1fr; }
  .funky-aside-card{ position: static; }
}
@media (max-width: 620px){
  .contact-form-section{ padding: 76px 0 80px; }
  .funky-form-card > *:not(.form-card-glow):not(.form-card-head){
    margin-left: 22px; margin-right: 22px;
  }
  .funky-submit{ width: calc(100% - 44px); }
  .funky-form-card .form-row{ grid-template-columns: 1fr; }
}

/* ==================== reach tiles ==================== */
.contact-details-section{ padding: 0 0 110px; }

.contact-tiles{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-tile{
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.contact-tile::after{
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(38px);
  transition: opacity .4s var(--ease);
}
.contact-tile.tile-pink::after{ background: rgba(248,34,139,0.5); }
.contact-tile.tile-purple::after{ background: rgba(110,34,184,0.5); }
.contact-tile.tile-blue::after{ background: rgba(46,157,244,0.5); }
.contact-tile.tile-mixed::after{ background: rgba(42,27,140,0.5); }
.contact-tile:hover{
  transform: translateY(-6px) rotate(0.5deg);
  border-color: rgba(110,34,184,0.24);
  box-shadow: 0 26px 52px -22px rgba(18,17,28,0.34);
}
.contact-tile:hover::after{ opacity: 1; }
.contact-tile-emoji{
  position: relative; z-index: 1;
  font-size: 34px;
  margin-bottom: 16px;
  transition: transform .35s var(--ease);
}
.contact-tile:hover .contact-tile-emoji{ transform: scale(1.15) rotate(-9deg); }
.contact-tile h3{ position: relative; z-index: 1; font-size: 21px; font-weight: 700; }
.contact-tile p{
  position: relative; z-index: 1;
  margin-top: 11px;
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft);
}
.contact-tile-links{
  position: relative; z-index: 1;
  margin-top: auto;
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.contact-tile-links a{
  font-size: 14px; font-weight: 700;
  color: var(--purple);
  transition: transform .25s var(--ease), color .25s var(--ease);
  align-self: flex-start;
}
.contact-tile-links a:hover{ transform: translateX(4px); color: var(--pink); }

.contact-hours{
  margin-top: 24px;
  padding: 34px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--grad-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 32px;
  align-items: center;
}
.contact-hours-head{ display: flex; gap: 16px; align-items: flex-start; }
.contact-hours-emoji{
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-hours-head h3{ font-size: 20px; font-weight: 700; }
.contact-hours-head p{ margin-top: 7px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.contact-hours-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-hours-grid > div{
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}
.hours-flag{ font-size: 20px; margin-bottom: 4px; }
.contact-hours-grid strong{ font-size: 14px; font-weight: 700; }
.contact-hours-grid span:last-child{ font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

@media (max-width: 1040px){
  .contact-tiles{ grid-template-columns: repeat(2, 1fr); }
  .contact-hours{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .contact-details-section{ padding: 0 0 84px; }
  .contact-tiles{ grid-template-columns: 1fr; }
  .contact-hours{ padding: 26px 22px; }
  .contact-hours-grid{ grid-template-columns: 1fr; }
}
/* ==========================================================================
   SITE-WIDE MOTION & HOVER LAYER
   Generic rules are wrapped in :where() so they carry zero specificity:
   any hover a component already designs for itself still wins, and this
   layer only fills in the elements that had no hover effect at all.
   ========================================================================== */

::selection{ background: rgba(248, 34, 139, .18); color: var(--ink); }

/* ---------- scroll progress ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1001;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(248, 34, 139, .5);
}

/* ---------- cursor ring (fine pointers only, enabled from js) ---------- */
.cursor-ring,
.cursor-dot{
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
  will-change: transform;
}
.has-cursor-ring .cursor-ring,
.has-cursor-ring .cursor-dot{ display: block; }
.cursor-dot{
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--pink);
}
.cursor-ring::before{
  content: '';
  position: absolute;
  width: 34px; height: 34px;
  left: -17px; top: -17px;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 34, 184, .45);
  opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), left .3s var(--ease), top .3s var(--ease),
              background .3s, border-color .3s, opacity .3s, border-radius .3s;
}
.cursor-ring.is-visible::before{ opacity: 1; }
.cursor-ring.is-link::before{
  width: 54px; height: 54px; left: -27px; top: -27px;
  background: rgba(248, 34, 139, .1);
  border-color: rgba(248, 34, 139, .6);
}
.cursor-ring.is-card::before{
  width: 76px; height: 76px; left: -38px; top: -38px;
  background: rgba(46, 157, 244, .07);
  border-color: rgba(46, 157, 244, .45);
  border-style: dashed;
}
.cursor-ring.is-text::before{ width: 4px; height: 28px; left: -2px; top: -14px; border-radius: 2px; opacity: .4; }
.cursor-ring.is-down::before{ width: 24px; height: 24px; left: -12px; top: -12px; background: rgba(248, 34, 139, .25); }

/* ---------- route change ---------- */
main.route-enter > *{ animation: routeIn .55s var(--ease) both; }
@keyframes routeIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}

/* ---------- auto scroll-in for sections without their own reveal ---------- */
.auto-reveal{
  opacity: 0;
  translate: 0 44px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}
.auto-reveal.auto-in{ opacity: 1; translate: none; }

/* ---------- buttons: lift, light sweep, press ---------- */
.btn{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.4) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.btn:hover::after{ transform: translateX(130%); }
.btn-ghost::after,
.btn-outline::after{ background: linear-gradient(100deg, transparent 25%, rgba(110,34,184,.12) 50%, transparent 75%); }
.btn:active{ scale: .97; transition-duration: .08s; }
/* the copy-email button shows a tooltip above itself, so it can't clip */
.copy-email-btn{ overflow: visible; }
.copy-email-btn::after{ display: none; }
:where(.btn-ghost, .btn-outline):hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(110, 34, 184, .35);
}

/* ---------- generic links & controls ---------- */
:where(a, button, [role="button"], [role="tab"]){
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), translate .25s var(--ease), scale .25s var(--ease),
              box-shadow .25s var(--ease), opacity .25s var(--ease);
}
:where(button, [role="tab"]):where(:not(:disabled)):hover{ translate: 0 -1px; }
:where(button, [role="tab"]):where(:not(:disabled)):active{ scale: .97; }

/* inline text links: underline draws in from the left */
:where(main p, main li, footer, .footer-legal-link) a:where(:not(.btn):not([class*="card"]):not([class*="btn"])){
  background-image: linear-gradient(90deg, var(--pink), var(--purple));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size .35s var(--ease), color .25s var(--ease);
}
:where(main p, main li, footer, .footer-legal-link) a:where(:not(.btn):not([class*="card"]):not([class*="btn"])):hover{
  background-size: 100% 1.5px;
  color: var(--purple);
}
footer .socials a:hover{ background-size: 0 0; }

/* icons inside links and buttons */
:where(a, button) svg{ transition: transform .3s var(--ease); }
:where(a, button):hover > svg:last-child:not(:first-child){ transform: translateX(3px); }
:where(a, button):hover > svg:only-child{ transform: scale(1.12) rotate(-6deg); }
:where(.socials a){ display: inline-flex; }
:where(.socials a):hover{ transform: translateY(-3px) rotate(-6deg); }
:where(.back-to-top):hover{ transform: translateY(-4px); }

/* ---------- cards: lift + glow ---------- */
:where([class$="-card"], [class*="-card "], [class*="card-item"]):where(:not([class*="form"]):not([class*="estimator"]):not([class*="stats"]):not(.spotlight)){
  transition: transform .35s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
:where([class$="-card"], [class*="-card "], [class*="card-item"]):where(:not([class*="form"]):not([class*="estimator"]):not([class*="stats"]):not(.spotlight)):hover{
  translate: 0 -5px;
  box-shadow: 0 22px 44px -22px rgba(42, 27, 140, .35);
  border-color: rgba(110, 34, 184, .28);
}
/* images inside linked cards ease in a touch */
:where(a[class*="card"]) img{ transition: transform .6s var(--ease), filter .6s var(--ease); }
:where(a[class*="card"]):hover img{ transform: scale(1.03); filter: saturate(1.1); }

/* small pills & chips */
/* suffix matches only, so "pillar" or "stage" don't count as pills/tags */
:where([class$="-pill"], [class*="-pill "], [class$="-chip"], [class*="-chip "], [class$="-tag"], [class*="-tag "]){
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
:where([class$="-pill"], [class*="-pill "], [class$="-chip"], [class*="-chip "], [class$="-tag"], [class*="-tag "]):hover{
  translate: 0 -2px;
}

/* ---------- form fields ---------- */
:where(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea){
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
:where(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea):hover{
  border-color: rgba(110, 34, 184, .4);
}
:where(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea):focus{
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(110, 34, 184, .12);
  outline: none;
}

/* ---------- headings: gradient words shimmer on hover ---------- */
:where(h1, h2) :where(em, .grad, .funky-gradient-text){ transition: filter .4s var(--ease); }
:where(h1, h2):hover :where(em, .grad, .funky-gradient-text){ filter: brightness(1.15) saturate(1.2); }

/* ---------- brand mark ---------- */
.brand .mark{ transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover .mark{ transform: rotate(-12deg) scale(1.12); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .cursor-ring, .cursor-dot{ display: none !important; }
  main.route-enter > *{ animation: none; }
  .auto-reveal{ opacity: 1; translate: none; transition: none; }
  .btn::after{ display: none; }
  :where(*):hover{ translate: none !important; }
}
/* =========================================================
   Header → Services mega menu (two paths + live preview)
   ========================================================= */
.mm-overlay {
  /* centred under the fixed header (header is full-width at top:0, so this
     lands in the same place whether the header or the viewport is the box) */
  position: fixed;
  top: 66px;
  left: 50%;
  width: min(960px, calc(100vw - 32px));
  padding-top: 16px; /* hover bridge from the nav link */
  transform: translateX(-50%);
  z-index: 1000;
  animation: mmIn 0.35s var(--ease) both;
}
@keyframes mmIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateX(-50%); }
}

.mm-card {
  --tone: #f02f7d;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  grid-template-rows: auto auto;
  gap: 0 8px;
  padding: 18px 18px 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(42, 27, 140, 0.45), 0 0 0 1px rgba(110, 34, 184, 0.1);
  overflow: hidden;
}
.mm-card--build { --tone: #2e9df4; }
/* logo-gradient top edge */
.mm-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #f02f7d, #6e22b8 50%, #49b4f2);
}

/* ---- path columns ---- */
.mm-col { padding: 6px 4px 14px; }
.mm-col--grow { --c: #f02f7d; }
.mm-col--build { --c: #2e9df4; }
.nav-links .mm-col-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px 12px;
}
.mm-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c);
}
.mm-col-sub { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); transition: color 0.2s; }
.nav-links .mm-col-head:hover .mm-col-sub { color: var(--c); }
.mm-col ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mm-col li { animation: mmItem 0.4s var(--ease) both; animation-delay: calc(var(--i) * 25ms + 60ms); }
@keyframes mmItem { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.nav-links .mm-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, transform 0.25s var(--ease);
}
.mm-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, #fff);
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.nav-links .mm-item.is-on {
  background: color-mix(in srgb, var(--c) 8%, #fff);
  transform: translateX(4px);
}
.nav-links .mm-item.is-on .mm-icon { color: #fff; background: var(--c); transform: rotate(-8deg); }

/* ---- live preview ---- */
.mm-preview {
  position: relative;
  grid-row: 1;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 14px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(110, 34, 184, 0.55), transparent 70%),
    #120f2b;
  animation: mmFade 0.35s var(--ease) both;
  transition: background 0.5s;
}
@keyframes mmFade { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mm-preview-path {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mm-preview-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: 4px;
  border-radius: 16px;
  background: var(--tone);
  box-shadow: 0 10px 24px -8px var(--tone);
}
.mm-preview h4 { font-size: 22px; line-height: 1.15; }
.mm-preview p { font-size: 14px; line-height: 1.5; opacity: 0.8; }
.nav-links .mm-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s;
}
.nav-links .mm-proof:hover { background: rgba(255, 255, 255, 0.18); }
.nav-links .mm-proof > span { display: flex; flex-direction: column; min-width: 0; }
.nav-links .mm-proof small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #7ef0a8; }
.nav-links .mm-proof strong { font-size: 14px; }
.nav-links .mm-proof em { font-style: normal; font-size: 12.5px; opacity: 0.8; }
.mm-proof-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #fff; }
.mm-proof-shot { width: 64px; height: 42px; border-radius: 8px; object-fit: cover; object-position: top; }
.nav-links .mm-preview-cta {
  margin-top: auto;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  transition: transform 0.25s var(--ease);
}
.nav-links .mm-preview-cta:hover { transform: translateX(3px); }

.mm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mm-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---- footer row ---- */
.mm-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -18px;
  padding: 12px 18px;
  background: #f6f4fb;
  border-top: 1px solid var(--line);
}
.nav-links .mm-foot a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.nav-links .mm-foot a:hover { border-color: var(--purple); transform: translateY(-1px); }
.nav-links .mm-foot .mm-foot-all { margin-left: auto; color: #fff; border-color: transparent; background: var(--grad-brand); }

/* inside the mobile menu: a simple stacked list */
@media (max-width: 900px) {
  .mm-overlay { position: static; width: 100%; padding: 8px 0 0; transform: none; animation: none; }
  .mm-card { display: block; padding: 8px 0 0; box-shadow: none; background: transparent; }
  .mm-card::before, .mm-preview { display: none; }
  .mm-foot { flex-wrap: wrap; margin: 6px 0 0; padding: 10px 0 0; background: transparent; }
  .nav-links .mm-foot .mm-foot-all { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-overlay, .mm-col li, .mm-preview { animation: none; }
}
/* =========================================================
   Footer — one floating card, slim clocks, torch-lit wordmark
   ========================================================= */
footer.ft {
  --mx: 0;
  --my: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* keeps the logo blend inside the footer */
  padding: 56px 0 18px;
  border-top: none;
  background: #f4effd;
}
footer.ft::before { display: none; }
footer.ft::after { width: 100%; height: 3px; border-radius: 0; z-index: 2; }
footer.ft > .wrap { position: relative; z-index: 1; }

/* ---- the living logo behind everything ---- */
.ft-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ft-shape {
  position: absolute;
  width: min(1100px, 95vw);
  height: auto;
  mix-blend-mode: multiply; /* exactly how the real mark makes its purple middle */
  transition: transform 1.6s cubic-bezier(0.16, 0.8, 0.24, 1), translate 0.9s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.ft-shape path { fill: currentColor; }
.ft-shape--pink {
  color: #f02f7d;
  left: -6%;
  bottom: -38%;
  opacity: 0.9;
  /* start far left, slide in when seen */
  transform: translateX(-70%) rotate(-12deg);
  translate: calc(var(--mx) * -26px) calc(var(--my) * -18px);
}
.ft-shape--blue {
  color: #49b4f2;
  right: -8%;
  bottom: -30%;
  opacity: 0.9;
  transform: translateX(70%) rotate(12deg);
  translate: calc(var(--mx) * 34px) calc(var(--my) * 22px);
}
footer.ft.is-in .ft-shape--pink { transform: translateX(14%) rotate(0deg); animation: ftBreathePink 16s ease-in-out 1.6s infinite; }
footer.ft.is-in .ft-shape--blue { transform: translateX(-14%) rotate(0deg); animation: ftBreatheBlue 19s ease-in-out 1.6s infinite; }
@keyframes ftBreathePink {
  0%, 100% { transform: translateX(14%) rotate(0deg) scale(1); }
  50% { transform: translateX(8%) rotate(-4deg) scale(1.05); }
}
@keyframes ftBreatheBlue {
  0%, 100% { transform: translateX(-14%) rotate(0deg) scale(1); }
  50% { transform: translateX(-6%) rotate(5deg) scale(1.04); }
}
/* "handshake": hovering the CTA pulls the halves together into the logo */
footer.ft.is-in:has(.ft-cta:hover) .ft-shape--pink { animation-play-state: paused; translate: 9% -2%; }
footer.ft.is-in:has(.ft-cta:hover) .ft-shape--blue { animation-play-state: paused; translate: -9% -2%; }

/* ---- the card ---- */
.ft-card {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) 1.35fr;
  gap: 34px;
  padding: 30px 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px -40px rgba(42, 27, 140, 0.45), inset 0 0 0 1px var(--line);
}
.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.ft-brand p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 230px; }
.ft-socials { display: flex; gap: 8px; margin-top: 16px; }
.ft-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.ft-socials a:hover { color: #fff; border-color: transparent; background: var(--grad-brand); transform: translateY(-3px) rotate(-8deg); }

.ft-col h4, .ft-cta h4 {
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ft-col ul { display: flex; flex-direction: column; gap: 8px; }
.ft-col a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.2s, padding 0.25s var(--ease);
}
.ft-col a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.25s var(--ease);
}
.ft-col a:hover { color: var(--ink); padding-left: 16px; }
.ft-col a:hover::before { width: 10px; }

.ft-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  margin: -6px -10px -6px 0;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 255, 255, 0.25), transparent 60%),
    var(--grad-brand);
}
.ft-cta h4 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 24px; letter-spacing: -0.02em; text-transform: none; color: #fff; }
.ft-cta p { font-size: 13.5px; opacity: 0.9; }
.ft-btn {
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.ft-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.45); }
.ft-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.6);
}
.ft-email:hover { opacity: 1; }
.ft-email.is-copied { border-bottom-style: solid; }

/* ---- slim clocks ---- */
.ft-clocks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.ft-clocks-title {
  margin-right: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ft-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.ft-clock i { font-style: normal; color: #e0a10b; }
.ft-clock b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ft-clock em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
}
.ft-clock.is-you { border-color: var(--pink); background: #fff0f7; }

/* ---- giant torch-lit wordmark (unchanged look, light version) ---- */
.ft-word {
  --x: -500px;
  --y: -500px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(64px, 17.5vw, 290px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  user-select: none;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(230px circle at var(--x) var(--y), #fff 0%, rgba(255, 255, 255, 0.95) 55%, transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 6px 18px rgba(74, 20, 120, 0.25));
}
.ft-word span { display: inline-block; transition: transform 0.45s cubic-bezier(0.5, 1.8, 0.4, 1); }
.ft-word span:hover { transform: translateY(-14%) rotate(-4deg); }

/* ---- bottom bar ---- */
.ft-bottom {
  position: relative;
  z-index: 1;
  padding-left: 18px;
  padding-right: 8px;
  padding-bottom: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}
.ft-bottom a { margin-left: 6px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.ft-bottom a:hover { color: var(--ink); }
.ft-rocket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s;
}
.ft-rocket:hover { border-color: var(--purple); }
.ft-rocket-ship { display: inline-block; transition: transform 0.3s var(--ease); }
.ft-rocket:hover .ft-rocket-ship { transform: translate(2px, -3px) rotate(-8deg); }
.ft-rocket.is-launching .ft-rocket-ship { animation: ftLaunch 1.2s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
@keyframes ftLaunch {
  15% { transform: translate(-1px, 2px) rotate(-45deg); }
  100% { transform: translate(60px, -320px) rotate(-45deg); opacity: 0; }
}

@media (max-width: 1080px) {
  .ft-card { grid-template-columns: repeat(3, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
  .ft-cta { grid-column: 1 / -1; margin: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ft-cta h4 { margin-right: auto; }
}
@media (max-width: 620px) {
  footer.ft { padding-top: 40px; }
  .ft-card { grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 18px; border-radius: 22px; }
  .ft-cta { flex-direction: column; align-items: flex-start; }
  .ft-clocks { justify-content: flex-start; }
  .ft-clocks-title { flex-basis: 100%; max-width: fit-content; }
  .ft-word { -webkit-text-stroke-width: 1px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
}
@media (hover: none) {
  .ft-word { background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)); -webkit-background-clip: text; background-clip: text; }
}
@media (max-width: 620px) {
  .ft-shape { width: 150vw; }
  .ft-shape--pink { left: -45%; bottom: -12%; }
  .ft-shape--blue { right: -50%; bottom: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-shape { transition: none; animation: none !important; translate: none !important; }
  footer.ft .ft-shape--pink { transform: translateX(14%); }
  footer.ft .ft-shape--blue { transform: translateX(-14%); }
  .ft-word span, .ft-rocket-ship { transition: none; }
  .ft-rocket.is-launching .ft-rocket-ship { animation: none; }
}
/* =========================================================
   Preloader — logo "big bang" (≈1.6s total)
   0.00–0.55s halves fly in · 0.55s impact + shockwave · 0.6s name rises
   1.15s screen splits along the logo diagonal · 1.75s removed
   ========================================================= */
.pl {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

/* the two background panels — split along the logo's slant on exit */
.pl-panel {
  position: absolute;
  inset: -2px;
  background: #f6f3fd;
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}
.pl-panel--a { clip-path: polygon(0 0, 100% 0, 100% 18%, 0 82%); }
.pl-panel--b { clip-path: polygon(0 82%, 100% 18%, 100% 100%, 0 100%); }
.pl.is-leaving .pl-panel--a { transform: translate(-28vw, -110vh); }
.pl.is-leaving .pl-panel--b { transform: translate(28vw, 110vh); }

/* glowing seam along the cut, flashes just before the split */
.pl-seam {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f02f7d 25%, #6e22b8 50%, #49b4f2 75%, transparent);
  box-shadow: 0 0 24px 4px rgba(110, 34, 184, 0.45);
  transform: rotate(calc(-1 * var(--cut, 26deg))) scaleX(0);
  opacity: 0;
}
.pl.is-leaving .pl-seam { animation: plSeam 0.45s ease-out both; }
@keyframes plSeam {
  0% { opacity: 1; transform: rotate(calc(-1 * var(--cut, 26deg))) scaleX(0); }
  60% { opacity: 1; transform: rotate(calc(-1 * var(--cut, 26deg))) scaleX(1); }
  100% { opacity: 0; transform: rotate(calc(-1 * var(--cut, 26deg))) scaleX(1); }
}

.pl-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.55s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.4s ease-in;
}
.pl.is-leaving .pl-center { transform: scale(1.8); opacity: 0; }

/* ---- the mark ---- */
.pl-mark {
  position: relative;
  width: 132px;
  height: 115px;
  isolation: isolate;
  animation: plImpact 0.4s cubic-bezier(0.3, 1.8, 0.5, 1) 0.52s both;
}
@keyframes plImpact {
  0% { transform: scale(1); }
  35% { transform: scale(1.18, 0.9); }
  100% { transform: scale(1); }
}
.pl-half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply; /* purple where they cross — like the real logo */
}
.pl-half path { fill: currentColor; }
.pl-half--pink { color: #f02f7d; animation: plPink 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
.pl-half--blue { color: #49b4f2; animation: plBlue 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
@keyframes plPink {
  from { transform: translate(-46vw, 30vh) rotate(-200deg) scale(0.4); opacity: 0; }
  30% { opacity: 1; }
  to { transform: none; }
}
@keyframes plBlue {
  from { transform: translate(46vw, -30vh) rotate(200deg) scale(0.4); opacity: 0; }
  30% { opacity: 1; }
  to { transform: none; }
}

/* shockwave ring */
.pl-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(#f6f3fd, #f6f3fd) padding-box, linear-gradient(120deg, #f02f7d, #6e22b8, #49b4f2) border-box;
  opacity: 0;
  z-index: -1;
  animation: plRing 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) 0.55s forwards; /* not `both`: stay hidden until impact */
}
@keyframes plRing {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(3.4); }
}

/* sparks */
.pl-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: #f02f7d;
  opacity: 0;
  animation: plSpark 0.65s cubic-bezier(0.2, 0.8, 0.3, 1) 0.55s forwards;
}
.pl-spark:nth-child(3n) { background: #49b4f2; }
.pl-spark:nth-child(3n + 1) { background: #6e22b8; width: 6px; height: 6px; }
@keyframes plSpark {
  0% { opacity: 1; transform: rotate(var(--a)) translateX(30px) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(0.3); }
}

/* ---- the name ---- */
.pl-name {
  display: flex;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #12111c;
  overflow: hidden;
  padding: 2px 4px;
}
.pl-name span {
  display: inline-block;
  animation: plLetter 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
  animation-delay: calc(0.6s + var(--i) * 0.035s);
}
.pl-name span:nth-child(n + 5) {
  background: linear-gradient(110deg, #f02f7d, #6e22b8 60%, #2e9df4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes plLetter {
  from { transform: translateY(110%) rotate(8deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-half, .pl-mark, .pl-ring, .pl-spark, .pl-name span, .pl-seam { animation: none !important; }
  .pl-ring, .pl-spark { display: none; }
  .pl-panel, .pl-center { transition: opacity 0.3s; }
  .pl.is-leaving .pl-panel { transform: none; opacity: 0; }
}
