/* =========================================================
   BLANK WALL DESIGN — "Frost" system
   Design language carried over from the THAW reference build:
   white/frost base, Space Grotesk + Inter + IBM Plex Mono,
   muted accents that "thaw" into full colour as you scroll.
   ========================================================= */

:root{
  --frost:      #F5F7FA;
  --frost-2:    #ECEFF3;
  --paper:      #FFFFFF;
  --ink:        #10151D;
  --ink-2:      #3A4250;
  --ink-3:      #6B7480;
  --line:       rgba(16,21,29,0.11);
  --line-soft:  rgba(16,21,29,0.065);

  /* pre-thaw (muted) accents — wake up to full colour once the
     visitor scrolls past the hero, same trick as the globe banner */
  --accent-blue:  #90A2B7;
  --accent-gold:  #B7A487;
  --accent-blue-rgb: 144,162,183;
  --accent-blue-2: #6FE0FF;
  --accent-blue-2-rgb: 111,224,255;

  --disp:  'Space Grotesk', sans-serif;
  --body:  'Inter', sans-serif;
  --mono:  'IBM Plex Mono', monospace;

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius-lg: 18px;
  --radius-md: 12px;
}

body.thawed{
  --accent-blue: #2A5FE0;
  --accent-gold: #B8863B;
  --accent-blue-2: #6FE0FF;
}
/* pages other than the homepage don't carry the scroll-hero, so they
   simply load pre-thawed — fully coloured from the first paint */
body.static-thaw{
  --accent-blue: #2A5FE0;
  --accent-gold: #B8863B;
  --accent-blue-2: #6FE0FF;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--frost);
  color:var(--ink-2);
  font-family:var(--body);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

h1,h2,h3,h4{ font-family:var(--disp); color:var(--ink); margin:0; letter-spacing:-0.01em; }

.label{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:14px;
}
.label::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background:var(--accent-blue-2);
  transition:background .6s var(--ease);
  flex-shrink:0;
}
.label.center{ justify-content:center; }
.label.on-dark{ color:rgba(245,247,250,0.65); }
.label.on-dark::before{ background:var(--accent-blue-2); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  font-family:var(--body);
  font-weight:600;
  font-size:14px;
  border-radius:8px;
  padding:13px 22px;
  cursor:pointer;
  border:1px solid transparent;
  transition:background .35s ease, color .35s ease, border-color .35s ease, transform .15s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; }
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--ink); color:var(--paper); }
.btn-primary:hover{ background:var(--accent-blue-2); }
.btn-outline,.btn-ghost{
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}
.btn-outline:hover,.btn-ghost:hover{ border-color:var(--ink); }
.btn-outline.on-dark{ color:var(--paper); border-color:rgba(245,247,250,0.28); }
.btn-outline.on-dark:hover{ border-color:rgba(245,247,250,0.7); }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, rgba(var(--accent-blue-2-rgb),0.55), var(--accent-blue-2));
  box-shadow:0 0 12px rgba(var(--accent-blue-2-rgb),0.6);
  z-index:200;
  transition:background .6s var(--ease);
}

/* =========================================================
   NAV
   ========================================================= */
