/* Bytelogic — warm stone palette (anchors: #FAF5EF · #E6DFCF · #463C37) */

:root {
  /* Neutrals — ~1 shade off #F9F4EE, #E4DDCC, #443A35 */
  --bg: #FAF5EF;
  --bg-tint: #E6DFCF;
  --bg-deep: #E2DAC9;
  --surface: #FBF7F2;
  --ink: #463C37;
  --text: #5A4E46;
  --muted: #796D63;
  --muted-2: #998E84;
  --line: #E6DFCF;
  --line-strong: #DAD1BF;
  --red: #D62A30;
  --red-deep: #B72026;
  --navy: #453B36;
  --steel: #7A6558;
  --maxw: 1320px;
  --nav-h: 74px;
  --gutter: clamp(20px, 4vw, 28px);
  --section-y: 84px;
  --section-y-sm: 64px;
  --sec-head-mb: 48px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 24px 60px -28px rgba(70, 60, 55, 0.18);
  --shadow-card: 0 20px 50px -24px rgba(70, 60, 55, 0.22);
  --shadow-lift: 0 32px 64px -28px rgba(183, 32, 38, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Subtle film grain — premium texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "<";
  font-weight: 500;
  letter-spacing: 0;
  color: var(--red-deep);
  opacity: 0.9;
}

.eyebrow::after {
  content: "/>";
  font-weight: 500;
  letter-spacing: 0;
  color: var(--red);
  opacity: 0.35;
  margin-left: 2px;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* NAV */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}

header.nav.mega-open {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(70, 60, 55, .4);
}

header.nav.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -22px rgba(70, 60, 55, .4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; display: block; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links > a,
.nav-trigger {
  font-size: 15px;
  color: var(--navy);
  transition: color .2s, font-weight .2s;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.015em;
}
.nav-links > a:hover,
.nav-item.open > .nav-trigger,
.nav-trigger:hover,
header.nav.mega-open .nav-item.has-mega .nav-trigger {
  color: var(--red);
  font-weight: 700;
}

.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
}
.nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  transition: transform .25s var(--ease);
}
.nav-item.open .nav-chevron { transform: rotate(180deg); }

.nav-item.has-mega.open::after,
header.nav.mega-open .nav-item.has-mega::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 28px;
  z-index: 52;
}

.nav-item.has-drop.open::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 20px;
  z-index: 54;
}

/* Services mega menu — full-width panel under header */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: -1px;
  background: rgba(251, 247, 242, .98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px -28px rgba(70, 60, 55, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 51;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 28px;
}

header.nav.mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner { padding-top: 26px; padding-bottom: 24px; }
.mega-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.mega-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mega-lead {
  font-size: 14px;
  color: var(--text);
  max-width: 36ch;
  text-align: right;
  margin-left: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background .2s, transform .2s var(--ease);
}
.mega-link:hover {
  background: var(--bg-tint);
  transform: translateX(2px);
}
.mega-ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-ic svg { width: 20px; height: 20px; }
.mega-link strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.mega-link small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mega-foot {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mega-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.mega-all-ghost { color: var(--muted); }
.mega-all:hover { color: var(--red-deep); }

@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-head { grid-template-columns: 1fr; }
  .mega-lead { text-align: left; margin-left: 0; }
}

/* Small dropdowns */
.nav-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px -24px rgba(70, 60, 55, .25);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 55;
}

.nav-drop::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item.has-drop.open .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.nav-drop a:hover { background: var(--bg-tint); color: var(--red); }

.nav-brochure { padding: 10px 18px; font-size: 14px; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(214, 42, 48, .5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(214, 42, 48, .62);
  background: var(--red-deep);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }

.nav-cta { display: flex; gap: 14px; align-items: center; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 28px 26px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a,
.mobile-menu summary {
  padding: 12px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.mobile-menu a:hover,
.mobile-menu summary:hover { color: var(--red); }
.mobile-menu > a:last-of-type { border-bottom: 0; }
.mobile-menu.open { display: flex; }

.mob-acc { border-bottom: 1px solid var(--line); }
.mob-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mob-acc summary::-webkit-details-marker { display: none; }
.mob-acc summary::after {
  content: "+";
  font-size: 18px;
  color: var(--muted);
  transition: transform .2s;
}
.mob-acc[open] summary::after { content: "−"; }
.mob-acc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0 10px 12px;
}
.mob-acc-body a {
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 0;
}
.mob-acc-body a:hover { color: var(--red); }

/* HERO */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 28px) 0 var(--section-y-sm);
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(70, 60, 55, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 60, 55, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
}

.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.glow.g1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(214, 42, 48, .13), transparent 70%);
  top: -120px; right: -60px;
  animation: glow-drift 14s var(--ease) infinite;
}

.glow.g2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(122, 101, 88, .12), transparent 70%);
  bottom: -200px; left: -130px;
  animation: glow-drift 18s var(--ease) infinite reverse;
}

.grid-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.04); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 340px);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-visual {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(70, 60, 55, 0.04);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 42%,
    rgba(70, 60, 55, 0.12) 100%
  );
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.hero-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(214, 42, 48, 0.15);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  margin: 16px 0 0;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  white-space: nowrap;
  display: inline-block;
  position: relative;
}

.hero h1.in em::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.06em;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(214, 42, 48, 0.2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: line-grow 0.8s var(--ease-out) 0.6s forwards;
}

@keyframes line-grow {
  to { transform: scaleX(1); }
}

.hero p.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 48ch;
  margin-top: 18px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.clocks {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  max-width: 760px;
  box-shadow: var(--shadow-soft);
}

.clock {
  flex: 1;
  min-width: 180px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.clock:last-child { border-right: 0; }

.clock .city {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.clock .city::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(214, 42, 48, .6);
  animation: pulse 2.4s var(--ease) infinite;
}

.clock .time {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin-top: 9px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.clock .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.clocks-label {
  grid-column: 1 / -1;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 18px;
  letter-spacing: .04em;
}

/* STATS */
.stats {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--steel) 50%, var(--red) 80%, transparent);
  opacity: 0.85;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 120% at 50% -20%, rgba(122, 101, 88, 0.06), transparent 55%);
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat {
  position: relative;
  z-index: 1;
  padding: 36px var(--gutter);
  border-right: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.stat:hover { background: rgba(230, 223, 207, 0.48); }

.stat:last-child { border-right: 0; }

.stat .num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}

.stat .num span { color: var(--red); }
.stat .lbl { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* SECTIONS */
.pad { padding: var(--section-y) 0; }

.sec-head { max-width: 640px; margin-bottom: var(--sec-head-mb); }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 16px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; line-height: 1.65; }

/* TRUST */
.trust {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 0% 50%, rgba(214, 42, 48, 0.04), transparent 55%),
    radial-gradient(ellipse 55% 80% at 100% 50%, rgba(122, 101, 88, 0.06), transparent 55%);
  pointer-events: none;
}
.trust-top { text-align: center; margin-bottom: var(--sec-head-mb); }
.trust-top .eyebrow { justify-content: center; }
.trust-top p { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.trust-stats li {
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}

.trust-stats strong {
  color: var(--ink);
  font-weight: 700;
}

.trust-marquees {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.trust-marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 2px 0;
  animation: trust-marquee var(--trust-duration, 42s) linear infinite;
  will-change: transform;
}

.trust-marquee-row--reverse .trust-marquee-track {
  animation-direction: reverse;
}

.trust-marquee-row:hover .trust-marquee-track {
  animation-play-state: paused;
}

@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trust-logo-tile {
  flex: 0 0 auto;
  width: 168px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.35s;
}

.trust-logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(214, 42, 48, 0.18);
}

.trust-logo-tile img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .trust-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter) 4px;
    justify-content: center;
  }

  .trust-marquee-row:hover .trust-marquee-track {
    animation-play-state: running;
  }
}

/* TECHNOLOGIES */
.tech {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 15% 20%, rgba(214, 42, 48, 0.04), transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(69, 59, 54, 0.05), transparent 55%);
}

.tech .wrap { position: relative; z-index: 1; }

.tech-lanes {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.tech-categories {
  margin-top: -18px;
}

.tech-lane-head {
  margin-bottom: 14px;
}

.tech-lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

.tech-lane-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 42, 48, 0.14);
  flex-shrink: 0;
}

.tech-lane-tag-sep {
  color: rgba(69, 59, 54, 0.35);
  font-weight: 500;
  letter-spacing: 0;
}

.tech-marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 4px 0 8px;
  animation: tech-marquee var(--tech-duration, 50s) linear infinite;
  will-change: transform;
}

.tech-lane--reverse .tech-marquee-track {
  animation-direction: reverse;
}

.tech-lane:hover .tech-marquee-track {
  animation-play-state: paused;
}

@keyframes tech-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(69, 59, 54, 0.05);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.tech-chip:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(214, 42, 48, 0.22);
  box-shadow: var(--shadow-lift);
}

.tech-chip-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-chip-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.tech-chip-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
  padding-right: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .tech-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter) 8px;
  }

  .tech-lane:hover .tech-marquee-track {
    animation-play-state: running;
  }
}

/* SERVICES */
.services {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(70, 60, 55, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0.55;
}

.services .wrap { position: relative; z-index: 1; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px 34px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .45s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 42, 48, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before { opacity: 1; }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(214, 42, 48, .07), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 42, 48, 0.15);
  box-shadow: var(--shadow-card);
}

.card:hover::after { opacity: 1; }

