/*
Theme Name: Skoolen
Theme URI: https://skoolen.com
Author: Skoolen
Author URI: https://skoolen.com
Description: Skoolen - Build Better Websites, Apps, and Business Systems. A modern, dark-themed WordPress theme with Kadence Block Editor support.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skoolen
Tags: custom-colors, custom-logo, custom-menu, editor-style, block-patterns, block-styles, wide-blocks

Skoolen WordPress Theme, Copyright 2025 Skoolen
Skoolen is distributed under the terms of the GNU GPL v2 or later.
*/

/* ============================================================
   DISPATCH DESIGN SYSTEM — EMBER / DARK
   ============================================================ */
:root {
  /* — Backgrounds — */
  --bg-primary:   #1d1d1d;
  --bg-deep:      #1c1c1c;
  --bg-elevated:  #262626;
  --surface-1:    #383838;
  --surface-2:    #424242;
  --warm-gray:    #635d5a;

  /* — Text — */
  --text-primary:   #f0e8da;
  --text-secondary: #e3d8c5;
  --text-muted:     #d1c2a5;
  --text-disabled:  rgba(209,194,165,.66);

  /* — Accent — */
  --accent:        #ff7038;
  --accent-hover:  #de5d35;
  --accent-dim:    rgba(255,112,56,.12);
  --accent-border: rgba(255,112,56,.20);

  /* — Border — */
  --border:        rgba(59,58,56,.74);
  --border-subtle: rgba(204,189,159,.10);
  --border-faint:  rgba(46,46,46,.10);

  /* — Typography — */
  --font-sans:  "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "IBM Plex Mono", "SF Mono", Monaco, Consolas, monospace;
  --font-serif: "Playfair Display", Georgia, Cambria, "Times New Roman", serif;

  /* — Font sizes — */
  --text-xs:   10px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  28px;
  --text-4xl:  32px;
  --text-5xl:  40px;
  --text-6xl:  48px;
  --text-7xl:  56px;
  --text-8xl:  72px;
  --text-9xl:  80px;

  /* — Spacing — */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-9:  36px;
  --sp-10: 40px;
  --sp-14: 60px;
  --sp-20: 80px;

  /* — Border radius — */
  --radius-sharp: 1px;
  --radius-pill:  678px;

  /* — Motion — */
  --ease:     cubic-bezier(.44,0,.56,1);
  --dur-fast: 150ms;
  --dur-base: 400ms;
  --dur-slow: 600ms;

  /* — Layout — */
  --max-w:      1600px;
  --content-w:  1228px;
  --nav-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Scrollbar */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

*::-webkit-scrollbar-thumb {
  background: var(--surface-1);
  border-radius: var(--radius-pill);
}

/* ============================================================
   01 — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition:
    background-color var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #1d1d1d;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
}

.btn-outline:hover {
  background: var(--accent-dim);
}

.btn-sm {
  font-size: var(--text-xs);
  padding: 8px 16px;
}

.btn-md {
  font-size: var(--text-sm);
  padding: 12px 24px;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 16px 36px;
}

.btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ============================================================
   02 — BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  border: 1px solid;
}

.badge-default {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-color: var(--border);
}

.badge-accent {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-border);
}

.badge-warm {
  background: rgba(204,189,159,.08);
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.badge-mono {
  background: var(--bg-deep);
  color: var(--warm-gray);
  border-color: var(--border);
  font-size: 9px;
}

/* ============================================================
   03 — NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(29,29,29,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-10);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================================
   04 — CARDS
   ============================================================ */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
}

.card-body {
  padding: var(--sp-8);
}

.card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-disabled);
  margin-bottom: var(--sp-3);
  display: block;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.3em;
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65em;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
}

.card-inner {
  background: var(--bg-elevated);
}

.card-inner-accent {
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================================
   05 — STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--bg-elevated);
  padding: 28px 24px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-disabled);
  margin-bottom: 12px;
}

.stat-value {
  font-size: var(--text-5xl);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1em;
  color: var(--text-primary);
}

.stat-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   06 — WORKFLOW / PROCESS
   ============================================================ */
.workflow-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  overflow: hidden;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--dur-base) var(--ease);
}

