/* =========================================================
   Luvin Tech — global styles
   ========================================================= */


:root {
  --bg: #0d0e12;
  --bg-2: #13141a;
  --surface: #17181f;
  --surface-2: #1d1e27;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #9a9ca3;
  --muted-2: #7c7e82;
  --accent: #b123c8;
  --accent-2: #7b3fe4;
  --accent-soft: rgba(255, 255, 255, 0.05);
  --gradient: linear-gradient(120deg, #f3e6ff 0%, #d9a9f2 45%, #a98cf6 100%);
  --accent-ink: #d3aef5;
  --icon: #e8e8ec;
  --shadow-lift: 0 24px 50px -24px rgba(0, 0, 0, 0.85);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section--tight {
  padding: 70px 0;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-dim {
  color: var(--muted-2);
}

.link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(211, 174, 245, 0.4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: #fff;
  color: var(--bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- Smooth scroll (Lenis) ---------- */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(13, 14, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  position: relative;
}

.nav > li > a,
.nav > li > button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}

.nav > li > a:hover,
.nav > li > button:hover,
.nav > li > a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav .chev {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 290px;
  padding: 10px;
  background: rgba(23, 24, 31, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.has-dropdown:hover .chev,
.has-dropdown:focus-within .chev {
  transform: rotate(180deg);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: none;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb--1 {
  width: 520px;
  height: 520px;
  background: #8e2aa8;
  top: -180px;
  left: 50%;
  margin-left: -420px;
}

.orb--2 {
  width: 420px;
  height: 420px;
  background: #3c3a8f;
  top: -60px;
  left: 50%;
  margin-left: 60px;
  animation-delay: -6s;
  opacity: 0.18;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 20px) scale(0.95); }
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 26px;
}

.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.stat {
  padding: 34px 28px;
  text-align: left;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat .num {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat .num span {
  color: var(--muted-2);
}

.stat .label {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Split (e-commerce) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.split h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 22px;
}

.split p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 26px;
}

.split strong {
  color: var(--text);
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #d6d7db;
}

.check-list li::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--border-strong);
}

.stack {
  position: relative;
  height: 520px;
}

.stack img {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border);
}

.stack .layer {
  position: absolute;
  inset: 0;
}

.stack .s1 {
  width: 64%;
  top: 0;
  left: 0;
  animation: float 7s ease-in-out infinite;
}

.stack .s2 {
  width: 58%;
  bottom: 0;
  right: 0;
  animation: float 7s ease-in-out infinite -3.5s;
}

.stack::before {
  content: "";
  position: absolute;
  inset: 20% 15%;
  background: #6b3fa0;
  filter: blur(110px);
  opacity: 0.12;
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Cards ---------- */

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.7s var(--ease), border-color 0.5s, box-shadow 0.7s;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 169, 242, 0.13), rgba(169, 140, 246, 0.07) 28%, rgba(108, 91, 214, 0.03) 42%, transparent 58%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lift);
}

.card:hover::after {
  opacity: 1;
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 24px;
  color: var(--icon);
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.card .icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
  flex: 1;
}

.card .more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.card .more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.card:hover .more svg {
  transform: translateX(5px);
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* ---------- Logo marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding: 8px 0;
}

.marquee + .marquee {
  margin-top: 18px;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

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

@keyframes marquee {
  to { transform: translateX(calc(-50% - 9px)); }
}

.logo-tile {
  flex: 0 0 auto;
  width: 150px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.logo-tile:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.8);
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Client logo grid (matches the original site's layout) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 40px;
}

.client-tile {
  height: 82px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.8);
}

.client-tile img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

.js .client-tile.is-done {
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.client-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.8);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-tile {
  flex: 0 0 auto;
  width: 150px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.partner-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.8);
}

/* ---------- Featured work ---------- */

.work {
  display: grid;
  gap: 40px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.work-item:nth-child(even) .work-media {
  order: -1;
}

/* Stacked cards: each project pins under the header and the next one
   slides over it, while the one underneath eases back and dims (JS sets --p). */
@media (min-width: 1081px) and (min-height: 700px) {
  /* flex (not grid) so each sticky card is bounded by the whole list */
  .work--stack {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .work--stack .work-item {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    transform-origin: 50% 0;
    scale: calc(1 - var(--p, 0) * 0.07);
    box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.9);
  }

  .work--stack .work-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #07080b;
    opacity: calc(var(--p, 0) * 0.6);
    pointer-events: none;
  }
}

