/* ================================================================
   TILLFORGE — HOME PAGE
   Full visual redesign: Three.js hero, custom icons, forge aesthetic
   ================================================================ */

/* ── HERO ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-bg);
  padding-top: var(--nav-h, 72px);
}

/* Three.js canvas — full cover */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Gradient overlay — fades canvas edges, keeps text legible */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(6,6,10,0.98) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 0% 50%,   rgba(6,6,10,0.7)  0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6,6,10,0.7)  0%, transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(6,6,10,0.5)  0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-24, 6rem) var(--sp-16, 4rem);
}

.hero__container {
  max-width: 900px;
}

/* Live indicator badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__badge.is-visible {
  opacity: 1;
  transform: none;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-red);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(233,69,96,0.5);
  animation: badge-pulse 2.8s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(233,69,96,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(233,69,96,0); }
}

/* Main heading — massive display type */
.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.8rem, 10vw + 0.5rem, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: 2.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.hero__heading.is-visible {
  opacity: 1;
  transform: none;
}

.hero__heading-line {
  display: block;
}

.hero__heading-line--red   { color: var(--clr-red); }
.hero__heading-line--white { color: #ffffff; }

/* Tagline — mono code comment style */
.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero__tagline.is-visible {
  opacity: 1;
  transform: none;
}

.hero__tagline-slash {
  color: var(--clr-red);
  opacity: 0.7;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}

.hero__sub.is-visible {
  opacity: 1;
  transform: none;
}

/* Action buttons */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.hero__actions.is-visible {
  opacity: 1;
  transform: none;
}

.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__cta-primary svg {
  transition: transform 0.2s ease;
}

.hero__cta-primary:hover svg {
  transform: translateX(4px);
}

/* Mini stats row inside hero */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

.hero__meta.is-visible {
  opacity: 1;
  transform: none;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 2.5rem;
}

.hero__meta-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}

.hero__meta-num em {
  font-style: normal;
  color: var(--clr-red);
  font-size: 1.1rem;
}

.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

.hero__meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  margin-right: 2.5rem;
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--clr-red), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-drop {
  0%   { scaleY: 0; opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__scroll span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
}


/* ── TICKER ─────────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  background: var(--clr-surface, #0D0D14);
  border-top:    1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-block: 1rem;
  user-select: none;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
}

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

.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  padding: 0 1.6rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.ticker__sep {
  color: var(--clr-red);
  opacity: 0.6;
  font-size: 0.9rem;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}


/* ── SECTION SHARED ─────────────────────────────────────────────── */

.section-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--clr-red);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 520px;
}

section {
  padding-block: clamp(4rem, 8vw, 7rem);
}


/* ── SERVICES ───────────────────────────────────────────────────── */

.services {
  background: var(--clr-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.svc-card {
  position: relative;
  background: var(--clr-bg);
  padding: 2.5rem 2.5rem 2.2rem;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Top border that slides in on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--clr-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover {
  background: var(--clr-surface, #0D0D14);
}

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

.svc-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(233,69,96,0.08);
  border: 1px solid rgba(233,69,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-card:hover .svc-card__icon-wrap {
  background: rgba(233,69,96,0.14);
  border-color: rgba(233,69,96,0.35);
}

.svc-card__icon {
  width: 24px;
  height: 24px;
  color: var(--clr-red);
}

.svc-card__num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
}

.svc-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.svc-card__desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.68;
  margin-bottom: 1.4rem;
}

.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.svc-card__tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
}

.svc-card:hover .svc-card__tags span {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.1);
}

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


/* ── WORK ───────────────────────────────────────────────────────── */

.work-section {
  background: var(--clr-surface, #0D0D14);
}

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

.work-card {
  background: var(--clr-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233,69,96,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(233,69,96,0.1);
}

.work-card__visual {
  aspect-ratio: 16 / 9;
  background: var(--clr-surface-2, #13131E);
  overflow: hidden;
  position: relative;
}

.work-card__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.work-card__visual-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

/* Decorative lines in visual area */
.work-card__visual-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wcd-line {
  position: absolute;
  background: rgba(233,69,96,0.08);
  transition: opacity 0.3s ease;
}

.wcd-line--1 {
  width: 1px;
  top: 0; bottom: 0;
  left: 35%;
}

.wcd-line--2 {
  height: 1px;
  left: 0; right: 0;
  top: 45%;
}

.wcd-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-red);
  opacity: 0.5;
  top: calc(45% - 3px);
  left: calc(35% - 3px);
}

.work-card:hover .wcd-line {
  opacity: 2;
  background: rgba(233,69,96,0.15);
}

.work-card__body {
  padding: 1.5rem;
}

.work-card__type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-red);
  margin-bottom: 0.6rem;
}

.work-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.work-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.work-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.work-card__stack span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-red);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.work-card__link:hover {
  gap: 0.7rem;
}

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


/* ── PROCESS ────────────────────────────────────────────────────── */

