.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 3rem;
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,143,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,216,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

/* Decorative bar chart */
.hero-bars {
  position: absolute;
  right: 4rem;
  bottom: 72px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 160px;
  opacity: 0.06;
  pointer-events: none;
}

.bar {
  width: 16px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barRise 1.8s var(--ease-out) forwards;
}

.bar:nth-child(1) { height: 28%; animation-delay: 0.1s; }
.bar:nth-child(2) { height: 42%; animation-delay: 0.2s; }
.bar:nth-child(3) { height: 33%; animation-delay: 0.3s; }
.bar:nth-child(4) { height: 68%; animation-delay: 0.4s; }
.bar:nth-child(5) { height: 52%; animation-delay: 0.5s; }
.bar:nth-child(6) { height: 88%; animation-delay: 0.6s; }
.bar:nth-child(7) { height: 72%; animation-delay: 0.7s; }
.bar:nth-child(8) { height: 100%; animation-delay: 0.8s; }

@keyframes barRise { to { transform: scaleY(1); } }

/* Search ranking visual */
.hero-rank-demo {
  position: absolute;
  right: 10rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
  pointer-events: none;
}

.rank-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.18);
  margin-bottom: 6px;
  font-weight: 500;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.rank-pos {
  width: 20px;
  text-align: right;
  color: rgba(247,246,242,0.18);
  font-weight: 300;
  font-size: 0.68rem;
}

.rank-bar-wrap {
  width: 100px;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.rank-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(74,143,216,0.35);
  animation: rankFill 1.2s var(--ease-out) forwards;
  transform-origin: left;
  transform: scaleX(0);
}

.rank-row.highlight .rank-pos { color: var(--accent); font-weight: 600; }
.rank-row.highlight .rank-bar-fill { background: var(--accent); animation-delay: 1.1s; }
.rank-row.highlight .rank-bar-wrap { width: 140px; background: rgba(74,143,216,0.12); }

.rank-pos-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(247,246,242,0.2);
  white-space: nowrap;
}

.rank-row.highlight .rank-pos-label { color: rgba(74,143,216,0.7); }

.rank-row:nth-child(2) .rank-bar-fill { animation-delay: 1.25s; }
.rank-row:nth-child(3) .rank-bar-fill { animation-delay: 1.35s; }
.rank-row:nth-child(5) .rank-bar-fill { animation-delay: 1.45s; }
.rank-row:nth-child(6) .rank-bar-fill { animation-delay: 1.55s; }

@keyframes rankFill { to { transform: scaleX(1); } }

.hero-content {
  position: relative;
  z-index: 2;
  width: 1200px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.2);
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
  white-space: nowrap;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: rgba(247,246,242,0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
	
	top: 0;
  transform: translateY(-100%);
	
	
	left: 0;
  width: 100%; 
	height: 100%;
  background: var(--accent);
  animation: scanLine 2s 1.5s ease-in-out infinite;
}

@keyframes scanLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

@keyframes scanLine {
  to { transform: translateY(100%); }
}

/* Bottom proof strip */
.hero-proof {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 72px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  animation: fadeIn 0.8s 1.2s forwards;
}

.proof-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
}

.proof-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.3);
  font-weight: 400;
}

.proof-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.08);
}


/* ============================================
   SCROLL-DRIVEN BACKGROUND CROSSFADE
   body.dark-world: SEO + services sections
   smoothly transition from light to dark.
============================================ */
.section-seo-problem {
  background: var(--white);
  padding: 8rem 0 7rem;
  transition: background 1.1s ease;
}

.section-seo-problem .section-eyebrow { color: var(--accent-dark); transition: color 1.1s ease; }
.section-seo-problem .section-heading { color: var(--dark); transition: color 1.1s ease; }

.seo-left p { transition: color 1.1s ease; }
.seo-left .audit-link { transition: color 0.2s, border-color 0.2s; }
.seo-left .section-heading { transition: color 1.1s ease; }

