/* =========================================================
   GrowthLab - design system
   ========================================================= */
:root {
  /* palette - light theme */
  --bg:        #ffffff;
  --bg-2:      #f4f6f8;   /* inputs, dropdowns */
  --surface:   #ffffff;   /* cards */
  --surface-2: #f6f9fa;   /* hover surfaces */
  --border:    rgba(16,24,32,0.09);
  --border-2:  rgba(16,24,32,0.18);
  --text:      #15171c;   /* graphite, not pure black */
  --muted:     #59616c;
  --muted-2:   #98a0ab;

  /* brand - teal signature (the 2026 "innovative yet trusted" accent) */
  --accent:      #00b3a4;
  --accent-2:    #12a594;
  --accent-deep: #0a7c74;
  --shadow-accent: rgba(0,179,164,.32);
  /* legacy aliases so existing rules keep working */
  --pink:   var(--accent);
  --purple: var(--accent-2);
  --violet: var(--accent-deep);
  --grad:   linear-gradient(120deg, #00c2b2 0%, #00b3a4 55%, #0a9488 100%);
  --grad-soft: linear-gradient(120deg, rgba(0,194,178,.13), rgba(0,179,164,.13));

  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,1,.36,1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* fallback for old browsers */
  overflow-x: clip;     /* clip horizontal overflow WITHOUT turning body into a scroll container — keeps native momentum scroll on mobile */
  cursor: none;
}

/* ambient glow - soft teal washes on white (static) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(60vw 60vw at 82% -12%, rgba(0,179,164,.12), transparent 60%),
    radial-gradient(50vw 50vw at -12% 112%, rgba(0,194,178,.09), transparent 60%);
  pointer-events: none; z-index: 0;
}
/* graph-paper grid lives ONLY in the hero (like the reference), drifting + fading out at the bottom */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,140,128,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,140,128,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none; z-index: 0;
  animation: grid-drift 22s linear infinite;
  will-change: background-position;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 46px 46px; }   /* exactly one cell → seamless loop */
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }   /* responsive safety net (works with the width/height attrs) */
/* anchor targets land BELOW the fixed nav (so #contact etc. aren't hidden under it,
   incl. when arriving from another page via index.html#contact) */
section[id], [id].contact { scroll-margin-top: 96px; }
/* keyboard a11y: skip straight to the main content */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 3000; background: #0a9488; color: #fff; padding: 11px 18px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); transition: top .25s var(--ease); }
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
ul, ol { list-style: none; }

/* section order: full reviews come straight after the hero (rest keep DOM order) */
main { display: flex; flex-direction: column; }
#hero { order: -2; }
#testimonials { order: -1; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; position: relative; z-index: 2; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nowrap { white-space: nowrap; }

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 34px; height: 34px; border: 1.5px solid var(--accent); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; }
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor.is-hover { width: 58px; height: 58px; background: var(--grad-soft); border-color: transparent; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } }

/* =========================================================
   Scroll progress + connectors
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 9000; box-shadow: 0 0 12px var(--shadow-accent); }

.connector-layer {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  overflow: visible;
}
.connector-layer path {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 2.5;
  filter: url(#lineGlow);
  stroke-linecap: round;
}
.connector-layer circle { fill: var(--accent); filter: url(#lineGlow); }
/* branching connector (reviews → 3 cards) — deep teal so it reads on the mint band */
.connector-layer path.bconnector { fill: none; stroke: #0a7c74; stroke-width: 3; filter: none; stroke-linecap: round; }
.connector-layer .bnode { fill: #fff; stroke: #0a7c74; stroke-width: 3; }
.connector-layer .barrow { fill: #0a7c74; }

/* =========================================================
   Buttons + microinteractions
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 14px 24px; border-radius: 100px; border: 1px solid transparent;
  cursor: none; white-space: nowrap; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  will-change: transform;
}
.btn__arrow { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* lift + swoosh shine on EVERY button */
.btn:hover { transform: translateY(-3px); }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-130%); transition: transform .65s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }

.btn--primary { background: var(--grad); color: #fff; background-size: 160% 160%; box-shadow: 0 8px 26px -8px var(--shadow-accent); }
.btn--primary:hover { box-shadow: 0 16px 42px -10px var(--shadow-accent); }

.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-2); background: var(--surface-2); }

