/* =============================================================
   SEELO ENTERPRISE SOLUTIONS — home.css  v2.0
   Page-specific styles for the homepage.
   All custom properties inherit from base.css.
   Never redefine :root tokens here.
============================================================= */

/* ─────────────────────────────────────────────────────────────
   SHARED SECTION ANATOMY
───────────────────────────────────────────────────────────── */
.section-hd {
  text-align: left;
  width: 100%;
  max-width: 860px;
  margin: 0 0 1.5rem;
}

.section-hd-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--txt);
  margin: 0 0 0.65rem;
  text-align: left;
  transition: color 0.3s ease;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--txt-2);
  line-height: 1.75;
  max-width: 760px;
  margin: 0;
  text-align: left;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: calc(100svh - 52px);
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 18, 0.94) 0%,
            rgba(5, 8, 18, 0.78) 45%,
            rgba(5, 8, 18, 0.55) 100%
        ),
        url("../images/hero.jpg") center center / cover no-repeat;
}

/* Subtle technical grid */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image: linear-gradient(
        to right,
        black 0%,
        rgba(0, 0, 0, 0.55) 55%,
        transparent 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 3;

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-copy {
    width: min(100%, 820px);
    text-align: left;
    padding: 96px 0 88px;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-eyebrow-pip {
    width: 9px;
    height: 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--primary);
    border-radius: 50%;
}

.pip-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);

    box-shadow: 0 0 12px var(--primary-glow);
}

/* =========================================================
   MAIN HEADING
   No .hero-heading class
   ========================================================= */

.hero h1 {
    font-family: var(--font-display);
    color: var(--txt);
}



/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-subtext {
    max-width: 680px;
    margin: 28px 0 0;

    color: var(--txt-2);

    font-size: 1.05rem;
    line-height: 1.8;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;

    margin-top: 36px;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-actions .btn i {
    transition: transform var(--t-fast) var(--ease-out);
}

.hero-actions .btn:hover i {
    transform: translateX(4px);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--txt);
    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 600;

    transition:
        color var(--t-fast) var(--ease-out),
        transform var(--t-fast) var(--ease-out);
}

.btn-play:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.play-ring {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    transition:
        border-color var(--t-fast) var(--ease-out),
        background var(--t-fast) var(--ease-out);
}

.btn-play:hover .play-ring {
    border-color: var(--primary);
    background: var(--primary-dim);
}

.play-ring i {
    font-size: 0.9rem;
}

/* =========================================================
   CAPABILITY METRICS
   ========================================================= */

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;

    margin-top: 58px;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.hero-metric-number {
    color: var(--txt);

    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-metric-label {
    color: var(--txt-3);

    font-size: 0.72rem;
    line-height: 1.4;
}

.hero-metric-sep {
    width: 1px;
    height: 34px;
    background: var(--border);
}

/* =========================================================
   AMBIENT ORBS
   ========================================================= */

.hero-orb {
    position: absolute;
    z-index: 1;

    border-radius: 50%;
    pointer-events: none;

    filter: blur(70px);
    opacity: 0.18;
}

.hero-orb--a {
    width: 420px;
    height: 420px;

    top: 5%;
    right: -120px;

    background: var(--primary);
}

.hero-orb--b {
    width: 300px;
    height: 300px;

    bottom: -100px;
    left: 25%;

    background: var(--primary-glow);
}

.hero-orb--c {
    width: 180px;
    height: 180px;

    top: 35%;
    left: 45%;

    background: var(--primary);
    opacity: 0.08;
}

/* =========================================================
   CANVAS
   ========================================================= */

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
    }

    .hero-copy {
        max-width: 720px;
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 7vw, 4.5rem);
    }

    .hero-subtext {
        max-width: 620px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
    .hero {
        background:
            linear-gradient(
                90deg,
                rgba(5, 8, 18, 0.96),
                rgba(5, 8, 18, 0.86)
            ),
            url("../images/hero.jpg") center / cover no-repeat;
    }

    .hero-copy {
        padding: 86px 0 64px;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
        font-size: 0.65rem;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.8rem);
        letter-spacing: -0.045em;
        line-height: 1;
    }

    .hero h1 span {
        margin-top: 6px;
    }

    .hero-subtext {
        margin-top: 22px;
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-top: 30px;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-metrics {
        gap: 18px;
        margin-top: 44px;
    }

    .hero-metric-label {
        max-width: 90px;
    }

    .hero-metric-sep {
        height: 30px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .hero-copy {
        padding: 72px 0 54px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.2rem);
    }

    .hero-metrics {
        gap: 12px;
    }

    .hero-metric-number {
        font-size: 0.95rem;
    }

    .hero-metric-label {
        font-size: 0.65rem;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

/* ─────────────────────────────────────────────────────────────
   LOGO TICKER
───────────────────────────────────────────────────────────── */
.ticker-band {
  padding-block: 2.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  overflow: hidden;
  transition: background 0.3s ease;
}

.ticker-client-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

.ticker-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 1.25rem;
}
.ticker-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt-3);
  white-space: nowrap;
  transition: color var(--t-fast);
  cursor: default;
}
.ticker-item i { font-size: 1.1rem; }
.ticker-item:hover { color: var(--txt-2); }