header{
  position:sticky; top:0; z-index:60;
  background:rgba(245,247,250,0.82);
  backdrop-filter:blur(10px) saturate(1.1);
  -webkit-backdrop-filter:blur(10px) saturate(1.1);
  border-bottom:1px solid var(--line-soft);
  transition:background .3s ease;
}
.nav-inner{
  max-width:var(--container); margin:0 auto; padding:0 32px;
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand img{ height:20px; width:auto; }
nav.links{ display:flex; align-items:center; gap:30px; }
nav.links a{
  font-size:14.5px; font-weight:500; color:var(--ink-2);
  text-decoration:none; position:relative;
}
nav.links a:hover,nav.links a.active{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
@media (max-width:900px){ nav.links{ display:none; } }

.menu-btn{
  display:flex; align-items:center; gap:12px;
  background:none; border:none; cursor:pointer;
  font-family:var(--body); font-weight:600; font-size:14.5px; color:var(--ink);
  padding:6px 0;
}
@media (min-width:901px){ .menu-btn{ display:none; } }
@media (max-width:600px){
  .nav-inner{ padding:0 16px; height:64px; }
  .brand img{ height:16px; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn-primary{ padding:9px 12px !important; font-size:12.5px !important; }
  .nav-cta .btn-primary svg{ display:none; }
  .menu-btn-label{ display:none; }
}
@media (max-width:340px){
  .nav-cta .btn-primary{ padding:8px 10px !important; font-size:11.5px !important; }
}
.menu-btn-icon{ display:flex; flex-direction:column; gap:5px; width:22px; }
.menu-btn-icon span{ display:block; height:1.5px; background:var(--ink); transition:transform .3s var(--ease), opacity .3s ease; }
html.nav-open .menu-btn-icon span:first-child{ transform:translateY(3.25px) rotate(45deg); }
html.nav-open .menu-btn-icon span:last-child{ transform:translateY(-3.25px) rotate(-45deg); }

/* full-screen nav overlay, built by studio.js */
.nav-overlay{
  position:fixed; inset:0; z-index:120;
  display:flex; flex-direction:column;
  opacity:0; pointer-events:none;
  transition:opacity .4s var(--ease);
}
html.nav-open .nav-overlay{ opacity:1; pointer-events:auto; }
.nav-overlay-bg{
  position:absolute; inset:0;
  background:var(--ink);
}
.nav-overlay-close{
  position:absolute; top:26px; right:32px; z-index:2;
  width:44px; height:44px; border-radius:50%;
  border:1px solid rgba(245,247,250,0.25);
  background:transparent; color:var(--frost);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-overlay-close svg{ width:18px; height:18px; }
.nav-overlay-inner{
  position:relative; z-index:1;
  flex:1; display:flex; flex-direction:column; justify-content:center;
  gap:6px; padding:0 clamp(28px,7vw,90px);
}
.ov-link{
  font-family:var(--disp); font-weight:500;
  font-size:clamp(30px,6vw,58px);
  color:rgba(245,247,250,0.5);
  text-decoration:none;
  display:flex; align-items:baseline; gap:20px;
  padding:10px 0;
  transition:color .3s ease;
}
.ov-link:hover{ color:#fff; }
.ov-link .idx{ font-family:var(--mono); font-size:13px; color:var(--accent-blue-2); }
.nav-overlay-footer{
  position:relative; z-index:1;
  display:flex; gap:26px; flex-wrap:wrap;
  padding:26px clamp(28px,7vw,90px) 34px;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.04em;
  color:rgba(245,247,250,0.45);
}

/* =========================================================
   GLOBE HERO (homepage only)
   ========================================================= */
.hero{ position:relative; overflow:hidden; }
header.hero{ position:relative; }
.globe-stage{
  position:relative; width:100%;
  height:calc(100svh - 72px);
  min-height:600px; max-height:920px;
  overflow:hidden; cursor:pointer;
  background:var(--frost);
}
.hero-overlay{
  position:absolute; inset:0; z-index:8;
  display:flex; flex-direction:column; justify-content:flex-start;
  padding:clamp(28px,5vw,64px);
  pointer-events:none;
}
.hero-overlay > *{ pointer-events:auto; }
.hero-top{ position:relative; max-width:640px; }
.hero-top::before{
  content:"";
  position:absolute; z-index:-1;
  left:-28px; right:-14%; top:-30px; bottom:-24px;
  background:radial-gradient(ellipse 100% 100% at 22% 30%,
    rgba(245,247,250,0.94) 0%, rgba(245,247,250,0.82) 38%,
    rgba(245,247,250,0.35) 66%, rgba(245,247,250,0) 84%);
}
.hero-top .label{ margin-bottom:16px; }
.hero-top h1{
  font-size:clamp(34px,5.8vw,64px);
  line-height:1.04; font-weight:600;
}
.hero-top h1 em{
  font-style:normal; color:var(--accent-blue-2);
  transition:color .6s var(--ease);
}
.hero-top p{
  margin:18px 0 0; max-width:440px;
  font-size:16.5px; color:var(--ink-2);
}
.hero-panel{
  position:absolute; z-index:9; left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:18px 48px;
  padding:24px clamp(28px,5vw,64px);
  background:linear-gradient(100deg, #10151D 0%, #171E29 100%);
}
.hero-panel::before{
  content:"";
  position:absolute; z-index:1; top:0; left:0; right:0; height:1.5px;
  background:linear-gradient(90deg, transparent, var(--accent-blue-2) 15%, var(--accent-blue-2) 85%, transparent);
  opacity:0.9;
}
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.hero-actions .btn-primary{ background:var(--frost); color:var(--ink); }
.hero-actions .btn-primary:hover{ background:#fff; }
.hero-actions .btn-ghost{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.22);
  color:var(--frost);
}
.hero-actions .btn-ghost:hover{
  background:rgba(var(--accent-blue-2-rgb),0.16);
  border-color:var(--accent-blue-2);
  color:#fff;
}
.hero-stats{
  display:flex;
  font-family:var(--mono);
  color:rgba(245,247,250,0.55); letter-spacing:0.02em;
}
.hero-stats span{
  flex:1; position:relative;
  padding:0 20px;
  text-transform:uppercase; letter-spacing:0.08em; font-size:9px; opacity:0.85;
  white-space:nowrap;
}
.hero-stats span:first-child{ padding-left:0; }
.hero-stats span:last-child{ padding-right:0; }
.hero-stats span:not(:first-child)::before{
  content:""; position:absolute; left:0; top:1px; bottom:1px; width:1px;
  background:rgba(255,255,255,0.16);
}
.hero-stats b{
  display:flex; align-items:baseline; gap:6px;
  margin-top:6px; color:var(--frost); font-weight:600; font-size:14px;
  font-family:var(--disp); letter-spacing:-0.01em; font-variant-numeric:tabular-nums;
}
.hero-stats b::before{
  content:""; flex-shrink:0; width:5px; height:5px; border-radius:50%;
  background:var(--accent-blue-2);
  box-shadow:0 0 8px rgba(var(--accent-blue-2-rgb),0.9);
}
@media (max-width:640px){ .hero-top::before{ right:-6%; } }

/* ---- mobile hero: the ledge stays full-bleed and flush under the
   image (never a floating card) but stacks actions above stats,
   since there isn't room for both in one row ---- */
@media (max-width:760px){
  .globe-stage{ height:auto; min-height:0; max-height:none; aspect-ratio:3/4; }
  .hero-overlay{ padding:24px 20px; }
  .hero-top::before{ left:-16px; right:-16px; top:-20px; bottom:-16px; }
  .hero-top .label{ margin-bottom:10px; font-size:11px; }
  .hero-top h1{ font-size:clamp(28px,9vw,40px); }
  .hero-top p{ margin-top:12px; font-size:15px; max-width:none; }
  .hero-panel{
    position:static; z-index:auto;
    flex-direction:column; align-items:stretch;
    gap:18px;
    padding:22px 20px 20px;
  }
  .hero-actions{ flex-direction:column; }
  .hero-actions .btn{ width:100%; justify-content:center; }
  .hero-stats{ padding-top:16px; border-top:1px solid rgba(255,255,255,0.14); }
}

.globe-layer{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 40%;
  user-select:none; -webkit-user-drag:none; pointer-events:none;
}
.globe-layer.frost{ z-index:1; }
.globe-layer.color{
  z-index:2;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, #000 var(--r-in), transparent var(--r-out));
          mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, #000 var(--r-in), transparent var(--r-out));
}
.grain{
  position:absolute; inset:0; z-index:3; pointer-events:none;
  opacity:0.045; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.globe-fade{
  position:absolute; inset:0; z-index:4; pointer-events:none;
  background:
    linear-gradient(180deg, var(--frost) 0%, rgba(245,247,250,0) 9%, rgba(245,247,250,0) 88%, var(--frost) 100%),
    linear-gradient(90deg, var(--frost) 0%, rgba(245,247,250,0) 7%, rgba(245,247,250,0) 93%, var(--frost) 100%);
}
.snow-field{ position:absolute; inset:0; z-index:6; pointer-events:none; overflow:hidden; }
.snow-field .flake{
  position:absolute; top:-6%; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.95), rgba(var(--accent-blue-2-rgb),0.55) 55%, transparent 78%);
  box-shadow:0 0 6px rgba(var(--accent-blue-2-rgb),0.5);
  opacity:0;
}
@keyframes flakeFall{
  0%{ transform:translateY(0) translateX(0); }
  100%{ transform:translateY(112vh) translateX(var(--drift,20px)); }
}
@keyframes flakeFlicker{
  0%,100%{ opacity:0; }
  15%{ opacity:var(--peak,.7); }
  45%{ opacity:calc(var(--peak,.7) * .35); }
  75%{ opacity:var(--peak,.7); }
}
@media (prefers-reduced-motion: reduce){ .snow-field{ display:none; } }

/* ---- flicker field: a reusable ambient particle layer for filling
   quiet/dead space elsewhere on the site — dots hold their position
   and simply flicker in and out, no falling motion ---- */
.flicker-field{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.flicker-field .dot{
  position:absolute; border-radius:50%;
  background:radial-gradient(circle, rgba(var(--accent-blue-2-rgb),0.95), rgba(var(--accent-blue-2-rgb),0.2) 60%, transparent 80%);
  box-shadow:0 0 9px rgba(var(--accent-blue-2-rgb),0.55);
  opacity:0;
  animation:dotFlicker ease-in-out infinite;
}
@keyframes dotFlicker{ 0%,100%{ opacity:0; transform:scale(.8); } 50%{ opacity:var(--peak,.65); transform:scale(1); } }
@media (prefers-reduced-motion: reduce){ .flicker-field{ display:none; } }
.scroll-cue{
  position:absolute; right:clamp(24px,4vw,48px); bottom:22px; z-index:7;
  display:flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--ink-3); opacity:0.7;
}
.scroll-cue .stick{ width:1px; height:16px; background:var(--ink-3); position:relative; overflow:hidden; }
.scroll-cue .stick::after{
  content:""; position:absolute; left:0; top:-16px; width:100%; height:16px;
  background:var(--accent-blue-2); animation:cueDrop 1.8s ease-in-out infinite;
  transition:background .6s var(--ease);
}
@keyframes cueDrop{ 0%{transform:translateY(0);} 100%{transform:translateY(32px);} }
@media (prefers-reduced-motion:reduce){ .scroll-cue .stick::after{ animation:none; } }
@media (max-width:640px){ .globe-stage{ cursor:auto; } .scroll-cue{ display:none; } }

/* =========================================================
   PAGE HERO (inner pages — no globe, frost band instead)
   ========================================================= */
.page-hero{
  position:relative; overflow:hidden;
  padding:80px 0 64px;
  background:linear-gradient(180deg, var(--frost-2), var(--frost));
  border-bottom:1px solid var(--line-soft);
}
.page-hero-inner{ max-width:720px; margin:0 auto; text-align:center; padding:0 32px; }
.breadcrumb{
  font-family:var(--mono); font-size:11px; letter-spacing:.06em;
  color:var(--ink-3); margin-bottom:20px;
}
.breadcrumb a{ text-decoration:none; color:var(--ink-3); }
.breadcrumb a:hover{ color:var(--ink); }
.page-hero .label{ justify-content:center; }
.page-hero h1{ font-size:clamp(32px,4.6vw,48px); line-height:1.08; font-weight:600; margin-top:6px; }
.page-hero p{ margin:16px auto 0; max-width:560px; font-size:16.5px; color:var(--ink-2); }
/* ambient dots, echoes the globe network diagram without the image */
.glow-field{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.glow-field span{
  position:absolute; border-radius:50%;
  background:radial-gradient(circle, rgba(var(--accent-blue-rgb),0.16), transparent 70%);
  filter:blur(8px);
}
.glow-field span:nth-child(1){ width:340px; height:340px; top:-120px; left:-80px; }
.glow-field span:nth-child(2){ width:260px; height:260px; bottom:-100px; right:6%; }
.glow-field span:nth-child(3){ width:180px; height:180px; top:30%; right:26%; }
.page-hero-inner,.hero-inner,.cta-band .wrap,.stats-inner,.matcher-grid{ position:relative; z-index:1; }

/* =========================================================
   MARQUEE / LOGO STRIP
   ========================================================= */
.strip{ border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); padding:26px 0; }
.strip .wrap{ display:flex; align-items:center; gap:36px; flex-wrap:wrap; justify-content:space-between; }
.strip-label{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); flex-shrink:0; }
.strip-names{ display:flex; gap:34px; flex-wrap:wrap; }
.strip-names span{ font-family:var(--disp); font-weight:500; font-size:15px; color:var(--ink-3); opacity:.8; }

.marquee{ border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); overflow:hidden; padding:16px 0; background:var(--paper); }
.marquee-track{ display:flex; gap:2.5em; white-space:nowrap; width:max-content; animation:marquee 32s linear infinite; }
@media (prefers-reduced-motion:reduce){ .marquee-track{ animation:none; } }
@keyframes marquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
.marquee-track span{ font-family:var(--mono); font-size:12px; letter-spacing:.05em; color:var(--ink-3); text-transform:uppercase; }
.marquee-track b{ color:var(--ink); font-weight:600; }

/* =========================================================
   SECTION SHELL
   ========================================================= */
section{ padding:100px 0; position:relative; }
.section-head{ max-width:580px; margin:0 0 48px; }
.section-head h2{ font-size:clamp(27px,3.4vw,37px); font-weight:600; }
.section-head p{ margin:14px 0 0; color:var(--ink-3); font-size:16px; max-width:480px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

/* Small recurring accent tick — a quiet, repeated "thaw" motif across the
   otherwise-blank white cards, so the accent colour shows up in more places
   than just labels and icons. */
.pkg-card, .svc-card, .case-card, .testi-feat, .testi-card{ position:relative; overflow:hidden; }
.pkg-card::before, .svc-card::before, .case-card::before, .testi-feat::before, .testi-card::before{
  content:""; position:absolute; top:0; left:24px; width:26px; height:3px; border-radius:0 0 3px 3px;
  background:var(--accent-blue-2); opacity:0.85; transition:background .6s var(--ease), width .3s ease;
  z-index:2;
}
.pkg-card:hover::before, .svc-card:hover::before, .case-card:hover::before{ width:38px; }
.pkg-card.feat::before{ background:var(--accent-blue-2); }
.case-card::before{ left:0; }

/* Cursor-tracked spotlight — --sx/--sy set by site.js on mousemove */
.bento-item::after, .pkg-card::after, .svc-card::after, .case-card::after, .testi-feat::after, .testi-card::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:0;
  background:radial-gradient(circle 220px at var(--sx,50%) var(--sy,50%), rgba(var(--accent-blue-rgb),0.1), transparent 70%);
  transition:opacity .35s ease;
}
.bento-item:hover::after, .pkg-card:hover::after, .svc-card:hover::after, .case-card:hover::after, .testi-feat:hover::after, .testi-card:hover::after{ opacity:1; }
.pkg-badge, .pkg-name, .pkg-card h4, .pkg-card .desc, .pkg-card ul, .pkg-card .price,
.svc-icon, .svc-card h3, .svc-card p, .svc-card .n, .case-thumb, .case-info,
.testi-feat .stars, .testi-feat p, .testi-feat .testi-who, .testi-card .stars, .testi-card p, .testi-card .testi-who{
  position:relative; z-index:2;
}
.testi{ padding:64px 0 56px; }
.testi .section-head{ margin-bottom:28px; }

/* =========================================================
   RAIL — featured case studies (drifting gallery)
   ========================================================= */
.rail-section{ padding-top:96px; }
.rail-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }

/* ---- bento grid: 8 case studies shown at once, varied tile sizes
   instead of a uniform row of boxes. The image is always fully
   visible. On hover, a compact caption slides up from the bottom
   (not a large static block covering the image) — click a tile to
   open the full-size preview in the lightbox. ---- */
.case-bento{
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:190px;
  gap:16px; grid-auto-flow:dense;
}
.bento-item{
  position:relative; display:block; overflow:hidden; cursor:pointer;
  grid-column:span 1; grid-row:span 1;
  border-radius:var(--radius-lg); text-decoration:none;
  box-shadow:0 20px 44px -30px rgba(10,15,25,0.4);
  transition:box-shadow .4s ease, transform .4s var(--ease);
}
.bento-item.big{ grid-column:span 2; grid-row:span 2; }
.bento-item.wide{ grid-column:span 2; grid-row:span 1; }
.bento-item.tall{ grid-row:span 2; }
.bento-item img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top;
  transition:transform .6s var(--ease);
}
.bento-item:hover img{ transform:scale(1.06); }
.bento-item:hover{
  box-shadow:0 34px 64px -26px rgba(var(--accent-blue-2-rgb),0.5);
  transform:translateY(-4px);
}
.bento-tag{
  position:absolute; top:14px; left:14px; z-index:2;
  font-family:var(--mono); font-size:9.5px; letter-spacing:.08em; text-transform:uppercase;
  background:rgba(var(--accent-blue-2-rgb),0.9); color:#04121e; padding:4px 9px; border-radius:5px;
}
.bento-overlay{
  position:absolute; left:0; right:0; bottom:0; z-index:1;
  padding:14px 16px; color:#fff;
  background:rgba(6,10,18,0.72);
  transform:translateY(100%);
  transition:transform .4s var(--ease);
}
.bento-item:hover .bento-overlay{ transform:translateY(0); }
.bento-overlay h3{ margin:0 0 3px; font-size:15px; font-weight:600; }
.bento-item.big .bento-overlay h3{ font-size:20px; }
.bento-item.wide .bento-overlay h3{ font-size:16px; }
.bento-overlay p{
  margin:0; font-size:12px; line-height:1.45; color:rgba(245,247,250,0.85);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.bento-item.big .bento-overlay p{ font-size:13.5px; -webkit-line-clamp:3; }
@media (max-width:900px){
  .case-bento{ grid-template-columns:repeat(2,1fr); grid-auto-rows:200px; }
  .bento-item.tall{ grid-row:span 1; }
}
@media (max-width:560px){
  .case-bento{ grid-template-columns:1fr; }
  .bento-item, .bento-item.big, .bento-item.wide, .bento-item.tall{ grid-column:span 1; grid-row:span 1; height:240px; }
}
/* touch devices can't hover — keep the slide-up caption resting
   in view so the title is reachable without a tap-then-tap */
@media (hover:none){ .bento-overlay{ transform:translateY(0); background:linear-gradient(0deg, rgba(6,10,18,0.78) 0%, transparent 100%); } .bento-overlay p{ display:none; } }
@media (prefers-reduced-motion: reduce){ .bento-overlay{ transition:none; } }

html.lightbox-open{ overflow:hidden; }

.modal-backdrop{ position:absolute; inset:0; background:rgba(4,8,14,0.5); }
.modal-close-btn{
  position:absolute; top:14px; right:14px; z-index:2;
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(4,8,14,0.6); border:1px solid rgba(255,255,255,0.3); color:#fff; cursor:pointer;
  transition:background .3s ease, transform .3s var(--ease);
}
.modal-close-btn:hover{ background:var(--accent-blue-2); color:#04121e; transform:rotate(90deg); }
.modal-close-btn svg{ width:15px; height:15px; }
@media (prefers-reduced-motion: reduce){ .modal-close-btn{ transition:none; } }

/* ---- bento lightbox: enlarges the clicked tile into a full preview.
   Same visual language as the tile's own hover caption — a compact,
   semi-transparent panel that slides up over the image, not a solid
   white block sitting below it. ---- */
.bento-lightbox{
  position:fixed; inset:0; z-index:500;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .35s ease;
}
.bento-lightbox.open{ opacity:1; pointer-events:auto; }
.bento-lightbox-panel{
  position:relative; z-index:1; width:100%; max-width:720px; max-height:88vh;
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:0 40px 100px -30px rgba(0,0,0,0.6);
  transform:translateY(18px) scale(0.97); transition:transform .4s var(--ease);
}
.bento-lightbox.open .bento-lightbox-panel{ transform:translateY(0) scale(1); }
.bento-lightbox-frame{ position:relative; width:100%; aspect-ratio:1/1; background:var(--ink); }
.bento-lightbox-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; display:block; }
.bento-lightbox-body{
  position:absolute; left:0; right:0; bottom:0; z-index:1;
  padding:22px 26px 26px; color:#fff;
  background:rgba(6,10,18,0.72);
  transform:translateY(100%);
  transition:transform .5s var(--ease) .1s;
}
.bento-lightbox.open .bento-lightbox-body{ transform:translateY(0); }
.bento-lightbox-body .tag{
  font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  background:rgba(var(--accent-blue-2-rgb),0.9); color:#04121e; padding:5px 10px; border-radius:6px;
}
.bento-lightbox-body h3{ font-size:22px; font-weight:600; margin:14px 0 8px; color:#fff; }
.bento-lightbox-body p{ font-size:14.5px; color:rgba(245,247,250,0.82); line-height:1.6; margin:0 0 18px; }
@media (prefers-reduced-motion: reduce){ .bento-lightbox, .bento-lightbox-panel, .bento-lightbox-body{ transition:none; } }
@media (max-width:600px){
  .bento-lightbox{ padding:14px; }
  .bento-lightbox-frame{ aspect-ratio:3/4; }
  .bento-lightbox-body{ padding:16px 18px 18px; }
  .bento-lightbox-body h3{ font-size:18px; margin:10px 0 6px; }
  .bento-lightbox-body p{
    font-size:13px; margin:0 0 14px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .bento-lightbox-body .btn{ padding:10px 16px; font-size:13px; }
}

/* ---- quick contact modal: pricing cards open this instead of
   navigating away, so the enquiry is captured immediately ---- */
.quick-contact{
  position:fixed; inset:0; z-index:500;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .35s ease;
}
.quick-contact.open{ opacity:1; pointer-events:auto; }
.quick-contact-panel{
  position:relative; z-index:1; width:100%; max-width:560px; max-height:90vh; overflow:auto;
  background:var(--paper);
  border-radius:var(--radius-lg);
  box-shadow:0 40px 100px -30px rgba(0,0,0,0.6);
  padding:34px 32px;
  transform:translateY(18px) scale(0.97); transition:transform .4s var(--ease);
}
.quick-contact.open .quick-contact-panel{ transform:translateY(0) scale(1); }
.quick-contact-panel h3{ font-size:22px; font-weight:600; margin:8px 0 10px; }
.quick-contact-sub{ font-size:14px; color:var(--ink-3); line-height:1.6; margin:0 0 22px; }
.quick-contact-sub strong{ color:var(--ink); }
.quick-contact-panel .form-row{ margin-bottom:16px; }
.quick-contact-panel .form label{ margin-top:0; }
.quick-contact-panel textarea{ margin-bottom:18px; }
@media (max-width:560px){ .quick-contact-panel .form-row{ grid-template-columns:1fr; } .quick-contact-panel{ padding:28px 22px; } }
@media (prefers-reduced-motion: reduce){ .quick-contact, .quick-contact-panel{ transition:none; } }

/* =========================================================
   STATS
   ========================================================= */
.stats{ background:var(--ink); color:var(--frost); position:relative; overflow:hidden; padding:88px 0; }
.stats-inner{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center; max-width:none; padding:0; }
.stat .num{ font-family:var(--disp); font-size:clamp(30px,3.6vw,42px); font-weight:600; color:var(--paper); font-variant-numeric:tabular-nums; }
.stat .lab{ margin-top:8px; font-size:13px; color:rgba(245,247,250,0.55); }
@media (max-width:820px){ .stats-inner{ grid-template-columns:repeat(2,1fr); row-gap:48px; } }

/* =========================================================
   SERVICES — bento grid
   ========================================================= */
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:16px; overflow:hidden; }
.svc-card{ background:var(--paper); padding:32px 28px 34px; position:relative; }
.svc-card.lead{ grid-column:span 1; }
.svc-icon{ width:32px; height:32px; margin-bottom:20px; color:var(--accent-blue-2); transition:color .6s var(--ease); }
.svc-icon svg{ width:100%; height:100%; display:block; }
.svc-card h3{ font-size:17.5px; font-weight:600; margin-bottom:9px; }
.svc-card p{ margin:0; font-size:15px; color:var(--ink-3); }
.svc-card .n{ position:absolute; top:26px; right:28px; font-family:var(--mono); font-size:11px; color:var(--ink-3); opacity:.5; }
@media (max-width:820px){ .svc-grid{ grid-template-columns:1fr !important; } }

/* =========================================================
   PROCESS — connected steps
   ========================================================= */
.process{ position:relative; background:var(--frost-2); padding:0; }
.process > .wrap{ position:relative; z-index:1; padding-top:64px; padding-bottom:100px; }

/* ---- process hero banner: a proper full-bleed photographic banner,
   the same weight as a page hero, instead of a small boxed thumbnail ---- */
.process-hero{
  position:relative; overflow:hidden;
  height:clamp(360px, 46vw, 560px);
  display:flex; align-items:flex-end;
}
.process-hero-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:saturate(0.85) brightness(0.82);
  transform:translateY(calc(var(--py, 0) * 1px)) scale(1.1);
  transition:transform .05s linear; will-change:transform;
}
.process-hero-fade{
  position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(0deg, rgba(4,8,14,0.88) 0%, rgba(4,8,14,0.55) 32%, rgba(4,8,14,0.15) 60%, transparent 78%),
    linear-gradient(100deg, rgba(4,8,14,0.55) 0%, transparent 55%),
    linear-gradient(155deg, rgba(var(--accent-blue-2-rgb),0.16), transparent 50%);
}
.process-hero > .wrap{ position:relative; z-index:1; padding-bottom:52px; }
.process-hero .section-head{ margin-bottom:0; max-width:620px; }
.process-hero .section-head h2{ color:var(--paper); }
.process-hero .section-head p{ color:rgba(245,247,250,0.68); }
@media (prefers-reduced-motion: reduce){ .process-hero-img{ transform:none !important; } }
@media (max-width:640px){ .process-hero{ height:clamp(320px, 70vw, 460px); } }
.proc-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; position:relative; }
.proc-line{ display:none; }
.proc-step{ position:relative; padding-top:8px; }
.proc-step .idx{ font-family:var(--mono); font-size:12px; font-weight:600; color:var(--accent-blue-2); transition:color .6s var(--ease); margin-bottom:16px; display:block; }
.proc-step h3{ font-size:17.5px; font-weight:600; margin-bottom:9px; }
.proc-step p{ margin:0; font-size:15px; color:var(--ink-3); }
.proc-step:not(:last-child)::after{
  content:""; position:absolute; top:14px; left:calc(100% + 16px);
  width:16px; height:1px; background:var(--line); display:none;
}
@media (min-width:821px){ .proc-step:not(:last-child)::after{ display:block; } }
@media (max-width:820px){ .proc-row{ grid-template-columns:1fr; gap:32px; } }

/* =========================================================
   AI PACKAGE MATCHER
   ========================================================= */
.matcher-section{ background:var(--ink); color:var(--frost); position:relative; overflow:hidden; }
.matcher-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.matcher-copy h2{ color:var(--paper); font-size:clamp(26px,3.2vw,34px); margin-top:14px; }
.matcher-copy p{ color:rgba(245,247,250,0.6); margin:16px 0 0; max-width:440px; font-size:16px; }
.matcher-feats{ margin-top:26px; display:flex; flex-direction:column; gap:12px; }
.matcher-feats li{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:rgba(245,247,250,0.78); }
.matcher-feats svg{ width:17px; height:17px; color:var(--accent-blue-2); flex-shrink:0; transition:color .6s var(--ease); }
.matcher-card{
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-lg); padding:30px 28px; backdrop-filter:blur(6px);
  min-height:360px; display:flex; flex-direction:column;
}
.matcher-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; }
.matcher-top span{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(245,247,250,0.5); }
.matcher-steps{ display:flex; gap:6px; }
.matcher-steps i{ width:18px; height:3px; border-radius:2px; background:rgba(255,255,255,0.18); }
.matcher-steps i.done{ background:var(--accent-blue-2); transition:background .6s var(--ease); }
.matcher-questions{ flex:1; position:relative; }
.matcher-q{ display:none; }
.matcher-q.active{ display:block; }
.matcher-q h3{ color:var(--paper); font-size:19px; font-weight:600; margin-bottom:22px; }
.matcher-opts{ display:flex; flex-direction:column; gap:10px; }
.matcher-opt{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  text-align:left; width:100%; position:relative; overflow:hidden;
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.14);
  color:var(--paper); font-family:var(--body); font-size:15px; font-weight:500;
  padding:14px 16px; border-radius:10px; cursor:pointer;
  transition:background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease), color .3s ease;
}
.matcher-opt svg{ width:16px; height:16px; opacity:.5; flex-shrink:0; transition:opacity .3s ease, color .3s ease, transform .3s var(--ease); }
.matcher-opt:hover{
  background:linear-gradient(135deg, rgba(var(--accent-blue-2-rgb),0.28), rgba(var(--accent-blue-2-rgb),0.08));
  border-color:var(--accent-blue-2);
  box-shadow:0 10px 28px -12px rgba(var(--accent-blue-2-rgb),0.65), inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.25), 0 0 18px rgba(var(--accent-blue-2-rgb),0.3);
  color:#fff; transform:translateX(3px);
}
.matcher-opt:hover svg{ opacity:1; color:var(--accent-blue-2); transform:translateX(3px); }
.matcher-result{ display:none; flex:1; }
.matcher-result.active{ display:flex; flex-direction:column; }
.matcher-result .r-eyebrow{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-blue-2); transition:color .6s var(--ease); }
.matcher-result h3{ color:var(--paper); font-size:24px; margin:10px 0 4px; }
.matcher-result .r-price{ font-family:var(--disp); font-size:22px; color:var(--paper); display:flex; align-items:baseline; gap:10px; }
.matcher-result .r-price small{ font-family:var(--body); font-size:11.5px; color:rgba(245,247,250,0.5); font-weight:400; }
.matcher-result p{ margin:14px 0 0; font-size:14.5px; color:rgba(245,247,250,0.62); }
.matcher-actions{ display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.matcher-restart{ font-family:var(--mono); font-size:11.5px; letter-spacing:.04em; color:rgba(245,247,250,0.5); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.matcher-restart:hover{ color:var(--paper); }
@media (max-width:900px){ .matcher-grid{ grid-template-columns:1fr; gap:36px; } }

/* =========================================================
   PRICING
   ========================================================= */
.pkg-section{ background:var(--frost-2); }
.pkg-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:16px; overflow:hidden; }
.pkg-card{
  background:linear-gradient(175deg, #ffffff, #fbfdff); text-decoration:none; color:inherit;
  padding:30px 24px 28px; position:relative; scroll-margin-top:110px;
  display:flex; flex-direction:column;
}
/* homepage preview cards (data-package) stay whole-card clickable via
   JS (opens the quick-contact modal) even though they're now a <div>
   wrapping a real .pkg-cta link, so keep the pointer affordance */
.pkg-card[data-package]{ cursor:pointer; }
.pkg-card.feat{
  background:linear-gradient(175deg, #ffffff, #f7fbff);
  box-shadow:inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.35), 0 26px 60px -30px rgba(var(--accent-blue-2-rgb),0.45);
}
.pkg-badge{
  position:absolute; top:-1px; left:24px;
  font-family:var(--mono); font-size:9.5px; letter-spacing:.08em; text-transform:uppercase;
  background:var(--accent-blue-2); color:#fff; padding:5px 10px; border-radius:0 0 8px 8px;
  transition:background .6s var(--ease);
}
.pkg-name{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-blue-2); transition:color .6s var(--ease); margin-bottom:14px; display:block; }
.pkg-card h4{ font-size:19px; font-weight:600; margin-bottom:10px; }
.pkg-card .desc{ font-size:14px; color:var(--ink-3); margin:0 0 20px; min-height:52px; }
.pkg-card ul{ display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.pkg-card ul li{
  font-size:14px; color:var(--ink-2); padding-bottom:10px;
  border-bottom:1px solid var(--line-soft);
}
.pkg-card ul li:last-child{ border-bottom:none; padding-bottom:0; }

/* ---- price: a coordinated hover reveal instead of a flat colour
   flip — the accent bar sweeps out to full width beneath the price,
   and the price itself lifts a couple of px and shifts into the
   brand's cyan accent. No glow/blur, just colour + motion. ---- */
.pkg-card .price{
  position:relative;
  margin-top:auto; margin-bottom:20px; padding:4px 0 14px;
}
.pkg-card .price::after{
  content:""; position:absolute; z-index:1; left:0; bottom:0; height:3px; border-radius:2px;
  width:22px;
  background:linear-gradient(90deg, var(--accent-blue), var(--accent-blue-2));
  transition:width .5s var(--ease);
}
.pkg-card:hover .price::after{ width:100%; }
.pkg-card .price .amt{
  position:relative; z-index:2; display:inline-block; white-space:nowrap;
  font-family:var(--disp); font-size:27px; font-weight:600; letter-spacing:-0.01em;
  color:var(--ink); transform-origin:left center;
  transition:transform .4s var(--ease), color .4s ease;
}
.pkg-card:hover .price .amt{
  color:var(--accent-blue-2);
  transform:translateY(-2px);
}
@media (prefers-reduced-motion: reduce){
  .pkg-card .price .amt, .pkg-card .price::after{ transition:none; }
}

/* ---- shared CTA button on every card ---- */
.pkg-cta{ width:100%; justify-content:center; margin-top:6px; }
.pkg-cta svg{ transition:transform .3s var(--ease); }
.pkg-cta:hover svg{ transform:translateX(3px); }
.pkg-cta.btn-outline{ transition:background .3s ease, border-color .3s ease, color .3s ease; }
.pkg-cta.btn-outline:hover{ background:var(--accent-blue-2); border-color:var(--accent-blue-2); color:#04121e; }
.pkg-card.feat .pkg-cta{ box-shadow:0 12px 26px -12px rgba(var(--accent-blue-2-rgb),0.6); }

@media (max-width:980px){ .pkg-grid{ grid-template-columns:repeat(2,1fr) !important; } }
@media (max-width:560px){ .pkg-grid{ grid-template-columns:1fr !important; } }
.pkg-foot{ text-align:center; margin-top:16px; font-size:14.5px; color:var(--ink-3); }
.pkg-foot a{ color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.pkg-hosting-note{ text-align:center; margin:28px auto 0; max-width:560px; font-size:13.5px; color:var(--ink-3); line-height:1.6; }

/* ---- "Why Fixed Price" banner: a real photographic section instead
   of another flat grey block, glass cards floating on top ---- */
.why-fixed{ position:relative; overflow:hidden; padding:96px 0; }
.why-fixed-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:saturate(0.8) brightness(0.55);
}
.why-fixed-fade{
  position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(4,8,14,0.82), rgba(4,8,14,0.6) 40%, rgba(4,8,14,0.82)),
    linear-gradient(120deg, rgba(var(--accent-blue-2-rgb),0.14), transparent 55%);
}
.why-fixed > .wrap{ position:relative; z-index:1; }
.why-fixed .label.on-dark{ justify-content:center; }
.why-fixed .section-head h2{ color:var(--paper); }
.why-fixed .section-head p{ color:rgba(245,247,250,0.68); }
.testi-grid{ display:grid; gap:20px; }
@media (max-width:820px){ .testi-grid{ grid-template-columns:1fr !important; } }
.testi-card.glass{
  background:rgba(6,10,18,0.6);
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(10px) saturate(1.15); -webkit-backdrop-filter:blur(10px) saturate(1.15);
  color:rgba(245,247,250,0.92);
  box-shadow:0 24px 50px -28px rgba(0,0,0,0.6);
}
.testi-card.glass h3{ color:var(--paper); }
.testi-card.glass p{ color:rgba(245,247,250,0.82); }
.testi-card.glass .svc-icon{
  background:linear-gradient(145deg, rgba(var(--accent-blue-2-rgb),0.32), rgba(var(--accent-blue-2-rgb),0.08));
  border-color:rgba(var(--accent-blue-2-rgb),0.45);
}
.testi-card.glass:hover{ border-color:rgba(var(--accent-blue-2-rgb),0.55); background:rgba(8,13,22,0.72); }

/* pkg pill selector on contact page */
.pkg-select{ display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 22px; }
.pkg-pill input{ position:absolute; opacity:0; pointer-events:none; }
.pkg-pill span{
  display:inline-flex; padding:9px 16px; border-radius:100px;
  border:1px solid var(--line); font-size:13.5px; font-weight:500; color:var(--ink-2);
  cursor:pointer; transition:all .2s ease;
}
.pkg-pill input:checked + span{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-feat-wrap{ max-width:640px; }
.testi-feat{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  padding:34px 32px;
}
.testi-feat p{ font-family:var(--disp); font-size:clamp(19px,2.2vw,23px); color:var(--ink); line-height:1.45; margin:16px 0 24px; font-weight:500; }
.testi-card{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  padding:28px 26px;
}
.testi-card p{ font-size:15px; color:var(--ink-2); line-height:1.65; margin:12px 0 18px; }
.stars{ color:var(--accent-gold); letter-spacing:2px; font-size:14px; transition:color .6s var(--ease); }
.testi-who{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:38px; height:38px; border-radius:50%; background:var(--frost-2); border:1px solid var(--line); flex-shrink:0; }
.testi-who strong{ display:block; font-size:14.5px; color:var(--ink); }
.testi-who span{ font-size:12px; color:var(--ink-3); }

/* ---- testimonial marquee: two independently-drifting rows so the
   section fills its full width instead of one static card + one row ---- */
.testi-marquee{
  overflow:hidden; padding:6px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testi-marquee + .testi-marquee{ margin-top:20px; }
.wrap + .testi-marquee{ margin-top:8px; }
.testi-track{ display:flex; gap:22px; width:max-content; }
.testi-track-a{ animation:testiScroll var(--dur,42s) linear infinite; }
.testi-track-b{ animation:testiScrollRev var(--dur,48s) linear infinite; }
.testi-marquee:hover .testi-track{ animation-play-state:paused; }
.testi-track .testi-card{ flex:0 0 340px; }
@keyframes testiScroll{ from{ transform:translateX(0); } to{ transform:translateX(calc(-1 * var(--shift, 50%))); } }
@keyframes testiScrollRev{ from{ transform:translateX(calc(-1 * var(--shift, 50%))); } to{ transform:translateX(0); } }
@media (prefers-reduced-motion: reduce){ .testi-track{ animation:none; flex-wrap:wrap; width:auto; } }
@media (max-width:820px){ .testi-track .testi-card{ flex-basis:280px; } }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{ background:var(--ink); color:var(--frost); position:relative; overflow:hidden; }
.cta-band .wrap{ max-width:640px; text-align:center; }
.cta-band h2{ color:var(--paper); font-size:clamp(27px,3.6vw,38px); margin-top:10px; }
.cta-band p{ color:rgba(245,247,250,0.62); margin:14px auto 0; font-size:16px; max-width:440px; }
.cta-band .hero-actions{ justify-content:center; margin-top:28px; }

/* ---- CTA band: a proper closer instead of a flat rectangle — grid
   backdrop, a rotating light sweep, ambient flicker dots, and a
   glowing primary button ---- */
.cta-band::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(var(--accent-blue-2-rgb),0.06) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(var(--accent-blue-2-rgb),0.06) 0 1px, transparent 1px 60px);
  -webkit-mask-image:radial-gradient(circle at 50% 45%, #000, transparent 75%);
          mask-image:radial-gradient(circle at 50% 45%, #000, transparent 75%);
}
.cta-sweep{
  position:absolute; inset:-70%; z-index:0; pointer-events:none;
  background:conic-gradient(from 0deg,
    transparent 0 78%,
    rgba(var(--accent-blue-2-rgb),0.75) 88%,
    rgba(255,255,255,0.9) 90%,
    rgba(var(--accent-blue-2-rgb),0.75) 92%,
    transparent 100%);
  filter:blur(18px);
  animation:statSpin 8s linear infinite;
  mix-blend-mode:screen;
}
.cta-sweep-b{
  position:absolute; inset:-90%; z-index:0; pointer-events:none;
  background:conic-gradient(from 180deg,
    transparent 0 84%,
    rgba(var(--accent-blue-rgb),0.5) 93%,
    transparent 100%);
  filter:blur(26px);
  animation:statSpin 14s linear infinite reverse;
  mix-blend-mode:screen;
  opacity:0.8;
}
.cta-band .flicker-field .dot{ box-shadow:0 0 12px rgba(var(--accent-blue-2-rgb),0.7); }
.cta-band .flicker-field{ z-index:0; }
.cta-band .glow-field{ z-index:0; }
.cta-band::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:0;
  box-shadow:inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.16);
}
.cta-band .btn-primary{
  background:var(--paper); color:var(--ink);
  box-shadow:0 0 0 1px rgba(var(--accent-blue-2-rgb),0.4), 0 14px 34px -12px rgba(var(--accent-blue-2-rgb),0.55);
  animation:ctaPulse 2.6s ease-in-out infinite;
}
.cta-band .btn-primary:hover{ background:var(--accent-blue-2); color:#04121e; }
.cta-band .btn-outline.on-dark{
  border-color:rgba(var(--accent-blue-2-rgb),0.5);
  background:rgba(255,255,255,0.04);
  color:var(--paper);
}
.cta-band .btn-outline.on-dark:hover{
  border-color:var(--accent-blue-2);
  background:rgba(var(--accent-blue-2-rgb),0.14);
  color:#fff;
}
@keyframes ctaPulse{
  0%,100%{ box-shadow:0 0 0 1px rgba(var(--accent-blue-2-rgb),0.4), 0 14px 34px -12px rgba(var(--accent-blue-2-rgb),0.55); }
  50%{ box-shadow:0 0 0 1px rgba(var(--accent-blue-2-rgb),0.6), 0 14px 40px -8px rgba(var(--accent-blue-2-rgb),0.85); }
}
@media (prefers-reduced-motion: reduce){ .cta-sweep, .cta-sweep-b{ animation:none; opacity:0; } .cta-band .btn-primary{ animation:none; } }

/* =========================================================
   FOOTER
   ========================================================= */
footer{ padding:70px 0 34px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line-soft); }
.foot-brand img{ height:17px; margin-bottom:14px; }
.foot-grid .col p{ font-size:14.5px; color:var(--ink-3); margin:0; line-height:1.65; }
.foot-grid h4{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin:0 0 14px; font-weight:500; }
.foot-grid ul{ display:flex; flex-direction:column; gap:10px; }
.foot-grid a{ font-size:14.5px; color:var(--ink-2); text-decoration:none; }
.foot-grid a:hover{ color:var(--ink); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; flex-wrap:wrap; gap:12px; }
.foot-bottom span{ font-size:12px; color:var(--ink-3); }
@media (max-width:820px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){
  footer{ padding-top:56px; }
  .foot-grid{ grid-template-columns:1fr; gap:0; }
  .foot-grid .col{ padding:22px 0; border-top:1px solid rgba(255,255,255,0.08); }
  .foot-grid .col:first-child{ border-top:none; padding-top:0; }
  .foot-brand img{ height:15px; }
  .foot-grid h4{ margin-bottom:12px; }
  .foot-grid ul{ gap:12px; }
  .foot-bottom{ flex-direction:column; align-items:flex-start; gap:6px; padding-top:18px; }
}

/* ---- footer: a proper dark bookend rather than a plain grey block ---- */
footer{
  position:relative; overflow:hidden; margin-top:16px;
  padding:84px 0 30px;
  background:
    radial-gradient(120% 160% at 10% -15%, rgba(var(--accent-blue-2-rgb),0.12), transparent 55%),
    radial-gradient(120% 160% at 90% 120%, rgba(var(--accent-blue-rgb),0.12), transparent 55%),
    linear-gradient(180deg, #0a0e16, #060810 55%, #04060a);
  color:var(--frost);
}
footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(var(--accent-blue-2-rgb),0.75), transparent);
}
footer .glow-field{ opacity:0.7; }
footer .wrap{ position:relative; z-index:1; }
footer .foot-grid{ border-bottom-color:rgba(255,255,255,0.09); }
footer .foot-brand img{ filter:brightness(0) invert(1); opacity:0.92; }
footer .foot-grid .col p{ color:rgba(245,247,250,0.55); }
footer .foot-grid h4{ color:rgba(var(--accent-blue-2-rgb),1); letter-spacing:.14em; }
footer .foot-grid ul{ gap:12px; }
footer .foot-grid a{
  position:relative; display:inline-block; color:rgba(245,247,250,0.78);
  transition:color .3s ease, transform .3s var(--ease);
}
footer .foot-grid a::before{
  content:"›"; position:absolute; left:-15px; top:0; opacity:0; color:var(--accent-blue-2);
  transition:opacity .3s ease, transform .3s var(--ease); transform:translateX(4px);
}
footer .foot-grid a:hover{ color:#fff; transform:translateX(10px); }
footer .foot-grid a:hover::before{ opacity:1; transform:translateX(0); }
footer .foot-bottom{ border-top:1px solid rgba(255,255,255,0.07); margin-top:0; }
footer .foot-bottom span{ color:rgba(245,247,250,0.4); }

/* =========================================================
   HERO INNER LAYOUT PIECES (kept for reveal/marquee compat)
   ========================================================= */
.hero-inner{ position:relative; z-index:1; }
.hero-meta{ display:flex; gap:26px; flex-wrap:wrap; margin-top:30px; font-family:var(--mono); font-size:10.5px; letter-spacing:.04em; color:rgba(245,247,250,0.5); }
.hero-meta strong{ display:block; font-family:var(--disp); font-size:18px; color:var(--paper); font-weight:600; }

/* =========================================================
   CROP RULE DIVIDER
   ========================================================= */
.crop-rule{ display:flex; align-items:center; gap:14px; max-width:var(--container); margin:0 auto; padding:0 32px; }
.crop-rule .line{
  flex:1; height:1px; position:relative;
  background:linear-gradient(90deg, transparent, rgba(var(--accent-blue-rgb),0.55) 30%, rgba(var(--accent-blue-2-rgb),0.55) 70%, transparent);
}
.crop-rule .line::after{
  content:""; position:absolute; top:50%; left:0; width:7px; height:7px; border-radius:50%;
  background:var(--accent-blue-2); transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px rgba(var(--accent-blue-2-rgb),0.18), 0 0 14px rgba(var(--accent-blue-2-rgb),0.7);
  animation:cropTravel 5.5s ease-in-out infinite;
}
@keyframes cropTravel{ 0%,100%{ left:0; opacity:0; } 8%{ opacity:1; } 50%{ left:100%; opacity:1; } 58%{ opacity:0; } }
.crop-rule .tag{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; }
@media (prefers-reduced-motion: reduce){ .crop-rule .line::after{ animation:none; left:50%; opacity:1; } }

/* =========================================================
   TRANSFORM (before/after) — case studies page
   ========================================================= */
.transform-section{ height:260vh; position:relative; }
.transform-sticky{ position:sticky; top:72px; height:calc(100svh - 72px); display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; background:var(--ink); }
.transform-frame{ position:relative; width:min(1000px,88vw); aspect-ratio:16/10; border-radius:16px; overflow:hidden; box-shadow:0 40px 80px -30px rgba(0,0,0,0.5); }
@media (max-width:640px){
  .transform-frame{ width:92vw; aspect-ratio:3/4; }
  .transform-caption{ padding:0 20px; }
}
.transform-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.transform-before{ background:#e9edf2; z-index:1; }
.transform-before-mock{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#e9edf2; }
.old-browser{ width:82%; background:#fff; border-radius:6px; box-shadow:0 20px 40px rgba(0,0,0,0.12); overflow:hidden; }
.old-top{ display:flex; gap:6px; padding:10px 12px; background:#dfe3e8; }
.old-top i{ width:8px; height:8px; border-radius:50%; background:#b7bec6; display:block; }
.old-body{ padding:26px 30px 34px; }
.old-body .l1{ width:60%; height:16px; background:#c9cfd6; border-radius:3px; margin-bottom:12px; }
.old-body .l2{ width:85%; height:9px; background:#d8dde2; border-radius:3px; margin-bottom:8px; }
.old-body .l3{ width:70%; height:9px; background:#d8dde2; border-radius:3px; margin-bottom:20px; }
.btn-old{ display:inline-block; background:#aeb6bf; color:#fff; font-size:11px; padding:8px 16px; border-radius:4px; font-family:var(--body); }
.transform-after{ z-index:2; }
.transform-label{
  position:absolute; top:16px; z-index:3;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 12px; border-radius:100px; background:rgba(16,21,29,0.72); color:#fff; backdrop-filter:blur(6px);
}
.transform-label-before{ left:16px; }
.transform-label-after{ right:16px; opacity:0; transition:opacity .3s ease; background:var(--accent-blue-2); }
.transform-caption{ text-align:center; max-width:520px; margin-top:34px; padding:0 24px; }
.transform-caption .label{ justify-content:center; }
.transform-caption h2{ color:var(--paper); font-size:clamp(22px,2.8vw,30px); }
.transform-caption p{ color:rgba(245,247,250,0.55); margin:12px 0 0; font-size:15px; }

/* =========================================================
   FILTERS + CASE GRID
   ========================================================= */
.filters{ display:flex; gap:10px; flex-wrap:wrap; padding:56px 0 34px; }
.filter-btn{
  font-family:var(--body); font-weight:600; font-size:13.5px;
  padding:9px 18px; border-radius:100px; border:1px solid var(--line);
  background:var(--paper); color:var(--ink-2); cursor:pointer; transition:all .2s ease;
}
.filter-btn:hover{ border-color:var(--ink); }
.filter-btn.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.case-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding-bottom:100px; }
.case-card{
  border:1px solid var(--line-soft); border-radius:var(--radius-lg); overflow:hidden; background:var(--paper);
  transition:opacity .3s ease, transform .3s ease, border-color .3s ease;
}
.case-card:hover{ border-color:rgba(var(--accent-blue-rgb),0.4); box-shadow:0 20px 40px -28px rgba(var(--accent-blue-rgb),0.3); }
.case-card.hide{ display:none; }
.case-thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; cursor:pointer;
  background:
    radial-gradient(120% 140% at 15% -10%, rgba(var(--accent-blue-2-rgb),0.16), transparent 55%),
    radial-gradient(120% 140% at 85% 120%, rgba(var(--accent-blue-rgb),0.14), transparent 55%),
    linear-gradient(155deg, #0a0e16, #060810 60%, #04060a);
}
.case-thumb.photo img{ width:100%; height:100%; object-fit:contain; object-position:center; padding:14px; box-sizing:border-box; filter:drop-shadow(0 12px 26px rgba(0,0,0,0.35)); }
.case-thumb .tag{
  position:absolute; top:12px; left:12px; z-index:2;
  font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 10px; border-radius:100px; background:rgba(16,21,29,0.7); color:#fff; backdrop-filter:blur(6px);
}
.thumb-art{ width:100%; height:100%; }
.browser{ width:100%; height:100%; background:linear-gradient(150deg,#1c2430,#0e131a); display:flex; flex-direction:column; }
.browser .top{ display:flex; gap:6px; padding:10px 12px; }
.browser .top i{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.25); display:block; }
.browser .content{ flex:1; }
.case-info{ padding:22px 22px 24px; }
.case-info h3{ font-size:18px; font-weight:600; margin-bottom:9px; }
.case-info p{ margin:0; font-size:14.5px; color:var(--ink-3); line-height:1.65; }
.case-info .meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.case-info .meta span{
  font-family:var(--mono); font-size:10px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--ink-3); border:1px solid var(--line); border-radius:100px; padding:4px 9px;
}
@media (max-width:900px){ .case-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .case-grid{ grid-template-columns:1fr; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:64px; padding:70px 0 110px; }
.contact-info h2{ font-size:clamp(24px,2.8vw,30px); margin-bottom:16px; }
.contact-info > p{ font-size:15.5px; color:var(--ink-3); line-height:1.7; margin-bottom:30px; }
.contact-row{ display:flex; align-items:flex-start; gap:16px; padding:16px 0; border-top:1px solid var(--line-soft); }
.contact-row .ic{ width:36px; height:36px; border-radius:10px; background:var(--frost-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .ic svg{ width:17px; height:17px; color:var(--accent-blue-2); transition:color .6s var(--ease); }
.contact-row h4{ font-size:13px; font-weight:600; margin-bottom:3px; }
.contact-row span{ font-size:14.5px; color:var(--ink-3); }
.contact-row a{ text-decoration:none; color:var(--ink-3); }
.contact-row a:hover{ color:var(--ink); }

.form{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  padding:34px 32px; display:flex; flex-direction:column; gap:16px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form label{ font-size:12px; font-weight:600; color:var(--ink); margin-bottom:6px; display:block; }
.form input,.form textarea{
  width:100%; font-family:var(--body); font-size:15px; color:var(--ink);
  border:1px solid var(--line); border-radius:9px; padding:12px 14px;
  background:var(--frost); outline:none; transition:border-color .2s ease;
}
.form input:focus,.form textarea:focus{ border-color:var(--accent-blue-2); }
.form textarea{ min-height:120px; resize:vertical; font-family:var(--body); }
.form-status{ font-size:13px; font-weight:500; margin:-4px 0 4px; min-height:0; transition:min-height .2s var(--ease); }
.form-status:empty{ margin:0; }
.form-status-ok{ color:#1a7a4c; }
.form-status-error{ color:#c0392b; }
@media (max-width:640px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } .form-row{ grid-template-columns:1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list{ display:flex; flex-direction:column; gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:16px; overflow:hidden; }
.faq-item{ background:var(--paper); padding:22px 26px; }
.faq-item summary{
  font-family:var(--disp); font-weight:600; font-size:15.5px; color:var(--ink);
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-family:var(--body); font-size:20px; color:var(--ink-3); font-weight:400; transition:transform .25s ease;
}
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ margin:14px 0 0; font-size:15px; color:var(--ink-3); line-height:1.7; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.02s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.08s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.14s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.2s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.26s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.32s; }
@media (prefers-reduced-motion:reduce){ .reveal,.reveal-stagger>*{ transition:none; } }

/* =========================================================
   MORE BLUE — icon badges, always-on card glow, blue dividers,
   and a couple of extra widgets (parallax thumbs, tilt cards).
   Appended on top of the base system, so it wins the cascade
   without having to touch every rule above.
   ========================================================= */

/* ---- icon badges: turn flat icons into blue "chips" ---- */
.svc-icon{
  width:44px; height:44px; margin-bottom:20px;
  display:flex; align-items:center; justify-content:center;
  border-radius:12px;
  background:linear-gradient(145deg, rgba(var(--accent-blue-2-rgb),0.16), rgba(var(--accent-blue-rgb),0.05));
  border:1px solid rgba(var(--accent-blue-2-rgb),0.3);
  box-shadow:0 10px 24px -14px rgba(var(--accent-blue-2-rgb),0.55);
  transition:transform .4s var(--ease), box-shadow .4s ease, background .6s var(--ease);
}
.svc-icon svg{ width:20px; height:20px; }
.svc-card:hover .svc-icon{
  transform:translateY(-3px) rotate(-4deg);
  box-shadow:0 16px 30px -12px rgba(var(--accent-blue-2-rgb),0.65);
}

/* ---- stats panel: a proper "instrument panel" — fine grid backdrop,
   glowing spinning-ring icon badges, dividers between figures, and a
   fill-bar under each number that draws in when the counter runs ---- */
.stats::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    repeating-linear-gradient(90deg, rgba(var(--accent-blue-2-rgb),0.07) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(var(--accent-blue-2-rgb),0.07) 0 1px, transparent 1px 56px);
  -webkit-mask-image:radial-gradient(circle at 50% 50%, #000, transparent 78%);
          mask-image:radial-gradient(circle at 50% 50%, #000, transparent 78%);
}
.stats::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(120% 140% at 12% -10%, rgba(var(--accent-blue-2-rgb),0.14), transparent 55%),
    radial-gradient(120% 140% at 88% 118%, rgba(var(--accent-blue-rgb),0.14), transparent 55%);
}
.stat{ position:relative; padding:6px 10px; z-index:1; }
.stat + .stat::before{
  content:""; position:absolute; left:0; top:6%; bottom:6%; width:1px;
  background:linear-gradient(180deg, transparent, rgba(var(--accent-blue-2-rgb),0.35), transparent);
}
.stat-icon{
  width:46px; height:46px; margin:0 auto 16px; position:relative;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; color:var(--accent-blue-2);
  background:radial-gradient(circle at 32% 28%, rgba(var(--accent-blue-2-rgb),0.35), rgba(var(--accent-blue-2-rgb),0.06));
}
.stat-icon::before{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  background:conic-gradient(from 0deg, rgba(var(--accent-blue-2-rgb),0) 0%, rgba(var(--accent-blue-2-rgb),0.95) 22%, rgba(var(--accent-blue-2-rgb),0) 46%);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation:statSpin 5s linear infinite;
}
.stat-icon::after{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border:1px solid rgba(var(--accent-blue-2-rgb),0.18);
}
@keyframes statSpin{ to{ transform:rotate(360deg); } }
.stat-icon svg{ width:19px; height:19px; position:relative; z-index:1; filter:drop-shadow(0 0 7px rgba(var(--accent-blue-2-rgb),0.65)); }
.stat .num{ text-shadow:0 0 26px rgba(var(--accent-blue-2-rgb),0.3); }
.stat-bar{ height:2px; width:56%; margin:14px auto 0; background:rgba(255,255,255,0.08); border-radius:2px; overflow:hidden; }
.stat-bar i{
  display:block; height:100%; width:0%; border-radius:2px;
  background:linear-gradient(90deg, rgba(var(--accent-blue-2-rgb),0.55), var(--accent-blue-2));
  box-shadow:0 0 10px rgba(var(--accent-blue-2-rgb),0.6);
  transition:width 1.4s cubic-bezier(.16,.85,.24,1);
}
.stat.counted .stat-bar i{ width:100%; }
@media (prefers-reduced-motion: reduce){ .stat-icon::before{ animation:none; } }

.contact-row .ic{
  position:relative; overflow:visible;
  background:linear-gradient(145deg, rgba(var(--accent-blue-2-rgb),0.16), rgba(var(--accent-blue-rgb),0.05));
  border:1px solid rgba(var(--accent-blue-2-rgb),0.3);
  box-shadow:0 8px 18px -12px rgba(var(--accent-blue-2-rgb),0.5);
}
.contact-row .ic::before{
  content:""; position:absolute; inset:-4px; border-radius:13px; pointer-events:none;
  background:conic-gradient(from 0deg, rgba(var(--accent-blue-2-rgb),0) 0%, rgba(var(--accent-blue-2-rgb),0.85) 20%, rgba(var(--accent-blue-2-rgb),0) 42%);
  -webkit-mask:radial-gradient(farthest-side at 50% 50%, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask:radial-gradient(farthest-side at 50% 50%, transparent calc(100% - 2px), #000 calc(100% - 2px));
  opacity:0; transition:opacity .4s ease;
  animation:statSpin 4.5s linear infinite;
}
.contact-row:hover .ic::before{ opacity:1; }
.contact-row .ic svg{ position:relative; z-index:1; filter:drop-shadow(0 0 5px rgba(var(--accent-blue-2-rgb),0.5));
}

/* ---- cards: a quiet blue presence even before hover ---- */
.rail-card, .case-card, .testi-feat, .testi-card{
  border-color:rgba(var(--accent-blue-rgb),0.16);
  box-shadow:0 22px 44px -34px rgba(var(--accent-blue-2-rgb),0.5);
  transition:border-color .3s ease, transform .3s var(--ease), box-shadow .35s ease;
}
.rail-card:hover, .case-card:hover{
  box-shadow:0 22px 46px -24px rgba(var(--accent-blue-2-rgb),0.45);
}
.testi-feat:hover, .testi-card:hover{
  border-color:rgba(var(--accent-blue-2-rgb),0.4);
  box-shadow:0 22px 46px -28px rgba(var(--accent-blue-2-rgb),0.4);
  transform:translateY(-3px);
}
.pkg-card{
  box-shadow:0 20px 40px -32px rgba(var(--accent-blue-2-rgb),0.5);
  transition:box-shadow .45s var(--ease), transform .35s var(--ease), background .45s ease;
}
.pkg-card::before{ transition:width .45s var(--ease), background .3s ease; }
.pkg-card:hover{
  box-shadow:inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.55), 0 26px 50px -22px rgba(var(--accent-blue-2-rgb),0.5), 0 0 40px -10px rgba(var(--accent-blue-2-rgb),0.3);
  transform:translateY(-4px);
}
.pkg-card.feat:hover{ box-shadow:inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.55), 0 30px 64px -26px rgba(var(--accent-blue-2-rgb),0.5); }
.pkg-card.feat{ box-shadow:inset 0 0 0 1px rgba(var(--accent-blue-2-rgb),0.35), 0 26px 60px -24px rgba(var(--accent-blue-2-rgb),0.5); }

/* ---- hairline grid gaps: tint the dividers between bento/pricing cells ---- */
.svc-grid, .pkg-grid, .faq-list{
  background:linear-gradient(120deg, rgba(var(--accent-blue-rgb),0.28), rgba(var(--accent-blue-2-rgb),0.28));
}

/* ---- section-to-section rule, used between major blocks ---- */
.section-divider{
  height:1px; max-width:var(--container); margin:0 auto; position:relative;
  background:linear-gradient(90deg, transparent, rgba(var(--accent-blue-rgb),0.4), rgba(var(--accent-blue-2-rgb),0.4), transparent);
}

/* ---- form + nav touches ---- */
.pkg-pill input:checked + span{ box-shadow:0 0 0 1px rgba(var(--accent-blue-2-rgb),0.5), 0 8px 20px -10px rgba(var(--accent-blue-2-rgb),0.6); }
.filter-btn:hover{ border-color:rgba(var(--accent-blue-2-rgb),0.55); color:var(--ink); }
.filter-btn.active{
  background:linear-gradient(135deg, rgba(var(--accent-blue-2-rgb),0.55), var(--accent-blue-2));
  border-color:transparent; box-shadow:0 10px 24px -12px rgba(var(--accent-blue-2-rgb),0.6);
}
.form input:focus, .form textarea:focus{ box-shadow:0 0 0 3px rgba(var(--accent-blue-2-rgb),0.16); }
header.scrolled{ box-shadow:0 12px 30px -20px rgba(var(--accent-blue-2-rgb),0.5); }

/* ---- parallax thumbnails: subtle drift on images inside cards,
   driven by --py (set in site.js from scroll position) ---- */
.rail-thumb img{
  transform:translateY(calc(var(--py, 0) * 1px)) scale(1.08);
  transition:transform .05s linear;
  will-change:transform;
}
.case-thumb.photo img{
  transform:translateY(calc(var(--py, 0) * 0.6px));
  transition:transform .05s linear;
  will-change:transform;
}

/* ---- tilt cards: subtle 3D rotation on mousemove,
   --tx/--ty set in site.js ---- */
.pkg-card, .svc-card{
  transform:perspective(900px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * -1deg));
  transition:transform .35s var(--ease), box-shadow .35s ease;
}

@media (prefers-reduced-motion: reduce){
  .rail-thumb img, .case-thumb.photo img, .pkg-card, .svc-card{ transform:none !important; }
}

/* =========================================================
   ADVANCED MOTION SYSTEM
   Kinetic headlines · 3D stack-fan reveals · frosted cursor
   lens · exploded-style process connectors. All progressive:
   everything degrades to the plain layout with JS off or
   prefers-reduced-motion on.
   ========================================================= */

/* ---- kinetic headlines: a clean rise-and-clear entrance on scroll-in
   (previously word-by-word with a live scroll-skew — replaced after
   real-device testing showed it could jumble or stall mid-transition) ---- */
.kinetic-simple{
  opacity:0; transform:translateY(22px); filter:blur(5px);
  transition:opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.kinetic-simple.k-in{ opacity:1; transform:translateY(0); filter:blur(0); }

/* ---- 3D stack-fan: cards start collapsed into a deck, then
   glide/rotate out into their grid slots (see advanced.js) ---- */
.svc-grid, .pkg-grid, .case-grid, .case-bento{ perspective:1600px; }
.svc-grid > *, .pkg-grid > *, .case-grid > *, .rail-track > *{
  transform-style:preserve-3d;
  transition:transform .95s cubic-bezier(.16,.85,.24,1), opacity .6s ease, box-shadow .5s ease;
}

/* ---- process steps: exploded-style connectors ---- */
.proc-row{ position:relative; }
.proc-step{
  position:relative;
  transform:translate3d(0, 46px, 0) rotateX(-18deg) scale(.94);
  opacity:0; transform-origin:50% 100%;
  transition:transform .85s cubic-bezier(.16,.85,.24,1), opacity .6s ease;
}
.proc-row.exploded .proc-step{ transform:translate3d(0,0,0) rotateX(0) scale(1); opacity:1; }
.proc-step::after{
  content:""; position:absolute; top:16px; right:-14px; width:0; height:1px;
  background:linear-gradient(90deg, rgba(var(--accent-blue-2-rgb),0.7), rgba(var(--accent-blue-2-rgb),0));
  transition:width .6s var(--ease) .3s;
}
.proc-row.exploded .proc-step::after{ width:26px; }
.proc-step:last-child::after{ display:none; }
.proc-step .idx{ position:relative; text-shadow:0 0 18px rgba(var(--accent-blue-2-rgb),0.5); }

@media (prefers-reduced-motion: reduce){
  .proc-step{ transform:none !important; opacity:1 !important; }
}