.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* the "hovering back and forth" floating button */
.btn--float { animation: floaty 3.2s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.btn--float:hover { animation-play-state: paused; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px clamp(24px, 5vw, 56px);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  transform: translateZ(0);   /* own compositor layer -> cheaper repaint while scrolling */
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -22px rgba(16,24,40,.5);
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img { height: 66px; width: auto; display: block; transition: height .4s var(--ease); }
.nav.is-scrolled .nav__logo-img { height: 56px; }
.footer__brand .nav__logo-img { height: 44px; }
.nav__links { display: flex; gap: 30px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a { font-size: .92rem; color: var(--muted); position: relative; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__menu-cta { display: none; }   /* only shown inside the mobile dropdown menu */
.nav__right { display: flex; align-items: center; gap: 14px; }
/* hamburger (mobile only; shown via the responsive block) */
.nav__burger { display: none; width: 42px; height: 42px; flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 9px 13px; border-radius: 100px; font-family: var(--font-display); font-size: .85rem; cursor: none; transition: border-color .25s, background .25s; }
.lang__btn:hover { border-color: var(--border-2); background: var(--surface-2); }
.lang__btn svg { transition: transform .25s; }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 140px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button { width: 100%; text-align: left; background: none; border: none; color: var(--muted); padding: 9px 12px; border-radius: 8px; font-family: var(--font-body); font-size: .9rem; cursor: none; transition: background .2s, color .2s; }
.lang__menu button:hover, .lang__menu button.is-active { background: var(--surface-2); color: var(--text); }

/* =========================================================
   Hero
   ========================================================= */
.section { padding: clamp(90px, 12vh, 160px) 0; position: relative; }
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; position: relative; }
.hero__glow { position: absolute; top: 18%; left: 50%; width: 70vw; height: 60vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,179,164,.14), transparent); filter: blur(20px); pointer-events: none; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero__main { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); font-family: var(--font-display); font-size: .82rem; color: var(--muted); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; }
.hero__title span { display: block; }
/* reserve 2 lines for the rotating gradient phrase so it never shifts the layout */
.hero__title .grad-text { min-height: 2.1em; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.hero__stats { display: flex; gap: clamp(28px, 6vw, 70px); margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--text); }
.stat__label { font-size: .9rem; color: var(--muted); }

/* =========================================================
   Marquee
   ========================================================= */
.marquee-wrap { padding: 28px 0; border-block: 1px solid var(--border); overflow: hidden; position: relative; z-index: 2; background: var(--bg); }
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-strip__label { color: var(--muted); font-size: .95rem; }
.marquee-label { text-align: center; color: var(--muted-2); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee__group { display: flex; gap: 0; align-items: center; flex-shrink: 0; }
.marquee__group span { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--muted-2); letter-spacing: .04em; transition: color .3s; white-space: nowrap; }
.marquee__group span::after { content: "·"; padding: 0 28px; color: var(--muted-2); font-weight: 400; }
.marquee__group span:hover { color: var(--text); }
/* real client logos: any source colour → one uniform grey (brightness filter works on file:// too) */
.client-logo { height: 30px; width: auto; flex-shrink: 0; filter: brightness(0); opacity: .46; transition: opacity .3s; }
.client-logo:hover { opacity: .78; }

/* =========================================================
   Section heads + cards
   ========================================================= */
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(48px, 7vh, 80px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section__tag { font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; }
.section__lead { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px -20px rgba(16,24,40,.18); }
.card::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(0,179,164,.4); box-shadow: 0 18px 44px -22px var(--shadow-accent); }
.card:hover::before { opacity: 1; }

/* services — synk-style cards: preview media + metric badge + body */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; padding: 18px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--border); overflow: hidden; background: linear-gradient(135deg, rgba(0,194,178,.14), rgba(0,179,164,.03)); }
.service-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .8rem; padding: 6px 13px; border-radius: 100px; box-shadow: 0 8px 20px -8px var(--shadow-accent); }
.mini { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 10px 10px 0 0; box-shadow: 0 14px 30px -16px rgba(16,24,40,.3); overflow: hidden; transform: translateY(8px); transition: transform .45s var(--ease); }
.service-card:hover .mini { transform: translateY(2px); }
.mini__bar { display: flex; gap: 5px; padding: 9px 11px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d7dce2; }
.mini__rows { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mini__rows span { height: 8px; border-radius: 4px; background: var(--bg-2); }
.mini__rows span:nth-child(1) { width: 85%; }
.mini__rows span:nth-child(2) { width: 62%; }
.mini__rows span:nth-child(3) { width: 73%; }
.mini__rows b { height: 26px; width: 50%; border-radius: 7px; background: var(--grad-soft); margin-top: 6px; }
.service-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }
.service-card__num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent); letter-spacing: .05em; }
.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-top: 12px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .98rem; }

/* services — synk-style blocks: centered headline + card row (one block per service) */
.svc-block { padding-block: clamp(64px, 8vh, 110px); }
.svc-block--tint { background: linear-gradient(180deg, rgba(0,179,164,.045), rgba(0,179,164,.012)); }
.svc-block__head { text-align: center; max-width: 720px; margin: 0 auto clamp(72px, 9vh, 108px); display: flex; flex-direction: column; align-items: center; gap: 16px; }  /* roomy gap to cards so the connector can arc gracefully into them (synk-style) */
.svc-block__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.svc-block__eyebrow b { color: var(--accent); font-weight: 700; }
.svc-block__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.svc-block__title .grad-text { display: inline; }
.svc-block__sub { color: var(--muted); font-size: 1.1rem; max-width: 54ch; }
.svc-cards { display: grid; gap: 20px; }
.svc-cards--3 { grid-template-columns: repeat(3, 1fr); }
.svc-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; z-index: 2; }  /* z2: sits above the connector (z1) so line ends tuck under the card */
.svc-card__media { position: relative; aspect-ratio: 1 / 1; padding: 18px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--border); overflow: hidden; background: linear-gradient(135deg, rgba(0,194,178,.14), rgba(0,179,164,.03)); }
.svc-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .8rem; padding: 6px 13px; border-radius: 100px; box-shadow: 0 8px 20px -8px var(--shadow-accent); }
.svc-card:hover .mini { transform: translateY(2px); }
.svc-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; z-index: 1; }
.svc-card__body h3 { font-family: var(--font-display); font-size: 1.2rem; }
.svc-card__body p { color: var(--muted); font-size: .96rem; }

/* lighter icon + text list for image-free service blocks */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 34px; max-width: 1040px; margin-inline: auto; }
.svc-list__item { display: flex; gap: 14px; align-items: flex-start; }
.svc-list__ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.05rem; font-weight: 700; }
.svc-list__txt h3 { font-family: var(--font-display); font-size: 1.14rem; margin-bottom: 6px; }
.svc-list__txt p { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* compact 2-column variant for image-free blocks (header left, list stacked right) */
.svc-block--compact { padding-block: clamp(48px, 6vh, 86px); }
.svc-compact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-block__head--left { text-align: left; align-items: flex-start; max-width: none; margin: 0; }
.svc-block__head--left .svc-block__sub { max-width: 40ch; }
.svc-list--stack { grid-template-columns: 1fr; gap: 22px; max-width: none; margin: 0; }

/* process */
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px -20px rgba(16,24,40,.18); }
.process-step:hover { transform: translateY(-6px); border-color: rgba(0,179,164,.4); box-shadow: 0 18px 44px -22px var(--shadow-accent); }
.process-step__index { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 18px; box-shadow: 0 8px 22px -8px var(--shadow-accent); }
.process-step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .94rem; }