.card .idx {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .06em;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card h3 { font-size: 22px; margin: 0 0 12px; }
.card p { color: var(--muted); font-size: 15px; }

.card .go {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: .04em;
  transition: gap .25s;
}

.card:hover .go { gap: 14px; }

.ic {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #E03339 0%, #B72026 52%, #9A1A1F 100%);
  box-shadow:
    0 10px 22px -10px rgba(183, 32, 38, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.card:hover .ic {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 28px -10px rgba(183, 32, 38, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ic svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

/* DELIVERY LOOP — CIEL-style flywheel */
.loop {
  position: relative;
  --loop-bg: #1A1614;
  --loop-bg-soft: #252019;
  --loop-text: #F5F0E8;
  --loop-muted: #A39E98;
  --loop-line: rgba(255, 255, 255, 0.1);
  --loop-accent: #E8A090;
  background: linear-gradient(165deg, var(--loop-bg-soft) 0%, var(--loop-bg) 45%, #141110 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: var(--loop-text);
}

.loop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 12% 40%, rgba(214, 42, 48, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 55% at 88% 60%, rgba(232, 160, 144, 0.08), transparent 58%);
}

.loop .eyebrow { color: var(--loop-accent); }
.loop .eyebrow::before,
.loop .eyebrow::after { color: var(--loop-accent); opacity: 0.75; }

.loop-container {
  position: relative;
  z-index: 1;
}

.loop-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}

.loop-intro h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-top: 18px;
  line-height: 1.12;
  color: var(--loop-text);
}

.loop-lead {
  color: var(--loop-muted);
  margin-top: 20px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  max-width: 480px;
}

/* Flywheel diagram */
.loop-flywheel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 320px;
}

.loop-flywheel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 42, 48, 0.07) 0%, rgba(69, 59, 54, 0.05) 42%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.loop-visible .loop-flywheel::before { opacity: 1; }

.loop-flywheel-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 160, 144, 0.22);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-flywheel-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.loop-flywheel-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.loop-flywheel-particle {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 8px 2px rgba(214, 42, 48, 0.55),
    0 0 20px 4px rgba(214, 42, 48, 0.22);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.loop-flywheel-particle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 28px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: linear-gradient(to left, rgba(214, 42, 48, 0.45), transparent);
}

@keyframes loop-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loop-visible .loop-flywheel-orbit {
  animation: loop-orbit 6s linear infinite;
}

.loop-visible .loop-flywheel-particle { opacity: 1; }

@keyframes loop-node-activate {
  0%, 15%  { opacity: 0.55; }
  20%, 30% { opacity: 1; }
  35%, 100% { opacity: 0.55; }
}

@keyframes loop-dot-activate {
  0%, 15%  { transform: scale(1); box-shadow: 0 0 8px rgba(214, 42, 48, 0.25); }
  20%, 30% { transform: scale(1.5); box-shadow: 0 0 24px rgba(214, 42, 48, 0.55); }
  35%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(214, 42, 48, 0.25); }
}

.loop-visible .loop-node--top    { animation: loop-node-activate 6s ease infinite 0s; }
.loop-visible .loop-node--right  { animation: loop-node-activate 6s ease infinite 1.5s; }
.loop-visible .loop-node--bottom { animation: loop-node-activate 6s ease infinite 3s; }
.loop-visible .loop-node--left   { animation: loop-node-activate 6s ease infinite 4.5s; }

.loop-visible .loop-node--top .loop-node-dot    { animation: loop-dot-activate 6s ease infinite 0s; }
.loop-visible .loop-node--right .loop-node-dot  { animation: loop-dot-activate 6s ease infinite 1.5s; }
.loop-visible .loop-node--bottom .loop-node-dot { animation: loop-dot-activate 6s ease infinite 3s; }
.loop-visible .loop-node--left .loop-node-dot   { animation: loop-dot-activate 6s ease infinite 4.5s; }

@keyframes loop-ring-breathe {
  0%, 100% { border-color: rgba(232, 160, 144, 0.22); box-shadow: 0 0 0 rgba(214, 42, 48, 0); }
  50%      { border-color: rgba(214, 42, 48, 0.45); box-shadow: 0 0 36px rgba(214, 42, 48, 0.12); }
}

@keyframes loop-dash-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.loop-visible .loop-flywheel-ring {
  animation: loop-ring-breathe 6s ease-in-out infinite;
}

.loop-visible .loop-flywheel-ring::before {
  animation: loop-dash-spin 20s linear infinite;
}

.loop-flywheel-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: rotate(-90deg);
}

@keyframes loop-arc-sweep {
  0%   { stroke-dashoffset: 792; opacity: 0; }
  10%  { opacity: 0.55; }
  80%  { opacity: 0.55; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.loop-arc-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 198 594;
  stroke-dashoffset: 792;
  opacity: 0;
}

.loop-visible .loop-arc-path {
  animation: loop-arc-sweep 6s linear infinite;
}

.loop-visible .loop-arc-path:nth-child(2) { animation-delay: 1.5s; stroke: rgba(232, 160, 144, 0.55); }
.loop-visible .loop-arc-path:nth-child(3) { animation-delay: 3s; }
.loop-visible .loop-arc-path:nth-child(4) { animation-delay: 4.5s; stroke: rgba(232, 160, 144, 0.55); }

.loop-flywheel-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loop-arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: rgba(232, 160, 144, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop-arrow-tr { top: 18%; right: 6%; transform: rotate(45deg); }
.loop-arrow-br { bottom: 18%; right: 6%; transform: rotate(135deg); }
.loop-arrow-bl { bottom: 18%; left: 6%; transform: rotate(225deg); }
.loop-arrow-tl { top: 18%; left: 6%; transform: rotate(315deg); }

.loop-flywheel-center {
  text-align: center;
  z-index: 2;
  position: relative;
}

.loop-flywheel-center img {
  width: 72px;
  height: auto;
  margin-bottom: 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(1.65) contrast(0.92);
}

@keyframes loop-center-glow {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

.loop-flywheel-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 42, 48, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.loop-visible .loop-flywheel-center::before {
  animation: loop-center-glow 6s ease-in-out infinite;
}

.loop-flywheel-center-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--loop-accent);
  font-weight: 600;
}

.loop-node {
  position: absolute;
  width: 118px;
  text-align: center;
  opacity: 0.55;
}

.loop-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 auto 8px;
  box-shadow: 0 0 8px rgba(214, 42, 48, 0.25);
}

.loop-node-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--loop-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.loop-node--top { top: -42px; left: 50%; transform: translateX(-50%); }
.loop-node--right { right: -68px; top: 50%; transform: translateY(-50%); }
.loop-node--bottom { bottom: -42px; left: 50%; transform: translateX(-50%); }
.loop-node--left { left: -68px; top: 50%; transform: translateY(-50%); }

/* Stats strip */
.loop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--loop-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 56px;
  border: 1px solid var(--loop-line);
}

.loop-stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 32px 24px;
  text-align: center;
}

.loop-stat-number {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--loop-text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.loop-stat-number span {
  color: var(--loop-accent);
  font-weight: 700;
}

.loop-stat-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--loop-muted);
  line-height: 1.45;
}

/* Story columns */
.loop-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.loop-story-step {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.loop-story-step::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--loop-accent);
  border: 2px solid var(--loop-bg);
}

.loop-story-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--loop-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.loop-story-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--loop-text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.loop-story-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--loop-muted);
  margin: 0;
}

.loop-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--loop-line);
  padding-top: 32px;
}

.loop-bottom-text {
  font-size: 14px;
  color: var(--loop-muted);
  margin: 0;
}

.loop-bottom-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--loop-accent);
  transition: color 0.2s ease;
}

.loop-bottom-cta:hover { color: #fff; }

@media (max-width: 980px) {
  .loop-header {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 44px;
  }

  .loop-lead { max-width: none; }

  .loop-story { gap: 28px; }
}

@media (max-width: 720px) {
  .loop-flywheel::before { width: 280px; height: 280px; }

  .loop-flywheel-ring {
    width: 220px;
    height: 220px;
  }

  .loop-flywheel-particle { width: 8px; height: 8px; margin-left: -4px; top: -4px; }
  .loop-flywheel-particle::after { width: 20px; height: 2px; }
  .loop-flywheel-center img { width: 58px; }
  .loop-node { width: 92px; }
  .loop-node-label { font-size: 10px; }
  .loop-node--right { right: -52px; }
  .loop-node--left { left: -52px; }

  .loop-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }

  .loop-story {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .loop-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loop-visible .loop-flywheel-ring,
  .loop-visible .loop-flywheel-ring::before,
  .loop-visible .loop-flywheel-orbit,
  .loop-visible .loop-flywheel-center::before,
  .loop-visible .loop-node-dot,
  .loop-visible .loop-node--top,
  .loop-visible .loop-node--right,
  .loop-visible .loop-node--bottom,
  .loop-visible .loop-node--left,
  .loop-visible .loop-arc-path {
    animation: none !important;
  }

  .loop-flywheel-particle { opacity: 0 !important; }
  .loop-node { opacity: 1 !important; }
  .loop-flywheel::before { opacity: 1; }
}

/* VALUES */
.values {
  position: relative;
  background: linear-gradient(165deg, var(--bg-tint) 0%, var(--bg-deep) 50%, var(--bg-tint) 100%);
  overflow: hidden;
}

.values::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 42, 48, 0.07), transparent 68%);
  top: -180px; right: -120px;
  pointer-events: none;
}

.values::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 101, 88, 0.08), transparent 68%);
  bottom: -140px; left: -80px;
  pointer-events: none;
}

.values .wrap { position: relative; z-index: 1; }

.val-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.val-list {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 28px;
  box-shadow: var(--shadow-soft);
}

.val {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}

.val:last-child { border-bottom: 0; }

.val .vn {
  font-family: "JetBrains Mono", monospace;
  color: var(--red);
  font-size: 13px;
  padding-top: 4px;
  min-width: 36px;
}

.val h3 { font-size: 20px; margin-bottom: 7px; }
.val p { color: var(--muted); font-size: 15px; }

.val-sticky { position: sticky; top: 110px; }
.val-sticky h2 { font-size: clamp(30px, 4.2vw, 46px); }
.val-sticky p { color: var(--muted); margin-top: 20px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 9px 16px;
  background: var(--surface);
}