.process {
  background: var(--clr-bg);
  overflow: hidden;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process__step {
  text-align: center;
  padding: 0 1rem;
}

.process__step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(233,69,96,0.07);
  border: 1px solid rgba(233,69,96,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.process__step-icon svg {
  width: 26px;
  height: 26px;
  color: var(--clr-red);
}

.process__step:hover .process__step-icon {
  background: rgba(233,69,96,0.13);
  border-color: rgba(233,69,96,0.4);
  box-shadow: 0 0 24px rgba(233,69,96,0.15);
}

.process__step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.process__step-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.process__step-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* Connector line between steps */
.process__connector {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(233,69,96,0.3), rgba(233,69,96,0.1));
  margin-top: 32px; /* align with icon centers */
  width: 40px;
}


/* ── WHY TILLFORGE ──────────────────────────────────────────────── */

.why {
  background: var(--clr-surface, #0D0D14);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.why__card {
  background: var(--clr-surface, #0D0D14);
  padding: 2.5rem;
  transition: background 0.3s ease;
}

.why__card:hover {
  background: rgba(233,69,96,0.03);
}

.why__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(233,69,96,0.07);
  border: 1px solid rgba(233,69,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.3s ease;
}

.why__card:hover .why__icon-wrap {
  background: rgba(233,69,96,0.13);
  border-color: rgba(233,69,96,0.35);
  box-shadow: 0 0 20px rgba(233,69,96,0.1);
}

.why__icon {
  width: 26px;
  height: 26px;
  color: var(--clr-red);
}

.why__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
}

.why__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
}


/* ── TWO PATHS ──────────────────────────────────────────────────── */

.paths {
  background: var(--clr-bg);
}

.paths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.path-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 2.5rem;
  background: var(--clr-surface, #0D0D14);
  transition: border-color 0.3s ease;
}

.path-card--featured {
  border-color: rgba(233,69,96,0.3);
  background: rgba(233,69,96,0.03);
  position: relative;
}

.path-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-red), rgba(233,69,96,0.3));
  border-radius: 4px 4px 0 0;
}

.path-card:not(.path-card--featured):hover {
  border-color: rgba(255,255,255,0.15);
}

.path-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.path-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-card__icon-wrap--accent {
  background: rgba(233,69,96,0.1);
  border-color: rgba(233,69,96,0.25);
}

.path-card__icon {
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.5);
}

.path-card--featured .path-card__icon {
  color: var(--clr-red);
}

.path-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

.path-card__badge--accent {
  color: var(--clr-red);
  background: rgba(233,69,96,0.1);
  border: 1px solid rgba(233,69,96,0.2);
}

.path-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.path-card__desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.path-card__code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--clr-red);
  background: rgba(233,69,96,0.08);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

.path-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.path-card__list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.5;
}

.path-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-red);
  opacity: 0.6;
}

.path-card--featured .path-card__list li::before {
  opacity: 1;
}

.path-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.path-card__price-from {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.path-card__price-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.path-card__price-period {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

.path-card__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
}

.path-card__upgrade {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Ghost variant for path card */
.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.04);
}


/* ── TESTIMONIALS ───────────────────────────────────────────────── */

.testimonials {
  background: var(--clr-surface, #0D0D14);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testi-card {
  margin: 0;
  padding: 2.5rem;
  background: var(--clr-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s ease;
}

.testi-card:hover {
  border-color: rgba(233,69,96,0.2);
}

.testi-card__mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: rgba(233,69,96,0.2);
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  font-weight: 700;
  pointer-events: none;
}

.testi-card__quote {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  font-style: normal;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(233,69,96,0.15);
  border: 1px solid rgba(233,69,96,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--clr-red);
  font-weight: 500;
  flex-shrink: 0;
}

.testi-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  font-style: normal;
  display: block;
  margin-bottom: 0.2rem;
}

.testi-card__role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}


/* ── ECOSYSTEM CALLOUT ──────────────────────────────────────────── */

.ecosystem {
  background: var(--clr-bg);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.ecosystem__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding: 3.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  background: var(--clr-surface, #0D0D14);
}

.ecosystem__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clr-red);
  margin-bottom: 1rem;
}

.ecosystem__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ecosystem__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

.ecosystem__desc em {
  font-style: normal;
  color: rgba(255,255,255,0.7);
}

.ecosystem__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ecosystem__pills span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.ecosystem__pills span:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}

.ecosystem__cta {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ── HOME CTA ───────────────────────────────────────────────────── */

.home-cta {
  background: var(--clr-bg);
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
  overflow: hidden;
}

.home-cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.home-cta__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw + 0.5rem, 4rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}

.home-cta__headline em {
  font-style: normal;
  color: var(--clr-red);
}

.home-cta__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 2.8rem;
  line-height: 1.65;
}

.home-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Red glow under CTA */
.home-cta__glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(233,69,96,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}


/* ── SCROLL REVEAL — global ─────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }


/* ── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .process__steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2.5rem;
  }
  .process__connector { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services__grid        { grid-template-columns: 1fr; }
  .work-grid             { grid-template-columns: 1fr; }
  .why__grid             { grid-template-columns: 1fr; }
  .paths__grid           { grid-template-columns: 1fr; }
  .testimonials__grid    { grid-template-columns: 1fr; }
  .process__steps        { grid-template-columns: 1fr; }

  .hero__meta-divider    { display: none; }
  .hero__meta-item       { padding-right: 2rem; }

  .ecosystem__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__heading { font-size: clamp(3rem, 13vw, 5rem); }
  .hero__meta    { display: none; }
  .svc-card      { padding: 1.8rem; }
  .why__card     { padding: 1.8rem; }
  .path-card     { padding: 1.8rem; }
  .testi-card    { padding: 1.8rem; }
}
