/* ============================================================
   ABxDesign — sections.css
   Homepage sections + Tech stack ticker + Testimonials slider
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(110px, 15vh, 180px) var(--pad-x) clamp(64px, 9vh, 110px);
  position: relative;
  z-index: 10;
  overflow: hidden;
  margin-top: 0;
}

.page-hero+.divider {
  display: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero-orb-1 {
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  background: rgba(124, 111, 247, 0.07);
  top: -18%;
  right: -12%;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: min(460px, 70vw);
  height: min(460px, 70vw);
  background: rgba(6, 214, 199, 0.07);
  bottom: -8%;
  left: -10%;
  animation: orbFloat 18s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: min(300px, 50vw);
  height: min(300px, 50vw);
  background: rgba(255, 107, 157, 0.05);
  top: 48%;
  left: 42%;
  animation: orbFloat 22s ease-in-out infinite 3s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(28px, -22px) scale(1.04);
  }

  66% {
    transform: translate(-18px, 16px) scale(0.97);
  }
}

/* Hero text */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--a2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vh, 32px);
  opacity: 0;
  animation: fadeUp 0.8s 0.15s var(--ease) forwards;
}

.hero-eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--a2);
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 7.8vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: clamp(22px, 3vh, 36px);
  opacity: 0;
  animation: fadeUp 0.9s 0.3s var(--ease) forwards;
}

.hero-sub {
  font-size: clamp(15px, 1.7vw, 18.5px);
  color: var(--t2);
  max-width: min(580px, 90%);
  line-height: 1.80;
  margin-bottom: clamp(30px, 4.5vh, 48px);
  opacity: 0;
  animation: fadeUp 0.9s 0.48s var(--ease) forwards;
}

.hero-sub strong {
  color: var(--t1);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(44px, 6.5vh, 72px);
  opacity: 0;
  animation: fadeUp 0.9s 0.62s var(--ease) forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4.5vw, 52px);
  opacity: 0;
  animation: fadeUp 0.9s 0.76s var(--ease) forwards;
}

.stat-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-top: 6px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── ABOUT PREVIEW ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5.5vw, 72px);
  align-items: center;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--t2);
  border: 1px solid var(--bd);
  padding: 5px 13px;
  border-radius: 99px;
  transition: border-color 0.2s, color 0.2s;
}

.skill-tag:hover {
  border-color: var(--a1);
  color: var(--a1);
}

.stat-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 18px;
}

.stat-card-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
}

.loc-card {
  margin-top: 12px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.loc-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--a4);
  box-shadow: 0 0 12px var(--a4);
  flex-shrink: 0;
  animation: pipAnim 2s ease-in-out infinite;
}

@keyframes pipAnim {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.7)
  }
}

/* ── SERVICES GRID ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: clamp(36px, 5vh, 56px);
}

.service-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 32px);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a1), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  border-color: var(--bd3);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .5);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.service-desc {
  font-size: clamp(12.5px, 1.3vw, 14px);
  color: var(--t2);
  line-height: 1.72;
}

/* ── WORK / PORTFOLIO GRID ───────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
}

.work-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}

.work-card:hover {
  border-color: var(--bd3);
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .55);
}

.work-thumb {
  height: clamp(150px, 18vw, 210px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-thumb-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.06em;
  opacity: 0.12;
}

.work-cat {
  position: absolute;
  top: 13px;
  left: 13px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
}

.work-body {
  padding: clamp(16px, 2vw, 24px);
}

.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.work-excerpt {
  font-size: clamp(12.5px, 1.3vw, 13.5px);
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── TECH STACK TICKER ───────────────────────────────────── */
.tech-section {
  overflow: hidden;
}

.tech-ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  padding: 10px 0;
  cursor: default;
}

.tech-ticker+.tech-ticker {
  margin-top: 16px;
}

.tech-ticker-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.05s var(--ease);
}

.tech-ticker-track {
  will-change: transform;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 10px 18px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--t2);
  transition: border-color .25s, color .25s;
  flex-shrink: 0;
}

.tech-item:hover {
  border-color: var(--bd2);
  color: var(--t1);
}

.tech-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── TESTIMONIALS SLIDER ─────────────────────────────────── */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-overflow {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 32px);
  flex: 0 0 calc((100% - 2 * clamp(12px, 1.6vw, 18px)) / 3);
  min-width: 0;
  transition: border-color .3s;
}

.testimonial-card:hover {
  border-color: var(--bd2);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  color: var(--a1);
}

.testimonial-text {
  font-size: clamp(13.5px, 1.4vw, 15px);
  color: var(--t2);
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t3);
  letter-spacing: .06em;
  margin-top: 2px;
}