/* TESTIMONIALS — horizontal reel carousel */
.tst {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.tst-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.tst-intro .eyebrow {
  justify-content: center;
}

.tst-intro h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  margin-top: 18px;
  line-height: 1.08;
}

.tst-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.tst-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  padding: 0 clamp(16px, 3vw, 40px);
  margin-bottom: 48px;
}

.tst-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 12px 0 20px;
}

.tst-track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.tst-card {
  flex: 0 0 260px;
  width: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: #0c1018;
  box-shadow: 0 22px 48px -28px rgba(70, 60, 55, 0.35);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tst-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 56px -26px rgba(70, 60, 55, 0.42);
}

.tst-card.is-active {
  transform: scale(1.04);
  box-shadow: 0 32px 56px -26px rgba(70, 60, 55, 0.48);
  z-index: 2;
}

.tst-card.is-active:hover {
  transform: scale(1.04);
}

.tst-card.is-active .tst-thumb::before {
  opacity: 0;
}

.tst-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  display: block;
  background: #0c1018;
}

.tst-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease), opacity 0.35s;
}

.tst-thumb:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

.tst-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(70, 60, 55, 0.08) 0%,
    transparent 28%,
    transparent 55%,
    rgba(70, 60, 55, 0.82) 100%
  );
}

.tst-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

.tst-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tst-play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}

.tst-thumb:hover .tst-play span { transform: scale(1.1); }

.tst-play span::after {
  content: "";
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--red);
}

.tst-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 18px 22px;
  pointer-events: none;
}

.tst-cap b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  line-height: 1.2;
}

.tst-cap span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.tst-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px -16px rgba(70, 60, 55, 0.35);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.tst-arrow:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: scale(1.06);
  box-shadow: 0 14px 32px -14px rgba(70, 60, 55, 0.4);
}

.tst-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tst-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* GOOGLE REVIEWS */
.grev {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.grev::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(214, 42, 48, 0.04), transparent 55%);
  pointer-events: none;
}

.grev-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.grev-intro .eyebrow { justify-content: center; }

.grev-intro h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  margin-top: 18px;
  line-height: 1.08;
}

.grev-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.grev-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  padding: 22px 28px;
  margin-bottom: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 44px -28px rgba(70, 60, 55, 0.2);
}

.grev-google-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -12px rgba(70, 60, 55, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.grev-google-mark:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -14px rgba(70, 60, 55, 0.3);
}

.grev-score {
  text-align: center;
  min-width: 160px;
}

.grev-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.grev-stars {
  color: #FBBC04;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 6px 0 8px;
  text-shadow: 0 1px 0 rgba(70, 60, 55, 0.08);
}

.grev-score p {
  font-size: 14px;
  color: var(--muted);
}

.grev-score strong { color: var(--ink); font-weight: 600; }

.grev-summary-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.grev-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  padding: 0 clamp(16px, 3vw, 40px);
}

.grev-summary--compact {
  justify-content: center;
  padding: 18px 28px 22px;
}

.grev-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 8px 0 16px;
}

.grev-track {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.grev-card {
  flex: 0 0 auto;
  min-width: 0;
  padding: 26px 24px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -26px rgba(70, 60, 55, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.grev-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -24px rgba(70, 60, 55, 0.28);
}

.grev-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.grev-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--bg-tint);
}

.grev-card-author {
  min-width: 0;
}

.grev-card-stars {
  color: #FBBC04;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.grev-card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.grev-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.grev-card-google {
  opacity: 0.55;
  flex-shrink: 0;
  display: flex;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.grev-card-google:hover {
  opacity: 1;
  transform: scale(1.08);
}

.grev-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grev-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.grev-card-meta b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.grev-card-meta span {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.grev-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px -16px rgba(70, 60, 55, 0.35);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.grev-arrow:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: scale(1.06);
}

.grev-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* OFFICES */
.offices {
  position: relative;
  overflow: hidden;
}

.offices::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(122, 101, 88, 0.07), transparent 60%);
  pointer-events: none;
}

.offices .wrap { position: relative; z-index: 1; }

.off-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.off {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  transition: border-color .35s, transform .4s var(--ease-out), box-shadow .4s;
}

.off:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 46px -30px rgba(70, 60, 55, .4);
}

.off .flag {
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.off h3 { font-size: 21px; margin: 12px 0 10px; }

.off address {
  font-style: normal;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* CTA */
.cta-band {
  padding: var(--section-y) 0;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(122, 101, 88, 0.07), transparent 60%),
    radial-gradient(ellipse 55% 70% at 85% 40%, rgba(214, 42, 48, 0.06), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 50%, var(--bg) 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(70, 60, 55, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 60, 55, .025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}

.cta-card {
  position: relative;
  border-radius: 28px;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red-deep) 80%, transparent);
}

.cta-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 42, 48, 0.07), transparent 68%);
  top: -220px;
  right: -140px;
  pointer-events: none;
}

.cta-eyebrow {
  position: relative;
  justify-content: center;
}

.cta-card h2 {
  position: relative;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
  max-width: 16ch;
  margin: 22px auto 0;
}

.cta-card h2 em {
  font-style: normal;
  color: var(--red);
}

.cta-card p {
  position: relative;
  color: var(--muted);
  margin: 20px auto 34px;
  max-width: 46ch;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.cta-trust li {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.75;
  flex-shrink: 0;
}

/* FOOTER */
footer {
  position: relative;
  background: var(--navy);
  color: #DDD2C4;
  padding: 48px 0 28px;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 42, 48, 0.45) 30%, rgba(122, 101, 88, 0.35) 70%, transparent);
}

footer .wrap {
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
}

.foot-news-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #F5EDE3;
  margin: 0 0 8px;
  line-height: 1.2;
}

.foot-news-lead {
  font-size: 13.5px;
  line-height: 1.55;
  color: #C8BDB0;
  margin: 0 0 16px;
  max-width: 28ch;
}

.foot-news-form {
  display: flex;
  align-items: center;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 5px 5px 5px 18px;
  margin-bottom: 18px;
}

.foot-news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: #F0E8DC;
  outline: none;
}

.foot-news-form input::placeholder { color: #8E7E68; }

.foot-news-form button {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s var(--ease-out);
}

.foot-news-form button:hover {
  background: var(--red-deep);
  transform: scale(1.05);
}

.foot-news-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-socials {
  display: flex;
  gap: 8px;
}

.foot-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8DDD0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.foot-socials a:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.foot-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.foot-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FAF5EF;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li + li { margin-top: 4px; }

.foot-col a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #E8DDD0;
  padding: 3px 0;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 18px 28px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-bar-intro h3 {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #F5EDE3;
  margin: 0 0 4px;
}

.foot-bar-intro p {
  font-size: 13px;
  color: #C8BDB0;
  margin: 0;
}

.foot-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: center;
}

.foot-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-bar-ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8DDD0;
}

.foot-bar-ic svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.foot-bar-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #B8AB9C;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.foot-bar-item a,
.foot-bar-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #FAF5EF;
  line-height: 1.35;
}

.foot-bar-item a {
  transition: color 0.2s;
}

.foot-bar-item a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-copy {
  text-align: center;
  font-size: 12.5px;
  color: #A89888;
  margin: 20px 0 0;
}

@media (max-width: 1100px) {
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-news {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

/* Sticky WhatsApp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.35));
  transition: transform 0.3s var(--ease-out), filter 0.3s;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 16px 36px rgba(37, 211, 102, 0.45));
}

.wa-float-label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  padding: 12px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 24px -8px rgba(70, 60, 55, 0.35);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

.wa-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25D366, #1da851);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.65);
  transition: background 0.25s;
}

.wa-float-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.2s ease-out infinite;
}

.wa-float:hover .wa-float-btn {
  background: linear-gradient(145deg, #2ee06f, #25D366);
}

.wa-float-btn svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 720px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
  }

  .wa-float-btn {
    width: 62px;
    height: 62px;
  }

  .wa-float-btn svg {
    width: 32px;
    height: 32px;
  }

  .wa-float-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-btn::before { animation: none; }
}

/* REVEAL — scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.in { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-scale.in { opacity: 1; transform: none; }

.reveal-blur {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}

.reveal-blur.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.stagger.in > *:nth-child(8) { transition-delay: 490ms; }
.stagger.in > *:nth-child(9) { transition-delay: 560ms; }
.stagger.in > *:nth-child(10) { transition-delay: 630ms; }
.stagger.in > *:nth-child(11) { transition-delay: 700ms; }
.stagger.in > *:nth-child(12) { transition-delay: 770ms; }

.stagger.in > * {
  opacity: 1;
  transform: none;
}

/* Section divider */
.section-divider {
  height: 1px;
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  opacity: 0.7;
}

/* Nav scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--steel));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

body[data-page="service"] .mega-on-page { display: none; }

/* SERVICE PAGE — Web Design & Development */
.page-service .pg-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-service .pg-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 380px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-service .pg-hero-copy { min-width: 0; }

.page-service .pg-hero-visual {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pg-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pg-crumb a { color: var(--red); font-weight: 600; }
.pg-crumb a:hover { color: var(--red-deep); }

.page-service .pg-hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.06;
  margin-top: 16px;
  max-width: none;
}

.pg-lede {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
  max-width: 58ch;
}

.pg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pg-hero-stat {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pg-hero-stat strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
}

.pg-hero-stat span { color: var(--muted); font-size: 15px; }

.pg-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.pg-intro-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -28px rgba(70, 60, 55, 0.18);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.pg-stats { background: var(--surface); border-top: 1px solid var(--line); }

.pg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pg-stat {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pg-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(70, 60, 55, 0.22);
}

.pg-stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pg-stat h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}

.pg-stat p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.pg-process {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-process::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(214, 42, 48, 0.06), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(122, 101, 88, 0.08), transparent 40%);
}

