/* ---SELF-HOSTED FONTS--- */
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/caveat-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/caveat-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/caveat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/caveat-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/unbounded-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/unbounded-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/unbounded-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/unbounded-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cal Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/cal-sans-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Cal Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/cal-sans-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
/* ---/SELF-HOSTED FONTS--- */
:root{
  --orange:#FF4D00;
  --orange-text:#a82e00;
  --black:#0c0c0c;
  --near-black:#131313;
  --gray:#5c5c5c;
  --line:#e6e6e6;
  --page-bg:#dcdcdc;
  --panel-bg:#f0f0f0;
  --bg:#dcdcdc;
  --white:#ffffff;
  --radius:20px;
  --radius-lg:24px;
  --gutter:156px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--page-bg);
  color:var(--near-black);
  line-height:1.4;
  overflow-x:hidden;
}
h1,h2,h3,.footer-logo,.stat-num{
  font-family:'Cal Sans','Cal Sans Placeholder',sans-serif;
  font-weight:400;
}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;background:none;border:none;cursor:pointer;color:inherit;}
ul{list-style:none;}
img{display:block;max-width:100%;}
.accent{color:var(--orange);}
.dot-orange{color:var(--orange);}

/* ---------- HERO PANEL ---------- */
.hero{
  position:relative;
  max-width:1920px;
  width:100%;
  margin:0 auto;
  background:var(--panel-bg);
  border-radius:0 0 32px 32px;
  padding:0 0 8px;
  overflow:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.hero-fill{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;justify-content:center;}

/* flat header, straight on the hero media (no capsule bg) */
/* grid keeps logo / nav / actions on one shared baseline, and centers the
   nav column on the true page width regardless of how wide the side
   columns are (which absolute + translate(-50%) couldn't guarantee once
   padding made the site-header box taller than the actual content row) */
.site-header{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  width:100%;max-width:1920px;margin:0 auto;
  padding:36px var(--gutter) 0;
  flex:0 0 auto;
  gap:24px;
}
.logo{display:flex;align-items:center;gap:10px;justify-self:start;grid-column:1;}
.logo img{height:32px;width:auto;display:block;}
.logo-word{
  font-family:'Cal Sans',sans-serif;font-size:18px;color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.4);
}
.nav-links{
  justify-self:center;
  display:flex;gap:52px;font-size:13px;font-weight:500;color:#fff;
}
.nav-links a{opacity:.9;transition:opacity .2s ease,color .2s ease;}
.nav-links a:hover{opacity:1;color:var(--orange);}
.header-actions{display:flex;align-items:center;gap:14px;justify-self:end;grid-column:3;}
.lang-switch{
  display:inline-flex;align-items:center;gap:2px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
  padding:4px;border-radius:50px;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  white-space:nowrap;
}
.lang-switch a{
  color:rgba(255,255,255,.65);font-size:12px;font-weight:600;letter-spacing:.02em;
  padding:6px 11px;border-radius:50px;transition:background .2s ease,color .2s ease;
}
.lang-switch a:hover{color:#fff;}
.lang-switch a.is-active{background:#fff;color:var(--black);}
.header-cta{
  background:var(--orange);color:#fff;font-size:13px;font-weight:500;
  padding:11px 22px;border-radius:50px;white-space:nowrap;
}
/* both heroes sit on the same warm orange/video background, where a
   matching orange button would disappear — keep it dark there only */
.hero .header-cta,.page-hero .header-cta{background:rgba(12,12,12,.9);}

/* ---------- MOBILE MENU: hamburger + full-screen overlay, ≤900px only
   (the in-flow nav-links/lang-switch/header-cta hide at that width with
   nothing replacing them until now) ---------- */
.menu-toggle{
  display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  width:40px;height:40px;flex-shrink:0;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
}
.menu-toggle span{width:16px;height:1.5px;background:#fff;transition:transform .25s ease,opacity .25s ease;}
.menu-toggle.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

.mobile-menu{
  position:fixed;inset:0;z-index:300;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;
  background:rgba(10,10,10,.97);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  opacity:0;pointer-events:none;
  transition:opacity .3s ease;
}
.mobile-menu.open{opacity:1;pointer-events:auto;}
.mobile-menu-links{display:flex;flex-direction:column;align-items:center;gap:26px;}
.mobile-menu-links a{font-family:'Cal Sans',sans-serif;font-size:30px;color:#fff;}
.mobile-menu-links a:active{color:var(--orange);}
.mobile-lang-switch{display:flex;gap:22px;}
.mobile-lang-switch a{font-size:14px;font-weight:600;letter-spacing:.02em;color:rgba(255,255,255,.5);}
.mobile-lang-switch a.is-active{color:#fff;}
body.menu-open{overflow:hidden;}

.btn-pill{
  display:inline-flex;align-items:center;gap:8px;flex-shrink:0;
  background:var(--black);color:#fff;font-size:14px;font-weight:500;
  padding:14px 24px;border-radius:100px;
}
.btn-pill.dark{background:#d63f00;}
.btn-pill .arrow{transition:transform .25s ease;}
.btn-pill:hover .arrow{transform:translateX(4px);}

/* ---------- hero bottom row: location / scroll cue / news teaser ---------- */
.hero-bottom-row{
  position:relative;z-index:1;
  width:100%;max-width:1920px;margin:0 auto;
  padding:0 40px 40px var(--gutter);
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;
  flex:0 0 auto;
}
.hero-location-wrap{display:flex;flex-direction:column;gap:4px;}
.hero-location{
  display:flex;align-items:center;gap:9px;
  color:#fff;font-size:13px;white-space:nowrap;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.hero-legal{
  color:rgba(255,255,255,.6);font-size:12px;
  padding-left:17px;text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.pulse-dot{
  width:8px;height:8px;border-radius:50%;background:#5CFF6E;flex-shrink:0;
  animation:pulseDot 2s infinite;
}
@keyframes pulseDot{
  0%{box-shadow:0 0 0 0 rgba(92,255,110,.55);}
  70%{box-shadow:0 0 0 8px rgba(92,255,110,0);}
  100%{box-shadow:0 0 0 0 rgba(92,255,110,0);}
}

/* ---------- hero background video ---------- */
/* no filter on the <video> itself — Safari stalls video decoding when a
   CSS filter is applied directly to it. Blur is done via a backdrop-filter
   layer on top instead, which keeps the video actually playing/visible. */
.hero-bg-photo{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  z-index:0;
}
.hero-bg-blur{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  backdrop-filter:blur(18px) saturate(120%);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
}


/* ---------- STATEMENT ---------- */
.statement{max-width:900px;margin:0 auto;padding:0 24px;text-align:center;flex:0 0 auto;}
.statement-hello{
  font-family:'Caveat',cursive;font-size:42px;color:var(--orange);margin-bottom:8px;
  text-shadow:0 2px 16px rgba(0,0,0,.35);
}
.hello-script{font-weight:600;}
.statement-text{
  font-family:'Cal Sans',sans-serif;font-size:clamp(26px,4vw,44px);line-height:1.35;
  color:#fff;
  text-shadow:0 4px 24px rgba(0,0,0,.35);
}
.statement-text .word{color:rgba(255,255,255,.4);transition:color .2s;}
.statement-text .word.lit{color:#fff;}
.statement-tags-wrap{
  position:relative;margin:36px auto 0;max-width:440px;
  padding:26px 14px 16px;
}
.statement-tags{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;}
.statement-tags span{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(12,12,12,.85);color:#fff;border-radius:100px;padding:12px 20px;font-size:14px;font-weight:500;
}
.statement-tags svg{width:16px;height:16px;flex-shrink:0;}

/* hand-drawn circle + caption around the tag pills, same casual
   marker-on-a-note language as the "(hello)" script heading */
.tags-circle{
  position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;
}
.tags-circle path{
  fill:none;stroke:var(--orange);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 2px 6px rgba(255,77,0,.4));
  stroke-dasharray:1160;stroke-dashoffset:1160;
  animation:tagsCircleDraw 1.6s ease-out 1.1s forwards;
}
@keyframes tagsCircleDraw{to{stroke-dashoffset:0;}}
.tags-note{
  position:absolute;top:-6px;right:6px;z-index:2;
  font-family:'Caveat',cursive;font-weight:600;font-size:26px;color:var(--orange);
  transform:rotate(-7deg);
  text-shadow:0 2px 10px rgba(0,0,0,.4);
  opacity:0;
  animation:tagsNoteIn .5s ease-out 2.5s forwards;
}
@keyframes tagsNoteIn{
  from{opacity:0;transform:rotate(-7deg) translateY(6px);}
  to{opacity:1;transform:rotate(-7deg) translateY(0);}
}
@media (prefers-reduced-motion:reduce){
  .tags-circle path{animation:none;stroke-dashoffset:0;}
  .tags-note{animation:none;opacity:1;}
  .hero-cta-btn{animation:none;}
}

/* primary hero CTA — white pill (pops against the photo where every other
   accent is already black or orange), a soft orange ring that breathes
   outward on a loop so it reads as "click me" even before anyone hovers,
   and the icon/arrow do their own small moves on top of that on hover */
.hero-cta-btn{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  margin-top:36px;background:#fff;color:var(--near-black);
  font-size:15px;font-weight:600;padding:16px 28px;border-radius:100px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  transition:transform .3s ease,box-shadow .3s ease;
  animation:heroCtaPulse 2.6s ease-in-out infinite;
}
.hero-cta-btn:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 16px 40px rgba(0,0,0,.35);}
.hero-cta-icon{display:flex;color:var(--orange);transition:transform .3s ease;}
.hero-cta-icon svg{width:18px;height:18px;}
.hero-cta-btn:hover .hero-cta-icon{transform:rotate(-8deg) scale(1.1);}
.hero-cta-btn .arrow{transition:transform .25s ease;}
.hero-cta-btn:hover .arrow{transform:translateX(4px);}
@keyframes heroCtaPulse{
  0%,100%{box-shadow:0 10px 30px rgba(0,0,0,.3),0 0 0 0 rgba(255,77,0,.45);}
  50%{box-shadow:0 10px 30px rgba(0,0,0,.3),0 0 0 12px rgba(255,77,0,0);}
}

/* ---------- SECTION SHARED ---------- */
section{max-width:1920px;margin:0 auto;padding:90px var(--gutter);}
.eyebrow{color:var(--gray);font-size:14px;font-weight:400;margin-bottom:10px;letter-spacing:-0.01em;}
.section-title{font-size:clamp(32px,4.5vw,64px);font-weight:400;margin-bottom:16px;}
.section-desc{color:var(--gray);max-width:520px;margin-bottom:40px;}
.section-desc.light{color:rgba(255,255,255,.75);}

/* giant watermark-style headings (Testimonials, Works, About, Contact) */
.section-watermark{
  font-size:clamp(60px,14vw,204px);line-height:1;color:rgba(12,12,12,.82);
  margin-bottom:0;
}
.works-watermark{
  text-align:center;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}

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

/* ---------- PROOF: three real, live client products — credibility
   block right after the hero, same giant-watermark family as Works
   and Why Choose Us but its own grid of cards, not a mosaic ---------- */
.proof .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
.proof-watermark{
  text-align:center;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}
@media (max-width:480px){
  /* same fix as .why-us-watermark: keep it on one line at phone widths
     so the sink-behind-grid effect doesn't bury a wrapped second line */
  .proof-watermark{font-size:clamp(30px,12vw,48px);}
}
.proof-sub{max-width:560px;margin:20px auto 0;text-align:center;color:var(--gray);font-size:16px;line-height:1.6;}
.proof-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:48px;}

/* scattered tilt + cursor spotlight — same family resemblance idiom as
   .why-card, adapted for a card with a photo half: the tilt applies to
   the whole card (straightens + lifts on hover), but the spotlight glow
   is scoped to the text body only, where its own --mx/--my (set by
   script.js relative to the body's own box) actually land correctly —
   a photo doesn't need a glow crawling across it. */
.proof-card{
  display:block;background:#fff;border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--line);box-shadow:0 24px 48px rgba(12,12,12,.08);
  transition:transform .35s ease,box-shadow .35s ease;
}
.proof-card:nth-child(1){transform:rotate(-1.3deg);}
.proof-card:nth-child(2){transform:rotate(0.9deg);}
.proof-card:nth-child(3){transform:rotate(-0.6deg);}
.proof-card:hover{transform:rotate(0deg) translateY(-8px);box-shadow:0 36px 64px rgba(12,12,12,.16);}

.proof-card-image{position:relative;aspect-ratio:1400/860;overflow:hidden;background:var(--panel-bg);}
.proof-card-image img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .6s ease;}
.proof-card:hover .proof-card-image img{transform:scale(1.07);}
.proof-card-image::after{
  content:'';position:absolute;inset:auto 0 0 0;height:45%;pointer-events:none;
  background:linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.proof-card-live{
  position:absolute;left:14px;bottom:14px;z-index:1;
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(12,12,12,.6);color:#fff;font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;
  padding:6px 12px;border-radius:100px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.proof-card-live .pulse-dot{width:6px;height:6px;}

.proof-card-body{--mx:50%;--my:50%;position:relative;padding:24px 26px 26px;}
.proof-card-body::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(240px circle at var(--mx) var(--my), rgba(255,77,0,.12), transparent 65%);
  opacity:0;transition:opacity .35s ease;
}
.proof-card:hover .proof-card-body::before{opacity:1;}
.proof-card-body > *{position:relative;z-index:1;}
.proof-card-body h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:20px;margin-bottom:8px;}
.proof-card-body p{color:var(--gray);font-size:14px;line-height:1.6;margin-bottom:16px;}
.proof-card-link{display:inline-flex;align-items:center;gap:6px;color:var(--orange);font-size:14px;font-weight:500;}
.proof-card-link .arrow{display:inline-block;transition:transform .25s ease;}
.proof-card:hover .proof-card-link .arrow{transform:translate(2px,-2px);}
@media (max-width:900px){.proof-grid{grid-template-columns:1fr;}}

/* ---------- RESULTS: testimonial marquee — real client quotes/numbers,
   not a vague "trust us" badge. A slow, looping horizontal carousel reads
   as "we have plenty of these" even with just two real ones, and each card
   is deliberately light — a quote and one headline stat, not a full case
   study dump (the full case study is one click away). ---------- */
.results .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
.results-watermark{
  text-align:center;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}
@media (max-width:480px){ .results-watermark{font-size:clamp(30px,12vw,48px);} }
.results-section-sub{max-width:560px;margin:20px auto 48px;text-align:center;color:var(--gray);font-size:16px;line-height:1.6;}

.results-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--black);color:#fff;font-size:11px;font-weight:600;
  letter-spacing:.02em;text-transform:uppercase;
  padding:6px 12px;border-radius:100px;
}
.results-badge svg{width:12px;height:12px;flex-shrink:0;}

.testimonial-marquee{
  position:relative;overflow:hidden;
  margin:0 calc(-1 * var(--gutter));
  -webkit-mask-image:linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  mask-image:linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
}
.testimonial-track{
  display:flex;gap:24px;width:max-content;
  padding:4px var(--gutter);
  animation:testimonialScroll 36s linear infinite;
}
.testimonial-marquee:hover .testimonial-track{animation-play-state:paused;}
@keyframes testimonialScroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
.testimonial-card{
  flex:0 0 auto;width:400px;
  background:var(--panel-bg);border-radius:var(--radius-lg);
  padding:32px;display:flex;flex-direction:column;
}
.testimonial-head{display:flex;align-items:center;margin-bottom:16px;height:34px;}
.testimonial-logo{display:block;height:100%;width:auto;max-width:150px;object-fit:contain;object-position:left center;border-radius:6px;}
.testimonial-who{min-width:0;margin-bottom:12px;}
.testimonial-company{display:block;font-weight:600;font-size:15px;color:var(--near-black);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.testimonial-role{display:block;font-size:13px;color:var(--gray);}
.testimonial-stars{color:var(--orange);font-size:14px;letter-spacing:2px;margin-bottom:14px;}
.testimonial-quote{
  font-size:16px;line-height:1.6;color:var(--near-black);font-style:italic;
  margin-bottom:24px;flex-grow:1;
}
.testimonial-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid var(--line);}
.testimonial-stat{font-family:'Cal Sans',sans-serif;font-size:20px;color:var(--orange);white-space:nowrap;}
.testimonial-stat span{display:block;font-family:'Inter',sans-serif;font-size:12px;color:var(--gray);font-weight:400;}
.testimonial-link{font-size:13px;font-weight:500;color:var(--near-black);white-space:nowrap;}
.testimonial-link:hover{color:var(--orange);}

@media (max-width:900px){
  .testimonial-marquee{margin:0 -24px;}
  .testimonial-track{padding:4px 24px;}
  .testimonial-card{width:320px;padding:26px;}
}
@media (prefers-reduced-motion:reduce){
  .testimonial-track{animation:none;}
  .testimonial-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none;}
}

/* ---------- TECH TRUST: "built with" logo strip ---------- */
.tech-trust{padding:64px var(--gutter);}
.tech-trust-label{text-align:center;color:var(--gray);font-size:13px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;margin-bottom:36px;}
.tech-trust-row{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:40px 56px;max-width:1100px;margin:0 auto;
}
.tech-trust-row img{
  height:26px;width:auto;max-width:120px;object-fit:contain;
  opacity:.5;filter:grayscale(1);transition:opacity .25s ease,filter .25s ease;
}
.tech-trust-row img:hover{opacity:1;filter:grayscale(0);}
@media (max-width:700px){
  .tech-trust{padding:48px 24px;}
  .tech-trust-row{gap:28px 36px;}
  .tech-trust-row img{height:22px;}
}

/* ---------- INCLUDED: every site ships configured right ---------- */
.included{padding:0 var(--gutter) 90px;}
.included-inner{
  background:var(--black);border-radius:var(--radius-lg);
  padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
}
.included-head .eyebrow{color:rgba(255,255,255,.55);}
.included-head h2{color:#fff;font-size:clamp(26px,3vw,38px);font-weight:400;margin-bottom:14px;line-height:1.2;}
.included-head p{color:rgba(255,255,255,.6);font-size:15px;line-height:1.6;max-width:420px;}
.included-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.included-item{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;
  padding:18px 20px;display:flex;align-items:flex-start;gap:12px;
}
.included-item svg{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--orange);}
.included-item span{color:#fff;font-size:14px;font-weight:500;line-height:1.4;}
@media (max-width:900px){
  .included{padding:0 24px 60px;}
  .included-inner{grid-template-columns:1fr;padding:40px 28px;gap:32px;}
  .included-head p{max-width:none;}
  .included-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:480px){
  .included-grid{grid-template-columns:1fr;}
}

/* ---------- LIGHTHOUSE: real score for this exact site, not a mockup ----------
   deliberately matches .included-inner's card language (same dark panel,
   same 1fr/1fr split, same item background) instead of a louder standalone
   treatment, so it reads as a continuation of that claim, not a new ad -->*/
.lighthouse{padding:0 var(--gutter) 90px;}
.lighthouse-inner{
  background:var(--black);border-radius:var(--radius-lg);
  padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
}
.lighthouse-head .eyebrow{color:rgba(255,255,255,.55);}
.lighthouse-head h2{color:#fff;font-size:clamp(26px,3vw,38px);font-weight:400;margin-bottom:14px;line-height:1.2;}
.lighthouse-head p{color:rgba(255,255,255,.6);font-size:15px;line-height:1.6;max-width:420px;margin-bottom:20px;}
.lighthouse-link{
  display:inline-flex;align-items:center;gap:8px;
  color:#fff;font-size:14px;font-weight:500;
  border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px;
}
.lighthouse-link:hover{border-color:var(--orange);color:var(--orange);}
.lighthouse-link .arrow{transition:transform .25s ease;}
.lighthouse-link:hover .arrow{transform:translateX(4px);}
.lighthouse-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.lighthouse-score{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;
  padding:16px 18px;display:flex;align-items:center;gap:14px;
}
.lighthouse-ring{width:48px;height:48px;position:relative;flex-shrink:0;}
.lighthouse-ring svg{width:100%;height:100%;transform:rotate(-90deg);}
.lighthouse-ring circle{fill:none;stroke-width:5;}
.lighthouse-ring .ring-bg{stroke:rgba(255,255,255,.12);}
.lighthouse-ring .ring-fg{stroke:var(--orange);stroke-linecap:round;}
.lighthouse-num{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'Cal Sans',sans-serif;font-size:15px;color:#fff;
}
.lighthouse-label{color:#fff;font-size:14px;font-weight:500;}
@media (max-width:900px){
  .lighthouse{padding:0 24px 60px;}
  .lighthouse-inner{grid-template-columns:1fr;padding:40px 28px;gap:32px;}
  .lighthouse-head p{max-width:none;}
}
@media (max-width:480px){
  .lighthouse-grid{grid-template-columns:1fr;}
}

/* ---------- WORKS: full-width stacked case studies ---------- */
/* the watermark heading here is centered (unlike other sections), so the
   rest of the header is centered to match instead of clashing against it */
.works .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}

/* starts fully below the heading; script.js scrolls it up over the
   watermark's lower half as the section comes into view */
/* ---------- WORKS: category filter ---------- */
.works-filter{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 48px;}
.works-filter-btn{
  padding:11px 22px;border-radius:100px;border:1px solid var(--line);background:#fff;
  color:var(--gray);font-size:14px;font-weight:500;transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.works-filter-btn:hover{border-color:var(--near-black);color:var(--near-black);}
.works-filter-btn.active{background:var(--black);color:#fff;border-color:var(--black);}
.work-row.filtered-out{display:none;}

.work-list{position:relative;z-index:1;display:flex;flex-direction:column;gap:56px;will-change:transform;}
.works-cta{display:flex;width:max-content;}

/* hand-drawn circle + caption, same casual marker-note language as the
   hero's "what we do" annotation — drawn in on scroll (script.js) */
.works-cta-wrap{position:relative;margin:76px auto 0;width:max-content;}
.works-cta-circle{position:absolute;left:-56px;right:-56px;top:-46px;bottom:-38px;pointer-events:none;z-index:0;}
.works-cta-circle path{
  fill:none;stroke:var(--orange);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 2px 6px rgba(255,77,0,.35));
}
.works-cta-note{
  position:absolute;top:-62px;left:50%;z-index:2;
  transform:translateX(-50%) rotate(-6deg);
  font-family:'Caveat',cursive;font-weight:600;font-size:22px;color:var(--orange);
  white-space:nowrap;opacity:0;
}

/* ---------- WORKS TEASER: tilted 3D mosaic of real project shots ---------- */
/* GSAP's sink-behind-heading tween animates translateY on the WRAPPER
   (#workGrid); the tilt itself lives one level down on .works-mosaic so
   the two transforms never collide/overwrite each other. */
.works-mosaic-wrap{position:relative;z-index:1;will-change:transform;padding:40px 0 60px;}
/* the mosaic's own box (max-width:1100px, centered) is the only stable
   reference frame for the hand-drawn call-outs below — #workGrid is
   wider than this at large viewports (no cap of its own), which is
   why % positions against it drifted away from the tiles. This stage
   carries the sizing/centering un-tilted so .mosaic-note children can
   sit flat, in %, still lined up with the tiles inside the tilted
   .works-mosaic one level down. */
.works-mosaic-stage{position:relative;max-width:1100px;margin:0 auto;}
.works-mosaic{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-template-rows:repeat(3,195px);
  grid-template-areas:
    "a a a b"
    "a a a c"
    "d e f c";
  gap:18px;
  transform:perspective(2000px) rotateX(10deg) rotateY(-16deg) rotate(2deg);
  transform-style:preserve-3d;
}
.works-mosaic-tile{
  position:relative;display:block;border-radius:16px;overflow:hidden;
  background:var(--black);
  box-shadow:0 30px 60px rgba(0,0,0,.45);
  transition:transform .35s ease,box-shadow .35s ease;
}
.works-mosaic-tile:hover{transform:translateZ(40px) scale(1.03);box-shadow:0 40px 80px rgba(0,0,0,.55);}
.works-mosaic-tile img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;}
.works-mosaic-label{
  position:absolute;left:14px;bottom:14px;z-index:1;
  background:rgba(12,12,12,.85);color:#fff;font-size:12px;font-weight:500;
  padding:6px 12px;border-radius:100px;
}
/* the label fades in on hover for mouse users — touch devices have no
   hover, so it stays on by default there instead of never appearing */
@media (hover:hover){
  .works-mosaic-label{opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease;}
  .works-mosaic-tile:hover .works-mosaic-label{opacity:1;transform:translateY(0);}
}
/* touch devices (phone or tablet): the small always-on pill used to sit
   directly on the raw screenshot, so it fought whatever text/graphics
   the real site's own hero happened to have in that spot. Give every
   tile a real bottom scrim instead and size the label to match, so the
   title reads clearly no matter what's under it. */
@media (hover:none){
  .works-mosaic-tile::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.45) 38%, transparent 72%);
  }
  .works-mosaic-label{
    left:16px;right:16px;bottom:16px;
    background:none;padding:0;border-radius:0;
    font-size:16px;font-weight:600;white-space:normal;
  }
}
.mt-a{grid-area:a;}
.mt-b{grid-area:b;}
.mt-c{grid-area:c;}
.mt-d{grid-area:d;}
.mt-e{grid-area:e;}
.mt-f{grid-area:f;}

