/* ============================================================
   LEBO MATHOPA — Personal Brand Site
   Antigravity Build | Hand-coded, production-ready
   ============================================================ */

/* Fonts are loaded via <link> in each page's <head> for faster first paint. */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --orange:        #E8500A;
  --orange-light:  #F26419;
  --orange-glow:   rgba(232, 80, 10, 0.35);
  --amber:         #F5A623;
  --amber-light:   #FFB84D;
  --teal:          #0E6E72;
  --teal-light:    #14969C;
  --bg:            #0D0C0A;
  --bg-card:       #141210;
  --bg-elevated:   #1C1915;
  --border:        rgba(255, 255, 255, 0.07);
  --text-primary:  #F2EDE8;
  --text-muted:    #9E9690;
  --text-faint:    #5C5650;
  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --transition:    0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 8px 32px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-green {
  background: #16A34A;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
}

.btn-green:hover {
  background: #22C55E;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Scroll reveal base ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(13, 12, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color var(--transition);
}

.nav__logo span {
  color: var(--orange);
}

.nav__logo:hover { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* CTA button inside nav — override link colour and kill underline */
.nav__links a.btn-primary,
.nav__links a.btn-primary:hover {
  color: #fff;
}

.nav__links a.btn::after {
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 0;
}

/* Animated gradient mesh canvas */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

/* Bottom fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  width: 100%;
  min-height: calc(100svh - 100px);
}

.hero__content {
  max-width: 680px;
  align-self: center;
  padding-bottom: 80px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22C55E;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.5vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__headline .highlight {
  display: block;
  color: var(--orange);
}

.hero__headline .highlight-solid {
  color: var(--orange);
}

.hero__sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero__value {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-weight: 600;
  opacity: 0;
  animation: heroFadeUp 0.7s 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
}

/* Hero image */
.hero__image-wrap {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 38vw, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  opacity: 0;
  animation: heroImageReveal 1s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroImageReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__image {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 80px);
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 40px 80px rgba(232, 80, 10, 0.25))
          drop-shadow(0 0 120px rgba(232, 80, 10, 0.1));
}

/* Floating stat cards */
.hero__stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.stat-card {
  position: absolute;
  background: rgba(20, 18, 16, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  pointer-events: auto;
  white-space: nowrap;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__value .star {
  color: var(--amber);
}

.stat-card__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

.stat-card--1 {
  top: 18%;
  right: -20px;
  opacity: 0;
  animation: cardReveal 0.6s 1.1s ease forwards;
  will-change: transform;
}

.stat-card--2 {
  top: 48%;
  right: -40px;
  opacity: 0;
  animation: cardReveal 0.6s 1.3s ease forwards;
  will-change: transform;
}

.stat-card--3 {
  bottom: 18%;
  right: -10px;
  opacity: 0;
  animation: cardReveal 0.6s 1.5s ease forwards;
  will-change: transform;
}

@keyframes cardReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CLIENTS ───────────────────────────────────────────────── */
.clients {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients__header {
  text-align: center;
  margin-bottom: 48px;
}

.clients__header .section-label {
  justify-content: center;
}

.clients__header .section-label::before { display: none; }

.clients__track-wrap {
  position: relative;
  overflow: hidden;
}

.clients__track-wrap::before,
.clients__track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.clients__track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.clients__track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 140px;
  animation: marquee 50s linear infinite;
  width: max-content;
  cursor: grab;
  user-select: none;
}

.clients__track:active { cursor: grabbing; }

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

.client-logo {
  flex-shrink: 0;
  height: 100px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--transition);
  -webkit-user-drag: none;
}

.client-logo:hover {
  opacity: 1;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
.about {
  padding: 140px 0;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 80, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about__pull-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  padding-top: 24px;
}

.about__pull-quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: -8px;
  font-size: 8rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.about__pull-quote .accent {
  color: var(--orange);
}

.about__pull-quote .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-primary);
}

.about__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--amber));
  margin: 32px 0;
  border-radius: 2px;
}

.about__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.about__text p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about__text p:last-child { margin-bottom: 0; }

