:root{
  --orange:#FF4D00;
  --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','Unbounded','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:2;
  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','Unbounded',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-wrap{position:relative;}
.lang-switch{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.16);color:#fff;font-size:13px;font-weight:500;
  padding:9px 16px;border-radius:50px;border:1px solid rgba(255,255,255,.3);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  white-space:nowrap;
}
.lang-switch svg{width:15px;height:15px;flex-shrink:0;}
.lang-switch .chevron{width:10px;height:10px;margin-left:-2px;transition:transform .2s ease;}
.lang-switch.open .chevron{transform:rotate(180deg);}
.lang-dropdown{
  position:absolute;top:calc(100% + 10px);right:0;z-index:50;
  background:#fff;border-radius:14px;padding:6px;min-width:150px;
  box-shadow:0 20px 44px rgba(12,12,12,.2);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
}
.lang-dropdown.open{opacity:1;visibility:visible;transform:translateY(0);}
.lang-option{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 12px;border-radius:9px;font-size:14px;color:var(--near-black);
}
.lang-option:hover{background:var(--panel-bg);}
.lang-option.active{color:var(--orange);font-weight:600;}
/* mobile menu: same three links, plain row instead of a dropdown */
.mobile-lang-switch{display:flex;gap:18px;margin-top:8px;}
.mobile-lang-switch a{font-size:15px;color:rgba(255,255,255,.55);}
.mobile-lang-switch a.active{color:#fff;font-weight:600;}
/* account dropdown reuses .lang-switch/.lang-dropdown/.lang-option (same
   markup shape, same script.js click-toggle selector) — no new JS needed */
.mobile-account-switch{display:flex;gap:18px;margin-top:14px;}
.mobile-account-switch a{font-size:15px;color:rgba(255,255,255,.55);}
.mobile-account-switch a:hover{color:#fff;}
.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);}

/* ---------- ACCOUNT CTA: homepage-only replacement for the "Contact"
   button (which duplicated the "Kontakt" nav link) — same dark-pill look,
   but opens the client/worker portal picker, and stays visible even on
   mobile (next to the hamburger) instead of collapsing into the drawer,
   since the drawer itself hides the header behind it while open ---------- */
.account-cta-wrap{position:relative;}
.account-cta{
  background:var(--orange);color:#fff;font-size:13px;font-weight:500;
  padding:11px 22px;border-radius:50px;white-space:nowrap;
  border:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.hero .account-cta,.page-hero .account-cta{background:rgba(12,12,12,.9);}
@media (max-width:900px){
  .account-cta{display:inline-flex!important;padding:9px 16px;font-size:12px;}
}

/* ---------- 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;}
/* the header's own hamburger/X (#menuToggle) sits inside .site-header,
   whose stacking context is nested under this fixed full-screen overlay
   — it visually disappears once the menu opens, with no way to close it.
   A dedicated close button living inside the overlay itself sidesteps
   the stacking issue entirely instead of fighting z-index. */
.mobile-menu-close{
  position:absolute;top:24px;right:var(--gutter);
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  color:#fff;
}
.mobile-menu-close svg{width:18px;height:18px;}
.mobile-menu-close:hover{background:rgba(255,255,255,.18);}
@media (max-width:600px){
  .mobile-menu-close{right:24px;}
}
.mobile-menu-links{display:flex;flex-direction:column;align-items:center;gap:26px;}
.mobile-menu-links a{font-family:'Cal Sans','Unbounded',sans-serif;font-size:30px;color:#fff;}
.mobile-menu-links a:active{color:var(--orange);}
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:var(--orange);}
.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:6px;}
.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{
  margin-left:17px;color:rgba(255,255,255,.55);font-size:11px;white-space:nowrap;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px;justify-content:center;}
.hero-cta-secondary{
  background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.3);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.hero-cta-secondary:hover{background:rgba(255,255,255,.26);}
.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-news-card{
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.32);color:#fff;
  backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);
  border:1px solid rgba(255,255,255,.35);
  border-radius:100px;padding:8px 20px 8px 8px;
  max-width:320px;flex-shrink:0;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.hero-news-tag{
  background:var(--black);color:#fff;font-size:11px;font-weight:600;
  padding:6px 12px;border-radius:100px;flex-shrink:0;
  text-transform:uppercase;letter-spacing:.02em;
}
.hero-news-card p{font-size:13px;line-height:1.3;}

/* ---------- 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%);
  background:rgba(0,0,0,.22);
}


/* ---------- 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','Unbounded',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;}
}

/* ---------- 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);}}

/* ---------- TRUST: social proof & numbers ---------- */
/* same card language as "Why Choose Us" (.why-card/.why-stat-num reused
   as-is), just three equal stats instead of an asymmetric grid — sits
   right after the hero to defuse the client's big three fears up front */
.trust .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
.trust-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%);
}
/* compact preview of the Legal & Compliance icons — that section sits
   far down the page, so B2B visitors see the legal signal immediately */
.trust-mini-badges{
  position:relative;z-index:1;
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;
  margin-bottom:32px;
}
.trust-mini-badges span{
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;border:1px solid var(--line);border-radius:100px;
  padding:8px 16px;font-size:13px;font-weight:500;color:var(--near-black);
  box-shadow:0 4px 10px rgba(12,12,12,.05);
}
.trust-mini-badges svg{width:16px;height:16px;color:var(--orange);flex-shrink:0;}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.trust-card{display:flex;flex-direction:column;gap:10px;}
.trust-card .why-stat-num{margin-bottom:0;}
.trust-unit{font-size:0.5em;margin-left:2px;}
.trust-card:nth-child(1){transform:rotate(-1deg);}
.trust-card:nth-child(2){transform:rotate(0.8deg);}
.trust-card:nth-child(3){transform:rotate(-0.6deg);}
/* just the "100%" stat — number + the % sign inherit this, everything
   else in the trio stays the shared orange */
