/* Bluelight Innovations — "Night Shift" theme
   Palette pulled from the logo: deep ink navy + electric blue glow,
   with sunny, coral and mint pops for personality. */

:root {
  --ink: #070b1c;
  --navy: #0c1433;
  --navy-2: #131e4a;
  --blue: #2f62ff;
  --glow: #5b8cff;
  --sky: #b9d0ff;
  --cream: #fff7e8;
  --paper: #ffffff;
  --sun: #ffd23f;
  --coral: #ff6f61;
  --mint: #62f0c8;
  --lilac: #c9b8ff;
  --line: #0a1030;
  --radius: 26px;
  --pop: 6px 6px 0 var(--line);
  --pop-lg: 10px 10px 0 var(--line);
  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: min(1160px, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--line);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--line); padding: .7rem 1rem; z-index: 100; border-radius: 0 0 12px 0; font-weight: 700; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

/* ---------- little building blocks ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 999px;
  border: 2px solid currentColor;
}
.tag::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.hex {
  display: grid; place-items: center; flex: none;
  width: 3.4rem; aspect-ratio: 1 / 1.1;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--line); color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
}
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; border-radius: 999px;
  border: 2.5px solid var(--line); background: var(--sun); color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--line); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--line); }
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; border-color: #fff; }
.on-dark .btn { box-shadow: 5px 5px 0 rgba(0,0,0,.55); }
.on-dark .btn:hover { box-shadow: 8px 8px 0 rgba(0,0,0,.55); }
.on-dark .btn-ghost, .on-dark .btn-ghost:hover { box-shadow: none; }
.link-arrow { font-family: var(--display); font-weight: 700; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; border-bottom: 2.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50;
  width: var(--wrap); margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .6rem .5rem .7rem;
  background: rgba(10, 16, 44, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(120, 160, 255, .28);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.brand:hover img { transform: rotate(-14deg) scale(1.12); }
.brand b { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; }
.brand small { display: block; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; text-decoration: none; color: #dfe8ff; font-weight: 600; font-size: .95rem; padding: .55rem .85rem; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { background: rgba(91, 140, 255, .22); color: #fff; }
.nav-links .nav-cta a { background: var(--sun); color: var(--line); font-family: var(--display); font-weight: 700; margin-left: .3rem; }
.nav-links .nav-cta a:hover { background: #fff; color: var(--line); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; font-size: 1.3rem; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; margin-top: -76px; padding: 150px 0 0; overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 78% 38%, rgba(47, 98, 255, .38), transparent 62%),
    radial-gradient(40rem 30rem at 8% 0%, rgba(98, 240, 200, .10), transparent 60%),
    linear-gradient(180deg, #070b1c 0%, #0b1335 100%);
}
.hero::before { /* honeycomb dots, echoing the hexagon logo */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(140, 175, 255, .35) 1.2px, transparent 1.4px), radial-gradient(rgba(140, 175, 255, .35) 1.2px, transparent 1.4px);
  background-size: 44px 76px; background-position: 0 0, 22px 38px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center; }
