/* =====================================================
   The Software Agency — sister company of The Online Agency
   Design language: stark grotesque, black/paper section
   rhythm, oversized rounded cards, TOA yellow accent
   ===================================================== */

:root {
  --black: #0a0a0a;
  --ink: #131313;
  --ink-soft: #1d1d1d;
  --paper: #e6e6e3;
  --paper-soft: #efefec;
  --white: #fdfdfc;
  --grey: #8d8d8a;
  --grey-dark: #5f5f5c;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(10, 10, 10, 0.14);
  --yellow: #ffcc33;
  --yellow-soft: rgba(255, 204, 51, 0.14);
  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(1.4rem, 4vw, 4rem);
}

/* Case-study color worlds */
body[data-theme="flippin"]   { --cs: #1f7a3d; --cs-soft: #ddeede; --cs-deep: #0d2c17; }
body[data-theme="hoom"]      { --cs: #5b4ee4; --cs-soft: #e4e1fb; --cs-deep: #1b1547; }
body[data-theme="getrugby"]  { --cs: #1c9ad6; --cs-soft: #d9edf7; --cs-deep: #0a2f42; }
body[data-theme="simgear"]   { --cs: #d63a2e; --cs-soft: #f6ddda; --cs-deep: #2a0f0c; }
body[data-theme="lastcall"]  { --cs: #1e9e58; --cs-soft: #dcf1e4; --cs-deep: #0a3320; }
body[data-theme="petly"]     { --cs: #0f9b8e; --cs-soft: #d8efed; --cs-deep: #073431; }
body[data-theme="artisan"]   { --cs: #b56a2f; --cs-soft: #f3e4d6; --cs-deep: #3a2008; }
body[data-theme="afrihunt"]  { --cs: #6d7a3a; --cs-soft: #e8ebd8; --cs-deep: #23290f; }
body[data-theme="taskhub"]   { --cs: #2f6bd8; --cs-soft: #dde7f8; --cs-deep: #0d1f45; }
body[data-theme="classconnect"]   { --cs: #d8552f; --cs-soft: #f8e2da; --cs-deep: #431507; }
body[data-theme="leadgenie"] { --cs: #26200f; --cs-soft: #f0e9d2; --cs-deep: #0d0b04; }
body[data-theme="toacal"]    { --cs: #c19a17; --cs-soft: #f5ecce; --cs-deep: #3a2d02; }
body[data-theme="seoranker"] { --cs: #148577; --cs-soft: #d7ede9; --cs-deep: #032b26; }
body[data-theme="breaktime"] { --cs: #d8358a; --cs-soft: #f8dcec; --cs-deep: #430827; }
body[data-theme="testifi"]   { --cs: #2a9ab0; --cs-soft: #dceef2; --cs-deep: #082f37; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn 0.6s ease both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; transition: opacity 0.3s ease; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--yellow); color: var(--black); }

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Section shells */
.sec--dark { background: var(--black); color: var(--white); }
.sec--light { background: var(--paper); color: var(--ink); }

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  body { animation: none; }
}

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1001;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--yellow); transition: transform 0.15s ease; }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 204, 51, 0.55);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--yellow); }
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0.5); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Pills (buttons) ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.7rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.pill i { font-style: normal; font-size: 0.85em; transition: transform 0.3s var(--ease); }
.pill:hover i { transform: translate(2px, -2px); }
.pill--soft { background: var(--ink-soft); color: var(--white); }
.pill--soft:hover { background: #2a2a2a; transform: translateY(-2px); }
.pill--dark { background: var(--ink); color: var(--white); }
.pill--dark:hover { background: #000; transform: translateY(-2px); }
.pill--light { background: var(--paper-soft); color: var(--ink); }
.pill--light:hover { transform: translateY(-2px); }
.pill--yellow { background: var(--yellow); color: var(--black); }
.pill--yellow:hover { background: #ffd95c; transform: translateY(-2px); }

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark {
  width: 92px; height: 92px;
  background: var(--yellow);
  border-radius: 12px 12px 40px 12px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--black);
  animation: loaderPulse 1s ease infinite alternate;
}
@keyframes loaderPulse { from { transform: scale(0.92); } to { transform: scale(1); } }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.05rem var(--pad-x);
  color: var(--white);
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
.nav.is-scrolled {
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__links { display: flex; gap: 2.2rem; justify-self: start; }
.nav__links a { font-size: 0.95rem; font-weight: 500; opacity: 0.85; transition: opacity 0.25s, color 0.25s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; color: var(--yellow); }
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a.is-active { color: var(--ink); opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav__logo { justify-self: center; display: block; }
.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px 8px 18px 8px;
  transition: transform 0.3s var(--ease);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(-6deg); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 1.2rem; }
.nav__cta { font-size: 0.9rem; padding: 0.7rem 1.4rem; }
.nav .nav__cta { background: var(--ink-soft); color: var(--white); }
.nav.is-scrolled .nav__cta { background: var(--ink); color: var(--white); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span { width: 26px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.pill) { font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; color: var(--grey); }
.mobile-menu a:not(.pill):hover { color: var(--yellow); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad-x) 4rem;
  overflow: hidden;
  isolation: isolate;
}
/* thin-outlined geometry, like blueprint shapes */
.hero__geo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__geo i {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hero__geo i:nth-child(1) { width: 28vw; height: 28vw; border-radius: 50%; top: -10vw; right: 24vw; }
.hero__geo i:nth-child(2) { width: 22vw; height: 38vh; top: 14vh; right: 26vw; border-radius: 0; }
.hero__geo i:nth-child(3) { width: 30vw; height: 30vw; border-radius: 0 0 0 100%; top: 0; right: 0; border-left: 1px solid rgba(255,255,255,0.07); }
.hero__geo i:nth-child(4) { width: 16vw; height: 16vw; border-radius: 50%; bottom: -6vw; right: 8vw; border-color: rgba(255, 204, 51, 0.16); }
.hero__geo i:nth-child(5) { width: 1px; height: 100%; left: 50%; top: 0; border: none; background: rgba(255,255,255,0.04); }

.hero__title {
  font-size: clamp(3rem, 8.6vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.hero__line { display: block; }
.hero__line--rotator { color: var(--yellow); min-height: 1.08em; }
.rotator { display: inline-grid; }
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(55%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-55%); }

.hero__sub {
  margin-top: 2.6rem;
  max-width: 420px;
  color: var(--grey);
  font-size: 1.02rem;
}
.hero__cta { margin-top: 3.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  position: absolute;
  bottom: 2.2rem;
  right: var(--pad-x);
  font-size: 0.85rem;
  color: var(--grey);
}
.hero__badge a { color: var(--yellow); }
.hero__badge a:hover { text-decoration: underline; }

/* ===== Intro split (dark) ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-x);
  align-items: center;
}
.intro__visual {
  position: relative;
  min-height: 460px;
  border-radius: 24px 24px 24px 120px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 204, 51, 0.16), transparent 60%),
    linear-gradient(160deg, #181818, #0d0d0d);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.intro__visual .phone { position: relative; }
.intro__visual .phone:nth-child(2) { position: absolute; left: 16%; bottom: -40px; transform: rotate(-10deg) scale(0.82); opacity: 0.85; }
.intro__visual .phone:nth-child(3) { position: absolute; right: 12%; top: -30px; transform: rotate(8deg) scale(0.7); opacity: 0.7; }

/* video-in-text cutout (intro) */
.intro__visual--video { background: #0d0d0d; }
.cutout__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.18) contrast(1.06) saturate(1.1);
}
.cutout__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}
.intro__head {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2.4rem;
  max-width: 22ch;
}
.intro__list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.intro__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.12rem;
  font-weight: 500;
  transition: padding-left 0.3s var(--ease), color 0.3s;
}
.intro__list li:hover { padding-left: 0.9rem; color: var(--yellow); }
.intro__list li::before { content: "→"; color: var(--yellow); font-size: 0.95rem; }
.intro__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--grey);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.intro__link:hover { color: var(--yellow); }

/* ===== Phone (CSS mockup) ===== */
.phone {
  width: 190px;
  aspect-ratio: 9 / 18.6;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
}
.phone__screen {
  height: 100%;
  border-radius: 21px;
  overflow: hidden;
  padding: 1.5rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(170deg, #1f1f1f, #121212);
}
.phone__screen b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.phone__screen small { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }
.phone__skel { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.phone__skel i { height: 11px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.phone__skel i:nth-child(2) { width: 72%; }
.phone__skel i:nth-child(3) { width: 48%; }
.phone--yellow .phone__screen { background: linear-gradient(170deg, #4a3a09, #191204); }
.phone--yellow .phone__screen b { color: var(--yellow); }

/* phone frame holding a real app screenshot */
.phone--img .phone__screen { padding: 0; }
.phone--img .phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 21px;
}

/* ===== Logo strip ===== */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 3rem;
  padding: 2rem var(--pad-x) 3rem;
}
.logos span {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: rgba(246, 245, 242, 0.72);
  text-transform: uppercase;
  transition: color 0.3s;
}
.logos span:hover { color: var(--yellow); }

/* ===== Showcase (light sections with sliders) ===== */
.showcase { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.showcase__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 2.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 0 0 var(--pad-x);
  align-items: start;
}
.showcase__intro { position: sticky; top: 7rem; padding-bottom: 2rem; }
.showcase__intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1.6rem;
}
.showcase__intro p { color: var(--grey-dark); font-size: 1.05rem; max-width: 34ch; margin-bottom: 2rem; }

.slider-wrap { position: relative; min-width: 0; }
.slider {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  padding: 0.5rem var(--pad-x) 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__next {
  position: absolute;
  top: 38%;
  right: clamp(0.8rem, 3vw, 2.5rem);
  z-index: 5;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.slider__next:hover { transform: scale(1.07); background: var(--yellow); color: var(--ink); }

.show-card {
  flex: 0 0 min(520px, 80vw);
  scroll-snap-align: start;
  display: block;
}
.show-card__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 18px 18px 18px 110px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}
.show-card:nth-child(even) .show-card__visual { border-radius: 18px 110px 18px 18px; }
.show-card:hover .show-card__visual { transform: translateY(-8px); }
.show-card__visual .phone { transform: translateY(34px); transition: transform 0.55s var(--ease); }
.show-card:hover .show-card__visual .phone { transform: translateY(16px); }
.show-card__caption { padding: 1.4rem 0.4rem 0; }
.show-card__caption span { display: block; color: var(--grey); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.show-card__caption b { display: block; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.show-card__caption em {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-dark);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.show-card:hover .show-card__caption em { color: var(--ink); }

/* card visual color worlds */
.cv--flippin  { background: linear-gradient(150deg, #2c9653, #14512b); }
.cv--hoom     { background: linear-gradient(150deg, #7468ec, #2e2493); }
.cv--rugby    { background: linear-gradient(150deg, #2fa9e0, #0d4664); }
.cv--simgear  { background: linear-gradient(150deg, #e0503f, #571510); }
.cv--lastcall { background: linear-gradient(150deg, #2bb368, #0e4a2c); }
.cv--petly    { background: linear-gradient(150deg, #1cb3a4, #0a4a44); }
.cv--artisan  { background: linear-gradient(150deg, #cd7a3d, #5e2f10); }
.cv--buddy    { background: linear-gradient(150deg, #3d77d8, #142e63); }
.cv--afrihunt { background: linear-gradient(150deg, #7e8a4a, #2e3517); }
.cv--toa      { background: linear-gradient(150deg, #ffcc33, #8a6a10); }
.show-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 130%, rgba(0, 0, 0, 0.35), transparent 60%);
  pointer-events: none;
}
.show-card__visual .phone__screen { background: rgba(10, 10, 10, 0.82); }

/* image-backed cards */
.show-card__visual--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.show-card:hover .show-card__visual--img img { transform: scale(1.04); }
.show-card__visual--img::after { background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.4)); }

/* WIP ribbon */
.show-card__wip {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}

/* ===== Big numbered list (dark services) ===== */
.expertise {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-x);
  align-items: center;
}
.kicker {
  display: block;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.6rem;
}
.sec--light .kicker { color: var(--grey-dark); }
.kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); margin-right: 0.55rem; }
.expertise h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 2.8rem;
  max-width: 18ch;
}
.biglist { display: grid; }
.biglist a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 0.55rem 0;
  color: var(--white);
  transition: color 0.3s, padding-left 0.35s var(--ease);
}
.biglist a sup { font-size: 0.85rem; color: var(--grey); font-weight: 400; }
.biglist a i { font-style: normal; font-size: 0.5em; opacity: 0; transform: translate(-8px, 0); transition: opacity 0.3s, transform 0.3s var(--ease); color: var(--yellow); }
.biglist a:hover { color: var(--yellow); padding-left: 0.8rem; }
.biglist a:hover i { opacity: 1; transform: none; }
.expertise__cta { margin-top: 2.6rem; }
.expertise__visual {
  min-height: 440px;
  border-radius: 120px 24px 24px 24px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 80%, rgba(255, 204, 51, 0.14), transparent 60%),
    linear-gradient(200deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.expertise__visual .phone { transform: rotate(-6deg); }
.expertise__visual::before {
  content: "";
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  top: -22%;
  right: -12%;
}

/* ===== Pride / stats (light) ===== */
.pride { padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-x); }
.pride__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.pride h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  max-width: 20ch;
}
.statline { display: grid; grid-template-columns: repeat(3, 1fr); }
.statline div { border-left: 1px solid var(--line-light); padding: 0.4rem 0 2.2rem 1.2rem; }
.statline b { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; }
.statline span { color: var(--grey-dark); font-size: 0.92rem; }

/* testimonial cards */
.quotes { overflow: hidden; }
.quotes__track { display: flex; gap: 1.6rem; transition: transform 0.6s var(--ease); }
.quote-card { flex: 0 0 calc(50% - 0.8rem); min-width: 270px; }
.quote-card__visual {
  aspect-ratio: 4 / 3.4;
  border-radius: 14px 14px 70px 14px;
  display: flex;
  align-items: flex-end;
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
}
.quote-card:nth-child(even) .quote-card__visual { border-radius: 70px 14px 14px 14px; }
.quote-card__visual::before {
  content: "";
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 50%;
  background: rgba(255, 255, 255, 0.14);
  top: -16%;
  right: -10%;
}
.quote-card__visual strong {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  opacity: 0.92;
}
.quote-card blockquote { padding: 1.2rem 0.2rem 0; color: var(--grey-dark); font-size: 0.95rem; }
.quote-card blockquote b { display: block; margin-top: 0.8rem; color: var(--ink); font-weight: 500; }
.quotes__nav { margin-top: 2rem; display: flex; gap: 0.7rem; }
.quotes__nav button {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.quotes__nav button:hover { background: var(--yellow); color: var(--ink); transform: scale(1.06); }

/* ===== Recognition ===== */
.awards { padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-x); }
.awards h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 2.6rem;
  max-width: 16ch;
}
.awards__list { border-top: 1px solid var(--line-light); }
.award {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.7rem 0.4rem;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s, padding-left 0.35s var(--ease);
}
.award:hover { background: var(--white); padding-left: 1.2rem; }
.award__year { color: var(--grey-dark); font-size: 0.95rem; }
.award__title { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; }
.award__org { color: var(--grey); font-size: 0.9rem; }

/* ===== Mission band (dark) ===== */
.mission {
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x);
  text-align: left;
}
.mission h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 2.6rem;
}
.mission h2 em { font-style: normal; color: var(--grey-dark); }

/* ===== Let's talk (light, centered) ===== */
.talk {
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x);
  text-align: center;
}
.talk__kicker {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--grey);
}
.talk h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
  margin: 0 auto 2.8rem;
}

/* ===== Footer ===== */
.footer { background: var(--black); color: var(--white); overflow: hidden; }
.footer__word {
  display: block;
  font-weight: 600;
  font-size: clamp(4rem, 17.5vw, 17rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #1c1c1c;
  text-align: center;
  padding: 4rem var(--pad-x) 2rem;
  user-select: none;
  white-space: nowrap;
  transition: color 0.5s;
}
.footer__word:hover { color: var(--yellow); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding: 3rem var(--pad-x);
  border-top: 1px solid var(--line-dark);
}
.footer__brand p { color: var(--grey); font-size: 0.93rem; max-width: 320px; margin-top: 0.9rem; }
.footer__brand a { color: var(--yellow); }
.footer__brand a:hover { text-decoration: underline; }
.footer__col h4 { font-size: 0.85rem; color: var(--grey); font-weight: 500; margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__col a { display: block; padding: 0.3rem 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.6rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line-dark);
  color: var(--grey-dark);
  font-size: 0.85rem;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: clamp(10rem, 20vh, 14rem) var(--pad-x) clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.page-hero__sub { margin-top: 1.8rem; max-width: 580px; color: var(--grey); font-size: 1.1rem; }
.sec--light .page-hero__sub { color: var(--grey-dark); }
.page-hero .hero__geo i { border-color: rgba(255, 255, 255, 0.06); }
.sec--light .page-hero .hero__geo i { border-color: rgba(10, 10, 10, 0.08); }

/* ===== Work index grid ===== */
.work-page { padding: 0 var(--pad-x) clamp(4rem, 9vw, 7rem); }
.filters {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filters__label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-dark); margin-right: 0.3rem; }
.filter-btn {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  background: transparent;
  color: var(--grey-dark);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters__clear {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--grey-dark);
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filters__clear:hover { color: var(--ink); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.6rem 1.8rem;
}
@media (min-width: 1280px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
}
.work-grid .show-card { flex: none; }
.work-grid .show-card.is-filtered { display: none; }
.work-empty { display: none; text-align: center; padding: 5rem 1rem; color: var(--grey-dark); }
.work-empty.is-shown { display: block; }
.work-empty h3 { font-size: 1.6rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }

/* ===== About page ===== */
.values {
  padding: 0 var(--pad-x) clamp(4rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
}
.value-card {
  background: var(--white);
  border-radius: 14px 14px 60px 14px;
  padding: 2.2rem 2rem 2.6rem;
  transition: transform 0.4s var(--ease);
}
.value-card:nth-child(even) { border-radius: 60px 14px 14px 14px; }
.value-card:hover { transform: translateY(-6px); }
.value-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 0.8rem; }
.value-card h3::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
  margin-right: 0.55rem;
  vertical-align: middle;
}
.value-card p { color: var(--grey-dark); font-size: 0.96rem; }

.team { padding: clamp(4rem, 9vw, 7rem) var(--pad-x); }
.team h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 2.8rem; max-width: 18ch; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2.2rem 1.6rem; }
.team-card__visual {
  aspect-ratio: 1;
  border-radius: 14px 14px 80px 14px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.team-card:nth-child(even) .team-card__visual { border-radius: 80px 14px 14px 14px; }
.team-card__visual::before {
  content: "";
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  bottom: -25%; left: -15%;
}
.team-card h3 { font-size: 1.15rem; font-weight: 500; margin-top: 1.1rem; }
.team-card span { display: block; color: var(--grey-dark); font-size: 0.88rem; margin-top: 0.15rem; }
.tv--1 { background: linear-gradient(150deg, #caa42c, #6e570f); }
.tv--2 { background: linear-gradient(150deg, #3b7fd4, #1b3a64); }
.tv--3 { background: linear-gradient(150deg, #2c9653, #155230); }
.tv--4 { background: linear-gradient(150deg, #8157d8, #3a2168); }
.tv--5 { background: linear-gradient(150deg, #d8487c, #621b39); }
.tv--6 { background: linear-gradient(150deg, #e07a2a, #74400f); }

.locations { padding: clamp(4rem, 9vw, 7rem) var(--pad-x); }
.locations h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 500; margin-bottom: 2.6rem; letter-spacing: -0.03em; }
.locations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.location {
  background: var(--white);
  border-radius: 14px 14px 60px 14px;
  padding: 2.2rem 2rem 2.6rem;
}
.location:nth-child(even) { border-radius: 60px 14px 14px 14px; }
.location span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-dark); margin-bottom: 0.7rem; }
.location h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.location p { color: var(--grey-dark); font-size: 0.95rem; }

/* ===== Contact page ===== */
.contact-page {
  padding: 0 var(--pad-x) clamp(5rem, 10vw, 8rem);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-page--hero { padding-top: clamp(9rem, 18vh, 12rem); }
.contact-hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}
.contact-page--hero .page-hero__sub { margin: 0 0 3rem; }
.contact-info h2 { font-size: 1.6rem; font-weight: 500; margin-bottom: 1rem; letter-spacing: -0.02em; }
.contact-info > p { color: var(--grey-dark); margin-bottom: 2.2rem; max-width: 36ch; }
.contact-info__item { margin-bottom: 1.6rem; }
.contact-info__item span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey); margin-bottom: 0.3rem; }
.contact-info__item a { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.contact-info__item a:hover { color: var(--grey-dark); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.form {
  background: var(--white);
  border-radius: 18px 18px 90px 18px;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) clamp(2.6rem, 5vw, 4rem);
  display: grid;
  gap: 1.4rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form label { display: block; font-size: 0.85rem; color: var(--grey-dark); margin-bottom: 0.45rem; }
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--paper-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85rem 1.05rem;
  transition: border-color 0.3s, background 0.3s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.form textarea { resize: vertical; min-height: 140px; }
.form__success { display: none; text-align: center; padding: 3rem 1rem; }
.form__success.is-shown { display: block; }
.form__success h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 0.6rem; }
.form.is-sent > *:not(.form__success) { display: none; }

/* ===== Case study pages ===== */
.cs-hero {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem var(--pad-x) clamp(2rem, 5vw, 4rem);
  background: var(--cs);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cs-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 55vw; aspect-ratio: 1;
  border-radius: 50% 50% 0 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -18vw; right: -10vw;
}
.cs-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30vw; aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  bottom: -10vw; left: -8vw;
}
.cs-hero__kicker { font-size: 0.9rem; opacity: 0.8; margin-bottom: 1rem; }
.cs-hero h1 {
  font-size: clamp(3.4rem, 10vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}
.cs-hero__sub { margin: 1.6rem 0 2rem; font-size: 1.2rem; max-width: 520px; opacity: 0.88; }
.cs-hero__links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }
.cs-hero__links .pill {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.cs-hero__links .pill:hover { background: var(--white); color: var(--ink); }
/* image-backed case-study hero */
.cs-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cs-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(1.15) brightness(0.92);
  transform: scale(1.05);
}
.cs-hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--cs) 88%, black) 0%, transparent 45%),
    linear-gradient(90deg, color-mix(in srgb, var(--cs) 96%, black) 12%, color-mix(in srgb, var(--cs) 82%, transparent) 45%, color-mix(in srgb, var(--cs) 45%, transparent) 100%);
}
.cs-hero--img::before, .cs-hero--img::after { opacity: 0.45; }

/* framed screenshot feature visual (real dashboards) */
.cs-feature__visual--shot { background: var(--cs-soft); padding: clamp(1.4rem, 3vw, 2.4rem); }
.cs-feature__visual--shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
}

/* image-backed feature visual */
.cs-feature__visual--img { position: relative; }
.cs-feature__visual--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-feature__visual--img::before { display: none; }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-bottom: 1px solid var(--line-light);
}
.cs-meta div { padding: 1.8rem var(--pad-x) 1.8rem 1.8rem; border-left: 1px solid var(--line-light); }
.cs-meta div:first-child { border-left: none; }
.cs-meta span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-dark); margin-bottom: 0.35rem; }
.cs-meta b { font-weight: 500; font-size: 1.02rem; }

.cs-body { padding: clamp(4rem, 9vw, 7rem) var(--pad-x); }
.cs-body__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.cs-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; max-width: 14ch; }
.cs-body h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--cs); margin-top: 1.1rem; border-radius: 2px; }
.cs-body p { color: var(--grey-dark); font-size: 1.12rem; max-width: 60ch; }
.cs-body p + p { margin-top: 1.1rem; }

.cs-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
}
.cs-feature--flip .cs-feature__visual { order: -1; }
.cs-feature h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 1rem; }
.cs-feature p { color: var(--grey-dark); font-size: 1.05rem; }
.cs-feature ul { margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.cs-feature ul li { color: var(--grey-dark); padding-left: 1.5rem; position: relative; }
.cs-feature ul li::before { content: "→"; position: absolute; left: 0; color: var(--cs); }
.cs-feature__visual {
  border-radius: 18px 18px 18px 100px;
  background: var(--cs-soft);
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.cs-feature--flip .cs-feature__visual { border-radius: 18px 100px 18px 18px; }
.cs-feature__visual::before {
  content: "";
  position: absolute;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  top: -20%; right: -15%;
}
.cs-feature__visual .phone { transform: translateY(26px); }
.cs-feature__visual > strong {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cs);
}
.cs-feature__visual .phone__screen b { color: var(--cs); }

.cs-results { padding: clamp(4rem, 8vw, 6rem) var(--pad-x); background: var(--cs-deep); color: var(--white); }
.cs-results .kicker { color: rgba(255, 255, 255, 0.6); }
.cs-results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; margin-top: 2.4rem; }
.cs-results__grid div { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 1.3rem; }
.cs-results__grid b { display: block; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; }
.cs-results__grid span { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }

.cs-next {
  display: block;
  text-align: center;
  padding: clamp(5rem, 11vw, 8rem) var(--pad-x);
  transition: background 0.4s;
}
.cs-next:hover { background: var(--white); }
.cs-next span { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey-dark); margin-bottom: 1rem; }
.cs-next b { font-size: clamp(2.4rem, 7vw, 5.5rem); font-weight: 500; letter-spacing: -0.035em; }
.cs-next:hover b { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 10px; }

/* ===== Marquee (kept for case pages) ===== */
.marquee { overflow: hidden; padding: 1.3rem 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.marquee__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-weight: 500; font-size: 1.1rem; color: var(--grey-dark); white-space: nowrap; }
.marquee__track i { color: var(--yellow); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Intro kicker (split heading) ===== */
.intro__kicker {
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

/* ===== Logo marquee ===== */
.logos-marquee {
  overflow: hidden;
  padding: 2.2rem 0 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-marquee .marquee__track { gap: 4rem; animation-duration: 38s; }
.logos-marquee:hover .marquee__track { animation-play-state: paused; }
.logos-marquee span {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  filter: grayscale(1);
  transition: color 0.3s, filter 0.3s;
  cursor: default;
  white-space: nowrap;
}
.logos-marquee span:hover { color: var(--yellow); filter: grayscale(0); }

/* ===== App store badges ===== */
.store-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store-badge small { display: block; font-size: 0.6rem; opacity: 0.75; line-height: 1.1; }
.store-badge b { display: block; font-size: 0.95rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }

/* ===== Slider prev button ===== */
.slider__prev {
  position: absolute;
  top: 38%;
  left: clamp(0.8rem, 3vw, 2.5rem);
  z-index: 5;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, opacity 0.35s;
  opacity: 0;
  pointer-events: none;
}
.slider__prev.is-shown { opacity: 1; pointer-events: auto; }
.slider__prev:hover { transform: scale(1.07); background: var(--yellow); color: var(--ink); }

/* ===== What we do: heading hierarchy + sub ===== */
.expertise h2.expertise__title {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  max-width: 14ch;
  margin-bottom: 1.4rem;
}
.expertise__sub { color: var(--grey); font-size: 1.02rem; max-width: 46ch; margin-bottom: 2.4rem; }
.biglist--small a { font-size: clamp(1.5rem, 3vw, 2.4rem); }

/* ===== Live dashboard mock ===== */
.expertise__visual--dash {
  padding: clamp(1.2rem, 3vw, 2.5rem);
  place-items: stretch;
}
.dash {
  width: 100%;
  align-self: center;
  background: linear-gradient(170deg, #161616, #0f0f0f);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.dash__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.dash__dots { display: inline-flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dash__dots i:first-child { background: var(--yellow); }
.dash__tabs { display: inline-flex; gap: 0.35rem; background: rgba(255, 255, 255, 0.05); border-radius: 100px; padding: 0.25rem; }
.dash__tab {
  border: none;
  background: transparent;
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.dash__tab:hover { color: var(--white); }
.dash__tab.is-active { background: var(--yellow); color: var(--black); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.dash__kpis div { border-left: 1px solid var(--line-dark); padding-left: 0.9rem; }
.dash__kpis b { display: block; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; }
.dash__kpis span { font-size: 0.74rem; color: var(--grey); }
.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line-dark);
}
.dash__chart i {
  flex: 1;
  height: 8%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--yellow), rgba(255, 204, 51, 0.25));
  transition: height 0.8s var(--ease);
  min-height: 4px;
}
.dash__chart i:hover { background: var(--white); }
.dash__foot { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.78rem; color: var(--grey); }
.dash__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  animation: dashPulse 1.6s ease infinite;
}
@keyframes dashPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); } }

/* dashboard mock on case-study pages */
.cs-feature__visual .dash {
  width: min(88%, 460px);
  background: linear-gradient(170deg, #ffffff, #f4f4f2);
  border: 1px solid var(--line-light);
  color: var(--ink);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.35);
}
.cs-feature__visual .dash__dots i { background: rgba(10, 10, 10, 0.15); }
.cs-feature__visual .dash__dots i:first-child { background: var(--cs); }
.cs-feature__visual .dash__tabs { background: rgba(10, 10, 10, 0.06); }
.cs-feature__visual .dash__tab { color: var(--grey-dark); cursor: default; }
.cs-feature__visual .dash__tab.is-active { background: var(--cs); color: var(--white); }
.cs-feature__visual .dash__kpis div { border-color: var(--line-light); }
.cs-feature__visual .dash__kpis span { color: var(--grey-dark); }
.cs-feature__visual .dash__chart { border-color: var(--line-light); height: 120px; }
.cs-feature__visual .dash__chart i { background: linear-gradient(180deg, var(--cs), color-mix(in srgb, var(--cs) 30%, transparent)); }
.cs-feature__visual .dash__foot { color: var(--grey-dark); }

/* ===== Wordmark cards (products without photography yet) ===== */
.show-card__visual > strong {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  opacity: 0.94;
}
.cv--taskhub   { background: linear-gradient(150deg, #4a86e8, #16336e); }
.cv--classconnect   { background: linear-gradient(150deg, #e86c42, #6e2410); }
.cv--leadgenie { background: linear-gradient(150deg, #9a5ce8, #371a68); }
.cv--toacal    { background: linear-gradient(150deg, #e0b62c, #6e5407); }
.cv--seo       { background: linear-gradient(150deg, #23ab99, #07443d); }
.cv--breaktime { background: linear-gradient(150deg, #e84f9f, #63103e); }
.cv--testifi   { background: linear-gradient(150deg, #3db4cc, #0c3d47); }

/* ===== Footer word: TA, expands to 'The software Agency' on hover ===== */
.footer__word { cursor: default; }
.footer__word em {
  font-style: normal;
  font-weight: 500;
  font-size: 0px;
  opacity: 0;
  color: inherit;
  letter-spacing: -0.02em;
  transition: font-size 0.65s var(--ease), opacity 0.45s ease;
}
.footer__word em:nth-of-type(1) { margin-left: -0.52em; }
.footer__word em:nth-of-type(3) { margin-left: -0.14em; }
.footer__word:hover em { font-size: 0.34em; opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__intro { position: static; }
  .slider { padding-left: var(--pad-x); }
  .showcase__inner { padding-left: 0; }
}
@media (max-width: 940px) {
  .intro, .expertise, .pride__grid, .cs-feature, .contact-page, .cs-body__grid { grid-template-columns: 1fr; }
  .cs-feature--flip .cs-feature__visual { order: 0; }
  .intro__visual { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .intro__visual { min-height: 320px; }
  .intro__visual .phone:nth-child(2),
  .intro__visual .phone:nth-child(3) { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__logo { justify-self: start; }
  .nav__right { justify-self: end; }
  .statline { grid-template-columns: 1fr; gap: 1rem; }
  .quote-card { flex: 0 0 100%; }
  .form__row { grid-template-columns: 1fr; }
  .award { grid-template-columns: 70px 1fr; }
  .award__org { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr; }
  .cs-hero__stage .phone:nth-child(2) { display: none; }
}