.work-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.work-item h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.work-item p {
  color: var(--muted);
  margin-bottom: 24px;
}

.work-item .check-list {
  margin-bottom: 30px;
  font-size: 15px;
}

.work-media {
  position: relative;
}

.work-media::before {
  content: "";
  position: absolute;
  inset: 15%;
  background: #6b3fa0;
  filter: blur(90px);
  opacity: 0.08;
  border-radius: 50%;
}

.work-media img {
  position: relative;
  transition: transform 1.2s var(--ease);
}

.work-item:hover .work-media img {
  transform: scale(1.04) translateY(-6px);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}

.faq-item.is-open {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q .plus {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .plus::before,
.faq-item.is-open .plus::after {
  background: var(--bg);
}

.faq-item.is-open .plus {
  transform: rotate(45deg);
  background: #fff;
  border-color: #fff;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding: 80px 60px;
  border-radius: 32px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(142, 42, 168, 0.28) 0%, rgba(60, 58, 143, 0.12) 40%, var(--surface) 75%);
  border: 1px solid var(--border);
  isolation: isolate;
}

.cta-band .hero-grid {
  z-index: -1;
  opacity: 0.6;
}

.cta-band h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin-bottom: 18px;
}

.cta-band p {
  color: #cfd0d5;
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto 34px;
}

.pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.pills span {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0b0e 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 22px;
}

.footer-brand p,
.footer-brand a {
  color: var(--muted);
  font-size: 14.5px;
}

.footer-brand .contact-line {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .contact-line svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--muted);
}

.footer-brand a:hover {
  color: #fff;
}

.site-footer h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.site-footer ul li {
  margin-bottom: 11px;
}

.site-footer ul a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s;
}

.site-footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.socials a:hover {
  color: #fff;
  border-color: #fff;
  background: var(--accent-soft);
}

.socials svg {
  width: 17px;
  height: 17px;
}

/* ---------- Inner pages ---------- */

.hero--page {
  padding: calc(var(--header-h) + 80px) 0 40px;
}

.hero--page h1 {
  font-size: clamp(36px, 5.6vw, 66px);
}

.hero--page .hero-inner {
  max-width: 860px;
}

.hero--page p.lead {
  margin-bottom: 34px;
}

.hero--page + .section {
  padding-top: 70px;
}

.nav > li > button.is-active {
  color: var(--text);
}

.dropdown a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.stats--flush {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

/* Technology logo grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech {
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.tech-logo {
  aspect-ratio: 1;
  border-radius: 20px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.tech-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech:hover .tech-logo {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
}

.tech:hover {
  color: var(--text);
}

.sub-head {
  font-size: clamp(22px, 2.6vw, 28px);
  text-align: center;
  margin: 70px 0 34px;
}

.sub-head:first-child {
  margin-top: 0;
}

/* Numbered process steps (cards) */
.step-num {
  display: block;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card .check-list {
  margin: 0;
  gap: 10px;
  font-size: 15px;
}

.card .check-list li {
  color: var(--muted);
}

/* Step flow (vertical timeline) */
.flow {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  counter-reset: flow;
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: -18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.02));
}

.flow-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.flow-body {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
}

.flow-body small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.flow-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.flow-body p {
  color: var(--muted);
}

.flow-body p + p {
  margin-top: 10px;
}

/* Price tag */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(177, 35, 200, 0.5);
  background: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 26px;
}

.price-tag b {
  font-size: 26px;
  font-weight: 800;
}

/* CTA band with illustration */
.cta-band--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  padding: 64px 60px;
}

.cta-band--split p {
  margin-left: 0;
}

.cta-band--split .cta-art img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  animation: float 7s ease-in-out infinite;
}

/* Two-up content cards (vision / mission) */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card--big {
  padding: 44px 40px;
}

.card--big h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 18px;
}

.card--big p {
  font-size: 17px;
  flex: none;
}

.card--big p + p,
.card--big .check-list + p {
  margin-top: 18px;
}

.card--big .check-list {
  margin-top: 20px;
}

.card--big .check-list li {
  color: #d6d7db;
}

/* Intro / about text block */
.intro-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-block p {
  color: var(--muted);
  font-size: 19px;
}