/* dark-world overrides */
body.dark-world .section-seo-problem { background: var(--dark); }
body.dark-world .section-seo-problem .section-eyebrow { color: var(--accent); }
body.dark-world .section-seo-problem .section-heading { color: var(--white); }
body.dark-world .section-seo-problem .seo-left p { color: rgba(247,246,242,0.45); }
body.dark-world .section-seo-problem .seo-left .audit-link { color: var(--accent); border-color: var(--accent); }
body.dark-world .section-seo-problem .audit-visual { background: var(--dark-mid); border-color: rgba(255,255,255,0.06); }
body.dark-world .section-seo-problem .audit-visual-header { color: rgba(247,246,242,0.3); }
body.dark-world .section-seo-problem .audit-score-denom { color: rgba(247,246,242,0.3); }
body.dark-world .section-seo-problem .audit-item { color: rgba(247,246,242,0.7); border-bottom-color: rgba(255,255,255,0.05); }

.audit-visual { transition: background 1.1s ease, border-color 1.1s ease; }
.audit-visual-header { transition: color 1.1s ease; }
.audit-score-denom { transition: color 1.1s ease; }
.audit-item { transition: color 1.1s ease, border-bottom-color 1.1s ease; }

.seo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.seo-left .section-heading { margin-bottom: 1.5rem; }

.seo-left p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.seo-left .audit-link {
  margin-top: 1rem;
  color: var(--dark);
  border-bottom-color: var(--dark);
}

/* Audit visual card */
.audit-visual {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  padding: 2rem;
  font-size: 0.85rem;
}

.audit-visual-header {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audit-score {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.audit-score-num {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent-dark);
  letter-spacing: -0.04em;
  line-height: 1;
}

.audit-score-denom {
  font-size: 0.8rem;
  color: var(--text-light);
  padding-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.audit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.8rem;
  color: var(--dark);
}

.audit-item:last-child { border-bottom: none; }

.audit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-good { background: var(--accent); }
.dot-warn { background: #E8A838; }
.dot-bad  { background: #D45C4A; }

.audit-item-label { flex: 1; }

.audit-item-status {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-good { color: var(--accent-dark); }
.status-warn { color: #C48A20; }
.status-bad  { color: #D45C4A; }


/* ============================================
   SERVICES
============================================ */
.section-services {
  background: var(--white);
  padding: 8rem 0;
  transition: background 1.1s ease;
}

body.dark-world .section-services { background: var(--dark); }

.section-services .section-eyebrow { color: var(--accent-dark); transition: color 1.1s ease; }
body.dark-world .section-services .section-eyebrow { color: var(--accent); }

.section-services .section-heading { color: var(--dark); transition: color 1.1s ease; }
body.dark-world .section-services .section-heading { color: var(--white); }

.services-header-right {
  font-size: 0.85rem;
  max-width: 260px;
  line-height: 1.6;
  font-weight: 300;
  text-align: right;
  color: var(--text-light);
  transition: color 1.1s ease;
}

body.dark-world .services-header-right { color: rgba(247,246,242,0.35); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  transition: background 1.1s ease, border-color 1.1s ease;
	 list-style: none;
  padding: 0;
  margin: 0;
}
.services-grid > li {
  display: flex;
}

.services-grid > li > .service-card {
  flex: 1;
}
body.dark-world .services-grid { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.06); }

.service-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 1.1s ease;
}

body.dark-world .service-card { background: var(--dark); }
.service-card:hover { background: var(--off-white); }
body.dark-world .service-card:hover { background: var(--dark-mid); }

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.service-card:hover::after { width: 100%; }

.service-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.15);
  transition: color 1.1s ease;
}

body.dark-world .service-num { color: rgba(247,246,242,0.2); }

.service-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  opacity: 0.8;
}

.service-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: auto;
  transition: color 1.1s ease;
}

body.dark-world .service-name { color: var(--white); }

.service-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-light);
  font-weight: 300;
  transition: color 1.1s ease;
}

body.dark-world .service-desc { color: rgba(247,246,242,0.4); }

.service-arrow {
  width: 20px; height: 20px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  margin-top: auto;
  align-self: flex-start;
}

.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }


/* ============================================
   STATS
============================================ */
.section-stats {
  background: var(--dark-mid);
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.stat-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.3);
  font-weight: 400;
  line-height: 1.4;
}


/* ============================================
   ABOUT / FOUNDER
============================================ */
.section-about {
  position: relative;
  overflow: hidden;
  background: var(--white);
  min-height: 600px;
}

.about-image-fill {
  position: absolute;
  top: 7rem;
  bottom: 7rem;
  left: 5rem;
  right: 74%;
  overflow: hidden;
  z-index: 0;
  border-radius: 0.8rem;
}