.pg-process-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.pg-process-intro {
  position: sticky;
  top: 110px;
}

.pg-process-intro h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-top: 18px;
  line-height: 1.08;
}

.pg-process-intro p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
}

.pg-process-track {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 28px;
  position: relative;
}

.pg-process-track::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(214, 42, 48, 0.15) 100%);
  border-radius: 2px;
}

.pg-process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pg-process-step::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--red);
  box-shadow: 0 0 0 4px rgba(214, 42, 48, 0.12);
  z-index: 2;
}

.pg-process-step--last::before {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(214, 42, 48, 0.18);
}

.pg-process-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.pg-process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 42, 48, 0.35);
  box-shadow: var(--shadow-card);
}

.pg-process-card--finish {
  background: linear-gradient(135deg, rgba(214, 42, 48, 0.08), rgba(255, 255, 255, 0.9));
  border-color: rgba(214, 42, 48, 0.25);
}

.pg-process-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 42, 48, 0.08);
  color: var(--red);
}

.pg-process-card--finish .pg-process-icon {
  background: var(--red);
  color: #fff;
}

.pg-process-body { min-width: 0; }

.pg-process-num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.pg-process-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.pg-process-body p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.pg-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 10px auto 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--red);
  box-shadow: 0 8px 20px -12px rgba(70, 60, 55, 0.35);
}

.pg-process-step--last .pg-process-arrow { display: none; }

.pg-why { background: var(--bg-tint); }

.pg-why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pg-why-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-left: 36px;
}

.pg-why-item::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--red);
  font-weight: 700;
}

.pg-why-cta { margin-top: 32px; text-align: center; }

.pg-faq-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.pg-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.pg-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.pg-faq-item summary::-webkit-details-marker { display: none; }

.pg-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--muted);
  font-size: 18px;
}

.pg-faq-item[open] summary::after { content: "−"; }

.pg-faq-item p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 980px) {
  .pg-split, .pg-faq-split { grid-template-columns: 1fr; }
  .pg-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-process-layout { grid-template-columns: 1fr; gap: 40px; }
  .pg-process-intro { position: static; }
  .pg-process-track { max-width: none; }

  .page-service .pg-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-service .pg-hero-visual,
  .page-local .loc-hero-form {
    order: 2;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    position: static;
  }

  .page-service .pg-hero-copy { order: 1; }
}

@media (max-width: 720px) {
  .page-service .pg-hero { padding: 120px 0 60px; }
  .pg-stats-grid, .pg-why-grid { grid-template-columns: 1fr; }

  .pg-process-track {
    padding-left: 22px;
  }

  .pg-process-step::before {
    left: -18px;
    width: 10px;
    height: 10px;
  }

  .pg-process-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px;
  }

  .pg-process-icon {
    width: 42px;
    height: 42px;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    order: 2;
    max-width: 420px;
  }

  .hero-copy { order: 1; }

  .clocks { order: 3; margin-top: 24px; }

  .clocks-label { order: 4; }

  .hero h1 { max-width: 14ch; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .svc-grid, .off-grid { grid-template-columns: 1fr 1fr; }
  .val-split { grid-template-columns: 1fr; gap: 36px; }
  .val-sticky { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-news { grid-column: 1 / -1; }
  .foot-bar { border-radius: 20px; padding: 20px 22px; }

  .nav-links { display: none; }
  .nav-cta .nav-brochure { display: none; }
  .burger { display: flex; }
  .mega-menu { display: none !important; }

  .grev-summary { flex-direction: column; text-align: center; }
  .grev-summary-cta { width: 100%; }

  .tst-card {
    flex: 0 0 240px;
    width: 240px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-y: var(--section-y-sm);
    --sec-head-mb: 40px;
  }

  .hero { padding: calc(var(--nav-h) + 20px) 0 var(--section-y-sm); }

  .hero-visual { max-width: none; }

  .hero-media img { object-position: center 22%; }

  .tst-carousel { padding: 0 12px; gap: 8px; }

  .grev-carousel { padding: 0 12px; gap: 8px; }
  .grev-arrow { width: 40px; height: 40px; }

  .tst-card {
    flex: 0 0 min(72vw, 280px);
    width: min(72vw, 280px);
  }

  .tst-arrow {
    width: 40px;
    height: 40px;
  }

  .nav-links { display: none; }
  .nav-cta .nav-brochure { display: none; }
  .burger { display: flex; }
  .svc-grid, .off-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bar { flex-direction: column; align-items: flex-start; border-radius: 18px; }
  .foot-bar-items { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat { border-right: 0; }
  .clock { border-right: 0; border-bottom: 1px solid var(--line); }
  .clock:last-child { border-bottom: 0; }
  .cta-card { padding: 44px 22px; }

  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .pad { padding: var(--section-y-sm) 0; }
  .trust-logo-tile { width: 148px; height: 80px; padding: 14px 18px; }
  .trust-stats { gap: 8px; }
  .trust-stats li { font-size: 12px; padding: 7px 12px; }
  .tech-lanes { gap: 18px; }
  .tech-chip { padding: 10px 16px 10px 12px; }
  .tech-chip-name { font-size: 13px; }
}

/* ABOUT PAGE */
.page-about .ab-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-about .ab-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-about .ab-hero-copy { min-width: 0; }

.page-about .ab-hero-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.ab-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ab-crumb a { color: var(--red); font-weight: 600; }
.ab-crumb a:hover { color: var(--red-deep); }

.page-about .ab-hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.06;
  margin-top: 16px;
}

.ab-lede {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
  max-width: 52ch;
}

.ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ab-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
}

.ab-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ab-intro-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.ab-intro-card--accent {
  background: linear-gradient(145deg, rgba(214, 42, 48, 0.06), rgba(255, 255, 255, 0.92));
  border-color: rgba(214, 42, 48, 0.18);
}

.ab-intro-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: 16px;
  line-height: 1.12;
}

.ab-intro-card p {
  margin-top: 16px;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.ab-intro-card p + p { margin-top: 12px; }

.ab-checklist {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.ab-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.ab-why {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ab-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ab-pillar {
  padding: 26px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.ab-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(214, 42, 48, 0.2);
}

.ab-pillar-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 42, 48, 0.08);
  color: var(--red);
  margin-bottom: 16px;
}

.ab-pillar-ic svg { width: 22px; height: 22px; }

.ab-pillar h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.ab-pillar p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.ab-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ab-mv-card {
  position: relative;
  padding: clamp(32px, 4vw, 44px);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ab-mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), rgba(214, 42, 48, 0.2));
}

.ab-mv-card--vision::before {
  background: linear-gradient(90deg, var(--steel), rgba(122, 101, 88, 0.2));
}

.ab-mv-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.ab-mv-card--vision .ab-mv-tag { color: var(--steel); }

.ab-mv-card h2 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.ab-mv-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.ab-skills {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.ab-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ab-skill {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.ab-skill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.ab-skill-label {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.ab-skill h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ab-skill p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.ab-skill-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: color 0.2s;
}

.ab-skill-link:hover { color: var(--red-deep); }

.ab-gallery {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.ab-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ab-gallery-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-top: 16px;
}

.ab-gallery-head p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
}

.ab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ab-gallery-grid--all .ab-gallery-item img,
.ab-gallery-grid .ab-gallery-item img {
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
}

.ab-gallery-grid--all .ab-gallery-item:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.ab-gallery-item img[src*="team-holi"] {
  object-position: center top;
}

.ab-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.ab-gallery-item--wide {
  grid-column: 1 / -1;
}

.ab-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.ab-gallery-item--wide img {
  min-height: 280px;
  max-height: 420px;
}

.ab-gallery-item:hover img { transform: scale(1.03); }

.ab-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(30, 24, 20, 0.72));
}