/* hand-drawn category call-outs on a few tiles — same marker/Caveat
   language as the hero and the "View All Works" circle, just pointing
   at things instead of circling them. Positioned in % against #workGrid
   (measured from the tiles' real rendered position, so they line up
   despite the mosaic's 3D tilt living one level down). Desktop-only:
   the mosaic's whole layout rearranges at the 900px breakpoint, so
   fixed-ish placement stops making sense there. */
.mosaic-note{
  position:absolute;z-index:5;pointer-events:none;
  display:flex;align-items:center;gap:6px;
  font-family:'Caveat',cursive;font-weight:600;font-size:22px;color:var(--orange);
  text-shadow:0 2px 8px rgba(0,0,0,.4);
  white-space:nowrap;opacity:0;
}
.mosaic-note-arrow{width:52px;height:38px;flex-shrink:0;}
.mosaic-note-arrow path{
  fill:none;stroke:var(--orange);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 1px 4px rgba(255,77,0,.4));
}
.mosaic-note-underline{width:190px;height:14px;flex-shrink:0;}
.mosaic-note-underline path{fill:none;stroke:var(--orange);stroke-width:2.5;stroke-linecap:round;}

.mosaic-note-a{left:9%;top:15%;flex-direction:column;align-items:flex-start;gap:2px;}
.mosaic-note-b{left:104%;top:11%;}
.mosaic-note-d{left:-13%;top:77%;}

