/* ---------- tokens ---------- */
:root {
  --bg: #f0f0f0;
  --bg-elev: #ffffff;
  --bg-elev-2: #e6e6e6;
  --text: #0A0A0A;
  --text-muted: #5B6470;
  --text-dim: #8A93A0;
  --accent: #1A1814;
  --accent-hi: #3A352E;
  --accent-soft: rgba(26, 24, 20, 0.08);
  --border: #DEDEDE;
  --border-hi: #C8C8C8;
  --divider: #C8C8C8;

  --radius-sm: 20px;
  --radius: 20px;
  --radius-lg: 20px;

  --pad-section-y: 160px;
  --pad-x: 32px;
  --max: 1240px;

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* density tweak */
[data-density="tight"] { --pad-section-y: 110px; }
[data-density="spacious"] { --pad-section-y: 200px; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }

/* dark surface utility — used inside the otherwise-light page where a dark slab is intentional */
.dark-slab { color: #F5F5F5; }
.dark-slab .text-muted { color: #9CA3AF; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--pad-section-y) 0;
  position: relative;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 18px; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 24px 60px -30px rgba(0,0,0,0.18);
  transition: transform .4s ease, opacity .4s ease;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
  padding-right: 16px;
  border-right: 1px solid var(--border-hi);
  margin-right: 6px;
}
.nav-brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-cta {
  margin-left: 6px;
  font-size: 13px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  transition: background .2s, color .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-hi); color: #fff; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-brand { border-right: 0; padding-right: 0; margin-right: 0; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .arr {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .arr { transform: translateX(3px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 30px -10px rgba(26,24,20,0.45);
}
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-lg { padding: 10px 22px; font-size: 15px; }

/* CTA with avatar (Razaq photo embedded inside the button) */
.cta-with-avatar { padding-left: 6px; }
.btn-lg.cta-with-avatar { padding-left: 8px; }
.nav-cta.cta-with-avatar { padding-left: 5px; }
.cta-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ddd;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.55);
}
.cta-avatar.lg { width: 28px; height: 28px; box-shadow: 0 0 0 2px rgba(255,255,255,0.6); }
.cta-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn-ghost .cta-avatar, .nav-cta .cta-avatar { box-shadow: 0 0 0 1.5px rgba(0,0,0,0.06); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(48px, 9vw, 124px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-sub {
  margin-top: 32px;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-muted);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-ctas { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 56px;
  display: flex; align-items: center; gap: 18px;
  color: var(--text-dim);
  font-size: 13px;
  flex-wrap: wrap;
}
.proof-avatars { display: flex; }
.proof-avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #e4e4e4, #cfcfcf);
  margin-left: -8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted); font-weight: 500;
}
.proof-avatars span:first-child { margin-left: 0; }
.proof-stars { color: #E0B96B; letter-spacing: 1px; font-size: 12px; }

/* hero bg layers */
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  left: -10%; top: 30%;
  animation: drift1 18s ease-in-out infinite alternate;
}
.hero-glow.b {
  left: auto; right: -10%; top: 0%;
  width: 700px; height: 700px;
  opacity: 0.18;
  background: radial-gradient(circle, var(--accent-hi) 0%, transparent 60%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px, -60px) scale(1.1); }
}
@keyframes drift2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-100px, 80px) scale(1.15); }
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: multiply;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, transparent 30%, rgba(240,240,240,0.85) 90%);
}

/* hide bg layers per tweak */
[data-hero-bg="flat"]    .hero-glow,
[data-hero-bg="flat"]    .hero-grid,
[data-hero-bg="flat"]    .hero-grain { display: none; }
[data-hero-bg="grain"]   .hero-glow { display: none; }
[data-hero-bg="gradient"] .hero-grain { display: none; }

/* ---------- section header ---------- */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  text-wrap: balance;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 56ch;
  text-wrap: pretty;
}
.section-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 64px;
}
.section-row .section-head { margin-bottom: 0; }