.workflow-step:last-child {
  border-bottom: none;
}

.workflow-step:hover {
  background: var(--bg-elevated);
}

.workflow-num {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: .04em;
}

.workflow-info {
  flex: 1;
  padding-top: 2px;
}

.workflow-name {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

.workflow-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55em;
}

/* ============================================================
   07 — FORM
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--dur-base) var(--ease);
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-disabled);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* ============================================================
   08 — TICKER / MARQUEE
   ============================================================ */
.ticker-outer {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  background: var(--bg-deep);
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: .04em;
}

.ticker-sep {
  color: var(--warm-gray);
  opacity: .6;
}

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

/* ============================================================
   09 — HERO PATTERN
   ============================================================ */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-5);
}

.hero-title {
  font-size: clamp(44px, 5.5vw, var(--text-8xl));
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.07em;
  color: var(--text-primary);
  margin-bottom: var(--sp-7);
  max-width: 820px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65em;
  max-width: 520px;
  margin-bottom: var(--sp-10);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.10;
  pointer-events: none;
}

/* ============================================================
   10 — SCROLL ANIMATIONS
   ============================================================ */
[data-scroll] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1000ms cubic-bezier(0.34,1.56,0.64,1),
    transform 1000ms cubic-bezier(0.34,1.56,0.64,1);
}

[data-scroll="large"] {
  transform: translateY(36px);
  transition:
    opacity 1000ms cubic-bezier(0.22,1,0.36,1),
    transform 1000ms cubic-bezier(0.22,1,0.36,1);
}

[data-scroll="subtle"] {
  transform: translateY(16px);
  transition:
    opacity 1000ms cubic-bezier(0.34,1.56,0.64,1),
    transform 1000ms cubic-bezier(0.34,1.56,0.64,1);
}

[data-scroll="fade"] {
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(0.34,1.56,0.64,1);
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-delay="1"] {
  transition-delay: 0.10s;
}

[data-scroll-delay="2"] {
  transition-delay: 0.20s;
}

[data-scroll-delay="3"] {
  transition-delay: 0.30s;
}

[data-scroll-delay="4"] {
  transition-delay: 0.40s;
}

[data-scroll-delay="5"] {
  transition-delay: 0.50s;
}

[data-scroll-delay="6"] {
  transition-delay: 0.60s;
}

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

[data-hero] {
  animation: hero-in 1000ms cubic-bezier(0.22,1,0.36,1) both;
}

[data-hero="1"] {
  animation-delay: 0.10s;
}

[data-hero="2"] {
  animation-delay: 0.30s;
}

[data-hero="3"] {
  animation-delay: 0.50s;
}

[data-hero="4"] {
  animation-delay: 0.75s;
}

[data-hero="5"] {
  animation-delay: 0.95s;
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll],
  [data-hero] {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .ticker-track {
    animation: none;
  }
}

/* ============================================================
   11 — PAGE LAYOUT
   ============================================================ */
.page-wrap {
  padding-top: var(--nav-height);
}

.section {
  padding: var(--sp-20) 0;
}

.section-xl {
  padding: 100px 0;
}

.section-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-10);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-4);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--text-disabled);
  display: block;
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: clamp(var(--text-4xl), 3.5vw, var(--text-7xl));
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1em;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65em;
  max-width: 560px;
}

.section-header {
  margin-bottom: var(--sp-14);
}

.section-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-14);
  align-items: end;
  margin-bottom: var(--sp-14);
}

.section-header-row .section-desc {
  max-width: 100%;
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-14);
  align-items: start;
}

.problem-headline {
  font-size: clamp(var(--text-4xl), 3.5vw, var(--text-7xl));
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1em;
  color: var(--text-primary);
}

.problem-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.problem-body {
  padding-top: var(--sp-3);
}

.problem-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75em;
  margin-bottom: var(--sp-5);
}

.problem-text:last-child {
  margin-bottom: 0;
}

.problem-emphasis {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65em;
  margin-bottom: var(--sp-7);
}

