:root {
  --bg: #0B0F0D;
  --bg-2: #111714;
  --surface: #151C18;
  --line: rgba(242, 242, 242, 0.12);
  --ink: #F2F2F2;
  --ink-2: #A9B3AD;
  --accent: #22C55E;
  --accent-hover: #3DD674;
  --accent-deep: #15803D;
  --glow: #14B8A6;
  --paper: #EEF2EF;
  --paper-ink: #0B0F0D;
  --paper-ink-2: #46524B;
  --font-display: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-rtl: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', Tahoma, sans-serif;
  --radius: 12px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sp-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.sp-skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--accent); color: var(--bg);
  padding: 12px 18px; border-radius: var(--radius);
  font-weight: 800; text-decoration: none;
}
.sp-skip:focus { top: 16px; }
.sp-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: 800 15px/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.sp-btn svg { width: 18px; height: 18px; flex: none; }
.sp-btn:active { transform: translateY(1px) scale(0.98); }
.sp-btn--primary { background: var(--accent); color: var(--bg); }
.sp-btn--primary:hover { background: var(--accent-hover); }
.sp-btn--ghost { border-color: rgba(242, 242, 242, 0.32); color: var(--ink); }
.sp-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.sp-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.sp-iconbtn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.sp-iconbtn svg { width: 20px; height: 20px; }
.sp-iconbtn:hover { border-color: var(--accent); color: var(--accent); }
.sp-admin-note {
  margin-top: 18px;
  border: 1.5px dashed rgba(34, 197, 94, 0.55);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px; line-height: 1.45;
  color: var(--ink-2);
  max-width: 520px;
}
.sp-admin-note span { opacity: 0.7; }
.sp-panel .sp-admin-note { color: var(--paper-ink-2); }

/* Header */
.sp-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.sp-header.is-scrolled {
  background: rgba(11, 15, 13, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.admin-bar .sp-header { top: 32px; }
.sp-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.sp-logo { font: 400 30px/1 var(--font-display); letter-spacing: 0.03em; text-decoration: none; }
.sp-logo span { color: var(--accent); }
.sp-nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.sp-nav a {
  position: relative;
  font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--ink-2);
  transition: color 0.2s;
}
.sp-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.sp-nav a:hover, .sp-nav a.is-current { color: var(--ink); }
.sp-nav a.is-current::after { transform: scaleX(1); }
.sp-header__actions { display: flex; align-items: center; gap: 10px; }
.sp-lang {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 32px 0 14px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2F2F2' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center / 11px;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
  cursor: pointer;
}
.sp-lang:hover { border-color: rgba(242, 242, 242, 0.35); }
.sp-lang option { background: var(--bg); color: var(--ink); }
.sp-burger {
  display: none;
  width: 44px; height: 42px; padding: 0 11px;
  flex-direction: column; justify-content: center; gap: 6px;
  background: transparent;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
}
.sp-burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.sp-burger[aria-expanded='true'] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.sp-burger[aria-expanded='true'] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .sp-burger { display: inline-flex; }
  .sp-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    background: rgba(11, 15, 13, 0.97);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .admin-bar .sp-nav { top: calc(var(--header-h) + 46px); }
  .sp-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .sp-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; }
  .sp-nav a { display: block; padding: 16px 0; font-size: 22px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .sp-nav a::after { display: none; }
}
@media (max-width: 782px) { .admin-bar .sp-header { top: 46px; } }
@media (max-width: 420px) {
  .sp-header__cta { display: none; }
  .sp-logo { font-size: 26px; }
}