/* ─────────────────────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────────────────────── */
.services-section { position: relative; padding-block: 1.75rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.svc-card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform   var(--t-base),
    box-shadow  var(--t-base);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  transition: opacity var(--t-slow);
}
.svc-card:hover { transform: translateY(-5px); }
.svc-card:hover::before { opacity: 1; }

/* Per-card glow colors */
.svc-card--blue   { --_c: 0,212,255;   --_hex: #00d4ff; }
.svc-card--purple { --_c: 167,139,250; --_hex: #a78bfa; }
.svc-card--green  { --_c: 34,211,165;  --_hex: #22d3a5; }
.svc-card--amber  { --_c: 240,180,41;  --_hex: var(--accent); }
.svc-card--indigo { --_c: 129,140,248; --_hex: #818cf8; }
.svc-card--rose   { --_c: 248,113,113; --_hex: #f87171; }

.svc-card::before {
  background: radial-gradient(ellipse at top left,
    rgba(var(--_c), 0.08) 0%, transparent 60%);
}
.svc-card:hover {
  border-color: rgba(var(--_c), 0.35);
  box-shadow: 0 16px 48px rgba(var(--_c), 0.08);
}

/* Arrow */
.svc-arrow {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-3);
  font-size: 0.78rem;
  transition: all var(--t-base);
}
.svc-card:hover .svc-arrow {
  background: rgba(var(--_c), 0.12);
  border-color: rgba(var(--_c), 0.4);
  color: var(--_hex);
  transform: rotate(-45deg);
}

/* Service icon */
.svc-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  transition: transform var(--t-base);
}
.svc-card:hover .svc-icon { transform: scale(1.1) rotate(-6deg); }

.svc-icon--blue   { background: rgba(0,212,255,0.1);   color: #00d4ff; }
.svc-icon--purple { background: rgba(167,139,250,0.1); color: #a78bfa; }
.svc-icon--green  { background: rgba(34,211,165,0.1);  color: #22d3a5; }
.svc-icon--amber  { background: rgba(240,180,41,0.1);  color: var(--accent); }
.svc-icon--indigo { background: rgba(129,140,248,0.1); color: #818cf8; }
.svc-icon--rose   { background: rgba(248,113,113,0.1); color: #f87171; }

.svc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  transition: color 0.3s ease;
}
.svc-desc {
  font-size: 0.84rem;
  color: var(--txt-2);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  font-size: 0.66rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--txt-3);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* ─────────────────────────────────────────────────────────────
   STATS BAND
───────────────────────────────────────────────────────────── */
.stats-band {
  position: relative;
  padding-block: 0;
  overflow: hidden;
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%, rgba(0,212,255,0.025) 50%, transparent 100%);
  pointer-events: none;
}

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

.stat-cell {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--t-base);
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--surface); }

.stat-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--txt);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.stat-sfx {
  font-size: 0.5em;
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.2em;
  margin-left: 1px;
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 0.4rem;
}
.stat-hint {
  font-size: 0.78rem;
  color: var(--txt-3);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────────────────────── */
.process-section { padding-block: 1.75rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 0;
}
/* Connecting line across steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 1.75rem; /* half of node height */
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1px;
  background: linear-gradient(90deg,
    var(--primary) 0%, rgba(124,92,191,0.5) 50%, var(--primary) 100%);
  opacity: 0.2;
  z-index: 0;
}

.process-step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--txt-2);
  letter-spacing: 0.05em;
  transition: all var(--t-base);
  z-index: 1;
}
.process-step:hover .process-node {
  border-color: var(--primary);
  background: var(--primary-dim);
  color: var(--primary);
  box-shadow: 0 0 24px var(--primary-glow);
}
.process-step-icon {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  color: var(--primary);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.process-connector {
  display: none; /* connector shown via CSS ::before on the grid */
}

.process-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  transition: color 0.3s ease;
}
.process-desc {
  font-size: 0.82rem;
  color: var(--txt-2);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   WORK / CASE STUDIES
───────────────────────────────────────────────────────────── */
.work-section { padding-block: 1.75rem; }

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.work-card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--t-base), transform var(--t-base);
}
.work-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
}
.work-card--featured { grid-row: span 2; }