.about__text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services {
  padding: 140px 0;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -15%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 80, 10, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.services__header {
  margin-bottom: 72px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(232, 80, 10, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(232, 80, 10, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(232, 80, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.service-card__category {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-card__tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.tier:last-child { border-bottom: none; }

.tier__name {
  color: var(--text-primary);
  font-weight: 500;
}

.tier__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  font-size: 0.85rem;
}

.service-card .btn {
  align-self: flex-start;
  padding: 12px 24px;
  font-size: 0.85rem;
}

.services__disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 8px;
}

/* ── PORTFOLIO ─────────────────────────────────────────────── */
.portfolio {
  padding: 140px 0;
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 80, 10, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio__header {
  margin-bottom: 64px;
}

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

.portfolio__item {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item:hover img {
  transform: scale(1.05);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 10, 0.92) 0%, rgba(13, 12, 10, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px 24px;
  gap: 4px;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__project-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.portfolio__project-type {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials {
  padding: 140px 0;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials__header {
  margin-bottom: 56px;
}

.testimonials__header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Google rating badge */
.google-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.google-badge:hover { border-color: rgba(232, 80, 10, 0.3); }

.google-badge__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.google-badge__score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.google-badge__stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 2px;
  display: block;
}

.google-badge__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.google-badge__label svg { flex-shrink: 0; }

/* Carousel wrap */
.testimonials__carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 4px 20px;
  margin: 0 -4px;
}

.testimonials__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each "page" is a 2×2 grid — width set by JS */
.testimonials__slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex-shrink: 0;
  align-content: start;
}

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

/* Prev / Next buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.carousel__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.carousel__btn--prev { left: -16px; }
.carousel__btn--next { right: -16px; }

/* Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition), border-radius var(--transition);
  flex-shrink: 0;
}

.carousel__dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  border-color: rgba(232, 80, 10, 0.25);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card__stars span {
  font-size: 0.95rem;
  color: var(--amber);
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card__source {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-card__source svg {
  width: 14px;
  height: 14px;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
  padding: 140px 0;
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(14, 110, 114, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.faq__header {
  max-width: 640px;
  margin-bottom: 64px;
}

.faq__header .section-title { margin-bottom: 12px; }

.faq__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq__list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item[open] {
  border-color: rgba(232, 80, 10, 0.3);
}

.faq__question {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color var(--transition);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(232, 80, 10, 0.12);
  border: 1px solid rgba(232, 80, 10, 0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8500A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__item[open] .faq__question {
  color: var(--orange);
}

.faq__answer {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.faq__answer a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 80, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}

.contact__info .section-title {
  margin-bottom: 20px;
}

.contact__info-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 48px;
}

.contact__socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--text-primary);
  background: rgba(232, 80, 10, 0.06);
  transform: translateX(4px);
}

.social-link__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.social-link:hover .social-link__icon {
  background: rgba(232, 80, 10, 0.15);
}

.social-link__icon svg {
  width: 18px;
  height: 18px;
}

/* Contact Form */
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 80, 10, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e85555;
}

.form-group .field-error {
  font-size: 0.78rem;
  color: #e85555;
  display: none;
}

.form-group.has-error .field-error { display: block; }

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form__submit {
  margin-top: 28px;
}

.form__submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 0.95rem;
}

.form__submit .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form__success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form__success.visible { display: block; }

.form__success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(232, 80, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form__success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form__success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer__copy a {
  color: var(--orange);
  transition: opacity var(--transition);
}
.footer__copy a:hover { opacity: 0.8; }

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer__legal a {
  color: var(--text-faint);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--text-muted); }

.footer__back-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
}

.footer__back-top:hover { color: var(--orange); }

.footer__back-top svg {
  transition: transform var(--transition);
}

.footer__back-top:hover svg {
  transform: translateY(-3px);
}

/* ── MOBILE NAV DRAWER ─────────────────────────────────────── */
.nav__drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 12, 10, 0.98);
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__drawer a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(24px);
  transition: color var(--transition),
              opacity 0.35s ease,
              transform 0.35s ease;
}

.nav__drawer.open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.nav__drawer.open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.13s; }
.nav__drawer.open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.nav__drawer.open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.23s; }
.nav__drawer.open a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.nav__drawer.open a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.33s; }

