/* ==========================================================================
   JRIL — Just Reliable Innovation Labs
   Editorial redesign system (fragment-inspired)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --paper-soft: #f4f5f6;
  --ink: #0f1214;
  --ink-soft: #3a4146;
  --muted: #697277;
  --hairline: rgba(15, 18, 20, 0.12);
  --hairline-strong: rgba(15, 18, 20, 0.32);
  --paper-40: rgba(255, 255, 255, 0.4);
  --paper-16: rgba(255, 255, 255, 0.16);

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --sec-pad: clamp(72px, 11vh, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 340;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 12px;
  padding: 10px 16px; border-radius: 999px;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-pad); position: relative; }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.rule-strong { border-top-color: var(--hairline-strong); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 250; line-height: 1.02; letter-spacing: -0.02em; }
.display {
  font-size: clamp(44px, 7.6vw, 122px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2-xl  { font-size: clamp(36px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.h3-med { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.08; }
.lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; color: var(--ink-soft); }
.body-sm { font-size: 15px; color: var(--ink-soft); }
.measure { max-width: 62ch; }
.measure-tight { max-width: 46ch; }

.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.overline::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; flex: none; }
.overline--plain::before { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 120;
  transition: transform .45s var(--ease), background .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
body.is-locked .site-header {
  background: #0b0d0f;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.brand {
  font-family: var(--font-head); font-weight: 350;
  font-size: 22px; letter-spacing: 0.02em; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.brand em { font-family: var(--font-mono); font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
  position: relative; padding-block: 6px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.header-cta { display: inline-flex; }

/* mobile nav */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px 4px; }
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 10px 4px; z-index: 110;
  }
  .nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-panel {
    position: fixed; inset: 0; z-index: 105;
    background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    padding: var(--gutter);
    transform: translateY(-102%);
    transition: transform .55s var(--ease);
  }
  .nav-panel.open { transform: none; }
  .nav-links { flex-direction: column; width: 100%; gap: 0; }
  .nav-panel a {
    font-family: var(--font-head); font-weight: 250;
    font-size: clamp(34px, 9vw, 54px); letter-spacing: -0.02em;
    padding-block: 6px; border-bottom: 1px solid var(--hairline);
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-panel a small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
}
@media (min-width: 861px) {
  .nav-panel {
    display: flex; align-items: center;
    gap: clamp(16px, 2.2vw, 32px);
    position: static; transform: none; background: transparent;
    padding: 0; min-width: 0;
  }
  .nav-panel > .header-cta { margin-top: 0; flex: none; }
  .nav-links { flex: 0 0 auto; flex-wrap: nowrap; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 14px 26px; line-height: 1;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  border-radius: 999px;
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--paper); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover { color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 11.5px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase;
}
.arrow-link .arr { transition: transform .35s var(--ease); }
.arrow-link:hover .arr { transform: translateX(6px); }
.ulink { position: relative; white-space: nowrap; }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: clip-path .9s var(--ease-io) .1s;
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader-inner { text-align: center; }
.preloader-word {
  font-family: var(--font-head); font-weight: 250;
  font-size: clamp(40px, 8vw, 96px); letter-spacing: -0.02em; line-height: 1;
  display: inline-block;
  clip-path: inset(0 0 0 0);
}
.preloader-meta {
  display: flex; justify-content: space-between; gap: 40px;
  width: min(420px, 72vw); margin: 26px auto 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--paper-40);
}
.preloader-count { color: var(--paper); }
.veil {
  position: fixed; inset: 0; z-index: 290;
  background: var(--paper); pointer-events: none;
  opacity: 1; transition: opacity .6s var(--ease-io);
}
.veil.done { opacity: 0; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="line"] {
  opacity: 1; transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
[data-reveal="line"] .line-inner { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal="line"].is-in { clip-path: inset(-10% 0 -10% 0); }
[data-reveal="line"].is-in .line-inner { transform: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 22vh, 220px); padding-bottom: clamp(56px, 9vh, 110px); position: relative; }
.hero .overline { margin-bottom: clamp(22px, 4vh, 44px); }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 28px;
  margin-top: clamp(36px, 6vh, 72px);
}
.hero-meta .measure-tight { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(14,17,19,0.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
}

/* ---------- Addendum ---------- */
.lr { display: block; }
.preloader-bar { width: min(420px, 72vw); height: 1px; background: var(--paper-16); margin-top: 20px; position: relative; overflow: hidden; }
.preloader-bar-fill { position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--hairline); position: relative; font-size: 16px; color: var(--ink-soft); }
.checklist li:first-child { border-top: 1px solid var(--hairline); }
.checklist li::before { content: "→"; position: absolute; left: 0; top: 14px; color: var(--muted); font-family: var(--font-mono); font-size: 14px; }
.country-block { margin-bottom: clamp(28px, 4vh, 44px); }
.contact-form .btn { width: 100%; justify-content: center; }
.nav-panel > .header-cta { margin-top: 18px; }
@media (max-width: 860px) { .nav-panel > .header-cta { width: 100%; justify-content: center; } }