.work-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.work-card--featured .work-visual { height: 100%; min-height: 440px; }
.work-card:not(.work-card--featured) .work-visual { aspect-ratio: 16/9; }

.work-project-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.work-card:hover .work-project-image { transform: scale(1.04); }

.work-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  transition: transform var(--t-slow);
}
.work-card:hover .work-bg { transform: scale(1.06); }

.work-bg--fintech { background: linear-gradient(135deg, var(--bg) 0%, rgba(0,212,255,0.14) 100%); }
.work-bg--ai      { background: linear-gradient(135deg, var(--bg) 0%, rgba(124,92,191,0.18) 100%); }
.work-bg--health  { background: linear-gradient(135deg, var(--bg) 0%, rgba(34,211,165,0.14) 100%); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(8,12,24,0.97) 0%,
    rgba(8,12,24,0.4) 55%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.work-type {
  padding: 0.18rem 0.6rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-dim);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--primary);
}
.work-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-3);
}
.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt);
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}
.work-card--featured .work-title { font-size: 1.45rem; }
.work-card:not(.work-card--featured) .work-title { font-size: 1.08rem; }
.work-desc {
  font-size: 0.82rem;
  color: var(--txt-2);
  line-height: 1.55;
}

[data-theme="light"] .work-overlay .work-title { color: #fff; }
[data-theme="light"] .work-overlay .work-desc { color: #e4e7f0; }
[data-theme="light"] .work-overlay .work-year { color: #d0d5df; }

.work-link-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  font-size: 0.82rem;
  transition: all var(--t-base);
  z-index: 2;
}
.work-card:hover .work-link-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  transform: rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────
   TECH STACK
───────────────────────────────────────────────────────────── */
.tech-section {
  padding-block: 1.75rem;
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 1.5rem;
}
.tech-tile {
  background: var(--bg);
  padding: 1.65rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transition: background var(--t-fast);
  cursor: default;
}
.tech-tile:hover { background: var(--surface); }

.tech-emoji {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform var(--t-base);
}
.tech-tile:hover .tech-emoji { transform: scale(1.18) translateY(-2px); }

/* Coloured icon variants */
.te-green  { background: rgba(34,211,165,0.1);  color: #44b78b;  font-size: 1rem; }
.te-orange { background: rgba(255,153,0,0.1);   color: #ff9900;  font-size: 1rem; }
.te-blue   { background: rgba(50,108,229,0.1);  color: #326ce5;  font-size: 1rem; }
.te-navy   { background: rgba(51,103,145,0.1);  color: #336791;  font-size: 1rem; }
.te-red    { background: rgba(220,47,36,0.1);   color: #dc2f24;  font-size: 1rem; }
.te-purple { background: rgba(115,84,237,0.1);  color: #7354ed;  font-size: 1rem; }
.te-dark   { background: rgba(20,20,20,0.3);    color: var(--txt); font-size: 1rem; }

.tech-tile span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--txt-3);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────── */
.testimonials-section { padding-block: 1.75rem; }

.t-slider {
  overflow: hidden;
  position: relative;
}

.t-track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.t-card {
  flex-shrink: 0;
  min-width: calc(50% - 0.7rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: relative;
  transition: border-color var(--t-base);
}
.t-card--active { border-color: rgba(0,212,255,0.22); }

.t-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--primary);
  opacity: 0.18;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-weight: 800;
  user-select: none;
  pointer-events: none;
}

.t-stars {
  display: flex;
  gap: 0.18rem;
  color: var(--accent);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.t-text {
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--txt-2);
  font-style: italic;
  margin-bottom: 2rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}
.t-avatar--cyan   { background: rgba(0,212,255,0.1);   color: var(--primary); }
.t-avatar--purple { background: rgba(167,139,250,0.1); color: #a78bfa; }
.t-avatar--green  { background: rgba(34,211,165,0.1);  color: #22d3a5; }
.t-avatar--amber  { background: rgba(240,180,41,0.1);  color: var(--accent); }

.t-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.t-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--txt-3);
}

/* Testimonial nav */
.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.t-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--txt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.t-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}
.t-dots {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  padding: 0;
}
.t-dot--active {
  background: var(--primary);
  width: 20px;
}

/* ─────────────────────────────────────────────────────────────
   BLOG / INSIGHTS
───────────────────────────────────────────────────────────── */
.blog-section { padding-block: 1.75rem; }

.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.1rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--t-base), transform var(--t-base);
}
.blog-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.blog-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-thumb--sm { aspect-ratio: 16/8; }
.blog-card--featured .blog-thumb { aspect-ratio: 16/8; }

.blog-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-bg { transform: scale(1.06); }

.blog-bg--1 { background: linear-gradient(135deg, var(--bg-2) 0%, rgba(0,212,255,0.12) 100%); }
.blog-bg--2 { background: linear-gradient(135deg, var(--bg-2) 0%, rgba(124,92,191,0.15) 100%); }
.blog-bg--3 { background: linear-gradient(135deg, var(--bg-2) 0%, rgba(240,180,41,0.12) 100%); }

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}
.blog-tag {
  padding: 0.14rem 0.55rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-dim);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--primary);
}
.blog-tag--amber {
  background: var(--accent-dim);
  border-color: rgba(240,180,41,0.22);
  color: var(--accent);
}
.blog-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-3);
}
.blog-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  transition: color 0.3s ease;
}
.blog-card--featured .blog-title { font-size: 1.18rem; }
.blog-excerpt {
  font-size: 0.82rem;
  color: var(--txt-2);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--t-fast);
}
.blog-card:hover .blog-cta { gap: 0.7rem; }