.about-image-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.about-image-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(247,246,242, var(--overlay-o, 0.92)) 82%,
    var(--white) 100%
  );
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 2;
  width: 52%;
  margin-left: auto;
  padding: 8rem 4rem 8rem 2rem;
}

.about-text .section-eyebrow { color: var(--accent-dark); }
.about-text .section-heading { color: var(--dark); margin-bottom: 1.5rem; }

.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.founder-name {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--dark);
}

.founder-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.3rem;
}


/* ============================================
   WORK / PORTFOLIO
============================================ */
.section-work {
  background: var(--off-white);
  padding: 8rem 0;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-work .section-eyebrow { color: var(--accent-dark); }
.section-work .section-heading { color: var(--dark); }

.work-filter {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.work-filter button {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 0 2px;
  position: relative;
  transition: color 0.2s;
  font-weight: 500;
}

.work-filter button::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--dark);
  transition: width 0.3s var(--ease-out);
}

.work-filter button.active,
.work-filter button:hover { color: var(--dark); }

.work-filter button.active::after,
.work-filter button:hover::after { width: 100%; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.06);
}

.work-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--off-white);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.work-item:hover img { transform: scale(1.04); }

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,18,16,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.work-item:hover .work-item-overlay { opacity: 1; }

.work-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}

.work-item-type {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.3rem;
}

.work-placeholder {
  background: var(--dark-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.work-cta {
  text-align: center;
  margin-top: 3rem;
}


/* ============================================
   TESTIMONIALS — Carousel
============================================ */
.section-testimonial {
  background: var(--dark);
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}

.testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

/* Exiting slide fades left */
.testimonial-slide.exit-left {
  opacity: 0;
  transform: translateX(-30px);
}

/* Exiting slide fades right (when going prev) */
.testimonial-slide.exit-right {
  opacity: 0;
  transform: translateX(30px);
}

/* Enter from left (when going prev) */
.testimonial-slide.enter-left {
  transform: translateX(-30px);
}

.testimonial-slide.enter-left.active {
  transform: translateX(0);
}

/* Ghost nav arrows */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  color: rgba(247,246,242,0.08);
  transition: color 0.3s var(--ease-out);
  z-index: 2;
}

.testimonial-arrow:hover { color: rgba(247,246,242,0.25); }

.testimonial-arrow svg {
  width: 40px;
  height: 40px;
}

.testimonial-arrow--prev { left: -5rem; }
.testimonial-arrow--next { right: -5rem; }

.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.45;
  color: var(--white);
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.testimonial-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  font-style: normal;
}

.testimonial-role {
  font-size: 0.72rem;
  color: rgba(247,246,242,0.65);
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
}

/* Indicators */
.testimonial-indicators {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(247,246,242,0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.testimonial-dot:hover { border-color: rgba(247,246,242,0.5); }

.testimonial-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}


/* ============================================
   CONTACT / FORM
============================================ */
.section-contact {
  background: var(--off-white);
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left .section-eyebrow { color: var(--accent-dark); }
.contact-left .section-heading { color: var(--dark); margin-bottom: 1.5rem; }

.contact-left p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}

.contact-detail a {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--dark); }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }


/* ---- CF7 form on home page ----
   Same floating-label pattern as audit page,
   but name + email sit on one row.
---- */

/* CF7 resets */
.contact-form-wrap .wpcf7 { margin: 0; padding: 0; }
.contact-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.contact-form-wrap .wpcf7-form p { margin: 0; }
.contact-form-wrap .wpcf7-form br { display: none; }

/* Name + email on one row */
.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Floating label fields */
.contact-form-wrap .field {
  position: relative;
  padding-top: 1.4rem;
  margin-bottom: 1.1rem;
}

.contact-form-wrap .field label {
  position: absolute;
  top: 1.4rem;
  left: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s var(--ease-out), color 0.22s;
  white-space: nowrap;
}

.contact-form-wrap .field .wpcf7-form-control-wrap { display: block; }

/* Floated state */
.contact-form-wrap .field.floated label,
.contact-form-wrap .field input:focus ~ label,
.contact-form-wrap .field textarea:focus ~ label,
.contact-form-wrap .field .wpcf7-form-control-wrap:focus-within ~ label {
  transform: translateY(-1.4rem) scale(0.75);
  color: var(--accent-dark);
  font-weight: 500;
}

.contact-form-wrap .field input,
.contact-form-wrap .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17,18,16,0.2);
  padding: 0.4rem 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.22s;
}