/* Slider controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bd2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  transition: border-color .2s, color .2s, background .2s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  border-color: var(--a1);
  color: var(--a1);
  background: rgba(124, 111, 247, .07);
}

.testimonial-prev svg,
.testimonial-next svg {
  width: 16px;
  height: 16px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--bd2);
  transition: background .3s, width .3s;
}

.testimonial-dot.active {
  background: var(--a1);
  width: 22px;
}

/* ── PROCESS ─────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 22px);
  position: relative;
  margin-top: clamp(36px, 5vh, 56px);
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bd2), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surf2);
  border: 1px solid var(--bd2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.process-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: clamp(12.5px, 1.3vw, 14px);
  color: var(--t2);
  line-height: 1.72;
}

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
  align-items: start;
  margin-top: clamp(36px, 5vh, 56px);
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.default {
  background: var(--surf);
  border: 1px solid var(--bd);
}

.pricing-card.featured {
  background: var(--a1);
  border: 1px solid var(--a1);
  box-shadow: var(--glow1);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
}

.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pricing-card.default .pricing-tier {
  color: var(--t3);
}

.pricing-card.featured .pricing-tier {
  color: rgba(255, 255, 255, .6);
}

.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card.featured .pricing-price {
  color: #fff;
}

.pricing-per {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.pricing-card.default .pricing-per {
  color: var(--t3);
}

.pricing-card.featured .pricing-per {
  color: rgba(255, 255, 255, .5);
}

.pricing-desc {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.pricing-card.default .pricing-desc {
  color: var(--t2);
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, .72);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.pricing-feat {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-feat svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.default .pricing-feat {
  color: var(--t2);
}

.pricing-card.featured .pricing-feat {
  color: rgba(255, 255, 255, .82);
}

.pricing-card.default .pricing-feat svg {
  color: var(--a4);
}

.pricing-card.featured .pricing-feat svg {
  color: rgba(255, 255, 255, .9);
}

.pricing-btn {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 9px;
  transition: all .25s;
}

.pricing-card.default .pricing-btn {
  background: var(--a1);
  color: #fff;
}

.pricing-card.default .pricing-btn:hover {
  box-shadow: var(--glow1);
  transform: translateY(-1px);
}

.pricing-card.featured .pricing-btn {
  background: #fff;
  color: var(--a1);
}

.pricing-card.featured .pricing-btn:hover {
  background: rgba(255, 255, 255, .9);
}

/* ── BLOG PREVIEW ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
}

.blog-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}

.blog-card:hover {
  border-color: var(--bd3);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .5);
}

.blog-thumb {
  height: clamp(140px, 16vw, 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-thumb-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: -.06em;
  opacity: .1;
}

.blog-date {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  background: var(--bg);
  border: 1px solid var(--bd);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--t3);
}

.blog-body {
  padding: clamp(16px, 2vw, 24px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 8px;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.blog-excerpt {
  font-size: clamp(12.5px, 1.3vw, 13.5px);
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-read-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t3);
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 80px);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a1);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 17px;
  height: 17px;
}

.contact-info-text {
  font-size: 14px;
  color: var(--t2);
}

.contact-info-text a {
  transition: color .2s;
}

.contact-info-text a:hover {
  color: var(--a1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-status {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 10px 14px;
  border-radius: 8px;
}

.form-status--success {
  background: rgba(79, 255, 176, .08);
  border: 1px solid rgba(79, 255, 176, .25);
  color: var(--a4);
}

.form-status--error {
  background: rgba(255, 107, 157, .08);
  border: 1px solid rgba(255, 107, 157, .25);
  color: var(--a3);
}

.btn-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── INNER PAGE STYLES ───────────────────────────────────── */
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.5vw, 72px);
  letter-spacing: -.04em;
  line-height: .96;
  margin-bottom: 16px;
  margin-top: 10px;
}

.page-hero-sub {
  font-size: clamp(14px, 1.6vw, 17.5px);
  color: var(--t2);
  line-height: 1.82;
  max-width: 560px;
  margin-bottom: 28px;
}

/* Prose content for blog / case study pages */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 32px);
  letter-spacing: -.03em;
  margin: 2.2em 0 .75em;
  color: var(--t1);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: -.02em;
  margin: 1.8em 0 .6em;
  color: var(--t1);
}

.prose p {
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  color: var(--t2);
  line-height: 1.9;
  margin-bottom: 1.3em;
}

.prose ul,
.prose ol {
  color: var(--t2);
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.85;
  margin: 0 0 1.3em 1.4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: .45em;
}

.prose strong {
  color: var(--t1);
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid var(--a1);
  padding: .75em 1.25em;
  margin: 1.5em 0;
  background: rgba(124, 111, 247, .05);
  border-radius: 0 8px 8px 0;
  color: var(--t2);
  font-style: italic;
}

.prose code {
  font-family: var(--font-mono);
  background: var(--surf2);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: .85em;
  color: var(--a2);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--bd);
  margin: 2.5em 0;
}

/* Stats row for case studies */
.cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  margin: clamp(28px, 4vh, 40px) 0;
  position: relative;
  overflow: hidden;
}

.cs-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a1), transparent);
}

.cs-stat-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t3);
  margin-top: 5px;
}

/* ── Section backgrounds — transparent so fog shows through ── */
.section      { background: transparent; }
.section--alt { background: rgba(6,4,26,0.7); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .testimonial-card {
    flex-basis: calc((100% - clamp(12px, 1.6vw, 18px)) / 2);
  }
}

@media (max-width: 900px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .work-grid,
  .blog-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {

  .services-grid,
  .work-grid,
  .blog-grid,
  .pricing-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero {
    /* padding: 100px var(--pad-x) 40px; */
    min-height: 3svh;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(32px, 11vw, 52px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 12px 18px;
    font-size: 10px;
  }

  .page-hero {
    padding: 90px var(--pad-x) 40px;
    min-height: auto;
  }

  .page-hero-title {
    font-size: clamp(26px, 9vw, 42px);
  }
}