/* Process section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-14);
  align-items: start;
}

/* CTA section */
.cta-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 100px var(--sp-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-title {
  font-size: clamp(var(--text-5xl), 4vw, var(--text-8xl));
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08em;
  color: var(--text-primary);
  max-width: 760px;
  margin-bottom: var(--sp-5);
}

.cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.cta-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65em;
  max-width: 480px;
  margin-bottom: var(--sp-10);
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: var(--sp-20) 0 var(--sp-10);
}

.footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-14);
  padding-bottom: var(--sp-14);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--sp-8);
}

.footer-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65em;
  max-width: 300px;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--text-disabled);
  margin-bottom: var(--sp-5);
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-disabled);
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease);
}

.footer-email:hover {
  color: var(--accent);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border-subtle);
}

/* ============================================================
   12 — RESPONSIVE
   ============================================================ */
@media (max-width: 809px) {
  .nav-links {
    display: none;
  }

  .section-inner {
    padding: 0 var(--sp-6);
  }

  .section-xl {
    padding: var(--sp-20) 0;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
    max-width: 100%;
  }

  .hero-desc {
    font-size: var(--text-base);
    max-width: 100%;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-header-row {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .problem-headline {
    font-size: clamp(28px, 8vw, 40px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-3);
    align-items: flex-start;
  }

  .cta-title {
    font-size: clamp(var(--text-5xl), 9vw, var(--text-7xl));
  }
}

@media (min-width: 810px) and (max-width: 1279px) {
  .card-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: clamp(44px, 5.5vw, 64px);
  }

  .section-inner {
    padding: 0 var(--sp-10);
  }

  .problem-headline {
    font-size: clamp(32px, 4vw, 52px);
  }
}

/* ============================================================
   13 — SERVICES SPLIT STICKY
   ============================================================ */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.services-col-left {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

.service-img-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms var(--ease);
  pointer-events: none;
}

.service-img-slot.is-active {
  opacity: 1;
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,28,28,.08) 0%, rgba(28,28,28,.55) 100%);
  z-index: 1;
}

.service-img-tag {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,232,218,.75);
  background: rgba(28,28,28,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59,58,56,.55);
  padding: 6px 14px;
}

.services-col-right {
  border-left: 1px solid var(--border);
}

.service-row {
  position: sticky;
  top: var(--nav-height);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}

.service-row:last-child {
  border-bottom: none;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
  display: block;
}

.service-name {
  font-size: clamp(var(--text-3xl), 2.8vw, var(--text-6xl));
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.service-description {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75em;
  max-width: 420px;
}

/* ============================================================
   14 — SERVICES CAROUSEL (CTA)
   ============================================================ */
.cta-carousel-wrap {
  padding: 80px var(--sp-10) 40px;
  max-width: var(--content-w);
  margin: 0 auto;
  width: 100%;
}

.carousel-overflow {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 600ms var(--ease);
}

.carousel-card {
  flex-shrink: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg-elevated);
}

.carousel-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(28,28,28,.8));
  padding: 32px 16px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(209,194,165,.8);
  z-index: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--surface-1);
  color: var(--text-primary);
}

.carousel-btn:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface-2);
  cursor: pointer;
  border: none;
  transition: background-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
}

/* — responsive overrides — */
@media (max-width: 809px) {
  .services-split {
    grid-template-columns: 1fr;
  }

  .services-col-left {
    display: none;
  }

  .services-col-right {
    border-left: none;
  }

  .service-row {
    position: static;
    min-height: auto;
    padding: var(--sp-10) var(--sp-6);
  }

  .service-name {
    font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  }

  .cta-carousel-wrap {
    padding: var(--sp-10) var(--sp-6) var(--sp-6);
  }
}

/* ============================================================
   15 — WORDPRESS EDITOR COMPATIBILITY
   ============================================================ */
.editor-styles-wrapper,
.block-editor-block-styles {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Kadence Block Editor Overrides */
.wp-block-kadence-container {
  background: var(--bg-primary);
}

.kt-inside-inner-col {
  max-width: var(--content-w);
}

/* Enable scroll animations in editor */
.editor-styles-wrapper [data-scroll] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   16 — ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   17 — PRINT STYLES
   ============================================================ */
@media print {
  .site-nav,
  .ticker-outer,
  .hero-video,
  .services-col-left,
  .carousel-controls {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .page-wrap {
    padding-top: 0;
  }
}