.contact-form-wrap .field input::placeholder,
.contact-form-wrap .field textarea::placeholder { color: transparent; }

.contact-form-wrap .field input:focus,
.contact-form-wrap .field textarea:focus { border-bottom-color: var(--accent); }

/* Animated underline accent on focus */
.contact-form-wrap .field::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.contact-form-wrap .field:focus-within::after { width: 100%; }

.contact-form-wrap .field textarea {
  resize: none;
  height: 120px;
  line-height: 1.6;
  border: 1px solid rgba(17,18,16,0.12);
  padding: 0.75rem;
  margin-top: 0.2rem;
  background: transparent;
  transition: border-color 0.22s;
}

.contact-form-wrap .field textarea:focus {
  border-color: var(--accent);
}

/* CF7 validation */
.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.7rem;
  color: #b44a3e;
  font-weight: 400;
  margin-top: 0.3rem;
  animation: revealUp 0.3s var(--ease-out);
}

.contact-form-wrap .wpcf7-not-valid { border-bottom-color: #b44a3e !important; }

.contact-form-wrap .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0.9rem 1.2rem !important;
  font-size: 0.78rem;
  border-radius: 2px;
  border-width: 1px !important;
  border-style: solid !important;
}

.contact-form-wrap .wpcf7-form.invalid .wpcf7-response-output,
.contact-form-wrap .wpcf7-form.failed .wpcf7-response-output {
  background: rgba(180, 74, 62, 0.06);
  border-color: rgba(180, 74, 62, 0.25) !important;
  color: #8b3329;
}

.contact-form-wrap .wpcf7-form.sent .wpcf7-response-output { display: none !important; }

/* Submit button */
.contact-form-wrap .form-submit-wrap { margin: 1.4rem 0; }

.contact-form-wrap .form-submit,
.contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--dark);
  color: var(--white);
  padding: 1.05rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.25s var(--ease-out), transform 0.2s;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.contact-form-wrap .form-submit::before,
.contact-form-wrap .wpcf7-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dark);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}

.contact-form-wrap .form-submit:hover::before,
.contact-form-wrap .wpcf7-submit:hover::before { transform: translateX(0); }

.contact-form-wrap .form-submit:hover,
.contact-form-wrap .wpcf7-submit:hover { transform: translateY(-1px); }

.contact-form-wrap .wpcf7-submit { position: relative; z-index: 1; }

/* Success panel */
.contact-form-wrap {
  position: relative;
}

.contact-form-wrap .form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2.5rem;
  background: rgba(74, 143, 216, 0.05);
  border: 1px solid rgba(74, 143, 216, 0.2);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s 0.15s var(--ease-out), transform 0.5s 0.15s var(--ease-out);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-form-wrap .form-success.visible {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  inset: auto;
  pointer-events: auto;
}