.intro-block p + p {
  margin-top: 20px;
}

.intro-block strong {
  color: var(--text);
  font-weight: 600;
}

/* Portfolio tabs */
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.tabs a {
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}

.tabs a:hover {
  color: var(--text);
}

.tabs a[aria-current="page"] {
  background: #fff;
  color: var(--bg);
}

.work-item--text {
  grid-template-columns: 1fr;
}

.work-item .btn svg {
  width: 16px;
  height: 16px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 26px;
}

.info-cards {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s;
}

.info-card:hover {
  border-color: var(--border-strong);
}

.info-card svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--icon);
  margin-top: 2px;
}

.info-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.info-card p,
.info-card a {
  color: var(--muted);
  font-size: 15px;
}

.info-card a:hover {
  color: #fff;
}

.calendly-wrap {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.calendly-inline-widget {
  min-width: 300px;
  height: 660px;
  transition: height 0.5s var(--ease);
}

.calendly-inline-widget iframe {
  display: block;
}

.calendly-fallback {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.calendly-fallback a {
  color: var(--accent-ink);
}

/* Policy prose */
.prose {
  max-width: 820px;
  margin: 0 auto;
  color: #cfd0d5;
  font-size: 16.5px;
}

.prose h2 {
  font-size: 24px;
  color: var(--text);
  margin: 44px 0 16px;
}

.prose h3 {
  font-size: 18px;
  color: var(--text);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.prose li {
  position: relative;
  padding-left: 22px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--accent-ink);
}

.prose .updated {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  margin-bottom: 26px;
}

.notice {
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px dashed rgba(177, 35, 200, 0.6);
  background: var(--accent-soft);
}

/* Error / thank-you page */
.hero--full {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-bottom: 80px;
}

.big-code {
  font-size: clamp(90px, 18vw, 180px) !important;
}

/* ---------- Reveal animations ---------- */

.js .reveal {
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.js .reveal--scale:not(.is-visible) {
  transform: scale(0.94);
}

.js .reveal--left:not(.is-visible) {
  transform: translateX(-36px);
}

.js .reveal--right:not(.is-visible) {
  transform: translateX(36px);
}

.js .reveal.is-done {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s, box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.5s, color 0.4s, opacity 0.3s;
  transition-delay: 0s;
}

/* Parallax layers (moved by JS) */
[data-parallax] {
  will-change: transform;
}

/* Headline words rise in one by one */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-words .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 1.2s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.07s);
}

@keyframes word-up {
  to { transform: none; }
}

/* Hero entrance (runs on load, no scroll needed) */
.intro > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  animation: intro 1.3s var(--ease) forwards;
}