/* Hero */
.sp-hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.sp-hero__glow {
  position: absolute; z-index: -1;
  left: 50%; top: 60%;
  width: min(980px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(20, 184, 166, 0.36), rgba(34, 197, 94, 0.12) 48%, transparent 72%);
  pointer-events: none;
}
.sp-hero__stage {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr auto;
  padding-bottom: clamp(24px, 4vw, 44px);
}
.sp-hero__title {
  position: absolute; left: 0; right: 0; top: clamp(8px, 5vh, 64px);
  z-index: 0;
  display: flex; flex-direction: column; align-items: center;
  font: 400 clamp(84px, 16.5vw, 270px)/0.86 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-align: center;
  pointer-events: none;
}
.sp-hero__line { display: block; }
.sp-hero__line:first-child { color: var(--ink-2); }
.sp-char {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: end;
  position: relative; z-index: 2;
  width: clamp(280px, 33vw, 500px);
  aspect-ratio: 4 / 5;
  margin-bottom: calc(-1 * clamp(24px, 4vw, 44px));
  transform-origin: 50% 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sp-char:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.sp-char__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  user-select: none;
}
.sp-char__img.is-active { opacity: 1; }
.sp-agent {
  position: absolute; z-index: 3;
  left: calc(50% + clamp(130px, 13vw, 220px));
  top: 36%;
  width: min(340px, 28vw);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.sp-bubble {
  position: relative;
  width: 100%;
  min-height: 88px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -24px rgba(20, 184, 166, 0.55);
  font-size: 16px; line-height: 1.5; font-weight: 600;
}
.sp-bubble::before {
  content: '';
  position: absolute; left: -8px; top: 26px;
  width: 14px; height: 14px;
  background: var(--surface);
  border-left: 1px solid rgba(34, 197, 94, 0.4);
  border-bottom: 1px solid rgba(34, 197, 94, 0.4);
  transform: rotate(45deg);
}
.sp-bubble[dir='rtl'] { font-family: var(--font-rtl); font-weight: 400; line-height: 2.1; text-align: right; }
.sp-bubble[lang='ar'] { font-family: 'Noto Naskh Arabic', Tahoma, sans-serif; line-height: 1.8; }
.sp-bubble__text.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1em;
  margin-inline-start: 3px;
  vertical-align: -2px;
  background: var(--accent);
  animation: sp-caret 0.8s steps(1) infinite;
}
@keyframes sp-caret { 50% { opacity: 0; } }
.sp-speak {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px 0 12px;
  background: rgba(11, 15, 13, 0.6);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 800; font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.sp-speak svg { width: 18px; height: 18px; color: var(--accent); }
.sp-speak:hover, .sp-speak[aria-pressed='true'] { border-color: var(--accent); }
.sp-hero__tagline {
  grid-column: 1; grid-row: 2; align-self: end;
  position: relative; z-index: 3;
  max-width: 240px;
  font-weight: 700; font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
}
.sp-hero__ctas {
  grid-column: 3; grid-row: 2; align-self: end; justify-self: end;
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px;
}
.sp-hero > .sp-container .sp-admin-note { position: absolute; top: calc(var(--header-h) + 12px); z-index: 4; }

@media (max-width: 900px) {
  .sp-hero__stage {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    gap: 16px; text-align: center;
  }
  .sp-hero__title { top: 12px; font-size: clamp(64px, 19vw, 150px); }
  .sp-agent {
    position: relative; left: auto; top: auto;
    width: min(420px, 100%);
    margin-top: clamp(150px, 36vw, 260px);
    align-items: center;
  }
  .sp-bubble { min-height: 0; text-align: center; }
  .sp-bubble[dir='rtl'] { text-align: center; }
  .sp-bubble::before { left: 50%; top: auto; bottom: -8px; margin-left: -7px; transform: rotate(-45deg); }
  .sp-char { width: min(76vw, 380px); margin: -12px 0 0; }
  .sp-hero__tagline { max-width: none; margin-top: 8px; }
  .sp-hero__ctas { justify-content: center; }
}

/* Stats */
.sp-stats { position: relative; z-index: 4; background: var(--bg-2); border-block: 1px solid var(--line); }
.sp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sp-stat { padding: clamp(28px, 4vw, 48px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.sp-stat:first-child { border-left: 0; padding-left: 0; }
.sp-stat__num {
  font: 400 clamp(52px, 6.4vw, 96px)/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.sp-stat__suffix { color: var(--accent); }
.sp-stat__label { margin-top: 10px; max-width: 200px; color: var(--ink-2); font-size: 15px; font-weight: 700; line-height: 1.4; }
@media (max-width: 760px) {
  .sp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sp-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .sp-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Reel */
.sp-reel { position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 140px); perspective: 1400px; }
.sp-reel__tilt { transform: rotateX(16deg) rotateZ(-5deg); transform-style: preserve-3d; }
.sp-reel__track { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; padding-left: 6vw; will-change: transform; }
.sp-reel__item {
  position: relative; flex: none;
  width: clamp(220px, 25vw, 380px); aspect-ratio: 3 / 2;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.sp-reel__item img { width: 100%; height: 100%; object-fit: cover; }
.sp-tile {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #14231C 0%, #0F1814 55%, #0F2421 100%);
  font: 400 clamp(22px, 2.2vw, 32px)/1 var(--font-display);
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.85);
}
.sp-tile::after {
  content: ''; position: absolute; right: -25%; top: -45%;
  width: 85%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.3), transparent);
}
.sp-tile--alt { background: linear-gradient(200deg, #10201E, #0E1512); }
.sp-tile--alt::after { background: radial-gradient(closest-side, rgba(20, 184, 166, 0.3), transparent); left: -20%; right: auto; }
.sp-tile--alt2 { background: linear-gradient(20deg, #17261F, #0D1310); }

/* Section headings */
.sp-h2 {
  font: 400 clamp(66px, 11vw, 172px)/0.9 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.sp-h2--xl { font-size: clamp(60px, 9.4vw, 150px); }
.sp-line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.sp-line > span { display: block; }
.is-split-done .sp-line { overflow: visible; }

/* Services */
.sp-services { padding-block: var(--section) calc(var(--section) * 0.5); }
.sp-panel {
  background: var(--paper); color: var(--paper-ink);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 88px);
}
.sp-svc-list { margin-top: clamp(28px, 5vw, 64px); border-top: 1px solid rgba(11, 15, 13, 0.16); }
.sp-svc {
  display: grid;
  grid-template-columns: clamp(76px, 10vw, 150px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(20px, 2.8vw, 34px) 0;
  border-bottom: 1px solid rgba(11, 15, 13, 0.16);
}
.sp-svc__num {
  font: 400 clamp(46px, 7vw, 104px)/1 var(--font-display);
  color: var(--accent-deep);
  transition: transform 0.5s var(--ease);
}
.sp-svc__title { font: 800 clamp(22px, 2.6vw, 36px)/1.15 var(--font-body); letter-spacing: -0.015em; }
.sp-svc__desc { margin-top: 6px; color: var(--paper-ink-2); font-weight: 600; }
.sp-svc__preview {
  width: clamp(72px, 9vw, 124px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper-ink); color: var(--accent);
  opacity: 0; transform: scale(0.6) rotate(-8deg);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.sp-svc__preview svg { width: 46%; height: 46%; }
.sp-svc__preview img { width: 100%; height: 100%; object-fit: cover; }
.sp-svc:hover .sp-svc__preview { opacity: 1; transform: none; }
.sp-svc:hover .sp-svc__num { transform: translateX(10px); }
@media (hover: none) { .sp-svc__preview { opacity: 1; transform: none; width: 60px; } }
@media (max-width: 640px) {
  .sp-svc { grid-template-columns: 62px 1fr; }
  .sp-svc__preview { display: none; }
}

/* Projects */
.sp-projects { padding-block: calc(var(--section) * 0.5) var(--section); }
.sp-stack { margin-top: clamp(28px, 5vw, 64px); display: grid; gap: clamp(22px, 4vw, 40px); }
.sp-card {
  position: relative;
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, 0.8);
  transform-origin: 50% 0;
}
.sp-card__head { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 32px); }
.sp-card__num { font: 400 clamp(64px, 9vw, 140px)/0.8 var(--font-display); color: var(--accent); }
.sp-card__cat { color: var(--ink-2); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.sp-card__title { margin-top: 8px; font: 800 clamp(26px, 3.4vw, 48px)/1.08 var(--font-body); letter-spacing: -0.02em; }
.sp-card__body { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.sp-card__text > p { color: var(--ink-2); max-width: 46ch; }
.sp-card__text > p.sp-card__result {
  margin-top: 18px; padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.4;
}
.sp-card__text .sp-btn { margin-top: 26px; }
.sp-card__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 300px; }
.sp-card__media > :first-child { grid-row: 1 / span 2; }
.sp-card__media--1 { grid-template-columns: 1fr; }
.sp-card__media--2 > :last-child { grid-row: 1 / span 2; }
.sp-shot { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); min-height: 120px; }
.sp-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.sp-card:hover .sp-shot img { transform: scale(1.04); }
.sp-shot .sp-tile { font-size: 22px; }
@media (min-width: 901px) {
  .sp-card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 18px); min-height: min(76vh, 620px); }
}
@media (max-width: 900px) {
  .sp-card__body { grid-template-columns: 1fr; }
  .sp-card__media { min-height: 230px; }
}

/* Process */
.sp-process { padding-block: var(--section); border-top: 1px solid var(--line); }
.sp-process__wrap { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.sp-process__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.sp-process__line span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--glow));
  transform-origin: 0 50%;
}
.sp-process__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.sp-step__dot {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  font: 400 22px/1 var(--font-display); color: var(--accent);
}
.sp-step__title { margin-top: 26px; font: 800 26px/1.15 var(--font-body); letter-spacing: -0.01em; }
.sp-step__text { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 32ch; }
@media (max-width: 900px) {
  .sp-process__list { grid-template-columns: 1fr; gap: 40px; padding-left: 84px; }
  .sp-process__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .sp-process__line span { background: linear-gradient(180deg, var(--accent), var(--glow)); transform-origin: 50% 0; }
  .sp-step { position: relative; }
  .sp-step__dot { position: absolute; left: -84px; top: 0; }
  .sp-step__title { margin-top: 10px; }
}

/* About */
.sp-about { padding-block: var(--section); background: var(--bg-2); border-block: 1px solid var(--line); }
.sp-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.sp-about__media {
  position: relative;
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 400px; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 50% 70%, rgba(20, 184, 166, 0.28), transparent 70%), var(--surface);
}
.sp-about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.sp-about__bio { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.45; font-weight: 600; max-width: 32em; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3vw, 40px); }
.sp-chips li {
  padding: 9px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 800; font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.sp-chips li:hover { border-color: var(--accent); color: var(--accent); }
.sp-about__content > .sp-btn { margin-top: 36px; }
@media (max-width: 900px) { .sp-about__grid { grid-template-columns: 1fr; align-items: start; } }

/* Testimonials */
.sp-testimonials { padding-block: var(--section); }
.sp-testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sp-testi__nav { display: flex; gap: 10px; }
.sp-testi__track {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 86%);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sp-testi__track::-webkit-scrollbar { display: none; }
.sp-testi {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sp-badge {
  align-self: flex-start;
  padding: 6px 12px;
  border: 1.5px dashed var(--accent); border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.sp-testi blockquote { flex: 1; font-size: 20px; line-height: 1.5; font-weight: 600; }
.sp-testi blockquote p + p { margin-top: 12px; }
.sp-testi figcaption strong { display: block; font-weight: 800; }
.sp-testi figcaption span { color: var(--ink-2); font-size: 14px; }

/* Contact */
.sp-contact { position: relative; overflow: hidden; padding-block: var(--section); border-top: 1px solid var(--line); isolation: isolate; }
.sp-contact::before {
  content: ''; position: absolute; z-index: -1;
  left: -15%; bottom: -40%;
  width: 70vw; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(20, 184, 166, 0.16), transparent 70%);
}
.sp-contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sp-contact__lead { margin-top: 24px; max-width: 40ch; color: var(--ink-2); font-size: 19px; }
.sp-contact__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sp-contact__meta { margin-top: 24px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.sp-form {
  position: relative;
  display: grid; gap: 18px;
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sp-field label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 14px; }
.sp-field input, .sp-field select, .sp-field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600; font-size: 16px; line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sp-field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2F2F2' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center / 11px;
}
.sp-field select option { background: var(--bg); }
.sp-field textarea { min-height: 140px; resize: vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}
.sp-form > .sp-btn { justify-self: start; }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-notice { padding: 12px 14px; border-radius: var(--radius); font-weight: 700; font-size: 15px; }
.sp-notice--ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.5); }
.sp-notice--err { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.5); }
@media (max-width: 900px) {
  .sp-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sp-form__row { grid-template-columns: 1fr; } }