/* ---------- services ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.12);
}
.service-card {
  position: relative;
  padding: 48px 44px 52px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .35s ease, border-color .35s ease;
  cursor: default;
}
.services-grid > .service-card:nth-child(2n) { border-right: 0; }
.services-grid > .service-card:nth-last-child(-n+2) { border-bottom: 0; }
.service-card::after {
  content: ""; position: absolute; inset: -1px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .35s ease;
}
.service-card:hover { background: var(--bg-elev); box-shadow: 0 20px 40px -30px rgba(0,0,0,0.18); }
.service-card:hover::after { border-color: var(--accent); }
.service-icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 34px;
  line-height: 1;
  background: linear-gradient(180deg, #FBF7F1 0%, #F2EDE5 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--accent);
  margin-bottom: 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 8px 20px -12px rgba(26,24,20,0.18);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.service-card:hover .service-icon {
  border-color: var(--border-hi);
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 14px 28px -14px rgba(26,24,20,0.28);
}
.service-card h3 {
  font-size: 22px; font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted); font-size: 15.5px; line-height: 1.55;
}
.service-card .num {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--font-display);
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- how ---------- */
.how {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-left: 1px solid var(--border);
}
.how-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.how-step .num {
  font-family: var(--font-display);
  font-size: 80px; font-weight: 500;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 28px;
}
.how-step h3 { font-size: 22px; margin-bottom: 12px; }
.how-step p { color: var(--text-muted); font-size: 15.5px; }
.how-step .duration {
  display: inline-block; margin-top: 18px;
  font-size: 12px; color: var(--text-dim);
  font-family: var(--font-display); letter-spacing: 0.06em;
  border: 1px solid var(--border-hi);
  padding: 4px 10px; border-radius: 999px;
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ---------- work ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.work-card { text-decoration: none; color: inherit; }
.work-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .4s;
  display: flex; flex-direction: column;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.work-mock {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #0c0c0e;
}
.work-mock svg { width: 100%; height: 100%; display: block; }
.work-shot {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-shot { transform: scale(1.03); }
.work-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  /* Hide YouTube chrome edges */
  transform: scale(1.4);
  transform-origin: center;
  pointer-events: none;
}
.work-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.94) 100%);
  color: #F5F5F5;
  display: flex; flex-direction: column; gap: 8px;
}
.work-overlay .work-desc { color: #C9CDD4; }
.work-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display); font-weight: 500;
}
.work-tag .pip { width: 6px; height: 6px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,0.18); }
.work-name {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.work-name svg { color: var(--text-muted); transition: transform .3s, color .3s; }
.work-card:hover .work-name svg { color: var(--text); transform: translate(2px,-2px); }
.work-desc { color: var(--text-muted); font-size: 14.5px; max-width: 60ch; }

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- testimonials slider ---------- */
.testi-slider {
  position: relative;
  display: grid;
  grid-template-columns: 0.5fr 2fr 0.5fr;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.testi-main {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 56px 40px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.10);
  text-align: center;
  animation: fadeUp 0.45s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.testi-main .stars {
  font-size: 16px; letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 22px;
}
.testi-main blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.testi-main blockquote p { margin: 0 0 14px; }
.testi-main blockquote p:last-child { margin-bottom: 0; }
.testi-main .who {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.testi-main .who .av.lg { width: 52px; height: 52px; }
.testi-main .who .meta { text-align: left; }
.testi-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 8px;
}
.testi-stats .stat {
  background: rgba(0,0,0,0.03);
  border-radius: 18px;
  padding: 22px 26px;
  text-align: left;
}
.testi-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.testi-stats .stat-icon { color: var(--accent); font-size: 0.7em; }
.testi-stats .stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.testi-peek {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 22px;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity .25s, transform .25s;
  font-size: 12.5px;
  color: var(--text-muted);
  max-height: 280px;
  overflow: hidden;
  pointer-events: auto;
}
.testi-peek:hover { opacity: 0.7; }
.testi-peek blockquote {
  margin: 0 0 18px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-peek .who { display: flex; align-items: center; gap: 10px; }
.testi-peek .av { width: 28px; height: 28px; }
.testi-peek .name { font-size: 12.5px; }
.testi-peek .co { font-size: 11px; }
.testi-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 36px;
  background: rgba(0,0,0,0.04);
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  margin-left: auto; margin-right: auto;
}
.testi-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none; padding: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.testi-dots .dot.on { background: var(--text); transform: scale(1.15); }
@media (max-width: 960px) {
  .testi-slider { grid-template-columns: 1fr; }
  .testi-peek { display: none; }
  .testi-main { padding: 32px 24px 28px; }
}
.testi-grid { display: none; }
.testi-stage { position: relative; overflow: hidden; border-radius: 28px; }
.testi-main {
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.testi-main.in-right { animation: slideInR 0.7s cubic-bezier(.22,.61,.36,1) both; }
.testi-main.in-left  { animation: slideInL 0.7s cubic-bezier(.22,.61,.36,1) both; }
@keyframes slideInR {
  0%   { opacity: 0; transform: translate3d(60px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideInL {
  0%   { opacity: 0; transform: translate3d(-60px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* nav social buttons */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-social {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
  border: 1px solid transparent;
}
.nav-social.wa {
  background: #E8F8EE;
  border-color: rgba(37, 211, 102, 0.35);
}
.nav-social.tg {
  background: #E6F2FB;
  border-color: rgba(34, 158, 217, 0.35);
}
.nav-social.wa:hover { background: #DCF3E4; transform: translateY(-1px) scale(1.06); }
.nav-social.tg:hover { background: #D6EAF8; transform: translateY(-1px) scale(1.06); }
@media (max-width: 760px) {
  .nav-actions { gap: 6px; }
  .nav-social { width: 32px; height: 32px; }
}

/* client logo marquee */
.logo-marquee {
  position: relative;
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logoSlide 50s linear infinite;
  align-items: center;
}
.logo-item {
  flex-shrink: 0;
  height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.logo-item img {
  height: 100%; width: auto; max-width: 150px;
  object-fit: contain;
  /* Flatten every logo (black, white, or colored) into the same mid-gray silhouette */
  filter: brightness(0) invert(0.55);
  opacity: 0.75;
  transition: filter .25s, opacity .25s;
}
.logo-item:hover img { filter: brightness(0) invert(0.35); opacity: 1; }
@keyframes logoSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .logo-track { gap: 40px; animation-duration: 40s; }
  .logo-item { height: 28px; }
  .logo-marquee { padding: 22px 0; }
}
.hero-testi-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  margin-bottom: 28px;
  max-width: 100%;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: background .2s, border-color .2s, transform .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  overflow: hidden;
}
.hero-testi-pill em {
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  animation: pillFade .55s ease both;
}
.hero-testi-pill .cta-avatar { width: 32px; height: 32px; flex: 0 0 auto; animation: pillFade .55s ease both; }
.hero-testi-pill:hover { border-color: var(--border-hi); transform: translateY(-1px); }
@keyframes pillFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.testi-slider .av {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ECECEC, #D8D8D8);
  border: 1px solid var(--border-hi);
  width: 36px; height: 36px;
}
.testi-slider .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-slider .who .name { font-weight: 600; color: var(--text); display: block; }
.testi-slider .who .co { font-size: 12.5px; color: var(--text-muted); display: block; }
.testi {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px 30px;
  background: var(--bg-elev);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.testi:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.22); border-color: var(--border-hi); }
.testi .quote-mark {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--font-display);
  font-size: 64px; line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}
.testi blockquote {
  margin: 0 0 28px;
  color: #25292F;
  font-size: 16px;
  line-height: 1.6;
}
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #ECECEC, #D8D8D8);
  border: 1px solid var(--border-hi);
  overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.testi .who .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi .who .meta { display: flex; flex-direction: column; }
.testi .who .name { font-size: 14px; font-weight: 500; color: var(--text); }
.testi .who .co { font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about {
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner { max-width: 760px; margin: 0 auto; }
.about-portrait {
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 32px;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
  background: #ddd;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  margin-bottom: 32px;
  text-wrap: balance;
}
.about p {
  color: #2D323A;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.about .signature {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 13px;
}
.about .signature .line { width: 32px; height: 1px; background: var(--border-hi); }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.price {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  background: var(--bg-elev);
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.price:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.18); }
.price.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(26,24,20,0.30);
  background: linear-gradient(180deg, #FAF6EE 0%, #F4ECDF 100%);
}
.price .badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500;
}
.price .tier-name {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 600;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
}
.price .amount .currency {
  font-size: 18px; color: var(--text-muted); font-weight: 500;
  align-self: flex-start; margin-top: 8px;
}
.price .amount .per {
  font-size: 13px; color: var(--text-muted); font-weight: 400;
}
.price .desc {
  color: var(--text-muted); font-size: 14px;
  margin-top: 10px; min-height: 42px;
}
.price hr {
  border: 0; border-top: 1px solid var(--border);
  margin: 22px 0 18px;
}
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: #2D323A;
}
.price li .check {
  flex-shrink: 0; margin-top: 4px;
  width: 14px; height: 14px;
  color: var(--accent);
}
.price .price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--border-hi);
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.price .price-cta:hover { background: var(--text); color: #ffffff; border-color: var(--text); }
.price.featured .price-cta {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.price.featured .price-cta:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

@media (max-width: 1080px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-wrap {
  max-width: 880px; margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--divider);
  opacity: 1 !important;
  transform: none !important;
}
.faq-item:last-child { border-bottom: 1px solid var(--divider); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  text-align: left;
  letter-spacing: -0.005em;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent-hi); }
.faq-q,
.faq-q:focus,
.faq-q:active,
.faq-q:visited,
.faq-item.open .faq-q,
.faq-item.open .faq-q span:not(.faq-icon),
.faq-q span:not(.faq-icon) { color: var(--text) !important; }
.faq-q:hover, .faq-q:hover span:not(.faq-icon) { color: var(--accent-hi) !important; }
.faq-a p { color: var(--text-muted) !important; }

/* hero spots indicator */
.hero-spots {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  font-family: var(--font-body);
}
.hero-spots .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #19C37D;
  box-shadow: 0 0 0 0 rgba(25,195,125,0.6);
  animation: spotsPulse 2s ease-out infinite;
}
@keyframes spotsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(25,195,125,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(25,195,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,195,125,0); }
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .25s, background .25s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: var(--text-muted);
  transition: transform .3s ease, background .25s;
}
.faq-icon::before { width: 10px; height: 1.4px; }
.faq-icon::after { width: 1.4px; height: 10px; }
.faq-item.open .faq-icon { border-color: var(--accent); background: var(--accent-soft); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-item.open .faq-icon::before { background: var(--accent); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  color: var(--text-muted);
  font-size: 16px; line-height: 1.6;
  padding: 0 4px 28px;
  max-width: 70ch;
}

/* ---------- footer cta ---------- */
.foot-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.foot-cta::before {
  content: ""; position: absolute;
  width: 1100px; height: 1100px;
  border-radius: 50%;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(26,24,20,0.18) 0%, transparent 60%);
  left: 50%; bottom: -70%;
  transform: translateX(-50%);
  z-index: 0;
}
.foot-cta .container { position: relative; z-index: 1; }
.foot-cta h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
  margin-bottom: 22px;
}
.foot-cta h2 em { color: var(--accent); font-style: italic; font-weight: 500; }
.foot-cta p {
  color: var(--text-muted);
  font-size: 18px; max-width: 56ch;
  margin: 0 auto 40px;
}
.foot-cta .btn { padding: 12px 24px; font-size: 15px; }
.foot-meta {
  margin-top: 60px;
  display: flex; justify-content: center; align-items: center; gap: 22px;
  color: var(--text-muted); font-size: 14px;
  flex-wrap: wrap;
}
.foot-meta a { color: var(--text-muted); transition: color .2s; }
.foot-meta a:hover { color: var(--text); }
.foot-meta .sep { width: 4px; height: 4px; background: var(--border-hi); border-radius: 50%; }

footer.legal {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1; transform: none;
}

/* ---------- responsive ---------- */
/* Tablet */
@media (max-width: 1080px) {
  :root { --pad-section-y: 130px; --max: 100%; }
  .nav-inner { padding: 6px 6px 6px 18px; }
  .nav-brand { font-size: 13px; padding-right: 12px; }
  .nav-links a { padding: 7px 10px; font-size: 12.5px; }
  .work-grid { gap: 18px; }
  .pricing-grid { gap: 14px; }
  .about-inner { max-width: 720px; }
}

/* Small tablet / large phone */
@media (max-width: 860px) {
  :root { --pad-section-y: 110px; --pad-x: 24px; }
  .nav { top: 12px; }
  .nav-inner { padding: 5px 5px 5px 14px; gap: 4px; }
  .hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
  .hero h1 { font-size: clamp(40px, 11vw, 76px); max-width: 14ch; line-height: 1; letter-spacing: -0.035em; }
  .hero-sub { margin-top: 24px; font-size: 16px; }
  .hero-ctas { margin-top: 32px; }
  .hero-proof { margin-top: 40px; gap: 12px; font-size: 12.5px; }
  .hero-glow { width: 600px; height: 600px; }
  .hero-glow.b { width: 500px; height: 500px; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(28px, 5.2vw, 40px); }
  .section-row { margin-bottom: 40px; }

  .testi-main { padding: 32px 24px 28px !important; }
  .testi-main blockquote { font-size: 19px; }
  .testi-stats { grid-template-columns: 1fr 1fr; gap: 10px; }

  .foot-cta h2 { font-size: clamp(34px, 7vw, 56px); }
  .foot-cta p { font-size: 16px; }

  .about h2 { font-size: clamp(28px, 5vw, 40px); }
}

/* Phone */
@media (max-width: 640px) {
  :root { --pad-section-y: 88px; --pad-x: 18px; }
  body { font-size: 16px; }

  /* Nav: compact, hide brand text on the smallest screens */
  .nav { top: 10px; }
  .nav-inner { padding: 5px 5px 5px 12px; }
  .nav-brand { font-size: 12.5px; gap: 6px; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }

  /* Hero pill: shrink and truncate */
  .hero-testi-pill { font-size: 12.5px; padding: 4px 14px 4px 4px; gap: 8px; max-width: 90vw; }
  .hero-testi-pill .cta-avatar { width: 26px; height: 26px; }
  .hero-testi-pill em { max-width: 60vw; }

  /* Hero copy */
  .hero { padding-top: 110px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(38px, 12vw, 56px); max-width: none; }
  .hero-sub { font-size: 15.5px; max-width: none; }
  .hero-ctas { margin-top: 28px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-spots { margin-top: 14px; font-size: 13px; }
  .hero-proof { margin-top: 32px; font-size: 12px; }

  /* Section header alignment */
  .section-row { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Services: stack */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }

  /* How: stack */
  .how-grid { grid-template-columns: 1fr; }

  /* Work */
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-mock { aspect-ratio: 16 / 10; }

  /* Testimonials */
  .testi-slider { grid-template-columns: 1fr; }
  .testi-peek { display: none; }
  .testi-main { padding: 28px 20px 24px !important; }
  .testi-main blockquote { font-size: 17px; line-height: 1.5; }
  .testi-main .who .av.lg { width: 44px; height: 44px; }
  .testi-stats { grid-template-columns: 1fr; gap: 8px; }
  .stat-num { font-size: 18px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .price { padding: 26px 22px; }
  .price .amount { font-size: 38px; }

  /* FAQ */
  .faq-q { font-size: 15.5px; padding: 22px 0; gap: 14px; }
  .faq-a p { font-size: 15px; padding: 0 4px 22px; }

  /* About */
  .about-portrait { width: 96px; height: 96px; margin-bottom: 24px; }
  .signature { font-size: 12px; }

  /* Foot CTA */
  .foot-cta h2 { font-size: clamp(30px, 9vw, 44px); }
  .foot-cta p { font-size: 15px; margin-bottom: 28px; }
  .foot-cta .btn { padding: 10px 18px; font-size: 14px; width: 100%; justify-content: center; }
  .foot-meta { margin-top: 36px; gap: 12px; font-size: 12.5px; }

  footer.legal { padding: 22px 0 28px; font-size: 12px; flex-direction: column; gap: 6px; }
  footer.legal .container { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Very small phones */
@media (max-width: 380px) {
  :root { --pad-x: 14px; }
  .nav-brand { display: none; }
  .nav-inner { padding: 5px 5px 5px 8px; }
  .hero h1 { font-size: 36px; }
  .hero-testi-pill em { max-width: 52vw; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