.nav__drawer a:hover { color: var(--orange); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    min-height: auto;
    padding-top: 24px;
  }
  /* Text first, image below */
  .hero__content {
    order: 1;
    text-align: center;
    max-width: 100%;
    padding-bottom: 24px;
    align-self: auto;
  }
  .hero__image-wrap {
    order: 2;
    width: clamp(240px, 70vw, 440px);
    margin: 0 auto;
    align-self: auto;
  }
  .hero__stats { display: none; }
  .hero__cta { justify-content: center; }
  .hero__scroll-hint { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__pull-quote { font-size: clamp(1.7rem, 3vw, 2.4rem); }
  .about__pull-quote::before { font-size: 5rem; top: -10px; }
  .services__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto 32px; }
  .testimonials__header-top { flex-direction: column; gap: 20px; }
  .google-badge { align-items: flex-start; }
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__btn--prev { left: 0; }
  .carousel__btn--next { right: 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  /* Hide CTA buttons on mobile — reduce clutter */
  .hero__cta { display: none; }
  .hero__value { margin-bottom: 16px; }
  .about { padding: 80px 0; }
  .services { padding: 80px 0; }
  .services__grid { max-width: 100%; }
  .portfolio { padding: 80px 0; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .testimonials { padding: 80px 0; }
  .testimonials__slide { grid-template-columns: 1fr 1fr; gap: 16px; }
  .testimonial-card { padding: 24px 20px; }
  .testimonial-card__quote { font-size: 0.88rem; }
  .contact { padding: 80px 0; }
  .contact__form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: auto; }
  .faq { padding: 80px 0; }
  .clients { padding: 60px 0; }
  .client-logo { height: 100px; max-width: 160px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__inner { padding-top: 16px; }
  .hero__headline { font-size: clamp(36px, 11vw, 56px); }
  .hero__image-wrap { width: 88vw; }
  .hero__eyebrow { font-size: 0.68rem; padding: 6px 12px; }
  .hero__sub { font-size: 0.95rem; }
  .hero__value { font-size: 0.88rem; margin-bottom: 0; }
  .about__pull-quote { font-size: clamp(1.5rem, 6vw, 2rem); }
  .about__pull-quote .outline {
    color: var(--text-muted);
    -webkit-text-stroke: 0;
  }
  .section-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .testimonials__slide { grid-template-columns: 1fr; gap: 14px; }
  .carousel__btn { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; flex-wrap: wrap; }
  .google-badge { width: 100%; }
}


/* ── Accessibility: skip link ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ── Accessibility: visible keyboard focus ─────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Accessibility: reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .clients__track {
    animation: none !important;
  }

  .hero__stats .stat-card {
    transform: none !important;
  }
}

/* ── Contact form: service dropdown ────────────────────────── */
.form-group select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 48px 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8500A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.form-group select:invalid {
  color: var(--text-faint);
}

.form-group select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 80, 10, 0.1);
}

.form-group select.error {
  border-color: #e85555;
}


/* ── Motion system: brand wipe ─────────────────────────────── */
.brand-wipe {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wipeExit 0.7s cubic-bezier(0.76, 0, 0.24, 1) 0.85s forwards;
  pointer-events: none;
}

.brand-wipe::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18vh;
  height: 18vh;
  background: var(--orange);
}

.brand-wipe__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  opacity: 0;
  animation: wipeLogo 0.5s ease 0.08s forwards;
}

.brand-wipe__logo span { color: var(--orange); }

@keyframes wipeLogo {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wipeExit {
  to { transform: translateY(-118%); visibility: hidden; }
}

/* ── Motion system: hero headline per-line rise ────────────── */
.hero__headline {
  opacity: 1;
  animation: none;
}

.hero__headline span {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  animation: heroLineRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__headline span:nth-child(1) { animation-delay: 0.3s; }
.hero__headline span:nth-child(2) { animation-delay: 0.45s; }

@keyframes heroLineRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Motion system: stat cards entrance ────────────────────── */
.stat-card {
  opacity: 0;
  animation: statFadeIn 0.6s ease forwards;
}

.stat-card--1 { animation-delay: 1.0s; }
.stat-card--2 { animation-delay: 1.15s; }
.stat-card--3 { animation-delay: 1.3s; }

@keyframes statFadeIn {
  to { opacity: 1; }
}

/* ── Motion system: button micro-interactions ──────────────── */
.btn { will-change: transform; }

.btn svg {
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover svg { transform: translateX(4px); }

/* ── Motion system: portfolio lift + caption slide ─────────── */
.portfolio__item {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 26px rgba(232, 80, 10, 0.14);
}

.portfolio__overlay span {
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
}

.portfolio__overlay span:nth-child(2) { transition-delay: 0.06s; }

.portfolio__item:hover .portfolio__overlay span {
  transform: translateY(0);
  opacity: 1;
}

/* ── Motion system: service card icon ──────────────────────── */
.service-card__icon {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__icon {
  transform: translateY(-4px) rotate(-5deg) scale(1.05);
}

/* ── Motion system: marquee pause on hover ─────────────────── */
.clients__track:hover { animation-play-state: paused; }

/* ── Motion system: blog reading progress ──────────────────── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  z-index: 1200;
}

/* ── Motion system: reduced motion backstop ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .brand-wipe { display: none !important; }
  .read-progress { display: none !important; }
  .hero__headline span,
  .stat-card { opacity: 1 !important; transform: none !important; }
}