/* ---------- Footer (5 cols) ---------- */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: clamp(24px, 3.4vw, 52px); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Media / parallax banners ---------- */
.media-banner { position: relative; height: clamp(320px, 56vh, 620px); overflow: clip; border-block: 1px solid var(--hairline); }
.media-banner--still { height: clamp(300px, 52vh, 560px); }
.parallax-wrap { position: absolute; inset: -16% 0; will-change: transform; }
.media-video, .media-img--wide { width: 100%; height: 100%; object-fit: cover; }
.media-img { background: var(--paper-40); }
.media-banner--dark { background: var(--ink); }

/* slow Ken Burns drift — guarantees visible motion in the video regardless of scroll */
@keyframes kenburns {
  0% { transform: scale(1.02) translate(0%, 0%); }
  50% { transform: scale(1.14) translate(-1.2%, -0.8%); }
  100% { transform: scale(1.02) translate(0%, 0%); }
}
.media-video { animation: kenburns 20s ease-in-out infinite; will-change: transform; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .media-video { animation: none; } }

/* ---------- Case cards with image ---------- */
.case { grid-template-columns: 300px 1fr; align-items: center; }
.case-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; border: 1px solid var(--hairline); }
.case-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-img { transform: scale(1.05); }
.case-result { margin-top: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.case-result strong { display: inline; color: var(--ink); font-weight: 400; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }

/* ---------- City hero art ---------- */
.city-hero-art { max-width: 520px; margin-top: clamp(28px, 5vh, 48px); border-radius: 6px; overflow: hidden; border: 1px solid var(--hairline); }
.city-hero-art img { width: 100%; display: block; }

/* ---------- Hire categories ---------- */
.hire-cat { display: grid; grid-template-columns: 260px 1fr; gap: clamp(22px, 3vw, 44px); align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--hairline); }
.hire-cat:first-child { border-top: 1px solid var(--hairline); }
.hire-cat-img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--hairline); }
@media (max-width: 760px) { .hire-cat { grid-template-columns: 1fr; } }

/* ---------- Pricing tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.tier { border: 1px solid var(--hairline); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.tier-price { font-family: var(--font-head); font-weight: 250; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.02em; margin-top: 10px; }
.tier-line { color: var(--ink-soft); }
.tier-feats { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 10px; }
.tier-feats li::before { content: "→ "; color: var(--muted); font-family: var(--font-mono); }
.tier .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.insight-card { display: flex; flex-direction: column; border: 1px solid var(--hairline); transition: border-color .3s; }
.insight-card:hover { border-color: var(--hairline-strong); }
.insight-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--hairline); }
.insight-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 0; }
.insight-title { font-family: var(--font-head); font-weight: 280; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -0.01em; padding: 12px 18px; }
.insight-card .arrow-link { padding: 0 18px 18px; margin-top: auto; }
@media (max-width: 980px) { .insight-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .insight-grid { grid-template-columns: 1fr; } }

/* ---------- Video panel (tibdigital-style muted blend video + caption) ---------- */
.video-panel {
  position: relative; min-height: clamp(420px, 82vh, 760px);
  display: flex; align-items: center;
  background: var(--ink); color: var(--paper);
  overflow: clip; isolation: isolate;
}
.video-panel video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
  opacity: 0.3; mix-blend-mode: exclusion;
}
.video-panel--lighter video { opacity: 0.45; mix-blend-mode: lighten; }
.video-panel--dark video { opacity: 0.35; mix-blend-mode: screen; }
.video-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 120% at 12% 20%, rgba(15,18,20,0.35), rgba(15,18,20,0.9) 70%);
  pointer-events: none;
}
.video-panel-content { position: relative; z-index: 2; padding-block: clamp(56px, 9vh, 96px); }
.video-panel .overline { color: rgba(255,255,255,.55); }
.video-title { font-family: var(--font-head); font-weight: 520; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin-top: 18px; text-wrap: balance; }
.video-sub { color: rgba(255,255,255,.78); max-width: 46ch; margin-top: 20px; font-size: clamp(16px,1.4vw,20px); }
.video-panel .cta-row { margin-top: 32px; }
.video-panel .btn { border-color: rgba(255,255,255,.6); color: var(--paper); }
.video-panel .btn::before { background: var(--paper); }
.video-panel .btn:hover { color: var(--ink); }
.video-panel .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.video-panel .btn--solid::before { background: var(--ink); }
.video-panel .btn--solid:hover { color: var(--paper); }