.ab-stats { border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .page-about .ab-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-about .ab-hero-visual { order: 2; max-width: 560px; }
  .page-about .ab-hero-copy { order: 1; }

  .ab-intro-grid,
  .ab-mv-grid { grid-template-columns: 1fr; }

  .ab-pillars { grid-template-columns: repeat(2, 1fr); }
  .ab-skills-grid { grid-template-columns: 1fr; }

  .ab-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ab-gallery-item--wide { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .page-about .ab-hero { padding: 120px 0 60px; }

  .ab-pillars,
  .ab-gallery-grid { grid-template-columns: 1fr; }

  .ab-gallery-grid--all .ab-gallery-item:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .ab-gallery-head { flex-direction: column; align-items: flex-start; }
}

/* CONTACT PAGE */
.page-contact .ct-hero {
  position: relative;
  padding: 140px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-contact .ct-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.ct-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ct-crumb a { color: var(--red); font-weight: 600; }
.ct-crumb a:hover { color: var(--red-deep); }

.page-contact .ct-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.08;
  margin-top: 16px;
}

.ct-lede {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
}

.ct-main {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.ct-split {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.ct-promo {
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(214, 42, 48, 0.1), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(214, 42, 48, 0.22);
  margin-bottom: 24px;
}

.ct-promo-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.ct-promo p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.ct-promo code {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  background: rgba(214, 42, 48, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.ct-channels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-channel {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ct-channel:hover {
  border-color: rgba(214, 42, 48, 0.25);
  box-shadow: var(--shadow-soft);
}

.ct-channel-ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 42, 48, 0.08);
  color: var(--red);
}

.ct-channel-ic svg { width: 22px; height: 22px; }

.ct-channel h2 {
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.ct-channel a,
.ct-channel-val {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.ct-channel a:hover { color: var(--red); }

.ct-channel-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.ct-trust {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-trust li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.ct-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.ct-form-wrap {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.ct-form-wrap h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 8px;
}

.ct-form-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.ct-form-note .req,
.ct-field .req { color: var(--red); }

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-field {
  margin-bottom: 16px;
}

.ct-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: rgba(214, 42, 48, 0.45);
  box-shadow: 0 0 0 3px rgba(214, 42, 48, 0.1);
}

.ct-field textarea { resize: vertical; min-height: 140px; }

.ct-form-actions { margin-top: 8px; }

.ct-form-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Phone + country combo */
.ct-phone-combo {
  position: relative;
}

.ct-phone-combo-inner {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-phone-combo-inner:focus-within {
  border-color: rgba(214, 42, 48, 0.45);
  box-shadow: 0 0 0 3px rgba(214, 42, 48, 0.1);
}

.ct-phone-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--bg);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.ct-phone-country-btn:hover {
  background: var(--bg-tint);
}

.ct-phone-dial {
  min-width: 2.5em;
  text-align: left;
}

.ct-phone-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.ct-phone-input::placeholder {
  color: #9a9088;
}

.ct-country-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.ct-country-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s;
}

.ct-phone-country-btn[aria-expanded="true"] .ct-country-chevron {
  transform: rotate(180deg);
}

.ct-country-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ct-country-search-wrap {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.ct-country-search {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.ct-country-search:focus {
  border-color: rgba(214, 42, 48, 0.45);
  box-shadow: 0 0 0 3px rgba(214, 42, 48, 0.1);
}

.ct-country-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 240px;
  overflow-y: auto;
}

.ct-country-list [role="option"] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}

.ct-country-list [role="option"]:hover,
.ct-country-list [role="option"].is-active,
.ct-country-list [role="option"][aria-selected="true"] {
  background: var(--bg-tint);
}

.ct-country-list [role="option"][aria-selected="true"] {
  font-weight: 600;
}

.ct-country-list [role="option"][aria-selected="true"] .ct-country-option-name {
  color: var(--red);
}

.ct-country-option-name {
  flex: 1;
  min-width: 0;
}

.ct-country-option-dial {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.ct-country-empty {
  padding: 14px 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.ct-offices { background: var(--bg); }

.ct-map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: color 0.2s;
}

.ct-map-link:hover { color: var(--red-deep); }

.ct-process {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ct-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 0;
}

.ct-step {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 28px 26px 30px;
  background: var(--surface);
}

.ct-step-num {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}

.ct-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ct-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 980px) {
  .ct-steps { grid-template-columns: 1fr; }
  .ct-split { grid-template-columns: 1fr; }
  .page-contact .ct-hero { padding: 120px 0 52px; }
}

@media (max-width: 720px) {
  .ct-field-row { grid-template-columns: 1fr; }
}

/* CAREER PAGE */
.page-career .cr-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-career .cr-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-career .cr-hero-copy { min-width: 0; }

.page-career .cr-hero-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.cr-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cr-crumb a { color: var(--red); font-weight: 600; }
.cr-crumb a:hover { color: var(--red-deep); }

.page-career .cr-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.08;
  margin-top: 16px;
}

.cr-lede {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
  max-width: 52ch;
}

.cr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cr-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cr-perks {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.cr-perks-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cr-perk {
  padding: 26px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.cr-perk:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cr-perk-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 42, 48, 0.08);
  color: var(--red);
  margin-bottom: 16px;
}

.cr-perk-ic svg { width: 22px; height: 22px; }

.cr-perk h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.cr-perk p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.cr-openings {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.cr-jobs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cr-job {
  padding: clamp(24px, 4vw, 32px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cr-job:hover {
  border-color: rgba(214, 42, 48, 0.22);
  box-shadow: var(--shadow-card);
}

.cr-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cr-job-head h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.2;
}

.cr-job-meta {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.cr-job-count {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(214, 42, 48, 0.08);
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.cr-job-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 72ch;
}

.cr-job-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.cr-job-tags li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 100px;
}

.cr-apply {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cr-apply-split {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.cr-apply-intro h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-top: 16px;
  line-height: 1.1;
}

.cr-apply-intro p {
  margin-top: 16px;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.cr-apply-notes {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-apply-notes li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
}

.cr-apply-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.cr-apply-notes a {
  color: var(--red);
  font-weight: 600;
}

.cr-apply-notes a:hover { color: var(--red-deep); }

.cr-form-wrap {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cr-file-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.cr-form input[type="file"] {
  font-size: 14px;
  padding: 10px 12px;
  background: var(--surface);
}

@media (max-width: 980px) {
  .page-career .cr-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-career .cr-hero-visual { order: 2; max-width: 520px; }
  .page-career .cr-hero-copy { order: 1; }

  .cr-perks-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-apply-split { grid-template-columns: 1fr; }
  .page-career .cr-hero { padding: 120px 0 60px; }
}

@media (max-width: 720px) {
  .cr-perks-grid { grid-template-columns: 1fr; }
  .cr-job-head { flex-direction: column; }
}

/* PORTFOLIO PAGE */
.page-portfolio .pf-hero {
  position: relative;
  padding: 140px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-portfolio .pf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.pf-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-crumb a { color: var(--red); font-weight: 600; }
.pf-crumb a:hover { color: var(--red-deep); }

.page-portfolio .pf-hero h1 {
  font-size: clamp(38px, 5.8vw, 62px);
  line-height: 1.06;
  margin-top: 16px;
}

.pf-lede {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
}

.pf-grid-section {
  background: var(--bg);
}

.pf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pf-filter {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.pf-filter:hover {
  border-color: rgba(214, 42, 48, 0.35);
  color: var(--red);
}

.pf-filter.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(214, 42, 48, 0.55);
}

.pf-count {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.pf-card {
  position: relative;
  display: block;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
  animation: pf-fade-in 0.45s var(--ease) both;
}

.pf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

@keyframes pf-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(214, 42, 48, 0.2);
}

.pf-card:hover::before,
.pf-card:focus-visible::before { opacity: 1; }

.pf-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}

.pf-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.pf-card:hover img,
.pf-card:focus-visible img { transform: scale(1.02); }

.pf-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  background: var(--surface);
}

.pf-card-info { min-width: 0; }

.pf-card-caption strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-card-tag {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pf-card-view {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), color 0.3s;
}

.pf-card:hover .pf-card-view,
.pf-card:focus-visible .pf-card-view {
  opacity: 1;
  transform: translateX(0);
  color: var(--red);
}

.pf-card-media--social {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  background: linear-gradient(165deg, var(--bg-tint) 0%, var(--surface) 100%);
}

.pf-social-ic {
  width: 44px;
  height: 44px;
  color: #C13584;
}

.pf-social-handle {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pf-card--social .pf-card-tag {
  color: #C13584;
}

@media (max-width: 720px) {
  .page-portfolio .pf-hero { padding: 120px 0 52px; }
  .pf-toolbar { flex-direction: column; align-items: flex-start; }
  .pf-card-view { opacity: 1; transform: none; color: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  *, .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .stagger > * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur,
  .stagger > *, .stagger.in > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  body::before { display: none; }
  .glow { animation: none !important; }
  .pf-card, .bl-card { animation: none !important; }
}

/* BLOG PAGE */
.page-blog .bl-hero {
  position: relative;
  padding: 140px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-blog .bl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.bl-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bl-crumb a { color: var(--red); font-weight: 600; }
.bl-crumb a:hover { color: var(--red-deep); }

.page-blog .bl-hero h1 {
  font-size: clamp(38px, 5.8vw, 62px);
  line-height: 1.06;
  margin-top: 16px;
}

.bl-lede {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
}

.bl-grid-section {
  background: var(--bg);
}

.bl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.bl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.bl-count {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
  animation: bl-fade-in 0.45s var(--ease) both;
}

.bl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

@keyframes bl-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.bl-card:hover,
.bl-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(214, 42, 48, 0.2);
}

.bl-card:hover::before,
.bl-card:focus-visible::before { opacity: 1; }

.bl-card-media {
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}

.bl-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.bl-card:hover img,
.bl-card:focus-visible img { transform: scale(1.03); }

.bl-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  gap: 10px;
}

.bl-card-cat {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-card-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-card-more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
}

.bl-card:hover .bl-card-more,
.bl-card:focus-visible .bl-card-more { color: var(--red); }

.bl-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.bl-page-btn {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.bl-page-btn:hover:not(:disabled) {
  border-color: rgba(214, 42, 48, 0.35);
  color: var(--red);
}

.bl-page-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(214, 42, 48, 0.55);
}

.bl-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bl-page-ellipsis {
  font-size: 14px;
  color: var(--muted);
  padding: 0 4px;
}

.bl-sidebar {
  position: sticky;
  top: 100px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.bl-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.bl-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl-recent a {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s;
}

.bl-recent a:hover { color: var(--red); }

@media (max-width: 1024px) {
  .bl-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bl-sidebar {
    position: static;
    order: -1;
  }

  .bl-recent {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px 20px;
  }
}

@media (max-width: 720px) {
  .page-blog .bl-hero { padding: 120px 0 52px; }
  .bl-card-more { color: var(--red); }
}

/* BLOG POST (SINGLE) */
.page-post .bp-hero {
  position: relative;
  padding: 132px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-post .bp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.bp-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bp-crumb a { color: var(--red); font-weight: 600; text-decoration: none; }
.bp-crumb a:hover { color: var(--red-deep); }

.bp-cat {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 14px;
}

.page-post .bp-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
}

.bp-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.bp-meta span { font-weight: 500; color: var(--ink); }

.bp-body-section {
  background: var(--bg);
}

.bp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.bp-article {
  min-width: 0;
}

.bp-featured {
  margin: 0 0 32px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.bp-featured img,
.bp-inline-fig img {
  width: 100%;
  height: auto;
  display: block;
}

.bp-inline-fig {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bp-content.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.bp-content.prose > * + * { margin-top: 1.15em; }

.bp-content.prose h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  margin-top: 2em;
  scroll-margin-top: 100px;
}

.bp-content.prose h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  margin-top: 1.6em;
}

.bp-content.prose ul,
.bp-content.prose ol {
  padding-left: 1.35em;
}

.bp-content.prose li + li { margin-top: 0.45em; }

.bp-content.prose a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-content.prose a:hover { color: var(--red-deep); }

.bp-toc {
  margin: 28px 0 36px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.bp-toc-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.bp-toc ol {
  margin: 0;
  padding-left: 1.25em;
}

.bp-toc li + li { margin-top: 8px; }

.bp-toc a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.bp-toc a:hover { color: var(--red); }

.bp-sidebar { top: 100px; }

.bp-post-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 28px 48px;
  max-width: calc(var(--maxw) + 56px);
}

.bp-nav-link {
  display: block;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.bp-nav-link:hover {
  border-color: rgba(214, 42, 48, 0.25);
  transform: translateY(-2px);
}

.bp-nav-label {
  display: block;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}

.bp-nav-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.bp-related {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
}

.bp-related-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 28px;
}

.bp-related-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

@media (max-width: 1024px) {
  .bp-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bp-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .page-post .bp-hero { padding: 112px 0 40px; }
  .bp-content.prose { font-size: 16px; }
}

/* LOCAL SEO — Noida landing pages */
.sec-lead {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  max-width: 56ch;
}

.loc-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.loc-trust li {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.loc-trust strong {
  color: var(--ink);
  font-weight: 700;
}

/* Hero quote form — local landing pages */
.page-local .pg-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
}

.loc-hero-form {
  margin: 0;
  align-self: start;
  position: sticky;
  top: 100px;
}

.loc-form-card {
  padding: 28px 26px 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.loc-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
}

.loc-form-card h2 {
  font-size: clamp(22px, 2.5vw, 26px);
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--ink);
}

.loc-form-note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.loc-form .loc-field {
  margin-bottom: 14px;
}

.loc-form .loc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.loc-form .req { color: var(--red); }

.loc-form input {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.loc-form input::placeholder { color: #9a9088; }

.loc-form input:focus {
  outline: none;
  border-color: rgba(214, 42, 48, 0.45);
  box-shadow: 0 0 0 3px rgba(214, 42, 48, 0.1);
}

.loc-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.loc-form-status {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.loc-compare {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.loc-compare-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.loc-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.loc-compare-table th,
.loc-compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.loc-compare-table thead th {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-tint);
}

.loc-compare-table tbody tr:last-child td { border-bottom: 0; }

.loc-compare-table tbody tr:hover td {
  background: rgba(214, 42, 48, 0.03);
}

.loc-compare-us {
  background: rgba(214, 42, 48, 0.04);
  font-weight: 600;
  color: var(--ink);
}

.loc-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 160, 80, 0.12);
  color: #1a8a45;
  font-weight: 700;
}

.loc-no {
  color: var(--muted);
  opacity: 0.5;
}

.loc-partial {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* PPC / campaign landing — web design */
body.page-landing {
  --section-y: 44px;
  --section-y-sm: 36px;
  --sec-head-mb: 22px;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

body.page-landing .pg-hero {
  padding: calc(var(--nav-h) + 10px) 0 36px;
}

.page-landing .pg-hero-visual { display: none; }

.page-landing .pg-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(20px, 3.5vw, 32px);
}

body.page-landing .pg-lede {
  margin-top: 14px;
}

body.page-landing .lp-hero-google {
  margin-top: 12px;
}

body.page-landing .loc-trust {
  margin-top: 14px;
  gap: 8px;
}

body.page-landing .loc-form-card {
  padding: 20px 18px 18px;
}

body.page-landing .sec-head h2 {
  margin-top: 10px;
}

body.page-landing .sec-head p {
  margin-top: 8px;
  font-size: 16px;
}

body.page-landing .pg-split {
  gap: 24px;
}

body.page-landing .cases-grid {
  gap: 16px;
}

.page-landing .cases-grid .case-media {
  aspect-ratio: 16 / 10;
  background: #2a2522;
  line-height: 0;
}

.page-landing .cases-grid .case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.page-landing .cases-grid .case-media--logo {
  background: var(--bg-tint);
  padding: 24px;
}

.page-landing .cases-grid .case-media--logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page-landing .cases-carousel {
  position: relative;
}

.page-landing .cases-viewport {
  min-width: 0;
}

.page-landing .cases-arrow {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px -14px rgba(70, 60, 55, 0.35);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.page-landing .cases-arrow:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: scale(1.05);
}

.page-landing .cases-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .page-landing .cases-carousel {
    display: block;
    margin-top: 4px;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
  }

  .page-landing .cases-viewport {
    overflow: hidden;
    padding: 4px var(--gutter) 8px;
  }

  .page-landing .cases-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.55s var(--ease);
    will-change: transform;
  }

  .page-landing .cases-grid .case-card {
    flex: 0 0 auto;
    min-width: 0;
    align-self: flex-start;
    height: auto;
  }

  .page-landing .cases-grid .case-body {
    flex: 0 0 auto;
    padding: 16px 16px 18px;
  }

  .page-landing .cases-grid .case-tags {
    margin-bottom: 8px;
    gap: 6px;
  }

  .page-landing .cases-grid .case-tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  .page-landing .cases-grid .case-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .page-landing .cases-grid .case-summary {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-landing .cases-grid .case-metrics {
    margin-top: 0;
    padding-top: 12px;
    gap: 8px 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-landing .cases-grid .case-metric strong {
    font-size: 14px;
  }

  .page-landing .cases-grid .case-metric span {
    font-size: 10px;
    margin-top: 2px;
  }

  .page-landing .cases-grid .case-link {
    margin-top: 12px;
    font-size: 13px;
  }

  .page-landing .cases-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 0 var(--gutter);
  }

  .page-landing .cases-carousel-controls .cases-arrow {
    display: flex;
  }
}

.page-landing .cases-carousel-controls {
  display: none;
}

body.page-landing .cases-foot {
  margin-top: 24px;
}

.page-landing .lp-value {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 4.5vw, 48px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
}

.page-landing .lp-value-intro {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.page-landing .lp-value-stats {
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.page-landing .lp-value-stats-heading {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 22ch;
}

body.page-landing .lp-value-stats .pg-stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .page-landing .lp-value-stats {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px 36px;
    align-items: start;
  }

  .page-landing .lp-value-stats-heading {
    margin-bottom: 0;
    max-width: 14ch;
    font-size: clamp(22px, 2.5vw, 30px);
  }
}

body.page-landing .pg-stats-grid {
  gap: 12px;
}

body.page-landing .pg-stat {
  padding: 18px 16px;
}

body.page-landing .pg-process-layout {
  gap: 24px;
}

body.page-landing .pg-process-intro h2 {
  margin-top: 10px;
}

body.page-landing .pg-process-intro p {
  margin-top: 10px;
}

body.page-landing .pg-why-grid {
  gap: 10px;
}

body.page-landing .pg-why-cta {
  margin-top: 18px;
}

body.page-landing .tst-intro,
body.page-landing .grev-intro {
  margin-bottom: 24px;
}

body.page-landing .tst-intro h2,
body.page-landing .grev-intro h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.8vw, 40px);
}

body.page-landing .tst-lede,
body.page-landing .grev-lede {
  margin-top: 10px;
}

body.page-landing .grev-summary {
  margin-bottom: 24px;
}

body.page-landing .tst-foot {
  margin-top: 24px;
}

.page-landing .lp-pricing-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-top: 28px;
  padding: 22px clamp(20px, 4vw, 32px);
  border-radius: 16px;
  background: #faf5ef;
  border: 1px solid var(--line);
}

.page-landing .lp-pricing-cta__copy {
  min-width: min(100%, 280px);
  flex: 1 1 280px;
}

.page-landing .lp-pricing-cta__title {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.page-landing .lp-pricing-cta__price {
  color: #d73d2e;
  font-weight: 700;
}

.page-landing .lp-pricing-cta__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}

.page-landing .lp-pricing-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 12px;
  background: #d73d2e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.page-landing .lp-pricing-cta__btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.page-landing .lp-pricing-cta__arrow {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 640px) {
  .page-landing .lp-pricing-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .page-landing .lp-pricing-cta__btn {
    width: 100%;
  }
}

body.page-landing .pg-faq-split {
  gap: 24px;
}

body.page-landing .trust-top h2 {
  margin-top: 10px;
}

body.page-landing .trust-top p {
  margin-top: 10px;
}

body.page-landing .trust-marquees {
  margin-top: 8px;
}

body.page-landing .tech-categories {
  margin-top: 12px;
}

body.page-landing .pg-why-item {
  padding: 12px 14px;
}

body.page-landing .cta-card {
  padding: clamp(32px, 4.5vw, 48px) clamp(22px, 4vw, 40px);
}

body.page-landing .cta-card h2 {
  margin-top: 14px;
}

body.page-landing .cta-card p {
  margin-top: 12px;
}

body.page-landing .cta-actions {
  margin-top: 18px;
}

.page-landing .lp-value .pg-stat h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
}

.page-landing .cases.pad {
  border-top: 1px solid var(--line);
}

.page-landing .pg-process.pad,
.page-landing .pg-why.pad,
.page-landing .tst.pad,
.page-landing .grev.pad {
  border-top: 1px solid var(--line);
}

.lp-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lp-proof-card {
  display: block;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.lp-proof-card:hover {
  border-color: rgba(214, 42, 48, 0.35);
  transform: translateY(-2px);
}

.lp-proof-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
}

.lp-proof-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.lp-proof-card .go {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.lp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.lp-sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

.page-landing .lp-sticky-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  right: 16px;
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  pointer-events: none;
}

.page-landing .lp-sticky-cta__btn {
  pointer-events: auto;
  width: auto;
  min-width: min(100%, 280px);
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  box-shadow:
    0 12px 32px -8px rgba(214, 42, 48, 0.45),
    0 4px 14px -4px rgba(70, 60, 55, 0.25);
  justify-content: center;
}

.page-landing .lp-sticky-cta__btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .lp-proof-grid { grid-template-columns: 1fr; }

  .page-landing .lp-sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .page-landing .lp-sticky-cta__btn {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .lp-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-landing .pg-hero-inner { grid-template-columns: 1fr; }
  .page-landing .loc-hero-form { position: static; }
}

.page-landing .lp-form-price {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.page-landing .lp-form-price strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35em;
  color: var(--red);
}

.page-landing .lp-form-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(214, 42, 48, 0.08);
  border: 1px solid rgba(214, 42, 48, 0.2);
  font-size: 13.5px;
  color: var(--ink);
  text-align: center;
}

.page-landing .lp-form-urgency strong {
  font-weight: 700;
  color: var(--red);
}

.page-landing .lp-hero-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 16px 10px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.page-landing .lp-hero-google:hover {
  border-color: rgba(66, 133, 244, 0.35);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.page-landing .lp-hero-google__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.page-landing .lp-hero-google__rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-landing .lp-hero-google__num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-landing .lp-hero-google__stars {
  color: #fbbc04;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.page-landing .lp-portfolio {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.page-landing .lp-portfolio .sec-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-landing .lp-portfolio .sec-lead {
  margin-left: auto;
  margin-right: auto;
}

.page-landing .lp-portfolio-foot {
  margin-top: 28px;
  text-align: center;
}

.page-landing .pf-toolbar {
  margin-top: 24px;
}

.page-landing .pg-faq.pad .wrap {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-landing .pg-faq-split {
  display: block;
  text-align: center;
}

.page-landing .pg-faq-split > div:first-child p {
  margin-left: auto;
  margin-right: auto;
}

.page-landing .pg-faq-list {
  margin-top: 18px;
  text-align: left;
}

.page-landing .pg-faq-item summary {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 44px;
}

.page-landing .pg-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #463C37;
  background: transparent;
  color: #463C37;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  text-align: center;
  box-sizing: border-box;
}

.page-landing .pg-faq-item[open] summary::after {
  content: "−";
  line-height: 22px;
}

.page-landing .tst-intro,
.page-landing .grev-intro {
  text-align: center;
}

.page-landing .grev-intro h2 {
  margin-top: 0;
}

.page-landing .tst-lede,
.page-landing .grev-lede {
  margin-left: auto;
  margin-right: auto;
}

.page-landing .grev-summary {
  justify-content: center;
}

.page-landing .grev-summary--banner {
  flex-wrap: nowrap;
  gap: 16px 18px;
  padding: 12px 18px 14px;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.page-landing .grev-summary--banner .grev-google-mark {
  flex-shrink: 0;
}

.page-landing .grev-score--inline {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-width: 0;
}

.page-landing .grev-summary--compact .grev-stars {
  font-size: 22px;
  letter-spacing: 3px;
  margin: 0;
}

.page-landing .grev-stars--warm {
  background: linear-gradient(
    90deg,
    #2c241c 0%,
    #4a3728 22%,
    #9a5c12 55%,
    #e8940a 82%,
    #fbbc04 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-landing .grev-summary--compact .grev-num {
  font-size: 46px;
}

.loc-why { background: var(--bg-tint); }

.loc-services { background: var(--bg); }

.loc-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.loc-svc-card {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.loc-svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 42, 48, 0.2);
  box-shadow: var(--shadow-card);
}

.loc-svc-num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.loc-svc-card h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}

.loc-svc-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.loc-benefits {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.loc-ben-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.loc-ben-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
}

.loc-ben-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}

.loc-ben-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.loc-strip {
  background: var(--navy);
  color: #E8DDD0;
  padding: 48px 0;
}

.loc-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.loc-strip .eyebrow { color: var(--red); }

.loc-strip h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #FAF5EF;
  margin: 8px 0;
}

.loc-strip p {
  font-size: 15px;
  color: #B8AB9C;
  margin: 0;
}

.loc-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.loc-strip .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #F0E8DC;
}

.loc-strip .btn-ghost:hover {
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 1024px) {
  .loc-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .loc-svc-grid,
  .loc-ben-grid { grid-template-columns: 1fr; }
  .loc-strip-inner { flex-direction: column; align-items: flex-start; }
  .loc-trust { gap: 8px; }
  .loc-trust li { font-size: 12px; padding: 6px 12px; }
  .loc-hero-form { position: static; max-width: none; width: 100%; }
  .page-local .pg-hero-inner { gap: 28px; }
}

/* ── Homepage promo modal ── */
body.promo-modal-open { overflow: hidden; }

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.promo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 22, 0.62);
}

.promo-modal-card {
  position: relative;
  width: min(100%, 820px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-modal.is-open .promo-modal-card {
  transform: translateY(0) scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #6B6560;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.promo-modal-close:hover {
  background: #fff;
  color: var(--ink);
}

.promo-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 420px;
}

.promo-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px 40px;
}

.promo-modal-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
}