/* why */
.why__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.why__text .section__tag { display: block; margin-bottom: 14px; }
.why__text .section__title { text-align: left; }
.why__text .section__lead { margin: 18px 0 28px; }
.why__points { display: flex; flex-direction: column; gap: 16px; }
.why__points li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.check { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-soft); color: var(--pink); font-size: .85rem; font-weight: 700; }
.why__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 30px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 16px 40px -24px rgba(16,24,40,.22); }
.why__metric { display: flex; flex-direction: column; gap: 6px; }
.why__metric-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.why__metric span:last-child { color: var(--muted); font-size: .98rem; }

/* why us — synk-style: media left + differentiator cards right */
.why2 { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
/* media stretches vertically: top aligns with the headline, bottom with the CTA button */
.why2__media { position: relative; align-self: center; width: 100%; max-width: 340px; margin: 0 auto; cursor: pointer; }
/* portrait 9:16 slot (matches a 1080x1920 reel) */
.why2__ph { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: 0 34px 80px -44px rgba(0,179,164,.5); background: radial-gradient(70% 70% at 50% 30%, rgba(0,194,178,.18), transparent 70%), linear-gradient(135deg, #e7f9f7, #f3fcfb); }
.why2__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.why2__media:hover .why2__poster { transform: scale(1.04); }
.why2__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.3rem; padding-left: 4px; box-shadow: 0 18px 40px -12px var(--shadow-accent); transition: transform .4s var(--ease); }
.why2__media:hover .why2__play { transform: translate(-50%, -50%) scale(1.09); }
.why2 .section__tag { display: block; }
.why2__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 26px; }
.why2__cards { display: flex; flex-direction: column; gap: 14px; }
.why2__card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 28px -20px rgba(16,24,40,.20); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.why2__card:hover { transform: translateX(5px); border-color: rgba(0,179,164,.35); box-shadow: 0 16px 36px -22px var(--shadow-accent); }
.why2__ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.why2__card h3 { font-family: var(--font-display); font-size: 1.06rem; margin-bottom: 5px; }
.why2__card p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.why2 .btn { margin-top: 26px; }

/* staggered reveal: the differentiator cards float up one-by-one when the section scrolls in */
.why2__card { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.why2__content.is-in .why2__card { opacity: 1; transform: none; }
.why2__content.is-in .why2__card:nth-child(1) { transition-delay: .10s; }
.why2__content.is-in .why2__card:nth-child(2) { transition-delay: .22s; }
.why2__content.is-in .why2__card:nth-child(3) { transition-delay: .34s; }
@media (prefers-reduced-motion: reduce) { .why2__card { opacity: 1; transform: none; } }

/* dark teal "statement" treatment for the why-us section (replaces grid with a bold colored bg) */
.why2-section { position: relative; z-index: 1; color: #fff;
  background:
    radial-gradient(55% 45% at 18% 12%, rgba(0,194,178,.22), transparent 60%),
    radial-gradient(45% 40% at 90% 100%, rgba(0,179,164,.16), transparent 60%),
    linear-gradient(162deg, #0b3a36 0%, #072420 100%);
}
.why2-section .section__tag { color: #58e5d5; }
.why2-section .why2__title { color: #ffffff; }
.why2-section .why2__card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.why2-section .why2__card:hover { background: rgba(255,255,255,.09); border-color: rgba(0,194,178,.55); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.why2-section .why2__card h3 { color: #fff; }
.why2-section .why2__card p { color: rgba(255,255,255,.72); }
.why2-section .why2__ico { background: rgba(0,194,178,.20); color: #58e5d5; }
.why2-section .why2__ph { border-color: rgba(255,255,255,.14); box-shadow: 0 34px 80px -44px rgba(0,0,0,.7);
  background: radial-gradient(70% 70% at 50% 30%, rgba(0,194,178,.22), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }

/* faint dotted texture for the sections after the dark band (radial-masked so edges fade out) */
.process::before, .faq::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,140,128,.13) 1.2px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(115% 95% at 50% 45%, #000 48%, transparent 100%);
  mask-image: radial-gradient(115% 95% at 50% 45%, #000 48%, transparent 100%);
}

/* testimonials - Google-style reviews on a soft mint band */
.testimonials {
  position: relative;
  z-index: 2;                 /* sits ABOVE the connector (z1) so the trunk's start tucks under the box and emerges from its bottom edge */
  margin: clamp(16px, 3.5vh, 44px) clamp(16px, 4vw, 64px);
  border-radius: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(0,179,164,.14);
  box-shadow: 0 40px 90px -55px rgba(0,179,164,.55);
  background:
    radial-gradient(72% 62% at 50% 6%, rgba(0,194,178,.20), transparent 68%),
    linear-gradient(180deg, #e7f9f7 0%, #e9f8f6 100%);
}
.reviews__agg { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.reviews__rating, .reviews__src { display: inline-flex; align-items: center; gap: 10px; }
.reviews__score { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.reviews__stars { color: #fbbc05; letter-spacing: 1px; font-size: 1.05rem; }
.reviews__agg-label { color: var(--muted); font-size: .95rem; }
.gg { flex-shrink: 0; }

.reviews { display: flex; justify-content: center; align-items: flex-start; gap: 14px; padding-top: 18px; }
.greview { flex: 0 1 340px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 18px 44px -24px rgba(16,24,40,.30); transition: transform .45s var(--ease), box-shadow .45s; }
/* gently fanned, only a hair of overlap so all text stays readable */
.reviews .greview:nth-child(1) { transform: rotate(-3.5deg) translateY(12px); margin-right: -6px; z-index: 1; }
.reviews .greview:nth-child(2) { transform: translateY(-4px); z-index: 3; }
.reviews .greview:nth-child(3) { transform: rotate(3.5deg) translateY(12px); margin-left: -6px; z-index: 1; }
.reviews .greview:hover { transform: rotate(0deg) translateY(-14px) scale(1.03); box-shadow: 0 32px 64px -26px var(--shadow-accent); z-index: 5; }

.greview__head { display: flex; align-items: center; gap: 12px; }
.greview__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; flex-shrink: 0; }
.greview__id { display: flex; flex-direction: column; line-height: 1.25; }
.greview__id strong { font-family: var(--font-display); font-size: 1.02rem; }
.greview__id span { color: var(--muted); font-size: .82rem; }
.greview__id b { color: var(--text); font-weight: 600; }
.greview__head .gg { margin-left: auto; }
.greview__rating { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; }
.greview__stars { color: #fbbc05; letter-spacing: 1px; font-size: 1.02rem; }
.greview__date { color: var(--muted-2); font-size: .82rem; }
.greview blockquote { font-size: .99rem; line-height: 1.6; color: var(--text); }
.greview mark { background: rgba(0,179,164,.18); color: inherit; padding: .04em .2em; border-radius: 4px; }

.reviews__disclaimer { text-align: center; color: var(--muted-2); font-size: .82rem; line-height: 1.55; max-width: 720px; margin: 40px auto 0; background: rgba(255,255,255,.55); border: 1px solid rgba(0,179,164,.14); border-radius: 18px; padding: 22px 32px; backdrop-filter: blur(3px); box-shadow: 0 10px 30px -22px rgba(16,24,40,.25); }
.reviews__cta { text-align: center; margin-top: 26px; }

/* contact — faint mint glow centred behind the card, fading out on every side (no hard edges) */
.contact {
  background: radial-gradient(75% 78% at 50% 50%, rgba(0,194,178,.12), transparent 72%);
}
.contact-card { display: grid; grid-template-columns: .82fr 1.18fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 30px 70px -34px rgba(16,24,40,.32); }
.contact-card__aside { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(32px, 4vw, 52px); }
.contact-card__aside::before, .contact-card__aside::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.contact-card__aside::before { width: 220px; height: 220px; right: -70px; bottom: -70px; }
.contact-card__aside::after { width: 120px; height: 120px; right: 40px; bottom: 60px; background: rgba(255,255,255,.08); }
.contact-card__aside > * { position: relative; z-index: 1; }
.contact-card__aside .section__tag { color: rgba(255,255,255,.85); display: block; margin-bottom: 14px; }
.contact-card__aside h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-card__aside p { color: rgba(255,255,255,.9); margin-bottom: 26px; font-size: 1.03rem; }
.contact-card__points { display: flex; flex-direction: column; gap: 14px; }
.contact-card__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-card__points .g-ico { background: rgba(255,255,255,.22); }
.contact-card__form { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.contact-card__formhead { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full, .form-grid .btn { grid-column: span 2; }
.form-privacy { color: var(--muted-2); font-size: .82rem; text-align: center; margin-top: 16px; }
.field { position: relative; }
.field--full { grid-column: span 2; }
.field input, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 16px 8px; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color .25s, box-shadow .25s; cursor: none; resize: none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,179,164,.16); }
.field label { position: absolute; left: 16px; top: 16px; color: var(--muted-2); font-size: 1rem; pointer-events: none; transition: transform .2s var(--ease), color .2s, font-size .2s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--pink); }
.contact__form .btn { grid-column: span 2; margin-top: 4px; }
.form-success { grid-column: span 2; text-align: center; padding: 40px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* faq */
.faq__inner { max-width: 740px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 9px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: none; padding: 15px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 20px 16px; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* =========================================================
   Free hardware
   ========================================================= */
.hardware__cols { display: grid; grid-template-columns: 2fr 3fr; gap: 28px; }
.hardware__group-title { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.hardware__group .device-grid { display: grid; gap: 14px; }
.hardware__group:first-child .device-grid { grid-template-columns: 1fr; }
.hardware__group:last-child .device-grid { grid-template-columns: repeat(3, 1fr); }
.device-card { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 22px; }
.device-card__icon { font-size: 1.7rem; margin-bottom: 8px; filter: saturate(.6); position: relative; z-index: 1; }
.device-card strong { font-family: var(--font-display); font-size: 1.05rem; position: relative; z-index: 1; }
.device-card span:not(.device-card__icon) { color: var(--muted); font-size: .88rem; position: relative; z-index: 1; }
.hardware__note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .98rem; }

/* free hardware — synk-style floating product cards */
.hw-group { margin-top: clamp(40px, 6vh, 72px); }
.hw-group__label { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: clamp(24px, 4vh, 38px); }
.hw-group__label::before, .hw-group__label::after { content: ""; height: 1px; flex: 1; max-width: 200px; background: linear-gradient(90deg, transparent, var(--border-2)); }
.hw-group__label::after { background: linear-gradient(90deg, var(--border-2), transparent); }
.hw-group__label span { font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.hw-grid { display: grid; gap: 22px; }
.hw-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin-inline: auto; }
.hw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hw-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 14px 36px -22px rgba(16,24,40,.22); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.hw-card:hover { transform: translateY(-10px); border-color: rgba(0,179,164,.4); box-shadow: 0 34px 64px -28px var(--shadow-accent); }
.hw-card__badge { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; box-shadow: 0 8px 20px -8px var(--shadow-accent); }
.hw-card__img { height: 170px; display: grid; place-items: center; margin-bottom: 16px; }
/* the product itself floats; swap .hw-card__ph for an <img> later */
.hw-card__img img { max-height: 100%; max-width: 90%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(16,24,40,.20)); animation: hw-float 3.8s ease-in-out infinite; }
.hw-card__ph { font-size: 4.6rem; line-height: 1; filter: drop-shadow(0 16px 22px rgba(16,24,40,.18)); animation: hw-float 3.8s ease-in-out infinite; }
.hw-card:nth-child(2) .hw-card__ph, .hw-card:nth-child(2) .hw-card__img img { animation-delay: .5s; }
.hw-card:nth-child(3) .hw-card__ph, .hw-card:nth-child(3) .hw-card__img img { animation-delay: 1s; }
.hw-card:hover .hw-card__ph, .hw-card:hover .hw-card__img img { animation-play-state: paused; transform: translateY(-8px) scale(1.07); transition: transform .4s var(--ease); }
.hw-card__cat { font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 7px; }
.hw-card h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; }
.hw-card p { color: var(--muted); font-size: .9rem; }
@keyframes hw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =========================================================
   Guarantee / risk-reversal band
   ========================================================= */
.guarantee__card { background: var(--grad); border-radius: var(--radius); padding: clamp(34px, 5vw, 56px); text-align: center; color: #fff; box-shadow: 0 24px 60px -28px var(--shadow-accent); position: relative; overflow: hidden; }
.guarantee__card .section__tag { color: rgba(255,255,255,.85); display: block; margin-bottom: 12px; }
.guarantee__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 26px; }
.guarantee__list { display: flex; gap: 14px 36px; flex-wrap: wrap; justify-content: center; }
.guarantee__list li { display: inline-flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 500; }
.g-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: .8rem; font-weight: 700; flex-shrink: 0; }

/* =========================================================
   Feature blocks (alternating mockup + text)
   ========================================================= */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 90px); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__label { font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }
.feature-row__text h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; }
.feature-row__text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; max-width: 46ch; }
.feature-row__points { display: flex; flex-direction: column; gap: 12px; }
.feature-row__points li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }

/* shared mockup frame */
.mock { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 30px 60px -30px rgba(16,24,40,.30); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; will-change: transform; }
.feature-row__media { perspective: 1200px; }
.mock:hover { box-shadow: 0 40px 80px -34px var(--shadow-accent); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dce2; }
.mock__dot:nth-child(1){ background:#ff5f57; } .mock__dot:nth-child(2){ background:#febc2e; } .mock__dot:nth-child(3){ background:#28c840; }
.mock__title { margin-left: 8px; font-family: var(--font-display); font-size: .86rem; color: var(--muted); font-weight: 600; }
.mock__live { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.mock__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.6s infinite; }

/* chat mockup */
.mock--chat .mock__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; background: linear-gradient(180deg, #fff, #fafdfd); }
.bubble { max-width: 78%; padding: 12px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.bubble--in { align-self: flex-start; background: var(--bg-2); border-bottom-left-radius: 5px; color: var(--text); }
.bubble--out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 8px 20px -8px var(--shadow-accent); }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 13px 16px; background: var(--bg-2); border-radius: 16px; border-bottom-left-radius: 5px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: typing 1.3s infinite; }
.typing span:nth-child(2){ animation-delay: .2s; } .typing span:nth-child(3){ animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* board / pipeline mockup */
.mock--board .mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; min-height: 250px; background: linear-gradient(180deg, #fff, #fafdfd); }
.mcol { background: var(--bg-2); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.mcol__h { font-family: var(--font-display); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.mcol i { display: block; height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 6px -3px rgba(16,24,40,.15); }
.mcol i.win { background: var(--grad-soft); border-color: rgba(0,179,164,.35); }

/* chart mockup */
.mock--chart .mock__chartbody { padding: 22px; min-height: 250px; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(180deg, #fff, #fafdfd); }
.mock__metric { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--accent); line-height: 1; display: flex; flex-direction: column; gap: 6px; }
.mock__metric small { font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars i { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: .9; transform-origin: bottom; }
.feature-row__media.is-in .bars i { animation: grow-bar .9s var(--ease) backwards; }
.bars i:nth-child(2){animation-delay:.06s} .bars i:nth-child(3){animation-delay:.12s} .bars i:nth-child(4){animation-delay:.18s} .bars i:nth-child(5){animation-delay:.24s} .bars i:nth-child(6){animation-delay:.3s} .bars i:nth-child(7){animation-delay:.36s}
@keyframes grow-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* app UI mockup */
.mock--app .mock__app { display: grid; grid-template-columns: 64px 1fr; min-height: 250px; background: linear-gradient(180deg, #fff, #fafdfd); }
.mside { border-right: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mside i { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-2); }
.mside i:first-child { background: var(--grad); }
.mmain { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 2px 6px -4px rgba(16,24,40,.15); }
.mrow span { height: 9px; border-radius: 5px; background: var(--bg-2); flex: 1; max-width: 60%; }
.tog { width: 40px; height: 22px; border-radius: 100px; background: #d7dce2; position: relative; flex-shrink: 0; transition: background .3s; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .3s; }
.tog.on { background: var(--accent); }
.tog.on::after { left: 21px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; z-index: 2; color: rgba(255,255,255,.72); padding: clamp(56px, 7vh, 84px) 0 30px;
  background: radial-gradient(50% 60% at 15% 0%, rgba(0,194,178,.16), transparent 60%), linear-gradient(165deg, #0b3a36 0%, #061d1b 100%); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer__logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 34ch; font-size: .95rem; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: background .25s, border-color .25s, transform .25s; cursor: none; }
.footer__social a:hover { background: var(--grad); border-color: transparent; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__h { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer__col a, .footer__linklike { color: rgba(255,255,255,.72); font-size: .95rem; transition: color .25s; text-align: left; }
.footer__col a:hover, .footer__linklike:hover { color: #fff; }
.footer__linklike { background: none; border: none; padding: 0; font-family: var(--font-body); cursor: none; }
.footer__cta { display: flex; align-items: flex-start; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.42); font-size: .85rem; padding-top: 26px; }

/* cookie consent — small card pinned bottom-right, custom (no third-party branding) */
.cookie { position: fixed; right: 18px; bottom: 18px; left: auto; z-index: 9500; pointer-events: none; max-width: calc(100% - 36px); }
.cookie__inner { pointer-events: auto; width: 340px; max-width: 100%; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 26px 60px -20px rgba(16,24,40,.40); transform: translateY(20px); opacity: 0; transition: transform .45s var(--ease), opacity .4s; }
.cookie.is-shown .cookie__inner { transform: translateY(0); opacity: 1; }
.cookie__copy strong { font-family: var(--font-display); display: block; margin-bottom: 5px; font-size: 1rem; }
.cookie__copy p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.cookie__copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__btn { flex: 1; justify-content: center; padding: 11px 16px; font-size: .88rem; }
/* black "Accept all" */
.cookie__inner [data-cookie-accept] { background: #15171c; box-shadow: 0 8px 20px -8px rgba(16,24,40,.5); }
.cookie__inner [data-cookie-accept]:hover { box-shadow: 0 12px 28px -8px rgba(16,24,40,.6); }

/* =========================================================
   Reveal animation base state (GSAP toggles these)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .btn--float, .hero::after, .hw-card__ph, .hw-card__img img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   Preview lightbox (browser-window frame, scrollable)
   ========================================================= */
.is-previewable { cursor: pointer; }
/* real screenshot used as a card thumbnail (fills the media area; badge stays on top) */
.svc-card__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__shot { transform: scale(1.04); }
/* hover "expand" hint on the service-card mockups */
.svc-card__media.is-previewable::after {
  content: "\2922"; position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(255,255,255,.9); color: var(--accent-deep); font-size: 1rem; font-weight: 700;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 6px 16px -8px rgba(16,24,40,.4); pointer-events: none;
}
.svc-card:hover .svc-card__media.is-previewable::after,
.svc-card__media.is-previewable:focus-visible::after { opacity: 1; transform: none; }

body.preview-open { overflow: hidden; }
.preview-backdrop {
  position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center;
  padding: clamp(14px, 4vw, 48px);
  background: rgba(7, 30, 27, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.preview-backdrop[hidden] { display: none; }   /* must override the .preview-backdrop display:grid */
.preview-backdrop.is-open { opacity: 1; }
.preview {
  width: min(1080px, 100%); height: min(78vh, 840px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.6);
  transform: scale(.96); opacity: .5; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.preview-backdrop.is-open .preview { transform: none; opacity: 1; }
.preview__chrome {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; flex-shrink: 0;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.preview__dots { display: inline-flex; gap: 7px; flex-shrink: 0; }
.preview__dots i { width: 11px; height: 11px; border-radius: 50%; }
.preview__dots i:nth-child(1) { background: #ff5f57; }
.preview__dots i:nth-child(2) { background: #febc2e; }
.preview__dots i:nth-child(3) { background: #28c840; }
.preview__url {
  flex: 1; max-width: 460px; margin-inline: auto; text-align: center;
  font-family: var(--font-display); font-size: .85rem; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 6px 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview__open { font-size: .8rem; color: var(--accent-deep); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.preview__open:hover { text-decoration: underline; }
.preview__close {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text); cursor: pointer; font-size: .85rem; line-height: 1;
  transition: background .2s, border-color .2s;
}
.preview__close:hover { background: var(--surface-2); border-color: var(--border-2); }
.preview__scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.preview__img { display: block; width: 100%; height: auto; }
.preview__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.preview__iframe { display: block; width: 100%; height: 100%; border: 0; }
.preview__soon { min-height: 340px; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); text-align: center; }
.preview__soon span { font-size: 2.6rem; }
/* in-lightbox image gallery (carousels) */
.pv-gallery { position: relative; min-height: 100%; display: grid; place-items: center; background: #0c1413; padding: 18px; }
.pv-gallery .preview__img { width: auto; height: auto; max-width: 100%; max-height: 76vh; border-radius: 10px; }
.pv-gal-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: #15171c; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 10px 26px -12px rgba(0,0,0,.6); transition: transform .2s; }
.pv-gal-arr:hover { transform: translateY(-50%) scale(1.08); }
.pv-gal-prev { left: 16px; } .pv-gal-next { right: 16px; }
.pv-gal-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; padding: 5px 14px; border-radius: 100px; font-family: var(--font-display); font-size: .82rem; }
@media (prefers-reduced-motion: reduce) {
  .preview-backdrop, .preview { transition: none; }
  .preview { transform: none; opacity: 1; }
}
@media (max-width: 600px) {
  .preview { height: 86vh; }
  .preview__url { font-size: .78rem; }
  .preview__open { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  /* a touch more breathing room on the sides */
  .container { padding-inline: 36px; }
  /* KILL expensive blur on phones — backdrop-filter/filter:blur repaints every scroll frame
     (the fixed nav re-blurred behind itself on every scroll) and caused the scroll jank. */
  .nav.is-scrolled { background: rgba(255,255,255,.95); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__glow { display: none; }
  .reviews__disclaimer { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.85); }
  .pf-card__tag { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Lenis drives the scroll (smooth) — let it own the smoothness, no CSS smooth on top */
  html { scroll-behavior: auto; }
  /* lively scroll-reveal on phones (the desktop connector lines don't show here):
     elements smoothly fade + rise as they scroll into view */
  .reveal { transform: translateY(34px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
  .reveal.is-in { transform: none; }
  /* tighter vertical rhythm on phones */
  .section { padding-block: clamp(54px, 8vh, 96px); }
  .section__head { margin-bottom: clamp(28px, 4.5vh, 52px); }
  /* mobile nav: hamburger dropdown */
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; transform: translateY(-8px);
    flex-direction: column; gap: 2px; align-items: stretch;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 10px; box-shadow: 0 30px 60px -24px rgba(16,24,40,.4);
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 1001;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__links a { font-size: 1.05rem; padding: 12px 14px; border-radius: 10px; color: var(--text); text-align: center; }
  .nav__links a::after { display: none; }
  .nav__links a:hover, .nav__links a.is-current { background: var(--surface-2); color: var(--accent-deep); }
  /* CTA button at the end of the mobile menu */
  .nav__links .nav__menu-cta { display: inline-flex; align-self: center; margin-top: 10px; color: #fff; padding: 13px 22px; }
  .nav__links .nav__menu-cta:hover { color: #fff; background: var(--grad); }
  /* smaller logo on mobile */
  .nav__logo-img, .nav.is-scrolled .nav__logo-img { height: 44px; }
  /* group the language switcher next to the hamburger (push logo left) */
  .nav__logo { margin-right: auto; }
  .nav__burger { margin-left: -10px; }
  /* hero: main block centered in the first screen; stats hidden on phones */
  .hero { align-items: flex-start; }
  .hero__inner { justify-content: flex-start; }
  .hero__main { min-height: calc(100svh - 80px); justify-content: center; }
  .hero__stats { display: none; }
  .nav__right { gap: 10px; }
  .nav__right .btn--primary { display: none; }   /* hero + contact carry the CTA on mobile */
  .connector-layer { display: none; }            /* scroll-drawn lines are a desktop-only flourish */
  .services__grid { grid-template-columns: 1fr 1fr; }
  .svc-cards--3 { grid-template-columns: 1fr 1fr; }
  .svc-cards--2 { grid-template-columns: 1fr; max-width: 460px; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .svc-compact { grid-template-columns: 1fr; gap: 28px; }
  .svc-list--stack { grid-template-columns: 1fr; }
  /* left-align every service block head on phones (consistent reading flow) */
  .svc-block__head { text-align: left; align-items: flex-start; max-width: none; }
  .testimonials .section__head { gap: 10px; }
  .testimonials .reviews__agg { margin-top: 0; }
  .reviews { flex-direction: column; align-items: center; gap: 18px; max-width: 460px; margin-inline: auto; }
  .reviews .greview { flex-basis: auto; width: 100%; }
  .reviews .greview:nth-child(1), .reviews .greview:nth-child(2), .reviews .greview:nth-child(3) { transform: none; margin: 0; }
  .process__list { grid-template-columns: 1fr 1fr; }
  .why__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__cta { grid-column: 1 / -1; }
  .why2 { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .why2__media { max-width: 300px; }
  .why2__content .btn { display: flex; width: fit-content; margin-inline: auto; }
  .contact-card { grid-template-columns: 1fr; }
  .hardware__cols { grid-template-columns: 1fr; gap: 32px; }
  .hw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--reverse .feature-row__media { order: 0; }
}
@media (max-width: 600px) {
  .services__grid, .process__list { grid-template-columns: 1fr; }
  .svc-cards--3, .svc-cards--2 { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field--full, .form-grid .btn { grid-column: span 1; }
  .nav__right .btn span:not(.btn__arrow) { display: none; }
  .hero { padding-top: 80px; }
  .hardware__group:last-child .device-grid { grid-template-columns: 1fr; }
  .hw-grid--2, .hw-grid--3 { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .guarantee__list { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "menu  legal"
      "menu  cta";
    column-gap: 24px; row-gap: 26px;
  }
  .footer__brand { grid-area: brand; text-align: center; }
  .footer__brand > a { display: inline-block; }
  .footer__logo { height: 58px; margin-inline: auto; }
  .footer__brand p { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .footer__top > .footer__col:first-of-type { grid-area: menu; }
  .footer__top > .footer__col:last-of-type { grid-area: legal; }
  .footer__cta { grid-area: cta; align-self: start; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { justify-content: stretch; }
  .cookie__btn { flex: 1; justify-content: center; }
}

/* =========================================================
   PORTFOLIO page (light + teal + graph-paper grid)
   ========================================================= */
.nav__links a.is-current { color: var(--accent-deep); }
.nav__links a.is-current::after { width: 100%; }
.portfolio-page { background: var(--bg); }
/* full-page graph-paper grid (teal), gently drifting */
.portfolio-page::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0,140,128,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,140,128,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: grid-drift 22s linear infinite;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 55%, transparent 100%);
}
.portfolio-page main, .portfolio-page .footer { position: relative; z-index: 1; }

.pf-hero { text-align: center; padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vh, 70px); }
.pf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--border); background: var(--surface); padding: 7px 15px; border-radius: 100px; }
.pf-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 14px; }
.pf-hero p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin: 0 auto; }

/* filter chips */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 40px; }
.pf-chip { font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.pf-chip:hover { border-color: var(--border-2); transform: translateY(-2px); }
.pf-chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -8px var(--shadow-accent); }

/* work grid — magazine masonry (natural poster ratios, no crop) */
.pf-grid { column-count: 3; column-gap: 22px; }
.pf-card { position: relative; display: block; width: 100%; margin: 0 0 22px; break-inside: avoid; -webkit-column-break-inside: avoid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #0c1413; cursor: pointer; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 20px 50px -30px rgba(16,24,40,.5); transition: transform .4s var(--ease), box-shadow .4s; }
.pf-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px -34px rgba(0,179,164,.45); }
.pf-card.is-hidden { display: none; }
.pf-card__media { position: relative; overflow: hidden; line-height: 0; }
.pf-card__media img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.pf-card:hover .pf-card__media img { transform: scale(1.05); }
.pf-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,12,11,.88) 100%); }
.pf-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,194,178,.85); padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px); }
.pf-card__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.pf-card__client { display: block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #fff; }
.pf-card__title { display: block; font-size: .85rem; color: rgba(255,255,255,.72); margin-top: 2px; }
.pf-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1rem; padding-left: 3px; box-shadow: 0 16px 36px -12px var(--shadow-accent); transition: transform .35s var(--ease); }
.pf-card:hover .pf-card__play { transform: translate(-50%,-50%) scale(1.1); }

/* section heading shared on portfolio */
.pf-section { padding: clamp(50px, 8vh, 90px) 0; }
.pf-work { padding-bottom: clamp(50px, 8vh, 90px); }
.pf-section__head { margin-bottom: 34px; }
.pf-section__eyebrow { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.pf-section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.02em; margin-top: 8px; }

/* featured-project carousel (horizontal scroll-snap + arrows) */
.pf-carousel { position: relative; }
.pf-carousel__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pf-carousel__track::-webkit-scrollbar { display: none; }
.pf-slide { flex: 0 0 clamp(280px, 42%, 520px); scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #0c1413; box-shadow: 0 20px 50px -30px rgba(16,24,40,.5); }
.pf-slide img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.pf-carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.9); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; z-index: 3; box-shadow: 0 12px 30px -14px rgba(16,24,40,.5); transition: background .25s, transform .25s; }
.pf-carousel__btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pf-carousel__btn--prev { left: -10px; }
.pf-carousel__btn--next { right: -10px; }

/* tools grid */
.pf-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-tool { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.pf-tool:hover { transform: translateY(-3px); border-color: var(--border-2); }
.pf-tool__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); font-size: 1.3rem; flex-shrink: 0; }
.pf-tool__ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-tool__cat { font-family: var(--font-display); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.pf-tool__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }

@media (max-width: 980px) {
  .pf-grid { column-count: 2; }
  .pf-tools { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pf-grid { column-count: 1; }
  .pf-tools { grid-template-columns: 1fr; }   /* home #stack tools: single column on phones */
  .pf-section .pf-tools { grid-template-columns: 1fr 1fr; gap: 12px; margin-inline: 16px; }   /* portfolio: 2 per row (user request) */
  .pf-section .pf-tool, .pf-section .pf-tool > div { min-width: 0; }
  .pf-carousel__btn--prev { left: 2px; } .pf-carousel__btn--next { right: 2px; }
  /* centered, swipeable carousel: one slide centered with a peek of the neighbours */
  .pf-slide { flex: 0 0 80%; }
  .pf-carousel__track { padding-inline: 10%; scroll-padding-inline: 10%; gap: 14px; }
  /* centered section headings on phones */
  .pf-section__head { text-align: center; }
  /* tighter vertical rhythm on phones */
  .pf-section { padding-block: clamp(30px, 5vh, 52px); }
  .pf-work { padding-bottom: clamp(16px, 3vh, 32px); }
  .pf-section__head { margin-bottom: 22px; }
  /* small gap at the edges so the CTA card doesn't bleed to the screen edge */
  .pf-cta { margin-inline: 16px; }
  /* hero text needs side gutters too (it zeroes its inline padding) */
  .pf-hero { padding-inline: 32px; }
}

/* =========================================================
   Page preloader — logo + spinning ring
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s var(--ease); }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { position: relative; display: grid; place-items: center; width: 132px; height: 132px; }
.preloader__logo img { width: 74px; height: auto; }
.preloader__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: pl-spin .85s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preloader__ring { animation: none; border-top-color: var(--border); } }

/* =========================================================
   ABOUT page — alternating (zig-zag) team rows
   ========================================================= */
.about-list { padding: clamp(20px, 4vh, 50px) 0 clamp(60px, 10vh, 120px); }
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; margin-bottom: clamp(48px, 9vh, 110px); }
.about-row:last-child { margin-bottom: 0; }
.about-row--flip .about-row__media { order: 1; }
.about-row--flip .about-row__text { order: 2; }
.about-row__media { position: relative; }
.about-row__media img, .about-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); display: block; box-shadow: 0 30px 70px -34px rgba(16,24,40,.45); }
.about-ph { display: grid; place-items: center; background: var(--grad-soft); }
.about-ph span { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); color: var(--accent-deep); opacity: .55; }
.about-row__role { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.about-row__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.02em; margin: 8px 0 16px; }
.about-row__bio { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 46ch; }
.about-row__bio + .about-row__bio { margin-top: 14px; }
@media (max-width: 760px) {
  .about-list { padding-inline: 32px; }
  .about-row { grid-template-columns: 1fr; gap: 22px; }
  .about-row__media { order: -1 !important; max-width: 420px; margin-inline: auto; }
  .about-row--flip .about-row__media { order: -1; }
  /* centered role / name / bio on phones */
  .about-row__text { text-align: center; }
  .about-row__bio { max-width: none; margin-inline: auto; }
}

/* portfolio CTA band (between carousel and tools) */
.pf-cta { text-align: center; padding: clamp(40px, 7vw, 84px) clamp(24px, 5vw, 64px); border-radius: var(--radius); background: var(--grad); color: #fff; box-shadow: 0 34px 80px -34px var(--shadow-accent); position: relative; overflow: hidden; }
.pf-cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.02em; }
.pf-cta__sub { color: rgba(255,255,255,.9); margin: 14px auto 28px; font-size: 1.08rem; line-height: 1.6; max-width: 52ch; }
.pf-cta__btn { background: #fff; color: var(--accent-deep); box-shadow: 0 16px 40px -14px rgba(0,0,0,.4); }
.pf-cta__btn:hover { background: #fff; box-shadow: 0 22px 50px -14px rgba(0,0,0,.5); }

/* About — clickable team photo -> LinkedIn */
.about-row__link { position: relative; display: block; }
.about-row__li { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #0A66C2; color: #fff; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: 0 10px 24px -10px rgba(10,102,194,.7); }
.about-row__link:hover .about-row__li, .about-row__link:focus-visible .about-row__li { opacity: 1; transform: none; }

/* hero headline word-swap — caret removed (it could wrap to its own line and shift the layout) */

/* contact form: honeypot (hidden) + error message */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { color: #e5484d; font-size: .9rem; line-height: 1.5; margin-top: 14px; }
.contact-card__form button[disabled] { opacity: .7; cursor: default; }