/* ---------- Testimonial carousel (Swiper-style) ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .75s var(--ease); will-change: transform; }
.carousel-slide { min-width: 100%; padding: 0 2px; box-sizing: border-box; }
.quote-mark { font-family: var(--font-head); font-size: 64px; line-height: 1; color: var(--ink); opacity: .18; }
.carousel-quote { font-family: var(--font-head); font-weight: 460; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.015em; max-width: 22em; margin-top: 12px; }
.carousel-author { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.carousel-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; flex: none; }
.carousel-author-name { font-weight: 600; }
.carousel-author-org { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.carousel-nav { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline-strong);
  display: grid; place-items: center; font-size: 18px; transition: background .3s var(--ease), color .3s;
}
.carousel-arrow:hover { background: var(--ink); color: var(--paper); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-strong); transition: background .3s, transform .3s; }
.carousel-dot.is-active { background: var(--ink); transform: scale(1.35); }

/* ---------- Hero background video ---------- */
.hero--media { position: relative; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media-veil { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.96) 8%, rgba(255,255,255,.6) 48%, rgba(255,255,255,.9) 92%); }

/* ---------- Scroll progress bar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; z-index: 160; width: 100%; height: 3px; pointer-events: none; }
.progress-bar-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 100%); transition: width .12s linear; }

/* ---------- Animated gradient text ---------- */
.grad-text { background: linear-gradient(90deg, #0f1214 0%, var(--accent) 50%, #0f1214 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 7s linear infinite; }
@keyframes gradShift { to { background-position: 200% center; } }
.overline::before { background: var(--muted); }

/* ---------- Card hover lift ---------- */
.tier, .insight-card, .why-cell { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.tier:hover, .insight-card:hover, .why-cell:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,18,20,.10); }

/* ---------- Visual richness pass (accent + depth + ambient glow) ---------- */
:root {
  --accent: #d5fe00;
  --accent-2: #9bd600;
}
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 48% at 12% 0%, rgba(36, 90, 155, 0.10), transparent 62%),
    radial-gradient(52% 44% at 96% 100%, rgba(124, 92, 214, 0.09), transparent 62%);
}
.overline::before { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.section-head .overline, .page-hero .overline { color: var(--ink-soft); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-num {
    background: linear-gradient(90deg, #0f1214 10%, var(--accent) 60%, var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .display {
    background: linear-gradient(180deg, #0f1214 55%, var(--accent) 130%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.nav-links a::after { background: var(--accent); }
.ulink:hover, .arrow-link:hover { color: var(--ink); }
.ulink::after { background: var(--accent); }
.btn--solid:hover { box-shadow: 0 14px 30px rgba(36, 90, 155, 0.28); }

/* card depth */
.tier, .insight-card, .why-cell {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  border-color: rgba(15, 18, 20, 0.10);
  box-shadow: 0 1px 2px rgba(15, 18, 20, 0.04), 0 12px 30px rgba(15, 18, 20, 0.06);
}
.tier:hover, .insight-card:hover, .why-cell:hover { box-shadow: 0 26px 52px rgba(15, 18, 20, 0.12); }
.case-media { border-radius: 14px; box-shadow: 0 14px 32px rgba(15, 18, 20, 0.09); }
.city-hero-art, .hire-cat-img, .insight-cover { border-radius: 14px; box-shadow: 0 12px 30px rgba(15, 18, 20, 0.07); }

.hero .overline.grad-text { color: transparent; }

/* ---------- Header tools + sound toggle ---------- */
.header-tools { display: flex; align-items: center; gap: 10px; }
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 8px 14px;
  transition: background .3s var(--ease), color .3s, border-color .3s; white-space: nowrap;
}
.sound-toggle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sound-toggle .sound-icon { font-size: 12px; color: var(--muted); transition: color .3s; }
.sound-toggle[aria-pressed="true"] .sound-icon { color: var(--accent); }

/* ---------- Full-screen studio menu overlay (allerstudio-style) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 108;
  background: radial-gradient(120% 120% at 82% 0%, #23292e, #0b0d0f 60%);
  color: #f5f7f8;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease-io), visibility 0s .75s;
  visibility: hidden;
  display: flex;
}
.menu-overlay.open { clip-path: inset(0 0 -2% 0); transition: clip-path .75s var(--ease-io); visibility: visible; }
.menu-inner { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(88px, 12vh, 132px) clamp(26px, 4vh, 44px); }
.menu-primary { display: grid; }
.menu-primary-link {
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.12); padding-block: 4px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.menu-overlay.open .menu-primary-link { opacity: 1; transform: none; }
.menu-idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.menu-primary a {
  font-family: var(--font-head); font-weight: 520;
  font-size: clamp(34px, 7vw, 88px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--paper); transition: color .3s;
}
.menu-primary a:hover { color: var(--accent); }
.menu-primary-link a[aria-current="page"] { color: #8fb3dd; }
.menu-lower { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 26px; margin-top: 40px; }
.menu-services { max-width: 460px; }
.menu-services .overline { color: rgba(255,255,255,.5); }
.menu-service-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 8px 20px; }
.menu-service-list a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.menu-service-list a:hover { color: var(--paper); }
.menu-foot { text-align: right; display: grid; gap: 14px; justify-items: end; }
.menu-clocks { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.menu-clocks em { font-style: normal; color: var(--paper); }
.menu-clocks .t { color: var(--accent); }
.menu-mail { font-family: var(--font-mono); font-size: 15px; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; }
.menu-mail:hover { border-color: var(--paper); }
@media (max-width: 720px) {
  .menu-lower { flex-direction: column; align-items: flex-start; }
  .menu-foot { text-align: left; justify-items: start; }
  .menu-service-list { grid-template-columns: repeat(2, auto); }
}
@media (prefers-reduced-motion: reduce) {
  .menu-primary-link { opacity: 1; transform: none; transition: none; }
}

/* ---------- allerstudio-style: giant statement bands / work grid / availability ---------- */
.statement { padding-block: clamp(90px, 15vh, 190px); }
.statement--dark { background: var(--ink); color: var(--paper); }
.statement-text { font-family: var(--font-head); font-weight: 520; font-size: clamp(36px, 8vw, 118px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.statement-text em { font-style: normal; color: var(--accent); }
.statement-kicker { margin-bottom: 24px; color: rgba(255,255,255,.5); }
.statement:not(.statement--dark) .statement-kicker { color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.work-card { border: 1px solid rgba(15,18,20,.10); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.78); box-shadow: 0 1px 2px rgba(15,18,20,.04), 0 14px 34px rgba(15,18,20,.07); transition: transform .45s var(--ease), box-shadow .45s; }
.work-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15,18,20,.12); }
.work-media { aspect-ratio: 16/10; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.08); }
.work-body { padding: 20px 22px 24px; }
.work-title { font-family: var(--font-head); font-weight: 520; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.02em; }
.work-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.work-result { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }

.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.availability-pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 8px 16px; margin-bottom: 24px; }
.availability-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(213,254,0,.25); }

/* ============ DARK PREMIUM THEME (final direction) ============ */
:root {
  --paper: #0a0c0e;
  --paper-soft: #121518;
  --ink: #f5f7f8;
  --ink-soft: #ccd3d6;
  --muted: #899198;
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.24);
  --accent: #d5fe00;
  --accent-2: #b9e414;
}
body { color: var(--ink); }
::selection { background: var(--accent); color: #0a0c0e; }

/* ambient glow → lime on dark */
body::before {
  background:
    radial-gradient(58% 48% at 12% 0%, rgba(213, 254, 0, 0.10), transparent 62%),
    radial-gradient(52% 44% at 96% 100%, rgba(185, 228, 20, 0.10), transparent 62%);
}

/* preloader (was ink/paper, now explicit) */
.preloader { background: #090b0c; }
.preloader-word, .preloader-meta { color: #f5f7f8; }
.preloader-meta { color: rgba(245, 247, 248, 0.55); }
.preloader-count { color: var(--accent); }

/* footer (explicit dark panel) */
.site-footer { background: #0f1215; color: #f5f7f8; }
.footer-grid, .footer-bottom { border-color: rgba(255, 255, 255, 0.08); }

/* dark surfaces that referenced flipped ink/paper */
.video-panel, .media-banner--dark { background: #0a0c0e; color: #f5f7f8; }
.statement--dark { background: #101316; color: #f5f7f8; }
.hero-media-veil { background: linear-gradient(115deg, rgba(10,12,14,.94) 8%, rgba(10,12,14,.66) 48%, rgba(10,12,14,.9) 92%); }
.menu-overlay { color: #f5f7f8; }
.menu-primary a { color: #f5f7f8; }

/* cards → glass-dark */
.tier, .insight-card, .why-cell, .work-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.32);
}
.tier:hover, .insight-card:hover, .why-cell:hover, .work-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,.55); }

/* buttons → lime primary */
.btn { border-color: rgba(255, 255, 255, 0.5); color: var(--ink); }
.btn::before { background: var(--ink); }
.btn:hover { color: #0a0c0e; }
.btn--solid { background: var(--accent); color: #0a0c0e; border-color: var(--accent); }
.btn--solid::before { background: #0a0c0e; }
.btn--solid:hover { color: var(--accent); box-shadow: 0 14px 30px rgba(213,254,0,.25); }

.sound-toggle { border-color: rgba(255,255,255,.28); color: var(--ink-soft); }
.sound-toggle:hover { background: var(--ink); color: #0a0c0e; }
.sound-toggle[aria-pressed="true"] .sound-icon { color: var(--accent); }

/* gradient headline/stat text → light + lime */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text { background: linear-gradient(90deg, #f5f7f8 0%, var(--accent) 50%, #f5f7f8 100%); background-size: 200% auto; }
  .stat-num { background: linear-gradient(90deg, #f5f7f8 10%, var(--accent) 60%, var(--accent-2)); }
  .display { background: linear-gradient(180deg, #f5f7f8 40%, var(--accent) 155%); }
}

/* accent micro-elements */
.quote-mark { color: var(--accent); opacity: .4; }
.carousel-avatar { background: var(--accent); color: #0a0c0e; }
.carousel-dot.is-active { background: var(--accent); }
.checklist li::before { color: var(--accent); }
.step-num, .row-num, .eyebrow-index { color: var(--muted); }
.city-chip { border-color: rgba(255,255,255,.28); color: var(--ink-soft); }
.city-chip:hover { background: var(--accent); color: #0a0c0e; border-color: var(--accent); }
.marquee-item { color: var(--ink-soft); }

/* hover-row reveals light */
.row-item:hover::before { background: var(--ink); }
.row-item:hover, .row-item:hover * { color: #0a0c0e; }

/* ---------- User feedback: bolder type + white background ---------- */
body { font-weight: 400; }
h1, h2, h3, h4 { font-weight: 520 !important; }
.display, .h2-xl, .h3-med, .stat-num, .row-name, .case-title, .country-name,
.big-quote, .footer-cta-text, .insight-title, .tier-price, .contact-value,
.marquee-item, .step-name, .why-title, .nav-panel a, .case-result strong,
.brand {
  font-weight: 520 !important;
}
.lead, .body-sm { font-weight: 460; }
.overline, .stat-label, .chip-note, .footer-col-title, .step-num, .row-num,
.eyebrow-index, .case-tag, .nav-links a, .btn { font-weight: 400; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline); border-block-width: 1px;
}
@media (max-width: 860px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: clamp(22px, 3.4vw, 44px) clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: 0; }
@media (max-width: 860px) {
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}
.stat-num {
  font-family: var(--font-head); font-weight: 230;
  font-size: clamp(40px, 4.6vw, 74px); line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-num sup { font-size: .45em; font-weight: 300; }
.stat-label { margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Numbered service rows ---------- */
.rows { border-top: 1px solid var(--hairline); }
.row-item {
  display: grid; grid-template-columns: 72px 1.05fr 1.6fr auto;
  gap: clamp(16px, 3vw, 44px); align-items: baseline;
  padding: clamp(22px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative; isolation: isolate;
}
.row-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.row-item:hover::before { transform: scaleY(1); transform-origin: top; }
.row-item, .row-item * { transition: color .3s var(--ease); }
.row-item:hover, .row-item:hover .row-num, .row-item:hover .row-desc, .row-item:hover .row-arr { color: var(--paper); }
.row-num { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--muted); }
.row-name { font-family: var(--font-head); font-weight: 260; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.row-desc { color: var(--ink-soft); font-size: 15.5px; max-width: 52ch; }
.row-arr { font-family: var(--font-mono); font-size: 16px; color: var(--ink); transition: transform .35s var(--ease), color .3s; }
.row-item:hover .row-arr { transform: translate(4px, -4px); }
@media (max-width: 860px) {
  .row-item { grid-template-columns: 48px 1fr auto; grid-template-areas: "num name arr" "num desc arr"; }
  .row-num { grid-area: num; } .row-name { grid-area: name; } .row-desc { grid-area: desc; } .row-arr { grid-area: arr; align-self: center; }
}

/* ---------- Work / case list ---------- */
.case {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(18px, 3vw, 44px);
  padding: clamp(26px, 3.6vw, 46px) 0; border-bottom: 1px solid var(--hairline);
  align-items: center;
}
.case-title { font-family: var(--font-head); font-weight: 250; font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -0.02em; line-height: 1.04; }
.case-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.case-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 6px 13px; }
.case-result { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-align: right; color: var(--ink-soft); white-space: nowrap; }
.case-result strong { display: block; font-weight: 400; color: var(--ink); font-size: 15px; }
@media (max-width: 720px) { .case { grid-template-columns: 1fr; } .case-result { text-align: left; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border: 1px solid var(--hairline); }
.process-grid > div { padding: clamp(18px, 2vw, 30px) clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--hairline); }
.process-grid > div:first-child { border-left: 0; }
.step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.step-name { margin-top: 34px; font-family: var(--font-head); font-weight: 280; font-size: clamp(17px, 1.4vw, 22px); letter-spacing: -0.01em; }
.step-desc { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 1080px) { .process-grid { grid-template-columns: repeat(4, 1fr); } .process-grid > div:nth-child(5) { border-left: 0; } .process-grid > div:nth-child(n+5) { border-top: 1px solid var(--hairline); } }
@media (max-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-grid > div:nth-child(odd) { border-left: 0; } .process-grid > div:nth-child(n+3) { border-top: 1px solid var(--hairline); } }

/* ---------- Marquee ---------- */
.marquee { overflow: clip; border-block: 1px solid var(--hairline); padding-block: clamp(18px, 2.6vw, 30px); position: relative; }
.marquee-track { display: flex; gap: clamp(28px, 4vw, 64px); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-head); font-weight: 240;
  font-size: clamp(24px, 3vw, 46px); letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  white-space: nowrap; color: var(--ink-soft);
}
.marquee-item::after { content: "◦"; font-size: .6em; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--tight .marquee-item { font-size: clamp(15px, 1.4vw, 20px); font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Country / location blocks ---------- */
.country-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 48px);
  align-items: center; padding: clamp(24px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--hairline);
}
.country-name { font-family: var(--font-head); font-weight: 250; font-size: clamp(30px, 4vw, 62px); letter-spacing: -0.02em; line-height: 1; }
.country-info { color: var(--ink-soft); font-size: 15px; max-width: 56ch; }
.country-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; }
.country-row .row-arr { transform: rotate(0); }
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.city-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 9px 16px; color: var(--ink-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.city-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Cards (why grid) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); }
.why-cell { padding: clamp(24px, 3vw, 42px); border-left: 1px solid var(--hairline); border-top: 1px solid var(--hairline); }
.why-cell:nth-child(-n+3) { border-top: 0; }
.why-cell:nth-child(3n+1) { border-left: 0; }
.why-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.why-title { margin-top: 40px; font-family: var(--font-head); font-weight: 280; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.01em; }
.why-text { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } .why-cell:nth-child(3n+1) { border-left: 1px solid var(--hairline); } .why-cell:nth-child(2n+1) { border-left: 0; } .why-cell:nth-child(-n+3) { border-top: 1px solid var(--hairline); } .why-cell:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-cell { border-left: 0 !important; } .why-cell:nth-child(-n+2) { border-top: 1px solid var(--hairline); } .why-cell:first-child { border-top: 0; } }

/* ---------- CTA ---------- */
.cta-section { text-align: left; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(28px, 5vh, 54px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a { color: inherit; }
.footer-top { padding-block: clamp(56px, 9vh, 110px) clamp(36px, 5vh, 60px); }
.footer-cta-text { font-family: var(--font-head); font-weight: 230; font-size: clamp(38px, 5.6vw, 92px); line-height: 1; letter-spacing: -0.03em; }
.footer-mail { font-family: var(--font-mono); font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .04em; border-bottom: 1px solid var(--paper-40); padding-bottom: 6px; transition: border-color .3s, color .3s; }
.footer-mail:hover { border-color: var(--paper); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(36px, 5vh, 64px); border-top: 1px solid var(--paper-16);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col p, .footer-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-40); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14.5px; color: rgba(201,208,210,.82); transition: color .25s; }
.footer-col a:hover { color: var(--paper); }
.footer-note { color: rgba(201,208,210,.55); font-size: 14px; max-width: 34ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-block: 22px; border-top: 1px solid var(--paper-16);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper-40);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: clamp(130px, 19vh, 190px); padding-bottom: clamp(40px, 7vh, 80px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: clamp(20px, 3.4vh, 40px); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: .5; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  font-family: var(--font-head); font-weight: 280; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-weight: 400; font-size: 18px; color: var(--muted);
  transition: transform .3s var(--ease); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding-bottom: clamp(18px, 2.4vw, 28px); color: var(--ink-soft); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channel { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--hairline); }
.contact-channel:first-child { border-top: 1px solid var(--hairline); }
.contact-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--font-head); font-weight: 260; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.01em; margin-top: 8px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--hairline-strong);
  padding: 10px 2px; font: inherit; color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 51%); background-position: calc(100% - 12px) 55%, calc(100% - 8px) 55%; background-size: 4px 4px; background-repeat: no-repeat; }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 14px; color: var(--ink-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(30px, 5vh, 60px); }
.section-head .arrow-link { margin-bottom: 8px; }
.eyebrow-index { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.big-quote { font-family: var(--font-head); font-weight: 240; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.chip-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* Cursor dot (desktop only) */
.cursor-dot {
  position: fixed; z-index: 400; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s, background .25s;
  mix-blend-mode: normal;
}
.cursor-dot.is-link { width: 34px; height: 34px; background: rgba(14,17,19,.14); }
@media (pointer: coarse), (hover: none) { .cursor-dot { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal="line"], [data-reveal="line"] .line-inner { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  .preloader, .veil { display: none; }
  .btn::before { transition: none; }
}

/* === FINAL dark-theme overrides (end-of-file, highest cascade) === */
.site-footer { background: #0f1215; color: #f5f7f8; }
.footer-grid, .footer-bottom { border-color: rgba(255,255,255,.08); }
.video-panel, .media-banner--dark { background: #0a0c0e; color: #f5f7f8; }
.statement--dark { background: #101316; color: #f5f7f8; }
.preloader { background: #090b0c; }
.menu-overlay { color: #f5f7f8; }
.menu-primary a { color: #f5f7f8; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .display, .stat-num, .grad-text {
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .display { background: linear-gradient(180deg, #f5f7f8 40%, var(--accent) 155%); }
  .stat-num { background: linear-gradient(90deg, #f5f7f8 10%, var(--accent) 60%, var(--accent-2)); }
  .grad-text { background: linear-gradient(90deg, #f5f7f8 0%, var(--accent) 50%, #f5f7f8 100%); background-size: 200% auto; }
}

.tier, .insight-card, .why-cell, .work-card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.10); }
.btn { border-color: rgba(255,255,255,.5); color: var(--ink); }
.btn::before { background: var(--ink); }
.btn:hover { color: #0a0c0e; }
.btn--solid { background: var(--accent); color: #0a0c0e; border-color: var(--accent); }
.btn--solid::before { background: #0a0c0e; }
.btn--solid:hover { color: var(--accent); }
.sound-toggle { border-color: rgba(255,255,255,.28); color: var(--ink-soft); }
.sound-toggle:hover { background: var(--ink); color: #0a0c0e; }
.carousel-avatar { background: var(--accent); color: #0a0c0e; }
.carousel-dot.is-active { background: var(--accent); }
.row-item:hover::before { background: var(--ink); }
.row-item:hover, .row-item:hover * { color: #0a0c0e; }
.city-chip:hover { background: var(--accent); color: #0a0c0e; border-color: var(--accent); }
.quote-mark { color: var(--accent); opacity: .4; }
:root { --accent: #d5fe00; --accent-2: #b9e414; }

/* === Desktop inline nav (visible menu) === */
.nav-inline { display: none; }
@media (min-width: 1024px) {
  .nav-inline { display: block; }
  .nav-inline ul { display: flex; gap: clamp(14px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
  .nav-inline a {
    font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-soft); padding-block: 6px; position: relative; white-space: nowrap;
  }
  .nav-inline a::after {
    content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .nav-inline a:hover::after, .nav-inline a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav-inline a[aria-current="page"] { color: var(--ink); }
}

/* === Overlay menu mobile readability f === */
.menu-overlay { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.menu-inner { padding-block: clamp(84px, 14vh, 132px) 40px; }
.menu-primary-link { gap: 12px; }
.menu-primary a { font-size: clamp(30px, 8vw, 72px); }
@media (max-width: 520px) {
  .menu-primary a { font-size: 32px; }
  .menu-inner { justify-content: flex-start; }
  .menu-lower { margin-top: 28px; }
  .menu-service-list { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
}

/* === SAFETY: solid light headlines (guard against gradient-clip invisible text) === */
.display, .stat-num, .grad-text {
  background: none !important;
  color: var(--ink) !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  animation: none !important;
}
.grad-text { color: var(--ink-soft) !important; }

/* === Fix remaining dark-theme invisible-on-hover spots === */
.footer-col a:hover { color: #f5f7f8; }
.menu-service-list a:hover { color: #f5f7f8; }
.menu-clocks em { color: #f5f7f8; }
.video-panel .btn { border-color: rgba(255,255,255,.6); color: #f5f7f8; }
.video-panel .btn::before { background: #f5f7f8; }
.video-panel .btn:hover { color: #0a0c0e; }
.video-panel .btn--solid { background: var(--accent); color: #0a0c0e; border-color: var(--accent); }
.video-panel .btn--solid::before { background: #0a0c0e; }
.video-panel .btn--solid:hover { color: var(--accent); }

/* (menu close: the header hamburger ✕ acts as the close control) */

/* === lime (solid) CTA buttons: dark text at rest, lime text on hover (readable both ways) === */
a.btn--solid:not(:hover), button.btn--solid:not(:hover) { color: #0a0c0e !important; }
a.btn--solid:hover, button.btn--solid:hover,
.video-panel a.btn--solid:hover, .video-panel button.btn--solid:hover { color: var(--accent) !important; }

/* footer credit link */
.footer-bottom a { color: rgba(245,247,248,.85); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.footer-bottom a:hover { color: var(--accent); border-color: var(--accent); }

/* === Impeccable-UI pass: 12px text floor + mobile tap targets === */
.overline { font-size: clamp(12px, 0.85vw, 13px); }
.stat-label { font-size: 12px; }
.chip-note { font-size: 12px; }
.footer-col p, .footer-col-title { font-size: 12px; }
.case-tag { font-size: 12px; }
.breadcrumbs { font-size: 12px; }
.sound-toggle { font-size: 12px; }
.carousel-author-org { font-size: 12px; }
.menu-clocks { font-size: 12px; }
.menu-service-list a { font-size: 12px; }
.footer-bottom { font-size: 12px; }
.eyebrow-index { font-size: 12px; }
.row-num { font-size: 12px; }
.step-num { font-size: 12px; }
.tier-feats li { font-size: 15px; }
.case-result { font-size: 13px; }

/* hit areas (mobile) — padding grows the tappable box without visual shift */
.brand { padding: 10px 8px; margin: -10px -8px; }
.breadcrumbs a { display: inline-flex; align-items: center; padding: 8px 2px; margin: -8px 0; }
.nav-links a { padding-block: 10px; }
.sound-toggle { padding-block: 10px; }
.city-chip { padding-block: 11px; }
.case-tag { padding-block: 9px; }
.tag { padding-block: 10px; }

/* === Impeccable-UI pass 2: last tiny-text offenders to 12px === */
.brand em { font-size: 12px; }
.why-num { font-size: 12px; }
.preloader-meta, .preloader-count { font-size: 12px; }
.contact-label { font-size: 12px; }
.btn--sm { font-size: 12px; }
.tag { font-size: 12px; }
.availability-pill { font-size: 12px; }

/* === Hero code-person === */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr); gap: clamp(18px, 3vw, 46px); align-items: center; }
.hero-visual { position: relative; aspect-ratio: 5 / 6; max-height: 600px; }
.hero-visual canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; margin-inline: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 480px) { .hero-visual { max-width: 300px; } }

/* === hero headline a notch smaller + portrait aspect === */
.hero .display { font-size: clamp(38px, 5.7vw, 94px); }
.hero-visual { aspect-ratio: 4 / 5; }
@media (max-width: 980px) { .hero-visual { aspect-ratio: 4 / 5; } }

/* === designer pass: kill CLS on city hero art (fixed aspect + cover) === */
.city-hero-art { aspect-ratio: 16 / 10; }
.city-hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* === Adsterra 4:1 banner section === */
.ad-banner { padding-block: clamp(28px, 4vh, 44px); border-bottom: 1px solid rgba(255,255,255,.08); }
.ad-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 12px; }
.ad-slot { width: 100%; max-width: 970px; margin-inline: auto; aspect-ratio: 4 / 1; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; display: grid; place-items: center; min-height: 120px; }
.ad-slot > * { width: 100%; height: 100%; }

/* === Footer legal links on one line === */
.footer-col ul.footer-legal, .footer-legal { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,247,248,.75); }
.footer-legal a:hover { color: var(--accent); }

/* === Animated WhatsApp floating button === */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #071a0e; font-weight: 600;
  border-radius: 999px; padding: 12px 18px;
  box-shadow: 0 8px 26px rgba(37,211,102,.45);
  text-decoration: none; font-size: 14px;
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform .25s var(--ease), box-shadow .25s;
  font-family: var(--font-text);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 34px rgba(37,211,102,.6); }
.wa-fab-icon { font-size: 22px; line-height: 1; }
.wa-fab-label { white-space: nowrap; }
.wa-fab-number { font-family: var(--font-mono); font-size: 12px; opacity: .85; white-space: nowrap; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 560px) {
  .wa-fab { padding: 12px 14px; }
  .wa-fab-number { display: none; }
  .wa-fab-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