/* ─────────────────────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding-block: 2rem;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(0,212,255,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% -5%, rgba(124,92,191,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
}
.cta-badge i { font-size: 0.8rem; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 2.75rem);
  font-weight: 150;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--txt);
  margin-bottom: 1.2rem;
  transition: color 0.3s ease;
}
.cta-title-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-body {
  font-size: 1rem;
  color: var(--txt-2);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-inline: auto;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cta-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--txt-3);
}
.cta-trust li i { color: var(--primary); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual    { display: none; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .process-grid   { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-grid::before { display: none; }
  .work-grid      { grid-template-columns: 1fr; }
  .work-card--featured { grid-row: span 1; }
  .work-card--featured .work-visual { min-height: 340px; }
  .tech-grid      { grid-template-columns: repeat(4, 1fr); }
  .blog-grid      { grid-template-columns: 1fr 1fr; }
  .blog-card--featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero           { padding-block: 2rem 1rem; }
  /* .hero-headline  { font-size: clamp(2.2rem, 8vw, 3.2rem); } */
  .services-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .process-grid   { grid-template-columns: 1fr; gap: 1.75rem; }
  .t-card         { min-width: 100%; }
  .tech-grid      { grid-template-columns: repeat(3, 1fr); }
  .blog-grid      { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: span 1; }
  .hero-metrics   { gap: 1rem; }
  .cta-trust      { gap: 1rem; }
}