.trust-card:nth-child(2) .why-stat-highlight{color:#1FA35A;}
@media (max-width:900px){
  .trust-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,.works-mosaic-tile video{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);}
}
.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','Unbounded',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-calendar{width:100%;aspect-ratio:16/10;background:#fff;padding:16px;display:flex;flex-direction:column;gap:12px;}
.mock-cal-header{display:flex;align-items:center;gap:8px;}
.mock-cal-logo{height:16px;width:auto;display:block;}
.mock-cal-month{font-family:'Cal Sans','Unbounded',sans-serif;font-size:13px;color:var(--near-black);}
.mock-cal-grid{flex:1;display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}
.mock-cal-grid span{border-radius:5px;background:#eee;display:block;}
.mock-cal-grid span.on{background:#22c55e;}

.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-visual video,.service-visual img{width:100%;height:100%;object-fit:cover;display:block;}

/* ---------- 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','Unbounded',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: 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','Unbounded',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(2,1fr);gap:24px;}
.price-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;}
.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:36px;}
.price-card h3{font-size:22px;margin-bottom:12px;font-family:'Cal Sans','Unbounded',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:14px;margin-bottom:20px;min-height:40px;}
.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:13px;color:var(--gray);margin-bottom:16px;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:48px;font-family:'Cal Sans','Unbounded',sans-serif;margin-bottom:20px;}
.price-amount span{font-size:14px;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:28px;}
.price-card li{font-size:14px;padding:8px 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);}
.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','Unbounded',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;}
.why-illus .mock-browser,.why-illus .mock-calendar{width:100%;}
.shift-guarantee-badge{
  display:flex;gap:12px;align-items:flex-start;
  background:rgba(255,77,0,.08);border:1px solid rgba(255,77,0,.18);
  border-radius:14px;padding:14px 16px;margin-top:14px;
}
.shift-guarantee-badge svg{width:22px;height:22px;color:var(--orange);flex-shrink:0;margin-top:1px;}
.shift-guarantee-badge strong{display:block;font-size:14px;font-weight:600;margin-bottom:3px;}
.shift-guarantee-badge strong span{font-weight:400;color:var(--gray);}
.shift-guarantee-text{display:block;font-size:13px;color:var(--gray);line-height:1.4;}

.why-stat{grid-column:2;grid-row:1;position:relative;overflow:hidden;}
.why-stat-num{font-family:'Cal Sans','Unbounded',sans-serif;color:var(--orange);margin-bottom:8px;line-height:1;}
.why-stat-label{font-size:16px;color:var(--gray);font-family:'Inter',sans-serif;margin-left:8px;}
/* .why-count is the GSAP count-up target; it must keep the big orange
   number styling it inherits from .why-stat-highlight, its real parent */
.why-count{font-size:inherit;color:inherit;font-family:inherit;margin-left:0;}
.why-stat-highlight{
  position:relative;display:inline-block;
  font-size:clamp(100px,14vw,170px);line-height:0.85;
  color:var(--orange);font-family:'Cal Sans','Unbounded',sans-serif;
}
.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-steps{display:flex;align-items:center;gap:4px;margin-bottom:18px;}
.why-step{display:flex;flex-direction:column;align-items:center;gap:6px;opacity:0;transform:translateY(6px) scale(.85);}
.why-step-icon-wrap{position:relative;width:40px;height:40px;}
.why-step-icon{width:40px;height:40px;display:block;}
.why-step-label{font-size:10px;font-weight:600;color:var(--gray);text-transform:uppercase;letter-spacing:.03em;}
.why-step-final .why-step-label{color:var(--orange);}
.why-step-arrow{color:rgba(12,12,12,.2);font-size:14px;opacity:0;transform:translateY(6px);}

.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-wide-illus{flex-shrink:0;width:160px;}
.why-wide-illus .mock-workers{width:100%;aspect-ratio:16/10;}

.mock-workers{background:#f4f4f4;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;}
.why-worker-card{
  flex:1;background:#fff;border-radius:10px;padding:10px 4px;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  box-shadow:0 4px 10px rgba(12,12,12,.05);
}
.why-worker-avatar{width:24px;height:24px;border-radius:50%;display:block;}
.why-worker-line{height:6px;border-radius:3px;width:80%;display:block;}
.why-worker-line-role{width:55%;}
.why-worker-avatar,.why-worker-line{
  background:linear-gradient(100deg,#e4e4e4 30%,#f2f2f2 50%,#e4e4e4 70%);
  background-size:250% 100%;
  animation:whyChartSweep 2.2s linear infinite;
}
.why-worker-card:nth-child(2) .why-worker-avatar,.why-worker-card:nth-child(2) .why-worker-line{animation-delay:.3s;}
.why-worker-card:nth-child(3) .why-worker-avatar,.why-worker-card:nth-child(3) .why-worker-line{animation-delay:.6s;}

/* ---------- 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 */

/* left card: site "redesigning itself" — colors + bar shapes shift */
.why-illus .mock-hero{ animation:whyHeroShift 6s ease-in-out infinite; }
@keyframes whyHeroShift{
  0%,100%{ filter:hue-rotate(0deg); }
  50%{ filter:hue-rotate(50deg); }
}
.why-illus .mock-nav{ animation:whyNavResize 5s ease-in-out infinite; }
@keyframes whyNavResize{
  0%,100%{ width:38%; }
  50%{ width:64%; }
}
.why-illus .mock-row div{ animation:whyRowPulse 4.5s ease-in-out infinite; background:#eee; }
.why-illus .mock-row div:nth-child(1){ animation-delay:0s; }
.why-illus .mock-row div:nth-child(2){ animation-delay:.5s; }
.why-illus .mock-row div:nth-child(3){ animation-delay:1s; }
@keyframes whyRowPulse{
  0%,100%{ background:#eee; transform:scaleY(1); }
  50%{ background:#ffd9b8; transform:scaleY(1.2); }
}

/* 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: worker skeleton cards shimmer, loading-placeholder style */
@keyframes whyChartSweep{
  0%{ background-position:120% 0; }
  100%{ background-position:-40% 0; }
}

@media (prefers-reduced-motion:reduce){
  .why-illus .mock-hero,.why-illus .mock-nav,.why-illus .mock-row div,
  .why-stat-num,.why-speed-lines span,.why-ping,
  .why-worker-avatar,.why-worker-line,
  .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 it works in 4 steps + request form ---------- */
.process{background:#fff;}
.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%);
}
.process .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
/* content-sized columns + justify-content:center, not 1fr/stretch — the
   steps need little width (short text) and the form needs a lot, so the
   pair is centered as one block instead of stretching edge to edge */
.process-layout{
  display:grid;grid-template-columns:340px 520px;gap:24px;
  justify-content:center;margin-top:40px;align-items:start;
}
.process-steps{display:flex;flex-direction:column;gap:18px;}
.process-step{position:relative;}
/* scattered tilt, same idiom as the Why Choose Us cards (.why-card:hover
   already straightens + lifts them on hover, reused as-is) */
.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','Unbounded',sans-serif;font-size:16px;
}
.process-step h3{font-size:18px;}
.process-step .accent{font-weight:500;}
.process-link-wrap{position:relative;display:inline-block;}
.process-link-underline{position:absolute;left:0;bottom:-6px;width:100%;height:10px;pointer-events:none;}
.process-link-underline path{fill:none;stroke:var(--orange);stroke-width:2;stroke-linecap:round;}
.process-note{
  position:absolute;top:14px;right:16px;z-index:2;
  font-family:'Caveat',cursive;font-weight:600;font-size:17px;color:var(--orange);
  transform:rotate(-5deg);opacity:0;
}
.process-form-card{
  display:flex;flex-direction:column;transform:rotate(0.4deg);
  background:#5CC16A;
}
.process-form-card h3,.process-form-card p{color:#fff;}
.process-form-card p{margin-bottom:0;}
.pf-promo{
  margin-top:12px;padding:10px 14px;border-radius:12px;
  background:rgba(255,255,255,.2);color:#fff;font-size:13px;font-weight:500;
  line-height:1.4;
}
.pf-toggle{display:flex;gap:6px;background:rgba(255,255,255,.25);border-radius:100px;padding:4px;margin-top:16px;position:relative;z-index:1;}
.pf-toggle-btn{
  flex:1;border:none;background:none;padding:10px 12px;border-radius:100px;
  font-size:13px;font-weight:500;color:#fff;cursor:pointer;text-align:center;
  transition:background .2s ease,color .2s ease;
}
.pf-toggle-btn.active{background:#fff;color:var(--near-black);}
.pf-people-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#fff;border-radius:14px;padding:12px 16px;width:100%;
}
.pf-stepper{display:flex;flex-direction:column;gap:6px;}
.pf-stepper-label{font-size:12px;color:var(--gray);font-weight:500;}
.pf-stepper-controls{display:flex;align-items:center;gap:10px;}
.pf-step-btn{
  width:28px;height:28px;border-radius:50%;border:1.5px solid rgba(12,12,12,.16);
  background:var(--panel-bg);font-size:16px;line-height:1;color:var(--near-black);
  display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;
}
.pf-step-btn:hover{background:#fff;border-color:rgba(255,77,0,.5);}
form.process-form input#pfPeople{
  width:32px;text-align:center;border:none;background:none;padding:0;
  font-size:15px;font-weight:600;color:var(--near-black);
}
form.process-form input#pfPeople::-webkit-outer-spin-button,
form.process-form input#pfPeople::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.pf-rate{display:flex;flex-direction:column;align-items:flex-end;gap:4px;}
.pf-rate-label{font-size:11px;color:var(--gray);font-weight:500;text-transform:uppercase;letter-spacing:.02em;}
.pf-rate-value{font-family:'Cal Sans','Unbounded',sans-serif;font-size:19px;color:var(--orange);}
.pf-tier-label{font-size:11px;color:var(--gray);}
.pf-night-check{
  display:flex;align-items:center;gap:8px;cursor:pointer;
  font-size:13px;color:var(--near-black);width:100%;
}
.pf-night-check input{width:16px;height:16px;flex-shrink:0;accent-color:var(--orange);}
/* without min-width:0 a flex child refuses to shrink below its text's
   unwrapped width, so the label spills out past the card's rounded edge
   instead of wrapping onto a second line */
.pf-night-check span{flex:1;min-width:0;overflow-wrap:break-word;}
.process-form-note{
  margin-top:16px;font-size:13px;color:rgba(255,255,255,.85);text-align:center;
}
.process-form-note .accent{color:#fff;text-decoration:underline;}
.process-form{margin-top:20px;gap:12px;}
.process-form textarea{resize:none;}
.process-form .pf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.process-form .pf-full{width:100%;}
.process-form button.pf-full{align-self:stretch;justify-content:center;}
/* grid items don't shrink below their content's intrinsic width by
   default (a number input's native size otherwise pushes "People
   Needed" past the column and out of the card) — min-width:0 lets the
   1fr track actually win */
.process-form input,.process-form .pf-date-field{min-width:0;width:100%;}
.pf-date-field{display:flex;flex-direction:column;gap:6px;}
.pf-date-field span{font-size:12px;color:rgba(255,255,255,.85);font-weight:500;}
/* light fields on the solid green card — the base rule was tuned for
   white-on-dark (the Contact section) and sits later in this file, so
   it was winning the equal-specificity fight against a plain
   ".process-form input" here; the "form." prefix outranks it outright */
form.process-form input,form.process-form textarea{
  border:1.5px solid transparent;background:#fff;color:var(--near-black);
}
form.process-form input:focus,form.process-form textarea:focus{
  background:#fff;border-color:rgba(12,12,12,.3);
}
form.process-form input::placeholder,form.process-form textarea::placeholder{color:var(--gray);}
/* ".process-form input{width:100%}" above (line 1000) ties on specificity
   with ".pf-night-check input{width:16px}" and wins by source order,
   stretching the checkbox to fill the row — same "form." prefix fix as
   above forces the checkbox to win instead. */
form.process-form .pf-night-check input{width:16px;height:16px;}
.pf-step{display:flex;flex-direction:column;gap:12px;}
.pf-step[hidden]{display:none;}
.pf-lookup-status{margin:-4px 0 0;font-size:12px;color:rgba(255,255,255,.85);min-height:14px;}
.pf-lookup-status.ok{color:#e7ffe9;}
.pf-lookup-status.warn{color:#fff2c9;}
.pf-lookup-status.err{color:#ffd9d0;}
.pf-progress{display:flex;justify-content:center;gap:8px;margin-top:14px;}
.pf-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.4);transition:background .2s ease,transform .2s ease;}
.pf-dot.active{background:#fff;transform:scale(1.35);}
.pf-step-actions{display:flex;gap:10px;}
.pf-back-btn{background:rgba(255,255,255,.28);color:#fff;flex:0 0 auto;}
.pf-back-btn:hover{background:rgba(255,255,255,.45);}
.pf-step-actions button[type="submit"]{flex:1;justify-content:center;}
.pf-recurring{display:flex;flex-direction:column;gap:10px;}
.pf-weekdays{display:flex;flex-wrap:wrap;gap:8px;}
.pf-weekday{
  position:relative;padding:8px 14px;border-radius:100px;background:#fff;
  font-size:13px;font-weight:500;color:var(--near-black);cursor:pointer;
}
.pf-weekday input{position:absolute;opacity:0;width:0;height:0;}
.pf-weekday:has(input:checked){background:var(--near-black);color:#fff;}

.pf-toast{
  position:fixed;top:24px;left:50%;transform:translateX(-50%) translateY(-16px);
  background:var(--near-black);color:#fff;padding:14px 24px;border-radius:100px;
  font-size:14px;font-weight:500;box-shadow:0 12px 30px rgba(0,0,0,.25);
  z-index:999;opacity:0;transition:opacity .3s ease,transform .3s ease;pointer-events:none;
  max-width:calc(100vw - 32px);text-align:center;
}
.pf-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.pf-confirm{
  margin-top:20px;padding:24px;border-radius:14px;background:rgba(255,255,255,.25);
  color:#fff;font-size:16px;font-weight:500;text-align:center;line-height:1.5;
}
.pf-confirm-cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:16px;
  background:#0c0c0c;color:#fff;font-size:14px;font-weight:600;
  padding:14px 26px;border-radius:100px;text-decoration:none;
  box-shadow:0 10px 24px rgba(12,12,12,.25);
}
.pf-confirm-cta:hover{opacity:.88;}

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

/* ---------- COMPLIANCE: trust block for Estonia (MTR/TÖR/EMTA) ---------- */
.compliance{background:#fff;}
.compliance-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%);
}
.compliance .eyebrow{max-width:480px;text-align:center;margin-left:auto;margin-right:auto;}
.compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.compliance-card{display:flex;flex-direction:column;gap:6px;}
.compliance-card:nth-child(1){transform:rotate(-0.9deg);}
.compliance-card:nth-child(2){transform:rotate(0.7deg);}
.compliance-card:nth-child(3){transform:rotate(-0.5deg);}
.compliance-icon{
  width:48px;height:48px;border-radius:14px;margin-bottom:8px;
  background:rgba(255,77,0,.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;
}
.compliance-icon svg{width:24px;height:24px;}
.compliance-card h3{font-size:19px;}
@media (max-width:900px){
  .compliance-grid{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;}
.urgency-group{display:flex;flex-wrap:wrap;gap:10px;}
.urgency-check{
  display:inline-flex;align-items:center;gap:8px;cursor:pointer;
  border:1px solid rgba(255,255,255,.14);border-radius:100px;
  padding:11px 18px;font-size:14px;color:rgba(255,255,255,.75);
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.urgency-check input{position:absolute;opacity:0;width:0;height:0;}
.urgency-check:has(input:checked){
  border-color:var(--orange);background:rgba(255,77,0,.12);color:#fff;
}
/* light-card version — the base rule above is tuned for white-on-dark
   (the Contact section); on a white card (e.g. contact.html's B2B
   split) it needs dark text/borders instead of near-invisible white */
.contact-split-card .urgency-check{
  border-color:var(--line);color:var(--near-black);
}
.contact-split-card .urgency-check:has(input:checked){color:var(--near-black);}
/* same fix for the plain text/email inputs in that card's form */
.contact-split-card form.contact-form input{
  border:1.5px solid var(--line);background:var(--panel-bg);color:var(--near-black);
}
.contact-split-card form.contact-form input:focus{
  background:#fff;border-color:rgba(255,77,0,.5);
}
.contact-split-card form.contact-form input::placeholder{color:var(--gray);}
.contact-split-card .pf-date-field span{color:var(--gray);}

/* 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 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;}
#backToTop{color:var(--orange);}
#backToTop:hover{color:#fff;}

.footer-credit{
  text-align:right;padding:0 var(--gutter) 18px;
  font-size:11px;color:rgba(255,255,255,.3);
}
@media (max-width:700px){.footer-credit{text-align:center;}}
.footer-credit a{color:rgba(255,255,255,.7);text-decoration:underline;transition:color .2s ease;}
.footer-credit a:hover{color:var(--orange);}

/* ---------- 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','Unbounded',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','Unbounded',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;overflow:hidden;}
.blog-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease;}
.blog-card:hover .blog-card-media img{transform:scale(1.05);}
.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','Unbounded',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;}

/* ---------- 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,140px);
    grid-template-areas:"a a" "b c" "d d" "e f";
  }
}
@media (max-width:600px){
  .blog-grid{grid-template-columns:1fr;}
  .works-mosaic{grid-template-columns:1fr;grid-template-areas:"a" "b" "c" "d" "e" "f";grid-template-rows:repeat(6,160px);}
  .brand-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  /* the news teaser card has a fixed max-width that overflows narrow
     phone screens sitting next to the location line — wrap it onto its
     own full-width row instead */
  .hero-bottom-row{flex-wrap:wrap;row-gap:14px;padding-right:var(--gutter);}
  .hero-news-card{max-width:100%;}
}

/* ========================================================================
   INNER PAGES — Roles / Services / About / Pricing / FAQ / Blog / Contact
   ======================================================================== */

/* ---------- ROLES: sector tabs reuse .service-tab/.service-panel as-is;
   this is just the per-role skills/certs/time-to-site strip ---------- */
.role-meta{display:flex;gap:32px;flex-wrap:wrap;margin-top:20px;padding-top:20px;border-top:1px solid var(--line);}
.role-meta-item{display:flex;flex-direction:column;gap:2px;}
.role-meta-label{font-size:12px;color:var(--gray);text-transform:uppercase;letter-spacing:.02em;}
.role-meta-value{font-family:'Cal Sans','Unbounded',sans-serif;font-size:22px;color:var(--orange);}
.role-visual{
  width:100%;aspect-ratio:1/1;max-width:220px;margin:0 auto;
  border-radius:50%;background:rgba(255,77,0,.08);
  display:flex;align-items:center;justify-content:center;
}
.role-visual svg{width:80px;height:80px;color:var(--orange);}

/* ---------- SERVICES (business models): reuse .why-card + .trust-card
   tilt idiom for three equal cards instead of an asymmetric grid ---------- */
.model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.model-card{display:flex;flex-direction:column;gap:10px;}
.model-card:nth-child(1){transform:rotate(-1deg);}
.model-card:nth-child(2){transform:rotate(0.8deg);}
.model-card:nth-child(3){transform:rotate(-0.6deg);}
.model-card-icon{
  width:48px;height:48px;border-radius:14px;margin-bottom:6px;
  background:rgba(255,77,0,.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;
}
.model-card-icon svg{width:24px;height:24px;}
.model-card h3{font-size:20px;}
.model-tag{
  display:inline-block;align-self:flex-start;
  background:var(--panel-bg);border-radius:100px;padding:5px 14px;
  font-size:12px;font-weight:600;color:var(--gray);text-transform:uppercase;letter-spacing:.02em;
}
@media (max-width:900px){.model-grid{grid-template-columns:1fr;}}

/* ---------- ABOUT: values grid + legal strip + tech stack ---------- */
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.value-card{display:flex;flex-direction:column;gap:8px;}
.value-card:nth-child(1){transform:rotate(-1deg);}
.value-card:nth-child(2){transform:rotate(0.8deg);}
.value-card:nth-child(3){transform:rotate(-0.6deg);}
.value-card-icon{
  width:44px;height:44px;border-radius:12px;margin-bottom:8px;
  background:rgba(255,77,0,.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;
}
.value-card-icon svg{width:22px;height:22px;}
@media (max-width:900px){.value-grid{grid-template-columns:1fr;}}

.legal-strip{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;}
.legal-strip span{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--panel-bg);border-radius:100px;
  padding:10px 18px;font-size:13px;font-weight:500;color:var(--near-black);
}
.legal-strip svg{width:16px;height:16px;color:var(--orange);flex-shrink:0;}

.tech-stack{display:flex;gap:16px;flex-wrap:wrap;margin-top:32px;}
.tech-pill{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;border:1px solid var(--line);border-radius:100px;
  padding:12px 20px;font-size:14px;font-weight:500;
  box-shadow:0 4px 10px rgba(12,12,12,.05);
}
.tech-pill svg{width:18px;height:18px;color:var(--orange);}

/* ---------- PRICING: live calculator + breakdown + comparison table ---------- */
.rate-calc{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:36px;box-shadow:0 24px 48px rgba(12,12,12,.08);margin-top:24px;
  max-width:720px;
}
.rate-calc-row{display:grid;grid-template-columns:1.2fr 0.7fr 1.4fr;gap:20px;margin-bottom:28px;}
.rate-calc-row label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--gray);font-weight:500;min-width:0;}
.rate-calc select,.rate-calc input{
  border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;
  font-family:inherit;font-size:15px;background:var(--panel-bg);color:var(--near-black);
}
.rate-calc-row select,.rate-calc-row input{width:100%;min-width:0;}
.rate-breakdown{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:12px;}
.rate-breakdown-row{display:flex;justify-content:space-between;font-size:15px;color:var(--gray);}
.rate-breakdown-row .accent{color:var(--orange);font-weight:600;}
.rate-breakdown-row.total{
  color:var(--near-black);font-weight:600;font-size:20px;
  padding-top:14px;margin-top:4px;border-top:1px dashed var(--line);
}
.rate-calc-note{margin-top:16px;font-size:13px;color:var(--gray);line-height:1.6;}

.rate-headline{
  border-top:1px solid var(--line);margin-top:20px;padding-top:20px;
  display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;
}
.rate-headline-label{font-size:13px;color:var(--gray);font-weight:500;}
.rate-headline-value{font-family:'Cal Sans','Unbounded',sans-serif;font-size:40px;color:var(--orange);line-height:1.1;}
.rate-headline-sub{font-size:13px;color:var(--gray);}
.rate-details-toggle{
  display:block;margin:14px 0 0;background:none;border:none;cursor:pointer;
  font-size:13px;font-weight:500;color:var(--near-black);text-decoration:underline;
}
.rate-details{margin-top:20px;}
@keyframes rateDetailsIn{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);}}
.rate-details:not([hidden]){animation:rateDetailsIn .35s ease;}
@media (max-width:480px){.rate-headline-value{font-size:32px;}}
.rate-promo{
  margin-top:16px;padding:12px 16px;border-radius:12px;max-width:720px;
  background:rgba(255,77,0,.08);border:1px solid rgba(255,77,0,.25);
  color:var(--near-black);font-size:14px;font-weight:500;line-height:1.4;
}

.rate-group{
  background:var(--panel-bg);border-radius:14px;padding:16px 18px;
  display:flex;flex-direction:column;gap:10px;
}
.rate-group-title{
  font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;
  color:var(--gray);margin:0 0 2px;display:flex;align-items:center;gap:8px;
}
.rate-group-icon{
  width:26px;height:26px;border-radius:8px;flex-shrink:0;
  background:#fff;color:var(--orange);display:flex;align-items:center;justify-content:center;
}
.rate-group-icon svg{width:14px;height:14px;}
.rate-breakdown-row.subtotal{
  color:var(--near-black);font-weight:600;font-size:15px;
  padding-top:8px;margin-top:2px;border-top:1px dashed var(--line);
}

.rate-alt-compare{margin-top:24px;}
/* deliberately muted, not a peer of the pricing breakdown above — dashed
   border and small gray value so the competitor's number reads as a
   footnote next to our own bold, colored headline price. */
.rate-alt-card{
  border:1px dashed var(--line);border-radius:14px;padding:16px 20px;
  display:flex;flex-direction:column;gap:4px;background:var(--panel-bg);
  max-width:420px;
}
.rate-alt-label{font-size:12px;font-weight:500;color:var(--gray);}
.rate-alt-value{font-family:'Cal Sans','Unbounded',sans-serif;font-size:17px;font-weight:500;color:var(--gray);}
.rate-alt-note{font-size:12px;color:var(--gray);line-height:1.5;}
@media (max-width:640px){
  .rate-calc-row{grid-template-columns:1fr;}
  .rate-alt-card{max-width:none;}
}

.compare-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
.compare-card{display:flex;flex-direction:column;}
.compare-card--featured{border-color:var(--orange);}
.compare-card--featured::before{background:radial-gradient(280px circle at var(--mx) var(--my), rgba(255,77,0,.22), transparent 65%);}
.compare-card-badge{
  align-self:flex-start;background:var(--orange);color:#fff;font-size:11px;font-weight:600;
  text-transform:uppercase;letter-spacing:.04em;padding:4px 12px;border-radius:100px;
  margin-bottom:14px;position:relative;z-index:1;
}
.compare-card-title{
  font-family:'Cal Sans','Unbounded',sans-serif;font-size:21px;margin:0 0 20px;
  position:relative;z-index:1;color:var(--near-black);
}
.compare-card-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;position:relative;z-index:1;}
.compare-card-list li{display:flex;gap:12px;align-items:flex-start;}
.compare-icon{
  flex-shrink:0;width:22px;height:22px;border-radius:50%;margin-top:1px;
  display:flex;align-items:center;justify-content:center;
}
.compare-icon svg{width:12px;height:12px;}
.compare-icon.yes{background:rgba(31,163,90,.12);color:#1FA35A;}
.compare-icon.no{background:rgba(192,57,43,.12);color:#c0392b;}
.compare-item-label{display:block;font-size:12px;color:var(--gray);font-weight:500;}
.compare-item-value{display:block;font-size:14px;color:var(--near-black);font-weight:500;margin-top:2px;}
@media (max-width:900px){.compare-cards{grid-template-columns:1fr;}}

/* ---------- CONTACT: B2B vs worker split ---------- */
.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','Unbounded',sans-serif;font-size:24px;margin-bottom:10px;}
.contact-split-card p{color:var(--gray);margin-bottom:20px;}
.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;}}

/* ---------- RU: giant watermark headings fall back to Unbounded for
   Cyrillic (Cal Sans has no Cyrillic glyphs — see the Cal Sans/Unbounded
   fallback above), and Unbounded's letterforms run far wider than Cal
   Sans at the same font-size, on top of Russian phrasing usually being
   longer — the same vw-driven size that fits ET/EN in 2 lines wraps RU
   to 3 and dwarfs the section, so scale it down to compensate ---------- */
html[lang="ru"] .section-watermark,
html[lang="ru"] .about-watermark{
  font-size:clamp(30px,7.6vw,112px);
}
html[lang="ru"] .contact-watermark{
  font-size:clamp(26px,5.5vw,76px);
}
/* the hero statement also falls back to Unbounded for Cyrillic, and the
   Russian sentence runs noticeably longer than ET/EN — inside the same
   fixed 900px column, the base clamp's 44px ceiling wraps it to 7 lines
   instead of ET's 4, dwarfing the hero */
html[lang="ru"] .statement-text{
  font-size:clamp(20px,3vw,28px);
}

/* ---------- LEGAL: Privacy Policy / Terms of Use prose pages ---------- */
.legal-content{max-width:760px;padding-bottom:24px;}
.legal-content .legal-updated{color:var(--gray);font-size:14px;margin-bottom:40px;}
.legal-content h2{font-size:26px;font-weight:600;margin:48px 0 16px;color:var(--near-black);}
.legal-content h2:first-of-type{margin-top:0;}
.legal-content h3{font-size:18px;font-weight:600;margin:28px 0 10px;color:var(--near-black);}
.legal-content p{color:var(--gray);font-size:16px;line-height:1.7;margin-bottom:16px;}
.legal-content ul{margin:0 0 16px;padding-left:22px;}
.legal-content li{color:var(--gray);font-size:16px;line-height:1.7;margin-bottom:8px;}
.legal-content a{color:var(--orange);text-decoration:underline;}
.legal-content strong{color:var(--near-black);}
@media (max-width:700px){
  .legal-content h2{font-size:22px;margin:36px 0 14px;}
}

/* ---------- BOOKING: order.html / availability.html calendar tools ---------- */
.booking-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:36px;max-width:960px;box-shadow:0 24px 48px rgba(12,12,12,.08);margin-top:24px;
}
.booking-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;}
.booking-form{display:flex;flex-direction:column;gap:14px;}
.booking-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--gray);font-weight:500;}
.booking-form input,.booking-form textarea{
  border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;
  font-family:inherit;font-size:15px;background:var(--panel-bg);color:var(--near-black);width:100%;
}
.booking-form textarea{resize:vertical;min-height:80px;}
.booking-form input:focus,.booking-form textarea:focus{outline:none;border-color:rgba(255,77,0,.5);background:#fff;}
.booking-side h3{font-family:'Cal Sans','Unbounded',sans-serif;font-size:18px;margin-bottom:14px;}
.cal{background:var(--panel-bg);border-radius:16px;padding:18px;}
.cal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.cal-month-label{font-family:'Cal Sans','Unbounded',sans-serif;font-size:15px;text-transform:capitalize;}
.cal-nav{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:16px;color:var(--near-black);line-height:1;}
.cal-nav:hover{border-color:var(--orange);color:var(--orange);}
.cal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:6px;}
.cal-weekdays span{text-align:center;font-size:10px;color:var(--gray);text-transform:uppercase;letter-spacing:.02em;}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.cal-day{aspect-ratio:1;border:none;border-radius:10px;background:#fff;font-size:13px;color:var(--near-black);cursor:pointer;font-family:inherit;}
.cal-day:hover:not(:disabled){background:rgba(255,77,0,.15);}
.cal-day:disabled{opacity:.3;cursor:default;background:transparent;}
.cal-day--empty{background:transparent;cursor:default;}
.cal-day--selected{background:var(--orange);color:#fff;font-weight:600;}
.cal-day--inrange{background:rgba(255,77,0,.14);border-radius:6px;}
.selected-dates-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
.selected-dates-list span{background:#fff;border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:12px;}
.booking-status{margin-top:16px;font-size:14px;padding:12px 16px;border-radius:12px;display:none;}
.booking-status.show{display:block;}
.booking-status.ok{background:rgba(46,160,67,.12);color:#1a7431;}
.booking-status.err{background:rgba(255,77,0,.12);color:#c0392b;}
@media (max-width:800px){.booking-layout{grid-template-columns:1fr;}}

/* ---------- ADMIN: internal matching dashboard (admin.html, not localized) ---------- */
.admin-login{max-width:380px;margin:80px auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;}
.admin-login input{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;font-family:inherit;font-size:15px;margin-bottom:12px;}
.admin-wrap{max-width:1200px;margin:0 auto;padding:40px var(--gutter);}
.admin-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;}
@media (max-width:900px){.admin-cols{grid-template-columns:1fr;}}
.admin-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;}
.admin-panel h3{font-family:'Cal Sans','Unbounded',sans-serif;font-size:16px;margin-bottom:14px;}
.admin-row{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:10px;font-size:13px;}
.admin-row .admin-row-top{display:flex;justify-content:space-between;font-weight:600;margin-bottom:4px;}
.admin-row .admin-row-meta{color:var(--gray);line-height:1.5;}
.admin-row select{margin-top:8px;font-size:12px;padding:6px 10px;border-radius:8px;border:1px solid var(--line);}
.admin-row.status-matched{border-color:rgba(46,160,67,.4);background:rgba(46,160,67,.05);}
.admin-row.status-cancelled,.admin-row.status-unavailable{opacity:.5;}
.admin-tag{display:inline-block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;padding:2px 8px;border-radius:100px;background:var(--panel-bg);color:var(--gray);margin-left:6px;}
.admin-tag.on{background:rgba(255,77,0,.12);color:var(--orange);}

/* ---------- PORTAL: client.html / worker.html self-service dashboards ---------- */
.portal-login{max-width:440px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;box-shadow:0 24px 48px rgba(12,12,12,.08);}
.portal-login h2{font-family:'Cal Sans','Unbounded',sans-serif;font-size:22px;margin-bottom:6px;}
.portal-login .portal-sub{color:var(--gray);font-size:14px;margin-bottom:24px;}
.portal-tabs{display:flex;gap:6px;background:var(--panel-bg);border-radius:100px;padding:4px;margin-bottom:24px;}
.portal-tabs button{flex:1;border:none;background:transparent;border-radius:100px;padding:10px 0;font-size:13px;font-weight:600;color:var(--gray);cursor:pointer;font-family:inherit;}
.portal-tabs button.active{background:#fff;color:var(--near-black);box-shadow:0 4px 10px rgba(12,12,12,.08);}
.portal-login input{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:13px 16px;font-family:inherit;font-size:14px;margin-bottom:10px;background:var(--panel-bg);color:var(--near-black);}
.portal-login input:focus{outline:none;border-color:rgba(255,77,0,.5);background:#fff;}
.portal-form-view{display:none;}
.portal-form-view.active{display:block;}
.portal-error{color:#c0392b;font-size:13px;margin:4px 0 4px;min-height:16px;}
.portal-pending{display:none;color:#1a7431;font-size:13px;background:rgba(46,160,67,.1);border-radius:12px;padding:12px 14px;margin-bottom:10px;line-height:1.5;}
.portal-hint{color:var(--gray);font-size:11px;margin:-4px 0 12px;}

.portal-wrap{max-width:1160px;margin:0 auto;padding:40px var(--gutter) 100px;}
.portal-wrap--wide{max-width:1600px;}
.portal-topbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:28px;}
.portal-topbar h1{font-family:'Cal Sans','Unbounded',sans-serif;font-size:26px;}
.portal-who{color:var(--gray);font-size:13px;margin-top:4px;}
.portal-nav{display:flex;gap:6px;background:var(--panel-bg);border-radius:100px;padding:4px;margin-bottom:28px;flex-wrap:wrap;width:max-content;max-width:100%;}
.portal-nav button{border:none;background:transparent;border-radius:100px;padding:10px 20px;font-size:13px;font-weight:600;color:var(--gray);cursor:pointer;font-family:inherit;white-space:nowrap;}
.portal-nav button.active{background:#fff;color:var(--near-black);box-shadow:0 4px 10px rgba(12,12,12,.08);}
.portal-section{display:none;}
.portal-section.active{display:block;}
.portal-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px;margin-bottom:20px;}
.portal-card h3{font-family:'Cal Sans','Unbounded',sans-serif;font-size:17px;margin-bottom:16px;}
.portal-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media (max-width:800px){.portal-grid-2{grid-template-columns:1fr;}}

.job-card{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;}
.job-card-logo{flex-shrink:0;}
.job-logo{width:44px;height:44px;border-radius:12px;object-fit:cover;background:var(--panel-bg);display:block;}
.job-logo--placeholder{display:flex;align-items:center;justify-content:center;font-family:'Cal Sans','Unbounded',sans-serif;font-size:17px;color:var(--gray);}
.job-card-info{flex:1;min-width:180px;}
.job-card-info b{display:block;font-size:14px;margin-bottom:4px;}
.job-card-info span{color:var(--gray);font-size:12px;display:block;line-height:1.5;}
.job-card-info a{color:var(--orange);font-weight:500;}
.job-rate{color:var(--orange)!important;font-weight:600;font-size:13px!important;}
.job-card-actions{display:flex;gap:8px;align-items:center;flex-shrink:0;}
.job-badge{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;padding:4px 10px;border-radius:100px;background:var(--panel-bg);color:var(--gray);white-space:nowrap;}
.job-badge.pending{background:rgba(255,164,0,.15);color:#a86400;}
.job-badge.accepted{background:rgba(46,160,67,.12);color:#1a7431;}
.job-badge.rejected,.job-badge.withdrawn,.job-badge.cancelled{background:rgba(192,57,43,.1);color:#c0392b;}
.job-badge.new{background:rgba(255,77,0,.1);color:var(--orange);}
.job-badge.matched,.job-badge.completed{background:rgba(46,160,67,.12);color:#1a7431;}
.btn-small{border:1px solid var(--line);background:#fff;border-radius:100px;padding:8px 16px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;color:var(--near-black);}
.btn-small:hover{border-color:var(--orange);color:var(--orange);}
.btn-small.primary{background:var(--near-black);color:#fff;border-color:var(--near-black);}
.btn-small.primary:hover{opacity:.85;color:#fff;}
.btn-small.danger:hover{border-color:#c0392b;color:#c0392b;}
.portal-empty{color:var(--gray);font-size:13px;padding:20px 0;text-align:center;}
.cal-day--marked{position:relative;}
.cal-day--marked::after{content:'';position:absolute;bottom:3px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:var(--orange);}
.cal-day--marked.cal-day--selected::after{background:#fff;}
.portal-cv-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;margin-bottom:14px;}
.portal-cv-row a{color:var(--orange);font-weight:600;}
.portal-logout{border:1px solid var(--line);background:#fff;border-radius:100px;padding:9px 18px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;}
.portal-logout:hover{border-color:var(--orange);color:var(--orange);}
@media (max-width:700px){
  .portal-wrap{padding:32px 20px 80px;}
  .job-card{flex-direction:column;align-items:flex-start;}
}

/* ---------- JOBS BOARD: two-column layout (cards + calendar overview) ---------- */
.jobs-layout{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start;}
.jobs-layout .portal-card:last-child{position:sticky;top:24px;}
.jobs-cal-reset{display:none;margin-top:12px;width:100%;justify-content:center;}
@media (max-width:900px){
  .jobs-layout{grid-template-columns:1fr;}
  .jobs-layout .portal-card:last-child{position:static;order:-1;}
}