/* Footer */
.sp-footer { border-top: 1px solid var(--line); padding-block: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.sp-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-right: calc(var(--gutter) + 64px); }
.sp-footer p { color: var(--ink-2); font-size: 14px; font-weight: 700; }
.sp-social { display: flex; gap: 10px; }
.sp-wa-float {
  position: fixed; z-index: 60;
  right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px);
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: var(--bg);
  box-shadow: 0 16px 36px -12px rgba(34, 197, 94, 0.65);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.sp-wa-float:hover { transform: translateY(-3px); background: var(--accent-hover); }
.sp-wa-float svg { width: 28px; height: 28px; }

/* Fallback pages */
.sp-page { padding: calc(var(--header-h) + 64px) 0 100px; min-height: 70vh; }
.sp-page__title { font: 400 clamp(48px, 8vw, 110px)/0.95 var(--font-display); text-transform: uppercase; }
.sp-prose { margin-top: 32px; max-width: 68ch; }
.sp-prose a { color: var(--accent); }

/* Scroll reveal states: only when JS runs and animation is allowed */
html.js:not(.sp-static) [data-reveal] { opacity: 0; }
html.js:not(.sp-static) [data-split] { visibility: hidden; }
html.js:not(.sp-static) .sp-process__line span { transform: scaleX(0); }
@media (max-width: 900px) { html.js:not(.sp-static) .sp-process__line span { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