@media (max-width: 480px) {
  .stats-grid     { grid-template-columns: 1fr; }
  .stat-cell      { border-right: none; border-top: 1px solid var(--border); }
  .stat-cell:first-child { border-top: none; }
  .tech-grid      { grid-template-columns: repeat(2, 1fr); }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .ticker-track,
  .hero-pill--top, .hero-pill--bot,
  /* .hero-headline-gradient, */
  .tl-cursor, .pip-dot, .pill-status-dot { animation: none; }
  [data-hero-el] { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
}


/* =========================================================
   HERO ACCOUNT
   Independent top-right navigation, floats over hero media
========================================================= */

.hero-account {
  position: absolute;

  top: 1.5rem;
  right: 2rem;

  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  pointer-events: auto;

  animation: hero-account-in 480ms ease both;
  animation-delay: 120ms;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-account {
    animation: none;
  }
}


/* =========================================================
   GLASS PILL WRAPPER
   Wraps avatar + greeting + logout as one grouped control.
   Semi-transparent + blurred so it stays legible over any
   hero background (photo, gradient, video).
========================================================= */

.hero-account-pill {
  display: flex;
  align-items: center;

  gap: 0.6rem;

  padding: 0.35rem 0.4rem 0.35rem 0.6rem;

  background: var(--bg-card);
  background: color-mix(in srgb, var(--bg-card) 72%, transparent);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  border: 1px solid var(--border);
  border-radius: 999px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   AVATAR
========================================================= */

.hero-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: none;

  width: 1.85rem;
  height: 1.85rem;

  border-radius: 50%;

  background: var(--accent);
  color: #ffffff;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;

  line-height: 1;
}


/* =========================================================
   GREETING
========================================================= */

.hero-account-greeting {
  display: inline-flex;
  align-items: center;

  padding-right: 0.15rem;

  color: var(--text-muted);

  font-size: 0.8rem;
  font-weight: 500;

  white-space: nowrap;
}


/* =========================================================
   LOGIN / LOGOUT BUTTON
========================================================= */

.hero-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 0.4rem;

  min-height: 2.25rem;

  padding: 0.5rem 1rem;

  color: var(--text);

  background: var(--bg-card);

  border: 1px solid var(--border);

  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 600;

  line-height: 1;
  text-decoration: none;

  white-space: nowrap;

  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

/* Login button (standalone, unauthenticated) also gets the
   glass treatment so it reads consistently against hero media. */
.hero-account-login {
  background: var(--bg-card);
  background: color-mix(in srgb, var(--bg-card) 72%, transparent);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-account-login svg {
  flex: none;
  opacity: 0.85;
}

/* Logout button sits inside the pill, so it stays borderless
   until interacted with, keeping the pill visually calm. */
.hero-account-logout {
  min-height: 1.85rem;

  padding: 0.4rem 0.85rem;

  background: transparent;
  border-color: transparent;
}


/* =========================================================
   HOVER
========================================================= */

.hero-account-btn:hover {
  color: var(--accent);

  border-color: var(--accent);

  transform: translateY(-1px);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-account-pill:has(.hero-account-logout:hover) {
  border-color: var(--accent);
}


/* =========================================================
   ACTIVE
========================================================= */

.hero-account-btn:active {
  transform: translateY(0);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.hero-account-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .hero-account {
    top: 1rem;
    right: 1rem;
  }

  .hero-account-greeting {
    display: none;
  }

  .hero-account-pill {
    gap: 0.4rem;
    padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  }

  .hero-account-avatar {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.68rem;
  }

  .hero-account-btn {
    min-height: 2.1rem;
    padding: 0.45rem 0.85rem;

    font-size: 0.75rem;
  }

  .hero-account-login span {
    display: none;
  }

  .hero-account-login {
    min-height: 2.1rem;
    width: 2.1rem;
    padding: 0;
  }
}

/* The hero retains a dark photographic overlay in both themes. Keep all
   foreground copy bright enough to read over that image in light mode. */
[data-theme="light"] .hero h1,
[data-theme="light"] .hero-subtext,
[data-theme="light"] .hero-metric-number,
[data-theme="light"] .btn-play {
  color: #fff;
}

[data-theme="light"] .hero-metric-label {
  color: #e4e8f0;
}

[data-theme="light"] .hero-eyebrow {
  color: #9be8ff;
}

[data-theme="light"] .hero-metric-sep,
[data-theme="light"] .play-ring {
  border-color: rgba(255, 255, 255, 0.42);
}

[data-theme="light"] .hero-metric-sep {
  background: rgba(255, 255, 255, 0.42);
}

[data-theme="light"] .btn-play:hover { color: #9be8ff; }

.services-section .services-grid {
  gap: 1rem;
}

/* Availability indicator */
.hero-eyebrow,
[data-theme="light"] .hero-eyebrow {
  color: #75f5a8;
}

.hero-eyebrow-pip {
  border-color: #38d879;
}

.hero-eyebrow .pip-dot {
  background: #38d879;
  box-shadow: 0 0 12px rgba(56, 216, 121, 0.8);
  animation: availability-blink 1.5s ease-in-out infinite;
}

@keyframes availability-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* Place the availability label at the top and the hero content at the bottom. */
.hero {
  align-items: stretch;
  padding-block: 0;
}

.hero > .container {
  display: flex;
  align-items: stretch;
}

.hero-inner {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  width: min(100%, 820px);
  min-height: calc(100svh - 52px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: clamp(1.5rem, 4vh, 3.5rem);
}

.hero-bottom-content {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 767.98px) {
  .hero-copy {
    min-height: calc(100svh - 52px);
    padding-block: 1.5rem 2rem;
  }

  .hero-bottom-content { margin-top: auto; }
}

@media (max-height: 700px) and (min-width: 768px) {
  .hero-copy { min-height: 640px; }
}

/* Keep homepage sections compact; this overrides the base .section spacing. */
.section.services-section,
.section.process-section,
.section.work-section,
.section.testimonials-section,
.section.blog-section {
  padding-block: 1.75rem;
}