@media (max-width:900px){ .mosaic-note{display:none;} }
.work-row{display:block;}
.work-visual{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  aspect-ratio:1400/780;
  display:flex;align-items:center;justify-content:center;
  transition:transform .3s ease;
}
.work-row:hover .work-visual{transform:translateY(-4px);}
.bg-web{background:linear-gradient(135deg,#141414,#2a1a10 55%,var(--orange));}
.bg-saas{background:linear-gradient(135deg,#0c0c0c,#1a1a1a 55%,#3a3a3a);}
.bg-logo{background:linear-gradient(135deg,var(--orange),#ffd9b3);}
.bg-ads{background:linear-gradient(135deg,#141414,#331c0c 55%,var(--orange));}
.work-visual.alt{filter:hue-rotate(18deg);}
/* dark scrim + title/meta reveal on hover — but touch devices have no
   hover, so they'd never see which project is which. On those, show a
   softer bottom-gradient scrim (keeps the photo visible) with the title
   and meta always on, instead of the full-black hover treatment. */
.work-scrim{
  position:absolute;inset:0;background:rgba(0,0,0,.8);
  opacity:0;transition:opacity .35s ease;
}
.work-real-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;}
.work-overlay{
  position:absolute;inset:0;padding:5%;
  display:flex;justify-content:space-between;align-items:flex-end;
  color:#fff;pointer-events:none;
  opacity:0;transition:opacity .35s ease;
}
@media (hover:hover){
  .work-row:hover .work-scrim{opacity:1;}
  .work-row:hover .work-overlay{opacity:1;}
}
@media (hover:none){
  .work-scrim{opacity:1;background:linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 40%, transparent 75%);}
  .work-overlay{opacity:1;}
}
.work-title{font-size:clamp(28px,4.5vw,64px);font-family:'Cal Sans',sans-serif;font-weight:400;}
.work-meta-cols{display:flex;flex-direction:column;gap:14px;align-self:flex-start;}
.work-meta-cols span{display:flex;flex-direction:column;font-size:14px;color:#fff;gap:4px;}
.work-meta-cols b{font-weight:400;color:rgba(255,255,255,.64);font-size:14px;}

/* ---------- MOCKUPS (stand in for real project screenshots) ---------- */
.mock{position:relative;box-shadow:0 30px 70px rgba(0,0,0,.4);border-radius:12px;overflow:hidden;}
.mock-browser{width:56%;aspect-ratio:16/10;background:#fff;}
.mock-bar{height:22px;background:#ececec;display:flex;align-items:center;gap:5px;padding:0 10px;}
.mock-bar span{width:7px;height:7px;border-radius:50%;background:#d5d5d5;}
.mock-page{padding:14px;}
.mock-nav{height:9px;width:38%;background:#e2e2e2;border-radius:4px;margin-bottom:14px;}
.mock-hero{height:19%;background:linear-gradient(135deg,var(--orange),#ffcf9e);border-radius:8px;margin-bottom:10px;}
.mock-row{display:flex;gap:8px;}
.mock-row div{flex:1;height:30px;background:#eee;border-radius:6px;}

.mock-dashboard{width:60%;aspect-ratio:16/10;background:#111;display:flex;}
.mock-side{width:22%;background:#1a1a1a;}
.mock-main{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px;}
.mock-main .mock-row div{background:#242424;}
.mock-chart{flex:1;background:#1c1c1c;border-radius:6px;}

.mock-logo{width:140px;height:140px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 30px 70px rgba(0,0,0,.35);overflow:hidden;}
.mock-mark{width:52%;height:52%;background:var(--near-black);border-radius:30% 70% 70% 30%/30% 30% 70% 70%;}
.mock-logo-img{width:62%;height:62%;object-fit:contain;}

/* ---------- SERVICES ---------- */
.service-layout{display:grid;grid-template-columns:220px 1fr;gap:40px;align-items:start;}
.service-tabs{display:flex;flex-direction:column;gap:8px;}
.service-tab{
  border:1px solid var(--line);border-radius:100px;padding:12px 20px;font-size:14px;color:var(--gray);
  text-align:left;
}
.service-tab.active{background:var(--orange);color:#fff;border-color:var(--orange);}
.service-panels{grid-column:2;grid-row:1;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:40px;}
.service-panel{display:none;}
.service-panel.active{display:block;animation:fadeIn .4s ease;}
.service-panel p{font-size:18px;max-width:560px;margin-bottom:24px;}
.service-pills{display:flex;gap:10px;flex-wrap:wrap;}
.service-pills span{background:var(--bg);border-radius:100px;padding:8px 16px;font-size:13px;color:var(--gray);}
.service-image{grid-column:1 / -1;margin-top:8px;}
.service-visual{
  display:none;align-items:center;justify-content:center;
  width:100%;border-radius:var(--radius-lg);aspect-ratio:1400/780;overflow:hidden;
}
.service-visual.active{display:flex;animation:fadeIn .4s ease;}

/* ---------- SERVICE VISUALS: each mock animates to actually show the
   service rather than sit static — reuses the same in-card-animation
   language built for the Why Choose Us section, so it reads as one
   consistent site-wide idiom rather than one-off decoration ---------- */

/* Website Design: reuses whyHeroShift/whyNavResize/whyRowPulse verbatim
   (colors + bar shapes shifting, as if the page is being designed live),
   plus an orange "cursor" drifting between the elements it's editing */
.mock-anim-build .mock-hero{animation:whyHeroShift 6s ease-in-out infinite;}
.mock-anim-build .mock-nav{animation:whyNavResize 5s ease-in-out infinite;}
.mock-anim-build .mock-row div{animation:whyRowPulse 4.5s ease-in-out infinite;}
.mock-anim-build .mock-row div:nth-child(1){animation-delay:0s;}
.mock-anim-build .mock-row div:nth-child(2){animation-delay:.5s;}
.mock-anim-build .mock-row div:nth-child(3){animation-delay:1s;}
.mock-anim-build .mock-page{position:relative;}
.mock-cursor{
  position:absolute;width:14px;height:14px;z-index:2;
  background:var(--orange);border-radius:50% 50% 50% 3px;
  transform:rotate(-45deg);
  box-shadow:0 6px 14px rgba(255,77,0,.5);
  animation:svcCursorMove 6s ease-in-out infinite;
}
@keyframes svcCursorMove{
  0%,100%{left:20%;top:26%;}
  25%{left:74%;top:20%;}
  50%{left:58%;top:64%;}
  75%{left:22%;top:60%;}
}


/* Logo Design: the mark itself morphs shape and shifts color, standing
   in for iterating on a brand mark rather than a static blob */
.mock-anim-build .mock-mark{
  animation:svcMarkMorph 7s ease-in-out infinite, svcMarkColor 7s ease-in-out infinite;
}
@keyframes svcMarkMorph{
  0%,100%{border-radius:30% 70% 70% 30%/30% 30% 70% 70%;}
  33%{border-radius:70% 30% 30% 70%/60% 40% 60% 40%;}
  66%{border-radius:50% 50% 20% 80%/25% 75% 25% 75%;}
}
@keyframes svcMarkColor{
  0%,100%{background:var(--near-black);}
  50%{background:var(--orange);}
}

/* SaaS Development & Performance Ads: real client screenshots (an
   actual Talyro dashboard, an actual campaign reach map) rather than
   any invented mockup — framed like a live product shot, with a slow
   continuous pan so it doesn't sit dead-still */
.mock-shot{width:72%;aspect-ratio:16/10;}
.mock-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;animation:svcShotPan 12s ease-in-out infinite alternate;}
@keyframes svcShotPan{
  0%{transform:scale(1) translateY(0);}
  100%{transform:scale(1.09) translateY(-3%);}
}
.mock-shot-badge{
  position:absolute;left:16px;bottom:16px;z-index:2;
  display:flex;align-items:center;gap:10px;
  background:rgba(12,12,12,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.12);border-radius:14px;
  padding:10px 14px;
}
.mock-chart-card-stat{
  font-family:'Cal Sans',sans-serif;font-size:20px;font-weight:400;color:var(--orange);
  display:flex;align-items:baseline;gap:6px;
}
.mock-chart-card-stat small{font-family:'Inter',sans-serif;font-size:11px;color:rgba(255,255,255,.45);font-weight:400;}
.mock-chart-card-badge{
  font-size:10px;font-weight:500;color:#5CFF6E;background:rgba(92,255,110,.12);
  padding:4px 9px;border-radius:100px;border:1px solid rgba(92,255,110,.3);
}

/* ---------- ABOUT: watermark statement ---------- */
.about-watermark-wrap{position:relative;min-height:180px;margin-bottom:24px;display:flex;align-items:flex-start;}
.about-watermark{
  font-size:clamp(56px,14vw,204px);line-height:.92;color:rgba(12,12,12,.82);
  max-width:800px;
}
.about-text{max-width:640px;color:var(--gray);font-size:16px;margin-bottom:0;}
.about-facts{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.about-facts span{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--panel-bg);border-radius:100px;padding:9px 16px;
  font-size:14px;color:var(--near-black);font-weight:500;
}

/* ---------- LEGAL: Privacy Policy / Terms of Service ---------- */
.legal-content{max-width:720px;color:var(--gray);font-size:16px;line-height:1.7;}
.legal-content .legal-updated{color:var(--gray);font-size:14px;margin-bottom:40px;}
.legal-content h2{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:26px;color:var(--near-black);margin:44px 0 14px;}
.legal-content h2:first-of-type{margin-top:0;}
.legal-content p{margin-bottom:16px;}
.legal-content ul{margin:0 0 16px 20px;list-style:disc;}
.legal-content li{margin-bottom:8px;}
.legal-content a{color:var(--orange-text);text-decoration:underline;}

/* ---------- ABOUT: mission/vision pair ---------- */
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px;}
.mv-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;}
.mv-card h3{font-family:'Cal Sans',sans-serif;font-size:22px;font-weight:400;margin-bottom:12px;}
.mv-card p{color:var(--gray);font-size:15px;line-height:1.6;}

/* ---------- ABOUT: brandbook — one mark, every color ---------- */
.brand-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:32px;}
.brand-tile{aspect-ratio:1;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.brand-tile img{width:32%;height:auto;display:block;}
.brand-tile.t1{background:var(--black);}
.brand-tile.t2{background:var(--orange);}
.brand-tile.t2 img,.brand-tile.t3 img{filter:brightness(0);}
.brand-tile.t3,.brand-tile.t4{background:#fff;border:1px solid var(--line);}
.brand-tile.t5{background:linear-gradient(135deg,var(--orange),#e06a2a);}
.brand-tile.t6{background:linear-gradient(135deg,#141414,#2a1a10 55%,var(--orange));}


/* ---------- PRICING ---------- */
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.price-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px;position:relative;display:flex;flex-direction:column;}
.price-card.highlight{
  background:var(--black);color:#fff;border-color:var(--black);
  position:relative;overflow:hidden;padding:0;
}
.price-card-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.price-card-scrim{position:absolute;inset:0;background:rgba(8,5,2,.6);z-index:0;}
.price-card-content{position:relative;z-index:1;padding:28px;display:flex;flex-direction:column;height:100%;}
.price-badge{
  position:absolute;top:0;right:28px;transform:translateY(-50%);
  background:#c23800;color:#fff;font-size:11px;font-weight:600;
  letter-spacing:.03em;text-transform:uppercase;padding:6px 14px;border-radius:100px;z-index:2;
}
.price-card h2,.price-card h3{font-size:20px;margin-bottom:10px;font-family:'Cal Sans',sans-serif;}
.price-card.highlight h3,.price-card.highlight .price-amount{text-shadow:0 2px 10px rgba(0,0,0,.4);}
.price-desc{color:var(--gray);font-size:13px;margin-bottom:18px;min-height:52px;line-height:1.5;}
.price-card.highlight .price-desc{color:rgba(255,255,255,.82);text-shadow:0 1px 6px rgba(0,0,0,.35);}
.price-delivery{font-size:12px;color:var(--gray);margin-bottom:14px;display:flex;justify-content:space-between;}
.price-card.highlight .price-delivery{color:rgba(255,255,255,.78);text-shadow:0 1px 6px rgba(0,0,0,.35);}
.price-amount{font-size:34px;font-family:'Cal Sans',sans-serif;margin-bottom:18px;}
.price-amount span{font-size:13px;color:var(--gray);font-family:'Inter',sans-serif;}
.price-card.highlight .price-amount span{color:rgba(255,255,255,.75);}
.price-card ul{margin-bottom:24px;flex-grow:1;}
.price-card li{font-size:13px;padding:7px 0;border-top:1px solid var(--line);}
.price-card.highlight li{border-color:rgba(255,255,255,.22);text-shadow:0 1px 6px rgba(0,0,0,.35);}
.pricing-note{
  display:flex;align-items:center;gap:10px;justify-content:center;
  margin:28px auto 0;max-width:640px;text-align:center;
  color:var(--gray);font-size:14px;line-height:1.5;
}
.pricing-note svg{width:18px;height:18px;flex-shrink:0;color:var(--orange);}
@media (max-width:1100px){
  .pricing-grid{grid-template-columns:repeat(2,1fr);}
}

/* ---------- COMPARE: DIY vs Freelancer/Agency vs Us ---------- */
.compare{padding:90px var(--gutter);}
.compare-table{
  width:100%;border-collapse:collapse;margin-top:48px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
}
.compare-table th,.compare-table td{padding:16px 20px;text-align:left;font-size:14px;border-top:1px solid var(--line);}
.compare-table thead th{border-top:none;font-size:13px;color:var(--gray);font-weight:500;text-transform:uppercase;letter-spacing:.02em;padding-bottom:20px;}
.compare-table tbody th{font-weight:500;color:var(--near-black);width:28%;}
.compare-table td{color:var(--gray);}
.compare-table .compare-col-us{background:var(--panel-bg);}
.compare-table thead .compare-col-us{color:var(--black);font-weight:700;}
.compare-table td.compare-yes{color:var(--near-black);}
.compare-table td.compare-yes svg{width:16px;height:16px;color:var(--orange);margin-right:6px;vertical-align:-3px;}
.compare-foot{margin-top:20px;color:var(--gray);font-size:14px;max-width:640px;}
@media (max-width:700px){
  .compare{padding:60px 24px;}
  .compare-table{display:block;overflow-x:auto;}
  .compare-table th,.compare-table td{white-space:nowrap;}
}
.btn-outline{
  display:inline-block;width:100%;text-align:center;
  border:1px solid var(--near-black);border-radius:100px;padding:12px;font-size:14px;font-weight:500;
}
.btn-outline.light{border-color:#fff;}

/* ---------- WHY CHOOSE US ---------- */
/* the page bg is gray right up to this section; fade it into white
   gradually over the top of the section instead of cutting straight
   to a flat color, so the seam with Works above doesn't read as a hard line */
.why-us{background:linear-gradient(180deg, var(--page-bg) 0px, #fff 480px);}
.why-us-glow{display:none;}
/* same centered giant watermark + bottom mask-fade as "Recent Works",
   and the same sink-behind-the-grid scroll animation (wired up in
   script.js) — a literal reuse of that treatment, not just a family
   resemblance this time */
.why-us-watermark{
  text-align:center;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}
@media (max-width:480px){
  /* "Why Choose Us?" is longer than "Recent Works" — at the shared
     base size it wraps to 2 lines and the sink-behind-grid effect (tuned
     for a single line) ends up burying the second line under the cards.
     Scale it down so it stays on one line like the Works watermark. */
  .why-us-watermark{font-size:clamp(30px,12vw,48px);}
}

.why-grid{display:grid;grid-template-columns:1.1fr 1fr 0.85fr;grid-auto-rows:min-content;gap:28px 20px;margin-top:40px;}

/* cursor-tracking spotlight glow (classic GitHub "spotlight card" pattern,
   --mx/--my set by script.js on mousemove), tinted with our own orange.
   Cards also sit at a slight scattered tilt with a floating shadow —
   echoing the tilted Works mosaic above without literally copying its
   3D perspective (this content is readable text, not glanceable images,
   so the tilt stays tiny and straightens out on hover). */
.why-card{
  --mx:50%;--my:50%;
  position:relative;overflow:hidden;
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:32px;
  box-shadow:0 24px 48px rgba(12,12,12,.08);
  transition:transform .35s ease,box-shadow .35s ease,border-color .3s ease;
}
.why-card::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(280px circle at var(--mx) var(--my), rgba(255,77,0,.16), transparent 65%);
  opacity:0;transition:opacity .35s ease;
}
.why-card:hover::before{opacity:1;}
.why-tall{transform:rotate(-1.1deg);}
.why-stat{transform:rotate(0.9deg);}
.why-small{transform:rotate(-0.8deg);}
.why-wide{transform:rotate(0.5deg);}
.why-card:hover{
  transform:rotate(0deg) translateY(-6px);
  border-color:rgba(255,140,60,.35);
  box-shadow:0 32px 64px rgba(12,12,12,.14);
}
.why-card>*{position:relative;z-index:1;}
.why-card h3{font-family:'Cal Sans',sans-serif;font-size:22px;font-weight:400;margin-bottom:8px;}
.why-card p{color:var(--gray);font-size:15px;line-height:1.5;}

.why-tall{grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column;}
.why-illus{flex:1;display:flex;align-items:center;margin-top:20px;min-height:180px;}
/* real portfolio clip instead of the generic animated browser mock —
   the source is a landscape recording of a phone held in-frame, so a
   portrait crop centered on the phone reads as a clean product shot */
.why-portfolio-video{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:52% center;display:block;}
.why-illus .mock-browser{width:100%;}

.why-stat{grid-column:2;grid-row:1;position:relative;overflow:hidden;}
.why-stat-num{font-size:84px;font-family:'Cal Sans',sans-serif;color:var(--orange);margin-bottom:8px;line-height:1;}
.why-stat-num span{font-size:17px;color:var(--gray);font-family:'Inter',sans-serif;margin-left:6px;}
/* the generic rule above is meant for .why-stat-label only; .why-count
   is also a span (needed as the GSAP count-up target) but must keep
   the big orange number styling it inherits from .why-stat-num */
.why-count{font-size:inherit;color:inherit;font-family:inherit;margin-left:0;}
.why-stat-highlight{position:relative;display:inline-block;}
.why-stat-underline{position:absolute;left:0;bottom:-8px;width:100%;height:20px;pointer-events:none;}
.why-stat-underline path{fill:none;stroke:var(--orange);stroke-width:3;stroke-linecap:round;}
.why-stat-note{
  position:absolute;top:18px;right:18px;z-index:2;
  font-family:'Caveat',cursive;font-weight:600;font-size:18px;color:var(--orange);
  transform:rotate(4deg);opacity:0;
}

.why-small{grid-column:3;grid-row:1;display:flex;flex-direction:column;justify-content:flex-end;}
.why-check-wrap{position:relative;width:56px;height:56px;margin-bottom:18px;}
.why-check{width:56px;height:56px;margin-bottom:0;position:relative;z-index:1;}
.why-check-ring{stroke:rgba(12,12,12,.15);}
.why-check-path{
  stroke-dasharray:34;stroke-dashoffset:34;
}

.why-wide{grid-column:2 / 4;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.why-wide-text{max-width:360px;}
.why-dots{display:flex;gap:10px;margin-top:18px;}
.why-dots span{width:14px;height:14px;border-radius:50%;display:block;}
.why-wide-illus{flex-shrink:0;width:160px;}
.why-wide-illus .mock-dashboard{width:100%;aspect-ratio:16/10;}

/* ---------- WHY CHOOSE US: continuous in-card animations ---------- */
/* scoped under .why-illus / .why-wide-illus / .why-* ancestors so the
   shared .mock-* base classes used by the Services tabs stay untouched */

/* stat card: number pulse + rightward speed streaks */
.why-stat-num{ animation:whyStatPulse 3s ease-in-out infinite; display:inline-block; }
@keyframes whyStatPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.06); }
}
.why-speed-lines{
  position:absolute;top:26px;right:14px;display:flex;flex-direction:column;gap:10px;
  z-index:0;pointer-events:none;
}
.why-speed-lines span{
  display:block;height:3px;border-radius:3px;
  background:linear-gradient(90deg,transparent,rgba(255,140,60,.75));
  animation:whySpeedStreak 1.4s linear infinite;
}
.why-speed-lines span:nth-child(1){ width:44px; animation-delay:0s; }
.why-speed-lines span:nth-child(2){ width:28px; animation-delay:.25s; }
.why-speed-lines span:nth-child(3){ width:58px; animation-delay:.5s; }
@keyframes whySpeedStreak{
  0%{ transform:translateX(50px); opacity:0; }
  30%{ opacity:1; }
  100%{ transform:translateX(-100px); opacity:0; }
}

/* small card: pulsing ping ring behind the checkmark */
.why-ping{
  position:absolute;inset:0;border-radius:50%;
  animation:whyPing 2.4s ease-out infinite;
}
@keyframes whyPing{
  0%{ box-shadow:0 0 0 0 rgba(255,140,60,.45); }
  70%{ box-shadow:0 0 0 14px rgba(255,140,60,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,140,60,0); }
}

/* wide card: Figma dots bounce + dashboard bars/chart pulse */
.why-dots span{ animation:whyDotBounce 1.6s ease-in-out infinite; }
.why-dots span:nth-child(1){ animation-delay:0s; }
.why-dots span:nth-child(2){ animation-delay:.1s; }
.why-dots span:nth-child(3){ animation-delay:.2s; }
.why-dots span:nth-child(4){ animation-delay:.3s; }
.why-dots span:nth-child(5){ animation-delay:.4s; }
@keyframes whyDotBounce{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-7px); }
}
.why-wide-illus .mock-row div{ animation:whyBarPulse 3.6s ease-in-out infinite; }
.why-wide-illus .mock-row div:nth-child(1){ animation-delay:0s; }
.why-wide-illus .mock-row div:nth-child(2){ animation-delay:.4s; }
.why-wide-illus .mock-row div:nth-child(3){ animation-delay:.8s; }
@keyframes whyBarPulse{
  0%,100%{ opacity:.5; }
  50%{ opacity:1; background:#3a3a3a; }
}
.why-wide-illus .mock-chart{
  background:linear-gradient(100deg,#1c1c1c 30%,#2c2c2c 50%,#1c1c1c 70%);
  background-size:250% 100%;
  animation:whyChartSweep 3s linear infinite;
}
@keyframes whyChartSweep{
  0%{ background-position:120% 0; }
  100%{ background-position:-40% 0; }
}

@media (prefers-reduced-motion:reduce){
  .why-stat-num,.why-speed-lines span,.why-ping,
  .why-dots span,.why-wide-illus .mock-row div,.why-wide-illus .mock-chart,
  .mock-anim-build .mock-hero,.mock-anim-build .mock-nav,.mock-anim-build .mock-row div,
  .mock-cursor,.mock-anim-build .mock-mark,.mock-shot img{
    animation:none !important;
  }
}

/* ---------- FAQ ---------- */
.faq-list{display:flex;flex-direction:column;gap:16px;max-width:920px;}
.faq-item{
  background:var(--panel-bg);border-radius:var(--radius-lg);
  padding:0 28px;
}
.faq-q{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:26px 0;font-size:18px;font-weight:500;text-align:left;
}
.faq-q span{font-size:20px;color:var(--orange);transition:transform .25s ease;flex-shrink:0;}
.faq-item.active .faq-q span{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.faq-item.active .faq-a{max-height:200px;}
.faq-a p{color:var(--gray);padding-bottom:26px;}
.faq-more{
  display:flex;align-items:center;gap:8px;width:max-content;margin:32px auto 0;
  font-size:14px;font-weight:500;color:var(--near-black);
}
.faq-more .arrow{color:var(--orange);transition:transform .25s ease;}
.faq-more:hover .arrow{transform:translateX(4px);}

/* ---------- PROCESS: how we work in 4 steps + a live request form,
   side by side (homepage only) — same pairing as ustaff.ee's own
   "How It Works" section, adapted: steps reuse .why-card (tilt +
   cursor spotlight for free), the form card is dark to match our
   .contact section's language instead of a flat brand-color fill ---------- */
.process .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
.process-watermark{
  text-align:center;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}
@media (max-width:480px){.process-watermark{font-size:clamp(26px,10vw,44px);}}
/* content-sized columns, centered as one block — the steps need little
   width (short text) and the form needs a lot, so it isn't a 1fr/1fr
   stretch to the section edges */
.process-layout{
  display:grid;grid-template-columns:340px 480px;gap:24px;
  justify-content:center;margin-top:48px;align-items:start;
}
.process-steps{display:flex;flex-direction:column;gap:18px;}
.process-step{position:relative;}
.process-step:nth-child(1){transform:rotate(-1.2deg);}
.process-step:nth-child(2){transform:rotate(1deg);}
.process-step:nth-child(3){transform:rotate(0.8deg);}
.process-step:nth-child(4){transform:rotate(-0.9deg);}
.process-step-num{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;margin-bottom:14px;
  background:var(--orange);color:#fff;font-family:'Cal Sans',sans-serif;font-size:16px;
}
.process-step h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:18px;margin-bottom:6px;}
.process-step p{color:var(--gray);font-size:14px;line-height:1.6;}

.process-form-card{
  display:flex;flex-direction:column;transform:rotate(0.4deg);
  background:var(--black);color:#fff;
}
.process-form-card h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:22px;margin-bottom:8px;color:#fff;}
.process-form-card > p{color:rgba(255,255,255,.6);font-size:14px;margin-bottom:0;}
.process-form{margin-top:24px;max-width:none;}

@media (max-width:900px){
  .process-layout{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto;}
}

/* ---------- CONTACT-SPLIT: two cards (contact.html only) — fills the
   gap between the hero and the footer form with a lower-commitment
   alternate path instead of leaving it empty ---------- */
.contact-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px;}
.contact-split-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;}
.contact-split-card h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:24px;margin-bottom:10px;}
.contact-split-card > p{color:var(--gray);margin-bottom:20px;}
.contact-split-card form.contact-form input,
.contact-split-card form.contact-form textarea{border-color:var(--line);background:var(--panel-bg);color:var(--near-black);}
.contact-split-card form.contact-form input:focus,
.contact-split-card form.contact-form textarea:focus{border-color:var(--orange);background:#fff;}
.contact-split-card form.contact-form input::placeholder,
.contact-split-card form.contact-form textarea::placeholder{color:var(--gray);}
.contact-split-card .contact-services-label{color:var(--gray);}
.contact-split-card .contact-chip span{border-color:var(--line);color:var(--near-black);}
.contact-split-card .contact-chip:hover span{border-color:var(--near-black);}
.contact-calendly-large{
  display:flex;width:100%;justify-content:center;gap:10px;
  background:var(--black);color:#fff;padding:16px 24px;border-radius:100px;
  font-size:15px;font-weight:600;margin-top:0;
}
.contact-calendly-large:hover{color:#fff;background:var(--orange);}
.contact-calendly-large .contact-calendly-icon{color:#fff;}
.ops-contact{margin-top:24px;font-size:14px;color:var(--gray);display:flex;flex-direction:column;gap:6px;}
.ops-contact a{color:var(--near-black);font-weight:500;}
.ops-contact a:hover{color:var(--orange);}
@media (max-width:900px){.contact-split{grid-template-columns:1fr;}}

/* ---------- CONTACT: dark/glow panel, same language as footer ---------- */
.contact{
  position:relative;border-radius:var(--radius-lg) var(--radius-lg) 0 0;overflow:hidden;
  padding:0;margin-bottom:0;background:var(--black);color:#fff;
}
.contact-glow{
  position:absolute;left:0;right:0;top:0;height:65%;z-index:0;
  background:radial-gradient(ellipse at 50% -10%, rgba(255,77,0,.3) 0%, rgba(255,77,0,.1) 35%, transparent 65%);
  pointer-events:none;
}
.contact-content{
  position:relative;z-index:1;padding:110px var(--gutter) 100px;
  display:flex;justify-content:space-between;gap:60px;flex-wrap:wrap;
}
.contact-main{flex:1 1 480px;min-width:0;}
.contact-watermark{
  font-size:clamp(44px,10vw,140px);line-height:.98;margin:0 0 8px;
  background:linear-gradient(180deg,#fff 0%,#8a8a8a 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.contact-subtitle{font-size:clamp(24px,3.4vw,40px);font-weight:400;margin-bottom:16px;color:#fff;}
.contact .section-desc{color:rgba(255,255,255,.6);}
.contact-form{display:flex;flex-direction:column;gap:14px;max-width:520px;margin-top:32px;}
.contact-form input,.contact-form textarea{
  border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:16px;font-family:inherit;font-size:15px;
  background:rgba(255,255,255,.05);color:#fff;
  transition:border-color .25s ease,background .25s ease;
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:none;border-color:rgba(255,140,60,.5);background:rgba(255,255,255,.08);
}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:rgba(255,255,255,.35);}
.contact-form button{align-self:flex-start;}

/* service picker — lets a visitor flag what they need before writing
   anything, same pill language as the hero's "what we do" tags */
.contact-services-label{display:block;font-size:13px;color:rgba(255,255,255,.5);margin-bottom:10px;}
.contact-chips{display:flex;flex-wrap:wrap;gap:10px;}
.contact-chip{position:relative;display:inline-flex;align-items:center;}
.contact-chip input{position:absolute;opacity:0;width:0;height:0;}
.contact-chip span{
  display:inline-flex;align-items:center;padding:10px 18px;border-radius:100px;
  border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.75);
  font-size:13px;font-weight:500;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.contact-chip:hover span{border-color:rgba(255,255,255,.45);color:#fff;}
.contact-chip input:checked + span{background:var(--orange);border-color:var(--orange);color:#fff;}

/* Calendly fallback — sits right under the form for anyone who'd
   rather just talk than type */
.contact-calendly{
  display:inline-flex;align-items:center;gap:10px;margin-top:20px;
  color:rgba(255,255,255,.75);font-size:14px;font-weight:500;
  transition:color .2s ease;
}
.contact-calendly:hover{color:#fff;}
.contact-calendly:hover .arrow{transform:translateX(4px);}
.contact-calendly-icon{display:flex;color:var(--orange);}
.contact-calendly-icon svg{width:18px;height:18px;}

/* quick-link columns, filling the space next to the form (same content
   as the footer nav below — kept out of the footer on this page so the
   two blocks don't repeat back to back) */
.contact-links{display:flex;gap:56px;flex-wrap:wrap;flex:0 1 auto;padding-top:96px;}
.contact-links h4,.contact-links h5{font-size:14px;color:rgba(255,255,255,.5);margin-bottom:14px;font-weight:400;}
.contact-links a{display:block;font-size:16px;color:rgba(255,255,255,.85);margin-bottom:10px;transition:color .2s ease;}
.contact-links a:hover{color:var(--orange);}

/* ---------- FOOTER ---------- */
.footer{position:relative;color:#fff;overflow:hidden;background:#0c0c0c;}
.footer-glow{
  position:absolute;left:0;right:0;bottom:0;height:70%;
  background:radial-gradient(ellipse at 50% 100%, rgba(255,77,0,.35) 0%, rgba(255,77,0,.12) 35%, transparent 70%);
  pointer-events:none;
}
.footer-inner{position:relative;z-index:1;max-width:1920px;margin:0 auto;padding-top:40px;}
.footer-bottom{
  padding:24px var(--gutter);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:14px;color:rgba(255,255,255,.64);
}
.footer-clock{font-variant-numeric:tabular-nums;}
.footer-badge{display:inline-flex;align-items:center;opacity:.72;transition:opacity .2s;}
.footer-badge:hover{opacity:1;}
.footer-badge img{display:block;height:28px;width:auto;}
#backToTop{color:var(--orange);}
#backToTop:hover{color:#fff;}

/* giant cropped wordmark, CSS gradient text (stands in for the reference's logo image) */
.footer-brand{
  overflow:hidden;line-height:.78;text-align:center;
  height:clamp(120px,22vw,320px);
  margin-top:20px;
}
.footer-brand span{
  font-family:'Cal Sans',sans-serif;font-size:clamp(90px,18vw,300px);
  white-space:nowrap;
  background:linear-gradient(180deg,#fff 0%,#8a8a8a 60%,#3a3a3a 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

/* ---------- SUB-PAGE HERO: same video background as the homepage hero
   (not just a flat dark panel) — gives every page the exact same brand
   presence/motion the homepage has, instead of an imitation of it.
   .hero-bg-photo/.hero-bg-blur are the homepage hero's own classes,
   reused as-is so the existing play-only-when-in-view JS also covers
   these without any extra wiring. */
.page-hero{
  position:relative;overflow:hidden;
  max-width:1920px;width:100%;margin:0 auto;
  background:var(--black);color:#fff;
  border-radius:0 0 32px 32px;
  padding:0 0 50px;
}
.page-hero > *{position:relative;z-index:1;}
/* ...except the background video/blur layer, which .hero-bg-photo/
   .hero-bg-blur already position absolute — the generic rule above
   (same specificity, declared later) was winning and pinning them back
   to position:relative, collapsing the video into a block instead of
   filling the hero behind everything else */
.page-hero .hero-bg-photo,.page-hero .hero-bg-blur{position:absolute;z-index:0;}
.page-hero-intro{padding:104px var(--gutter) 0;max-width:calc(720px + 2 * var(--gutter));}
.page-hero-intro .eyebrow{color:rgba(255,255,255,.55);}
.page-hero-intro .section-title{margin-bottom:14px;color:#fff;}
.page-hero-intro .section-desc{color:rgba(255,255,255,.6);}

/* ---------- CASE STUDY PAGE ---------- */
.case-hero-image{
  width:100%;aspect-ratio:1400/820;border-radius:var(--radius-lg);overflow:hidden;
  margin-bottom:56px;
}
.case-hero-image img{width:100%;height:100%;object-fit:cover;object-position:top;}
.case-layout{display:grid;grid-template-columns:1fr 280px;gap:60px;margin-bottom:80px;}
.case-text{max-width:640px;}
.case-text p{color:var(--gray);font-size:17px;line-height:1.6;margin-bottom:20px;}
.case-meta-list{display:flex;flex-direction:column;gap:22px;padding-top:6px;}
.case-meta-list span{display:flex;flex-direction:column;gap:4px;font-size:15px;}
.case-meta-list a{width:max-content;}
.case-meta-list a:hover{text-decoration:underline;}
.case-meta-list b{font-weight:400;color:var(--gray);font-size:13px;}
.case-back{display:inline-flex;align-items:center;gap:8px;color:var(--gray);font-size:14px;margin-bottom:32px;}
.case-back:hover{color:var(--near-black);}
.case-more{border-top:1px solid var(--line);padding-top:56px;}

/* ---------- CASE: client-acquisition results add-on (AlfaSteel, ANSAV) ---------- */
.case-results{margin:0 0 80px;padding-top:56px;border-top:1px solid var(--line);}
.case-results h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:24px;margin-bottom:8px;}
.case-results-sub{color:var(--gray);font-size:15px;line-height:1.6;max-width:640px;margin-bottom:32px;}
.case-results-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.case-result{background:var(--panel-bg);border-radius:var(--radius-lg);padding:22px 18px;}
.case-result-num{font-size:30px;font-family:'Cal Sans',sans-serif;color:var(--orange);line-height:1;margin-bottom:8px;}
.case-result-label{font-size:13px;color:var(--near-black);font-weight:500;margin-bottom:3px;}
.case-result-sub{font-size:12px;color:var(--gray);}
@media (max-width:900px){.case-results-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:600px){.case-results-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- BLOG ---------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.blog-card{
  display:block;border-radius:var(--radius-lg);overflow:hidden;
  background:var(--panel-bg);transition:transform .3s ease;
}
.blog-card:hover{transform:translateY(-4px);}
.blog-card-media{aspect-ratio:16/10;position:relative;}
.blog-card-media img{width:100%;height:100%;object-fit:cover;display:block;}
.blog-card-body{padding:24px;}
.blog-card-tag{
  display:inline-block;background:rgba(12,12,12,.85);color:#fff;font-size:11px;font-weight:600;
  padding:6px 12px;border-radius:100px;text-transform:uppercase;letter-spacing:.02em;margin-bottom:14px;
}
.blog-card-date{color:var(--gray);font-size:13px;margin-bottom:8px;display:block;}
.blog-card h3{font-size:19px;font-family:'Cal Sans',sans-serif;font-weight:400;margin-bottom:10px;line-height:1.3;}
.blog-card p{color:var(--gray);font-size:14px;line-height:1.5;}

/* ---------- BLOG ARTICLE ---------- */
.article-hero-image{width:100%;aspect-ratio:1400/560;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:40px;display:flex;align-items:center;justify-content:center;}
.article-hero-image img{width:100%;height:100%;object-fit:cover;display:block;}
.article-meta-row{display:flex;align-items:center;gap:14px;margin-bottom:28px;}
.article-meta-row .blog-card-tag{margin-bottom:0;}
.article-meta-row .blog-card-date{margin-bottom:0;}
.legal-content.article-content{max-width:720px;}
.legal-content.article-content h2{font-size:24px;margin:40px 0 12px;}
.legal-content.article-content p{font-size:17px;}

/* ---------- RESPONSIVE ---------- */
/* the gutter var scales down from 156px as viewport shrinks; every
   rule padded with var(--gutter) follows automatically */
@media (max-width:1400px){ :root{--gutter:64px;} }
@media (max-width:700px){
  :root{--gutter:24px;}
  /* the title+meta overlay is now always on for touch (no hover to
     reveal it), but the card is too short on a narrow phone to fit the
     title next to 3 stacked meta rows without them colliding — keep
     just the title, the full details are one tap away on the case page */
  .work-meta-cols{display:none;}
}

/* break an element out to the full section width, ignoring the gutter
   (used for watermark headings that need to fit on one line) */
.bleed{margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));max-width:calc(100% + 2 * var(--gutter));}
@media (max-width:900px){
  .mock-browser,.mock-dashboard,.mock-shot{width:88%;}
  .service-layout{grid-template-columns:1fr;}
  /* the desktop layout pins the panel to grid-row:1 next to the tab
     column — on a single mobile column that leaves the description
     stacking above the tab buttons that choose it, so reset the row too */
  .service-panels{grid-column:1;grid-row:auto;}
  .pricing-grid{grid-template-columns:1fr;}
  .nav-links,.lang-switch,.header-cta{display:none;}
  .menu-toggle{display:flex;}
  .mv-grid{grid-template-columns:1fr;}
  .brand-grid{grid-template-columns:repeat(3,1fr);}
  .case-layout{grid-template-columns:1fr;}
  .blog-grid{grid-template-columns:1fr 1fr;}
  .why-grid{grid-template-columns:1fr;}
  .why-tall,.why-stat,.why-small,.why-wide{grid-column:1;grid-row:auto;}
  .contact-links{padding-top:0;gap:40px;}
  .works-mosaic{
    transform:none;
    grid-template-columns:1fr 1fr;
    grid-template-rows:repeat(4,230px);
    grid-template-areas:"a a" "b c" "d d" "e f";
  }
}
@media (max-width:600px){
  .blog-grid{grid-template-columns:1fr;}
  /* six 160px-tall slivers only showed the very top of each screenshot
     (nav + a sliver of hero) with a tiny label fighting whatever busy
     text/graphics happened to be in that crop — unreadable and unclear
     what each tile even was. Give each project a real landscape card
     instead (same ratio as the Works page's full-width rows), with a
     proper bottom scrim so the title always reads regardless of what's
     under it. */
  .works-mosaic{grid-template-columns:1fr;grid-template-areas:"a" "b" "c" "d" "e" "f";grid-template-rows:none;gap:16px;}
  .works-mosaic-tile{aspect-ratio:1400/780;}
  .works-mosaic-label{font-size:18px;}
  .brand-grid{grid-template-columns:repeat(2,1fr);}
}

/* ---------- RUSSIAN HEADING FONT ---------- */
/* Cal Sans has no Cyrillic glyphs, so any Russian heading set in it was
   silently falling back to the browser's generic sans-serif — a visibly
   different, inconsistent typeface next to the ET/EN pages. Unbounded is
   a rounded/geometric display face with full Cyrillic coverage that reads
   close to Cal Sans's weight and character, so Russian headings now match
   the same stylistic register instead of looking like a different site. */
html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .mobile-menu-links a,
html[lang="ru"] .statement-text,
html[lang="ru"] .testimonial-stat,
html[lang="ru"] .legal-content h2,
html[lang="ru"] .mv-card h3,
html[lang="ru"] .why-card h3,
html[lang="ru"] .process-step h3,
html[lang="ru"] .process-form-card h3,
html[lang="ru"] .contact-split-card h3,
html[lang="ru"] .blog-card h3,
html[lang="ru"] .case-results h3{
  font-family:'Unbounded',sans-serif;
  font-weight:600;
}
html[lang="ru"] .statement-text{font-weight:500;}

/* ---------- SEO / GUIDE PAGES ---------- */
.seo-article{max-width:860px;color:var(--gray);font-size:17px;line-height:1.75;}
.seo-article h2{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:28px;line-height:1.25;color:var(--near-black);margin:52px 0 14px;scroll-margin-top:90px;}
.seo-article h3{font-family:'Cal Sans',sans-serif;font-weight:400;font-size:20px;color:var(--near-black);margin:30px 0 10px;}
.seo-article p{margin-bottom:16px;}
.seo-article ul,.seo-article ol{margin:0 0 18px 22px;}
.seo-article ul{list-style:disc;}
.seo-article ol{list-style:decimal;}
.seo-article li{margin-bottom:8px;}
.seo-article a{color:var(--orange-text);text-decoration:underline;text-underline-offset:3px;}
.seo-article strong{color:var(--near-black);font-weight:600;}
.seo-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;color:var(--gray);margin-bottom:26px;}
.seo-meta b{color:var(--near-black);font-weight:500;}
.breadcrumb{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--gray);margin-bottom:22px;}
.breadcrumb a{color:var(--gray);text-decoration:none;}
.breadcrumb a:hover{color:var(--near-black);}
.seo-lead{font-size:20px;line-height:1.6;color:var(--near-black);margin-bottom:26px;}
.seo-toc{background:var(--panel-bg);border-radius:var(--radius);padding:24px 28px;margin:0 0 36px;}
.seo-toc-title{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--gray);margin-bottom:10px;}
.seo-toc ol{margin:0 0 0 20px;}
.seo-toc li{margin-bottom:6px;font-size:16px;}
.seo-toc a{color:var(--near-black);text-decoration:none;}
.seo-toc a:hover{color:var(--orange);}
.seo-table-wrap{overflow-x:auto;margin:0 0 26px;border-radius:var(--radius);background:#fff;border:1px solid var(--line);}
.seo-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;min-width:560px;}
.seo-table th,.seo-table td{padding:14px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);}
.seo-table th{background:var(--panel-bg);color:var(--near-black);font-weight:600;font-size:14px;}
.seo-table tr:last-child td{border-bottom:0;}
.seo-table td:first-child{color:var(--near-black);font-weight:500;}
.seo-table .hl{background:rgba(255,77,0,.07);}
.seo-callout{background:var(--black);color:rgba(255,255,255,.78);border-radius:var(--radius);padding:26px 30px;margin:30px 0;}
.seo-callout strong{color:#fff;}
.seo-callout a{color:var(--orange);}
.seo-callout p:last-child{margin-bottom:0;}
.seo-note{border-left:3px solid var(--orange);padding:4px 0 4px 18px;margin:24px 0;color:var(--near-black);}
.seo-cta{background:var(--black);border-radius:var(--radius-lg);padding:40px 44px;margin:48px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;}
.seo-cta h3{color:#fff;font-size:24px;margin:0 0 8px;}
.seo-cta p{color:rgba(255,255,255,.62);margin:0;font-size:16px;max-width:460px;}
.seo-cta .btn-pill{text-decoration:none;color:#fff;}
.seo-faq{margin:12px 0 0;}
.seo-faq details{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px;padding:0 24px;}
.seo-faq summary{cursor:pointer;list-style:none;padding:20px 28px 20px 0;font-weight:500;color:var(--near-black);font-size:17px;position:relative;}
.seo-faq summary::-webkit-details-marker{display:none;}
.seo-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:22px;color:var(--orange);transition:transform .25s ease;}
.seo-faq details[open] summary::after{transform:translateY(-50%) rotate(45deg);}
.seo-faq details p{padding:0 0 20px;margin:0;color:var(--gray);}
.seo-related{margin-top:56px;padding-top:40px;border-top:1px solid var(--line);}
.seo-related h2{margin-top:0;font-size:22px;}
.seo-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;}
.seo-related-grid a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;color:var(--near-black);text-decoration:none;font-weight:500;font-size:16px;line-height:1.4;transition:border-color .2s,transform .2s;}
.seo-related-grid a:hover{border-color:var(--orange);transform:translateY(-2px);}
.seo-related-grid small{display:block;color:var(--gray);font-weight:400;font-size:14px;margin-top:6px;}
@media (max-width:900px){
  .seo-article{font-size:16px;}
  .seo-article h2{font-size:24px;margin-top:40px;}
  .seo-lead{font-size:18px;}
  .seo-cta{padding:28px 24px;}
}
html[lang="ru"] .seo-article h2,html[lang="ru"] .seo-article h3,html[lang="ru"] .seo-cta h3{font-family:'Unbounded',sans-serif;font-weight:500;}
html[lang="ru"] .seo-article h2{font-size:23px;}
html[lang="ru"] .seo-article h3{font-size:17px;}
.seo-table td.nw{white-space:nowrap;}
.seo-table.wide{min-width:860px;}
.service-more{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--orange-text);font-weight:500;font-size:15px;}
.service-more .arrow{transition:transform .25s ease;}
.service-more:hover .arrow{transform:translateX(4px);}
.seo-guides .section-title{margin-bottom:28px;}
.seo-calc{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:30px 32px;margin:28px 0 34px;}
.seo-article .seo-calc h3{margin-top:0;}
.seo-calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:18px 0;}
.seo-calc label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--gray);}
.seo-calc select{font:inherit;font-size:15px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel-bg);color:var(--near-black);}
.seo-calc-extras{border:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:6px 0 20px;}
.seo-calc-extras legend{font-size:14px;color:var(--gray);margin-bottom:8px;}
.seo-calc-extras label{flex-direction:row;align-items:center;gap:10px;font-size:15px;color:var(--near-black);}
.seo-calc-out{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;background:var(--black);border-radius:var(--radius);padding:22px 26px;margin-bottom:12px;}
.seo-calc-out span{display:block;color:rgba(255,255,255,.55);font-size:13px;margin-bottom:6px;}
.seo-calc-out strong{color:#fff;font-family:'Cal Sans',sans-serif;font-weight:400;font-size:24px;line-height:1.25;}
html[lang="ru"] .seo-calc-out strong{font-family:'Unbounded',sans-serif;font-weight:500;font-size:19px;}
.seo-calc-note{font-size:13px;color:var(--gray);margin-bottom:16px;}
.seo-calc .btn-pill{text-decoration:none;color:#fff;}
@media (max-width:900px){.seo-calc{padding:22px 18px;}}

/* LCP-critical hero text animates via CSS (no JS dependency, so it paints at first frame) */
@keyframes heroIn{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:none;}}
.statement-text,.page-hero-intro{animation:heroIn .7s cubic-bezier(.22,1,.36,1) .05s both;}
@media (prefers-reduced-motion:reduce){.statement-text,.page-hero-intro{animation:none;}}
.lighthouse-note{grid-column:1/-1;font-size:13px;color:rgba(255,255,255,.55);margin-top:4px;}
.seo-article code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:rgba(0,0,0,.07);padding:2px 6px;border-radius:6px;}
.seo-article pre{background:var(--black);color:#e8e8e8;padding:18px 20px;border-radius:14px;overflow-x:auto;font-size:14px;line-height:1.6;margin:0 0 22px;}
.seo-article pre code{background:none;padding:0;color:inherit;}