.contact-form-wrap .form-success-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(74, 143, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-wrap .form-success-icon svg { width: 18px; height: 18px; color: var(--accent); }
.contact-form-wrap .form-success-title { font-family: var(--serif); font-size: 1.2rem; color: var(--dark); }
.contact-form-wrap .form-success-body { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; font-weight: 300; }
.contact-form-wrap .form-success-body strong { color: var(--dark); font-weight: 500; }

/* Transition: fade out form on success */
.contact-form-wrap.transitioning .wpcf7 {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.contact-form-wrap .wpcf7-form.sent { opacity: 0; pointer-events: none; position: absolute; }


/* --- Audit visual SAMPLE watermark --- */
.audit-visual {
  position: relative;
  overflow: hidden;
}

.audit-visual::before {
  content: 'SAMPLE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(74, 143, 216, 0.12);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  text-transform: uppercase;
  user-select: none;
}


/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .seo-split { grid-template-columns: 1fr; gap: 3rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .services-header-right { text-align: left; max-width: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 4rem; }
  .about-content { width: 60%; padding: 6rem 3rem 6rem 2rem; }
}

@media (max-width: 768px) {
  .hero { padding: 0 1.5rem; }
  .hero-rank-demo { display: none; }
  .hero-bars { display: none; }

  .hero-proof { gap: 1.5rem; flex-wrap: wrap; height: auto; padding: 1rem 1.5rem; }
  .proof-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

  .about-image-fill { display: none; }
  .about-content { width: 100%; padding: 5rem 1.5rem; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-wrap .form-row { grid-template-columns: 1fr; }

  .testimonial-arrow { display: none; }
  .testimonial-carousel { touch-action: pan-y; }
}

.contact-form-wrap .field:has(textarea) label {
  top: 1.8rem;
}

.contact-form-wrap .field:has(textarea).floated label,
.contact-form-wrap .field:has(textarea) textarea:focus ~ label,
.contact-form-wrap .field:has(textarea) .wpcf7-form-control-wrap:focus-within ~ label {
  transform: translateY(-1.8rem) scale(0.75);
}

@media (max-width: 480px) {
  .hero-proof { gap: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
/* ─────────────────────────────────────────────
   Hero — Plexus canvas
   ───────────────────────────────────────────── */
#heroPlexus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}


/* ─────────────────────────────────────────────
   Hero — Cover photo with Ken Burns motion

   Full-bleed background image with a slow
   zoom + drift animation. Sits behind the
   network canvas and a dark overlay that
   keeps the text readable.
   ───────────────────────────────────────────── */
.hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;

  /* Ken Burns — slow zoom + drift, reverses every 12s */
  transform: scale(.75) translate(2%, 0.5%);
  animation: kenBurns 20s linear infinite;
    will-change: transform;

  /* Darken + desaturate to keep moody tone */
  filter: brightness(0.5) contrast(1.1) saturate(0.8);
}

@keyframes kenBurns {
  0% {
    transform: scale(1.16) translate(1%, 0.5%);
  }
  100% {
    transform: scale(1.06) translate(-3%, -2%);
  }
}

/* Dark gradient overlay — protects text on left,
   lets photo breathe on the right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
/*  background:
    linear-gradient(
      105deg,
      rgba(15, 18, 25, 0.82) 0%,
      rgba(15, 18, 25, 0.6) 40%,
      rgba(15, 18, 25, 0.4) 100%
    ),
    linear-gradient(
      to top,
      rgba(15, 18, 25, 0.85) 0%,
      transparent 25%
    );*/
}

/* Bump the canvas above the overlay */
#heroCanvas {
  z-index: 1;
}

/* ============================================
   CLIENT LOGOS — Grid
   Staggered reveal on scroll, subtle hover lift.
   25 logos at 200×200px originals.
============================================ */
.section-clients {
  padding: 6rem 0;
  background: var(--white);
}

.clients-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-align: center;
  margin-bottom: 0.75rem;
}

.clients-heading {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  color: var(--dark);
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}


/* ── Grid ── 
   5 columns at desktop for a clean 5×5 with 25 logos.
   1px gap with tinted bg creates subtle cell borders. */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
}


/* ── Individual logo cell ── */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  position: relative;
}

.client-logo:hover {
  z-index: 1;
}

/* Logo images — grayscale + muted, pop on hover */
.client-logo img {
  display: block;
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.4s var(--ease-out),
    opacity 0.4s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 0.9;
  transform: scale(1.08);
}


/* ── Staggered scroll reveal ── */
.client-logo {
  opacity: 0;
  transform: translateY(12px);
}

.client-logo.revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--ease-out) calc(var(--i, 0) * 30ms),
    transform 0.5s var(--ease-out) calc(var(--i, 0) * 30ms),
    background 0.35s var(--ease-out);
}

.client-logo.revealed:hover {
  transform: translateY(0);
}

.client-logo.revealed:hover img {
  filter: grayscale(0);
  opacity: 0.9;
  transform: scale(1.08);
}


/* ── Responsive ── */
@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .client-logo {
    padding: 1.3rem;
  }

  .client-logo img {
    max-width: 110px;
  }
}

@media (max-width: 900px) {
  .section-clients {
    padding: 4.5rem 0;
  }

  .clients-heading {
    margin-bottom: 2.5rem;
  }

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

  .client-logo {
    padding: 1.2rem;
  }

  .client-logo img {
    max-width: 90px;
  }
}

@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-logo {
    padding: 1rem;
  }

  .client-logo img {
    max-width: 72px;
  }
}



/* ─── Hero cover — Responsive ─────────────────── */
@media (max-width: 768px) {
  .hero-cover img {
    object-position: 55% 40%;
    animation-duration: 14s;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 18, 25, 0.75) 0%,
        rgba(15, 18, 25, 0.55) 50%,
        rgba(15, 18, 25, 0.8) 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover img {
    animation: none;
    transform: scale(1.04);
  }
}