.promo-modal-lede {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: #5C5650;
  max-width: 34ch;
}

.promo-modal-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.promo-modal-lede code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--red);
  background: rgba(214, 42, 48, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.promo-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.promo-modal-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D8D2CA;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.promo-modal-form input::placeholder { color: #A8A29C; }

.promo-modal-form input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(69, 59, 54, 0.12);
}

.promo-modal-submit {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.promo-modal-submit:hover {
  background: #362F2B;
}

.promo-modal-submit:active { transform: scale(0.99); }

.promo-modal-skip {
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  color: #8A8480;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.promo-modal-skip:hover { color: var(--ink); }

.promo-modal-visual {
  margin: 0;
  min-height: 100%;
  background: #EDE7DF;
}

.promo-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 720px) {
  .promo-modal { padding: 12px; align-items: flex-end; }

  .promo-modal-card {
    border-radius: 14px 14px 0 0;
    max-height: calc(100vh - 12px);
    overflow-y: auto;
  }

  .promo-modal-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .promo-modal-visual {
    order: -1;
    max-height: 200px;
  }

  .promo-modal-content {
    padding: 32px 24px 28px;
  }

  .promo-modal-form { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal,
  .promo-modal-card { transition: none; }
}

/* ——— Professional elevation ——— */

.eyebrow::before {
  content: "";
  width: 2px;
  height: 0.95em;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
  letter-spacing: 0;
}

.eyebrow::after {
  display: none;
}

.btn {
  border-radius: 10px;
  letter-spacing: -0.01em;
}

.btn-primary {
  box-shadow: 0 8px 20px -10px rgba(70, 60, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(70, 60, 55, 0.42);
}

.btn:hover .arr { transform: translate(2px, -2px); }

.nav-links > a,
.nav-trigger { font-weight: 500; }

.nav-links > a:hover,
.nav-item.open > .nav-trigger,
.nav-trigger:hover,
header.nav.mega-open .nav-item.has-mega .nav-trigger {
  font-weight: 500;
}

header.nav.scrolled,
header.nav.mega-open {
  background: rgba(253, 249, 244, 0.94);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 1px 0 rgba(70, 60, 55, 0.04), 0 12px 40px -24px rgba(70, 60, 55, 0.12);
}

.hero h1 {
  font-weight: 700;
  max-width: 16ch;
  letter-spacing: -0.025em;
}

.hero p.lede {
  line-height: 1.6;
  max-width: 48ch;
}

.clocks {
  background: var(--surface);
  border-color: var(--line-strong);
}

.clock .city {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.clock .city::before {
  box-shadow: none;
  animation: none;
  background: var(--steel);
}

.clock .meta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
}

.clocks-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.stats::before {
  height: 1px;
  background: var(--line-strong);
  opacity: 1;
}

.stat .num {
  letter-spacing: -0.03em;
}

.trust-top h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  margin-top: 16px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.trust-stats li {
  background: var(--surface);
  border-color: var(--line-strong);
  font-size: 12.5px;
}

.card {
  background: var(--surface);
  border-color: var(--line-strong);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.mega-ic {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--navy);
}

.mega-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.mega-eyebrow::before,
.mega-eyebrow::after { display: none; }

.foot-news-title {
  letter-spacing: -0.02em;
}

/* CASE STUDIES */
.cases {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.35s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(70, 60, 55, 0.14);
}

.case-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.55s var(--ease-out);
}

.case-card:hover .case-media img { transform: scale(1.03); }

.case-media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.case-media--logo img {
  width: auto;
  height: auto;
  max-width: 58%;
  max-height: 68%;
  object-fit: contain;
}

.case-card:hover .case-media--logo img { transform: scale(1.05); }

.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.case-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(214, 42, 48, 0.06);
  border: 1px solid rgba(214, 42, 48, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
}

.case-tag--muted {
  color: var(--muted);
  background: var(--bg);
  border-color: var(--line);
}

.case-title {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.case-title a { color: var(--ink); transition: color 0.2s; }
.case-title a:hover { color: var(--red); }

.case-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-metric {
  text-align: center;
}

.case-metric strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.case-metric span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted-2);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.case-link:hover { color: var(--red-deep); }

.cases-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: var(--sec-head-mb);
}

.cases--portfolio {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cases--portfolio .sec-head { margin-bottom: var(--sec-head-mb); }

/* TEAM STRIP */
.team-strip {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.team-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: var(--sec-head-mb);
}

.team-strip-head .sec-head { margin-bottom: 0; }

.team-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.team-card-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.team-card:hover .team-card-photo img { transform: scale(1.03); }

.team-card-body { padding: 22px 22px 24px; }

.team-card-role {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.team-card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.team-card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.trust-logo-tile img {
  max-width: 108px;
  max-height: 40px;
}

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-strip-grid { grid-template-columns: 1fr; }

  .team-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metric { text-align: left; }
}

/* ── Case study (long-form client story) ── */

.page-case-study .cs-hero-band {
  position: relative;
  padding: calc(var(--nav-h) + 28px) 0 clamp(36px, 5vw, 48px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-case-study .cs-hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 400px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-case-study .cs-hero-split:has(.cs-hero-facts[hidden]) {
  grid-template-columns: 1fr;
}

.page-case-study .cs-hero-copy {
  text-align: left;
  min-width: 0;
}

.page-case-study .cs-hero-copy .pf-crumb {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.page-case-study .cs-hero-copy .eyebrow {
  justify-content: flex-start;
}

.page-case-study .cs-hero-copy h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 10px;
  text-align: left;
}

.page-case-study .cs-hero-copy .pf-lede {
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text);
  text-align: left;
  max-width: 54ch;
}

.page-case-study .cs-hero-live {
  margin-top: 14px;
}

.page-case-study .cs-hero-live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.page-case-study .cs-hero-live-link:hover {
  color: var(--red-deep);
}

.page-case-study .cs-hero-live-link .arr {
  font-size: 13px;
}

.page-case-study .cs-hero-facts {
  min-width: 0;
}

.page-case-study .cs-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-case-study .cs-fact-grid .pg-stat {
  padding: 14px 12px;
  border-radius: 14px;
  text-align: left;
}

.page-case-study .cs-fact-grid .pg-stat:hover {
  transform: translateY(-2px);
}

.page-case-study .cs-fact-grid .pg-stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 6px;
  line-height: 1.15;
}

.page-case-study .cs-fact-grid .pg-stat h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.page-case-study .cs-fact-grid .pg-stat p {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.page-case-study .pf-hero-inner {
  max-width: 880px;
}

.page-case-study .cs-main {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(24px, 4vw, 40px);
}

.page-case-study .cs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.page-case-study .cs-toc {
  display: none;
}

.page-case-study .cs-toc-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-case-study .cs-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-case-study .cs-toc-link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-case-study .cs-toc-link:hover {
  color: var(--ink);
  background: var(--bg-tint);
}

.page-case-study .cs-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 22px);
  min-width: 0;
}

.page-case-study .cs-block {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.page-case-study .cs-block--tint {
  background: var(--bg-tint);
  border-color: var(--line);
}

.page-case-study .cs-block-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: clamp(18px, 2.5vw, 24px);
  padding-bottom: clamp(16px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
}

.page-case-study .cs-block-head--compact {
  grid-template-columns: minmax(0, 1fr);
}

.page-case-study .cs-block-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-case-study .cs-block--tint .cs-block-num {
  background: var(--surface);
}

.page-case-study .cs-block-head-text .eyebrow {
  justify-content: flex-start;
  margin-bottom: 6px;
}

.page-case-study .cs-block-head-text h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.page-case-study .cs-block-body.prose {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.page-case-study .cs-block-body.prose > * {
  max-width: none;
}

.page-case-study .cs-block-body.prose > p {
  font-size: inherit;
  line-height: inherit;
}

.page-case-study .cs-block-lead {
  font-size: inherit;
  color: var(--text);
  margin-bottom: 0.5em;
}

.page-case-study .cs-block-body.prose ul.cs-tick {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.page-case-study .cs-phase {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-case-study .cs-phase-item {
  padding: clamp(18px, 2.5vw, 22px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-tint);
}

.page-case-study .cs-block--tint .cs-phase-item {
  background: var(--surface);
}

.page-case-study .cs-phase-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.page-case-study .cs-phase-item h3 {
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}

.page-case-study .cs-foot-bar {
  border-top: 1px solid var(--line);
  padding: 20px 0 8px;
}

.page-case-study .cs-foot-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.page-case-study .cs-foot-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.page-case-study .cs-foot-link:hover {
  color: var(--red);
}

.page-case-study .cs-foot-link--muted {
  font-weight: 500;
  color: var(--muted);
}

.page-case-study .cs-foot-link--muted:hover {
  color: var(--red);
}

.page-case-study .cs-block--quote {
  border-color: var(--line-strong);
}

.page-case-study .cs-quote-card {
  margin: 0;
  padding: clamp(22px, 3vw, 28px);
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-tint) 100%);
}

.page-case-study .cs-quote-card .cs-quote-text {
  margin: 0;
  padding: 0;
  border: none;
}

.page-case-study .cs-quote-card .cs-quote-text p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.page-case-study .cs-quote-card .cs-quote-cite {
  margin-top: 18px;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.page-case-study .cs-quote-card .cs-quote-cite cite {
  display: block;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.page-case-study .cs-quote-card .cs-quote-cite > span {
  display: block;
  margin-top: 4px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--muted);
}

.page-case-study .cs-quote-card .cs-quote-note {
  margin: 10px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.page-case-study [hidden].cs-section--off {
  display: none !important;
}

.page-case-study .cs-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 32px);
  align-items: start;
}

.page-case-study .cs-testimonial:has(.cs-video-vert:not([hidden])) {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.page-case-study .cs-testimonial:has(.cs-video-vert:not([hidden])) .cs-quote-card {
  margin: 0;
}

.page-case-study .cs-video-vert {
  width: 100%;
  max-width: min(360px, 100%);
  margin: 0 auto;
}

.page-case-study .cs-testimonial:has(.cs-video-vert:not([hidden])) .cs-video-vert {
  margin: 0;
  max-width: 340px;
}

.page-case-study .cs-video-vert__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.page-case-study .cs-video-vert__player,
.page-case-study .cs-video-vert__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
  background: #0a1628;
}

@media (max-width: 767px) {
  .page-case-study .cs-testimonial:has(.cs-video-vert:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1080px) {
  .page-case-study .cs-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(40px, 5vw, 56px);
  }

  .page-case-study .cs-toc {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    padding: 16px 0;
  }
}

.pf-card--case-study .pf-card-tag { color: var(--red); }

.cs-tick {
  list-style: none;
  margin-top: 8px;
}

.page-case-study .cs-tick li {
  max-width: none;
}

.page-case-study .cs-callout p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.page-case-study .cs-table {
  font-family: "Inter", sans-serif;
}

.page-case-study .cs-table thead th {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-case-study .cs-table td {
  font-size: 14px;
}

.page-case-study .cs-table-lead {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

/* Tables sit inside section cards — match stone palette, avoid bright white boxes */
.page-case-study .cs-block .cs-table-wrap {
  background: var(--bg);
  border-color: var(--line);
}

.page-case-study .cs-block--tint .cs-table-wrap {
  background: var(--surface);
  border-color: var(--line);
}

.page-case-study .cs-block .cs-table td {
  background: var(--bg);
}

.page-case-study .cs-block--tint .cs-table td {
  background: var(--surface);
}

.page-case-study .cs-block .cs-table-lead {
  background: var(--bg-tint);
}

.page-case-study .cs-block--tint .cs-table-lead {
  background: var(--bg);
}

.page-case-study .cs-statcard h3 {
  font-size: 16px;
}

.page-case-study .cs-statcard p {
  font-family: "Inter", sans-serif;
}

.page-case-study .pf-crumb {
  font-family: "Inter", sans-serif;
}

.page-case-study .cs-table-wrap,
.page-case-study .cs-statcards,
.page-case-study .cs-callout {
  margin-top: 1.25em;
}

.page-case-study .pf-hero .eyebrow {
  justify-content: center;
}

@media (max-width: 960px) {
  .page-case-study .cs-hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-case-study .cs-hero-copy .pf-lede {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .page-case-study .cs-fact-grid {
    grid-template-columns: 1fr;
  }

  .page-case-study .cs-block-head {
    grid-template-columns: 1fr;
  }

  .page-case-study .cs-block-num {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 4px;
  }
}

.page-case-study .cs-quote .cs-reading {
  padding-left: 0;
  padding-right: 0;
}

.cs-tick li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  max-width: 68ch;
}

.page-case-study .cs-block-body.prose .cs-tick li {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  max-width: none;
}

.cs-tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-numbered {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 32px;
}

.cs-numbered-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-numbered-body { min-width: 0; flex: 1; }

.cs-numbered-body h3 {
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.cs-callout {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--red);
  border-radius: 0 14px 14px 0;
}

.cs-callout p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  font-style: italic;
  max-width: none;
}

.cs-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.cs-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #DDD2C4;
  background: var(--navy);
  border-bottom: 1px solid rgba(221, 210, 196, 0.15);
}

.cs-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  color: var(--text);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.cs-table tbody tr:last-child td {
  border-bottom: none;
}

.cs-table-lead {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-tint);
}

.cs-table--compare .cs-table-lead {
  width: 42%;
  min-width: 11rem;
}

.cs-table:not(.cs-table--compare) .cs-table-lead {
  width: 26%;
  min-width: 8.5rem;
}

.cs-table--compare td:nth-child(2),
.cs-table--compare td:nth-child(3) {
  width: 29%;
}

@media (max-width: 640px) {
  .cs-table {
    min-width: 480px;
  }

  .cs-table td {
    padding: 11px 14px;
    font-size: 13px;
  }
}

.cs-statcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 720px) {
  .page-case-study .cs-statcards {
    grid-template-columns: 1fr;
  }
}

.cs-statcard {
  padding: 20px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.cs-statcard:hover {
  border-color: rgba(214, 42, 48, 0.25);
  box-shadow: var(--shadow-soft);
}

.cs-statcard h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.cs-statcard p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.cs-quote {
  padding: var(--section-y) 0;
  background: var(--navy);
  color: #F5F0EA;
}

.cs-quote-inner { max-width: 760px; }

.cs-quote-text {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--red);
}

.cs-quote-text p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: #F5F0EA;
}

.cs-quote-cite {
  margin-top: 20px;
  padding-left: 22px;
}

.cs-quote-cite cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.cs-quote-cite > span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: rgba(245, 240, 234, 0.72);
}

.cs-quote-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(245, 240, 234, 0.5);
  font-style: italic;
}