.intro > .split-words {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.intro > *:nth-child(1) { animation-delay: 0.05s; }
.intro > *:nth-child(3) { animation-delay: 0.65s; }
.intro > *:nth-child(4) { animation-delay: 0.8s; }

@keyframes intro {
  to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .intro > *,
  .split-words .w > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-wrap {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(13, 14, 18, 0.98);
    backdrop-filter: blur(18px);
    padding: 20px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
  }

  .menu-open .nav-wrap {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-open .site-header {
    background: rgba(13, 14, 18, 0.98);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav > li {
    border-bottom: 1px solid var(--border);
  }

  .nav > li > a,
  .nav > li > button {
    width: 100%;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 18px;
    color: var(--text);
    border-radius: 0;
  }

  .nav > li > a:hover,
  .nav > li > button:hover {
    background: none;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 0 0 12px;
    min-width: 0;
    display: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .has-dropdown:hover .chev {
    transform: none;
  }

  .has-dropdown.is-open .chev {
    transform: rotate(180deg);
  }

  .menu-toggle {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

  .split,
  .work-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-item:nth-child(even) .work-media {
    order: 0;
  }

  .contact-grid,
  .cta-band--split {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .calendly-wrap {
    position: static;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .container {
    padding: 0 16px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 60px;
  }

  .stat {
    padding: 24px 20px;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stack {
    height: 380px;
  }

  .work-item {
    padding: 28px 22px;
  }

  .cta-band {
    padding: 56px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-tile {
    width: 132px;
    height: 64px;
  }

  .partner-tile {
    width: calc(50% - 8px);
    height: 64px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero--page {
    padding-top: calc(var(--header-h) + 50px);
  }

  .js .reveal--left:not(.is-visible),
  .js .reveal--right:not(.is-visible) {
    transform: translateY(40px);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .client-tile {
    height: 70px;
    padding: 8px 12px;
  }

  .client-tile img {
    max-height: 48px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card--big {
    padding: 32px 24px;
  }

  .cta-band--split {
    padding: 48px 22px;
    text-align: center;
  }

  .cta-band--split p {
    margin-left: auto;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .tech {
    font-size: 13px;
  }

  .tech-logo {
    border-radius: 14px;
  }

  .flow-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .flow-dot {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .flow-item:not(:last-child)::before {
    left: 21px;
    top: 44px;
  }

  .flow-body {
    padding: 20px;
  }

  .tabs a {
    padding: 9px 16px;
    font-size: 14px;
  }

  .calendly-inline-widget {
    height: 900px;
  }
}

/* =========================================================
   Premium interactions (hover, focus, page transitions)
   Mouse/trackpad only — touch devices keep simple taps.
   ========================================================= */

:root {
  --hover-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hover-dur: 0.6s;
}

/* Smooth fade between pages */
body {
  transition: opacity 0.35s var(--ease-soft);
}

body.is-leaving {
  opacity: 0;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Step numbers: quiet by default, light up with their card */
.step-num {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  -webkit-background-clip: text;
  background-clip: text;
  transition: filter var(--hover-dur) var(--hover-ease);
}

/* Border spotlight surfaces (cursor position set by JS as --mx / --my) */
.card,
.info-card,
.work-item,
.faq-item,
.stat,
.cta-band {
  position: relative;
}

.card::before,
.info-card::before,
.work-item::before,
.faq-item::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), #f3e6ff 0%, #d9a9f2 18%, #a98cf6 34%, rgba(108, 91, 214, 0.45) 48%, transparent 64%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.5s var(--hover-ease);
  pointer-events: none;
  z-index: 2;
}

/* Soft gradient glow inside surfaces, following the cursor */
.info-card::after,
.faq-item::after,
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 169, 242, 0.11), rgba(169, 140, 246, 0.06) 28%, rgba(108, 91, 214, 0.02) 42%, transparent 58%);
  opacity: 0;
  transition: opacity 0.5s var(--hover-ease);
  pointer-events: none;
}

.info-card:hover::after,
.faq-item:hover::after,
.stat:hover::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  /* ---- Cards ---- */
  .card {
    transition: transform var(--hover-dur) var(--hover-ease), border-color 0.5s, box-shadow var(--hover-dur) var(--hover-ease), background 0.5s;
  }

  .card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg-2) 100%);
  }

  .card:hover::before,
  .info-card:hover::before,
  .work-item:hover::before,
  .faq-item:hover::before,
  .stat:hover::before {
    opacity: 1;
  }

  .card .icon {
    transition: transform var(--hover-dur) var(--hover-ease), background 0.45s, color 0.45s, border-color 0.45s, box-shadow 0.45s;
  }

  .card:hover .icon {
    transform: translateY(-3px) rotate(-6deg) scale(1.06);
    background: #fff;
    color: var(--bg);
    border-color: #fff;
    box-shadow: 0 14px 30px -12px rgba(255, 255, 255, 0.35);
  }

  .card h3 {
    transition: transform var(--hover-dur) var(--hover-ease);
  }

  .card:hover h3 {
    transform: translateX(2px);
  }

  .card p {
    transition: color 0.5s;
  }

  .card:hover p {
    color: #b9bbc1;
  }

  .card:hover .step-num {
    background-image: var(--gradient);
    filter: drop-shadow(0 6px 18px rgba(169, 140, 246, 0.35));
  }

  /* "Know More" underline draws in */
  .card .more {
    align-self: flex-start;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 3px;
    transition: background-size 0.5s var(--hover-ease);
  }

  .card:hover .more {
    background-size: 100% 1px;
  }

  /* ---- Buttons ---- */
  .btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.5s var(--hover-ease), background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.5s var(--hover-ease);
    will-change: transform;
  }

  .btn--primary:hover,
  .btn--ghost:hover {
    transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px));
  }

  /* Light sweep across white buttons */
  .btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(169, 140, 246, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s var(--hover-ease);
    z-index: -1;
  }

  .btn--primary:hover::after {
    left: 120%;
  }

  /* Outline buttons fill with white from the bottom */
  .btn--ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform 0.5s var(--hover-ease);
    z-index: -1;
  }

  .btn--ghost:hover {
    color: var(--bg);
    border-color: #fff;
  }

  .btn--ghost:hover::before {
    transform: translateY(0);
  }

  /* ---- Header ---- */
  .logo img {
    transition: transform 0.5s var(--hover-ease), filter 0.5s;
  }

  .logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.25));
  }

  .dropdown a {
    transition: background 0.3s, color 0.3s, transform 0.4s var(--hover-ease);
  }

  .dropdown a:hover {
    transform: translateX(4px);
  }

  /* ---- Logos: calm greyscale, full colour on hover ---- */
  .logo-tile img,
  .partner-tile img {
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.5s var(--hover-ease), opacity 0.5s, transform 0.5s var(--hover-ease);
  }

  /* Hovering a logo row brings every logo in it to full colour */
  .marquee:hover .logo-tile img,
  .partners:hover .partner-tile img {
    filter: none;
    opacity: 1;
  }

  .logo-tile:hover img,
  .partner-tile:hover img {
    transform: scale(1.06);
  }

  .logo-tile,
  .partner-tile {
    transition: transform 0.5s var(--hover-ease), box-shadow 0.5s var(--hover-ease);
  }

  .logo-tile:hover,
  .partner-tile:hover {
    transform: translateY(-5px);
  }

  /* ---- Stats ---- */
  .stat {
    transition: background 0.5s;
  }

  .stat:hover {
    background: rgba(255, 255, 255, 0.025);
  }

  .stat .num {
    transition: transform var(--hover-dur) var(--hover-ease);
  }

  .stat:hover .num {
    transform: translateY(-3px);
  }

  .stat:hover .label {
    color: var(--text);
  }

  .stat .label {
    transition: color 0.4s;
  }

  /* ---- Featured work ---- */
  .work-item {
    transition: border-color 0.5s, transform var(--hover-dur) var(--hover-ease);
  }

  .work-item:hover {
    border-color: var(--border-strong);
  }

  .work-media,
  .cta-art,
  .stack {
    perspective: 1000px;
  }

  .work-media > div,
  .cta-art img,
  .stack .layer {
    transition: rotate 0.7s var(--hover-ease);
  }

  /* ---- FAQ ---- */
  .faq-item {
    transition: border-color 0.4s, background 0.4s;
  }

  .faq-item:hover {
    background: var(--surface-2);
  }

  .faq-q {
    transition: color 0.3s;
  }

  .faq-item:hover .plus {
    border-color: rgba(255, 255, 255, 0.4);
  }

  /* ---- Tech logos (service pages) ---- */
  .tech-logo {
    transition: transform var(--hover-dur) var(--hover-ease), box-shadow var(--hover-dur) var(--hover-ease);
  }

  .tech-logo img {
    transition: transform var(--hover-dur) var(--hover-ease);
  }

  .tech:hover .tech-logo {
    transform: translateY(-8px);
  }

  .tech:hover .tech-logo img {
    transform: scale(1.08);
  }

  /* ---- Info cards (contact) ---- */
  .info-card {
    transition: transform var(--hover-dur) var(--hover-ease), border-color 0.4s, background 0.4s;
  }

  .info-card:hover {
    transform: translateY(-4px);
  }

  .info-card svg {
    transition: transform var(--hover-dur) var(--hover-ease);
  }

  .info-card:hover svg {
    transform: scale(1.12) rotate(-6deg);
  }

  /* ---- Portfolio tabs ---- */
  .tabs a {
    transition: background 0.4s, color 0.4s, transform 0.4s var(--hover-ease);
  }

  /* ---- Footer ---- */
  .site-footer ul a {
    display: inline-block;
    transition: color 0.3s, transform 0.4s var(--hover-ease);
  }

  .site-footer ul a:hover {
    transform: translateX(4px);
  }

  .socials a {
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.5s var(--hover-ease);
  }

  .socials a:hover {
    transform: translateY(-3px) rotate(-8deg);
  }

  /* ---- Check-list ticks pop on hover ---- */
  .check-list li::before {
    transition: transform 0.5s var(--hover-ease), background-color 0.4s;
  }

  .check-list li:hover::before {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-leaving {
    opacity: 1;
  }
}