.hero .tag { color: var(--mint); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); margin: 1.4rem 0 1.5rem; isolation: isolate; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--sun); }
.hero h1 .l3 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 .l3 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .2em; background: var(--blue); border-radius: 99px; z-index: -1; transform: rotate(-1.2deg); }
.hero-lede { font-size: 1.18rem; max-width: 34rem; color: #cfdcff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.stage { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; margin: 0 auto 3rem; perspective: 900px; }
.stage-ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(140, 175, 255, .35); animation: spin 60s linear infinite; }
.stage-ring.r2 { inset: 16%; border-style: dotted; border-color: rgba(98, 240, 200, .3); animation-duration: 40s; animation-direction: reverse; }
.mascot { position: absolute; inset: 9%; transform-style: preserve-3d; transition: transform .25s ease-out; cursor: pointer; border: 0; background: none; padding: 0; }
.mascot img {
  width: 100%; height: 100%; object-fit: contain;
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  animation: bob 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 46px rgba(47, 98, 255, .65));
}
.mascot.boop img { animation: boop .6s cubic-bezier(.34,1.56,.64,1); }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--line);
  padding: .5rem .95rem; border-radius: 999px; border: 2.5px solid var(--line);
  box-shadow: 4px 4px 0 rgba(0,0,0,.55); animation: bob 4s ease-in-out infinite;
}
.chip.c1 { top: 6%; left: 2%; background: var(--mint); transform: rotate(-7deg); }
.chip.c2 { top: 15%; right: -1%; background: var(--sun); animation-delay: -1.3s; }
.chip.c3 { bottom: 23%; left: -3%; background: var(--coral); animation-delay: -2.4s; }
.bubble {
  position: absolute; z-index: 3; max-width: 15.5rem; font-size: .95rem; line-height: 1.35; font-weight: 500;
  padding: .75rem 1rem; border: 2.5px solid var(--line); box-shadow: 4px 4px 0 rgba(0,0,0,.55);
}
.bubble.q { right: -7%; bottom: 9%; background: #fff; color: var(--line); border-radius: 20px 20px 4px 20px; animation: pop 7s ease-in-out infinite; }
.bubble.a { right: 3%; bottom: -9%; background: var(--blue); color: #fff; border-radius: 20px 20px 20px 4px; animation: pop 7s ease-in-out infinite 1.2s; }
.bubble small { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .65; margin-bottom: .15rem; }

/* ---------- marquee ---------- */
.marquee { position: relative; margin-top: 4.5rem; background: var(--sun); color: var(--line); border-block: 3px solid var(--line); transform: rotate(-1.4deg) scale(1.03); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; padding: .7rem 1.2rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee span::after { content: "⬢"; color: var(--blue); font-size: 1.1rem; }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.cream { background: var(--cream); }
.paper { background: var(--paper); }
.dark { background: var(--navy); color: #fff; }
.blue { background: var(--blue); color: #fff; }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 3rem; align-items: end; margin-bottom: 3rem; }
.head .tag { margin-bottom: 1.2rem; }
.head p { font-size: 1.12rem; }
.dark .head p, .blue .head p { color: #d6e1ff; }
.cream .tag, .paper .tag { color: var(--blue); }
.dark .tag { color: var(--mint); }
.blue .tag { color: var(--sun); }
.swash { color: var(--blue); }
.dark .swash { color: var(--sun); }
.blue .swash { color: var(--sun); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1.8rem; border: 2.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--line); box-shadow: var(--pop);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
}
.card:hover { transform: translate(-4px, -6px) rotate(-1deg); box-shadow: var(--pop-lg); }
.card:nth-child(2):hover { transform: translate(-4px, -6px) rotate(1deg); }
.card p { flex: 1; }
.card .ico { width: 4rem; height: 4rem; display: grid; place-items: center; font-size: 1.9rem; border: 2.5px solid var(--line); border-radius: 18px; background: #fff; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.card:hover .ico { transform: rotate(-10deg) scale(1.1); }
.card .num { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--display); font-weight: 800; font-size: 1rem; opacity: .55; }
.card .tag { color: var(--line); align-self: flex-start; font-size: .72rem; }
.c-sun { background: var(--sun); }
.c-mint { background: var(--mint); }
.c-lilac { background: var(--lilac); }
.c-coral { background: var(--coral); }
.c-sky { background: var(--sky); }
.dark .card, .blue .card { box-shadow: 6px 6px 0 rgba(0,0,0,.5); }
.dark .card:hover, .blue .card:hover { box-shadow: 10px 10px 0 rgba(0,0,0,.5); }

.beyond {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem;
  padding: 1.6rem 1.9rem; border-radius: var(--radius); background: var(--navy); color: #fff;
  border: 2.5px solid var(--line); box-shadow: var(--pop);
}
.beyond h3 { font-size: 1.7rem; margin: .5rem 0 .3rem; }
.beyond .tag { color: var(--mint); }
.beyond p { color: #cfdcff; }
.pills { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill { font-family: var(--display); font-weight: 700; text-decoration: none; color: var(--line); background: #fff; border: 2.5px solid var(--line); padding: .6rem 1.15rem; border-radius: 999px; box-shadow: 4px 4px 0 rgba(0,0,0,.55); transition: transform .15s, background .15s; }
.pill:hover { transform: translateY(-3px) rotate(-2deg); background: var(--sun); }
.pill:nth-child(2):hover { background: var(--mint); transform: translateY(-3px) rotate(2deg); }
.pill:nth-child(3):hover { background: var(--coral); }

/* automation */
.auto-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.dark { background:
    radial-gradient(46rem 30rem at 100% 0%, rgba(47, 98, 255, .35), transparent 65%),
    var(--navy); }

/* approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2.1rem; border-top: 3px dashed var(--line); opacity: .35; }
.step { position: relative; display: grid; gap: .9rem; align-content: start; }
.step .hex { width: 4.2rem; font-size: 1.25rem; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.step:nth-child(1) .hex { background: var(--blue); }
.step:nth-child(2) .hex { background: var(--coral); color: var(--line); }
.step:nth-child(3) .hex { background: var(--mint); color: var(--line); }
.step:hover .hex { transform: rotate(60deg) scale(1.1); }
.banner {
  margin-top: 3.5rem; position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  padding: 2.2rem 2.4rem; border-radius: var(--radius); border: 2.5px solid var(--line);
  background: var(--blue); color: #fff; box-shadow: var(--pop-lg);
}
.banner img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 2.5px solid var(--line); animation: bob 5s ease-in-out infinite; }
.banner h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.banner h3 em { font-style: normal; color: var(--sun); }
.banner p { margin-top: .8rem; font-family: var(--display); font-weight: 600; letter-spacing: .04em; color: #dbe6ff; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-grid > div > p { font-size: 1.15rem; margin-top: 1.4rem; }
.values { display: grid; gap: 1.2rem; }
.value { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border: 2.5px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--pop); transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.value:nth-child(1) { transform: rotate(-1deg); }
.value:nth-child(2) { transform: rotate(.8deg); margin-left: 1.5rem; }
.value:nth-child(3) { transform: rotate(-.6deg); }
.value:hover { transform: rotate(0) scale(1.02); }
.value .ico { font-size: 1.7rem; width: 3.2rem; height: 3.2rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--line); }
.value h3 { font-size: 1.25rem; margin-bottom: .25rem; }

/* team */
.team-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.team-card h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.team-card h2 .heart { display: inline-block; margin-left: .12em; color: var(--coral); animation: beat 1.6s ease-in-out infinite; }
.team-card > div > p { font-size: 1.15rem; margin-top: 1.2rem; color: #e3ebff; max-width: 32rem; }
.note { background: var(--cream); color: var(--line); border: 2.5px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: 8px 8px 0 rgba(0,0,0,.45); transform: rotate(2deg); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.note:hover { transform: rotate(0); }
.note p { color: var(--line); font-size: 1.05rem; margin: 0; }
.note h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.note .btn { margin-top: 1.4rem; }
.faces { display: flex; margin-bottom: 1.2rem; }
.faces i { width: 3.1rem; height: 3.1rem; margin-right: -.7rem; border-radius: 50%; border: 2.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 1.45rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-grid > div > p { font-size: 1.12rem; margin: 1.3rem 0 1.6rem; }
.mail { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2.3vw, 1.4rem); word-break: break-word; }
.contact-form { display: grid; gap: 1.1rem; padding: 2rem; background: #fff; border: 2.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--pop-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field label { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.form-field input, .form-field textarea { font: inherit; color: var(--line); width: 100%; padding: .8rem 1rem; border: 2.5px solid var(--line); border-radius: 14px; background: var(--cream); transition: box-shadow .15s, background .15s, transform .15s; }
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-field input:focus, .form-field textarea:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--blue); transform: translate(-2px, -2px); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.form-submit p { font-size: .9rem; opacity: .8; }
.inline-policy, .foot-legal button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.contact-status { font-weight: 600; padding: .8rem 1rem; border-radius: 14px; border: 2.5px solid var(--line); background: var(--sky); }
.contact-status.is-success { background: var(--mint); }
.contact-status.is-error { background: var(--coral); }
.contact-status[hidden] { display: none; }
button[disabled] { opacity: .6; cursor: progress; }

/* footer */
.footer { background: var(--ink); color: #fff; padding: 4.5rem 0 2rem; position: relative; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.foot-top h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.foot-top h2 span { color: var(--glow); }
.foot-top img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2.6rem 0 2rem; padding: 0; list-style: none; }
.foot-nav a { text-decoration: none; font-family: var(--display); font-weight: 700; padding: .55rem 1.1rem; border: 2px solid rgba(140,175,255,.4); border-radius: 999px; display: block; transition: background .15s, color .15s, transform .15s; }
.foot-nav a:hover { background: var(--sun); color: var(--line); border-color: var(--sun); transform: translateY(-2px); }
.foot-nav .up { margin-left: auto; }
.foot-nav .up a { background: var(--blue); border-color: var(--blue); }
.foot-legal { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; padding-top: 1.5rem; border-top: 1.5px solid rgba(140,175,255,.25); font-size: .92rem; color: #b9c8f2; }
.foot-legal div { display: flex; gap: 1.4rem; }

/* dialogs */
dialog { max-width: min(34rem, 92vw); padding: 2rem; color: var(--line); background: var(--cream); border: 2.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--pop-lg); }
dialog::backdrop { background: rgba(7, 11, 28, .72); backdrop-filter: blur(4px); }
dialog h2 { font-size: 1.9rem; margin-bottom: 1rem; padding-right: 3rem; }
dialog h3 { font-size: 1.1rem; margin: 1.1rem 0 .3rem; }
dialog ul { margin: .3rem 0; padding-left: 1.2rem; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2.5px solid var(--line); background: var(--coral); font-size: 1.3rem; line-height: 1; cursor: pointer; font-weight: 700; }
.dialog-close:hover { transform: rotate(90deg); transition: transform .2s; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .value.reveal.in:nth-child(1) { transform: rotate(-1deg); }
.js .value.reveal.in:nth-child(2) { transform: rotate(.8deg); }
.js .value.reveal.in:nth-child(3) { transform: rotate(-.6deg); }
.js .value.reveal.in:hover { transform: rotate(0) scale(1.02); }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@keyframes boop { 0% { transform: scale(1); } 35% { transform: scale(.86) rotate(-6deg); } 70% { transform: scale(1.1) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes pop { 0%, 6% { opacity: 0; transform: translateY(10px) scale(.92); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px) scale(.96); } }
.spark { position: fixed; z-index: 99; pointer-events: none; font-size: 1.1rem; animation: fly .8s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(200deg) scale(.3); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { border-radius: 30px; flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: .4rem 0 .5rem; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-links .nav-cta a { margin: .3rem 0 0; text-align: center; }
  .hero-grid, .head, .about-grid, .team-card, .contact-grid { grid-template-columns: 1fr; }
  .head { align-items: start; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step { grid-template-columns: auto 1fr; column-gap: 1.1rem; }
  .step .hex { grid-row: span 2; }
  .stage { max-width: 420px; }
  .value:nth-child(2) { margin-left: 0; }
  .banner { grid-template-columns: 1fr; text-align: left; }
  .banner img { width: 110px; height: 110px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .bubble { max-width: 12.5rem; font-size: .85rem; }
  .bubble.q { right: -2%; bottom: 15%; }
  .bubble.a { right: 8%; bottom: -10%; }
  .chip { font-size: .82rem; padding: .4rem .75rem; }
  .contact-form, .note, .card { padding: 1.4rem; }
  .foot-nav .up { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubble { opacity: 1; }
}

[hidden]{display:none!important}
.team-grid:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem;margin-top:2rem}.team-person{padding:1rem;display:flex;align-items:center;gap:1rem;border-radius:1.1rem;background:#121e45;color:#fff}.team-person img,.team-initials{border-radius:50%;width:64px;height:64px;object-fit:cover;flex:none}.team-initials{display:grid;place-items:center;background:#bcf5df;color:#101832;font-weight:800}.team-person p{margin:.25rem 0 0;color:#e3ebff}
