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

/* ════════════════════════════════════════════════════════════════
   HERO — full-bleed molten ember field (raw-WebGL canvas behind text)
   Mobile-first. Distinct, hand-tuned layouts for every viewport class:
   phone portrait · phone landscape · tablet portrait · tablet landscape
   · desktop · short landscape laptops. No "scale to fit".
   ════════════════════════════════════════════════════════════════ */

.hero--field {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-bg);
  /* Overrides the generic `section` padding-block for a full-bleed stage */
  padding: calc(var(--nav-h) + 2rem) 0 6rem;
}

/* The GPU ember field fills the whole stage, behind everything. */
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Legibility veil — darkens the particles behind the text block. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(130% 100% at 42% 52%,
      rgba(6,6,10,0.80) 0%, rgba(6,6,10,0.45) 42%, transparent 74%),
    linear-gradient(to bottom,
      rgba(6,6,10,0.55) 0%, transparent 26%, transparent 60%, rgba(6,6,10,0.92) 100%);
}

/* Molten glow seated along the base — the "forge floor". */
.hero__forge-glow {
  position: absolute;
  left: 50%;
  bottom: -14%;
  width: 130%;
  height: 46%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(233,69,96,0.18) 0%, rgba(233,69,96,0.05) 36%, transparent 70%);
  filter: blur(8px);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 640px;
}

/* ── Badge ──────────────────────────────────────────────────────── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.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); }
}

/* ── Heading ────────────────────────────────────────────────────── */
.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 11vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}

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

/* ── Tagline ────────────────────────────────────────────────────── */
.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 3.4vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* ── Sub ────────────────────────────────────────────────────────── */
.hero__sub {
  font-size: clamp(1rem, 4vw, 1.2rem);
  color: rgba(255,255,255,0.64);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 2.25rem;
}

/* ── Actions ────────────────────────────────────────────────────── */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__actions .btn { width: 100%; }

.hero__cta-primary { gap: 0.5rem; }
.hero__cta-primary svg { transition: transform 0.2s ease; }
.hero__cta-primary:hover svg { transform: translateX(4px); }

/* ── Meta stats ─────────────────────────────────────────────────── */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
  margin: 0;
}

.hero__meta-item {
  display: flex;
  flex-direction: column-reverse;   /* number on top, label beneath */
  gap: 3px;
}

.hero__meta-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  color: #fff;
  line-height: 1;
  margin: 0;
}

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

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

.hero__meta-divider {
  display: none;
  width: 1px;
  align-self: stretch;
  min-height: 34px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Scroll cue ─────────────────────────────────────────────────── */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.hero__scroll:hover { color: var(--clr-red); }

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(to bottom, var(--clr-red), transparent);
  animation: scroll-fall 1.9s var(--ease-out) infinite;
}

@keyframes scroll-fall {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(260%); opacity: 0; }
}

/* ── Orchestrated load-in (content isn't gated on scroll reveal) ──── */
.hero__badge,
.hero__heading,
.hero__tagline,
.hero__sub,
.hero__actions,
.hero__meta {
  opacity: 0;
  animation: hero-in 0.8s var(--ease-out) both;
}

.hero__badge   { animation-delay: 0.15s; }
.hero__heading { animation-delay: 0.28s; }
.hero__tagline { animation-delay: 0.50s; }
.hero__sub     { animation-delay: 0.62s; }
.hero__actions { animation-delay: 0.74s; }
.hero__meta    { animation-delay: 0.90s; }

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

/* ── Buttons side-by-side once there's room ─────────────────────── */
@media (min-width: 520px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero__actions .btn { width: auto; }
}

/* ── TABLET PORTRAIT & up — editorial, left-aligned, more air ────── */
@media (min-width: 768px) {
  .hero--field { padding-top: calc(var(--nav-h) + 3rem); }
  .hero__content { max-width: 60ch; }
  .hero__badge { margin-bottom: 2rem; }
  .hero__heading { font-size: clamp(3.6rem, 8vw, 5rem); margin-bottom: 1.8rem; }
  .hero__sub { font-size: 1.15rem; max-width: 46ch; margin-bottom: 2.5rem; }
  .hero__actions { margin-bottom: 3rem; }
  .hero__meta { flex-wrap: nowrap; gap: 0; }
  .hero__meta-item { padding-right: clamp(1.5rem, 3vw, 2.5rem); }
  .hero__meta-divider { display: block; margin-right: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ── DESKTOP — full-height stage, big display, text hugs the left ── */
@media (min-width: 1024px) {
  .hero--field { padding: calc(var(--nav-h) + 1rem) 0 4rem; min-height: 100vh; }
  .hero__content { max-width: 660px; }
  .hero__heading { font-size: clamp(4.4rem, 6vw, 6.2rem); }
  .hero__veil {
    background:
      radial-gradient(95% 120% at 24% 50%,
        rgba(6,6,10,0.90) 0%, rgba(6,6,10,0.48) 38%, transparent 66%),
      linear-gradient(to bottom,
        rgba(6,6,10,0.50) 0%, transparent 28%, transparent 64%, rgba(6,6,10,0.94) 100%);
  }
}

/* ── SHORT LANDSCAPE (laptops / tablets turned sideways) ─────────── */
@media (min-width: 1024px) and (max-height: 860px) and (orientation: landscape) {
  .hero--field { padding-top: calc(var(--nav-h) + 0.5rem); padding-bottom: 3rem; }
  .hero__badge { margin-bottom: 1.4rem; }
  .hero__heading { font-size: clamp(3.4rem, 6.6vh, 4.6rem); margin-bottom: 1.4rem; }
  .hero__sub { margin-bottom: 1.8rem; }
  .hero__actions { margin-bottom: 2rem; }
}

/* ── PHONE LANDSCAPE (very short) — compact two-zone layout ──────── */
@media (orientation: landscape) and (max-height: 520px) {
  .hero--field {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 0.5rem) 0 1.5rem;
  }
  .hero__content { max-width: 64%; }
  .hero__badge { margin-bottom: 0.75rem; }
  .hero__heading { font-size: clamp(1.9rem, 8.5vh, 2.9rem); line-height: 0.96; margin-bottom: 0.75rem; }
  .hero__tagline { font-size: 0.8rem; margin-bottom: 0.6rem; }
  .hero__sub { font-size: 0.9rem; max-width: 42ch; margin-bottom: 1rem; }
  .hero__actions { flex-direction: row; align-items: center; gap: 0.75rem; margin-bottom: 0; }
  .hero__actions .btn { width: auto; }
  .hero__meta { display: none; }
  .hero__scroll { display: none; }
}

/* Respect reduced-motion: no load-in slide, no pulses. */
@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__heading,
  .hero__tagline,
  .hero__sub,
  .hero__actions,
  .hero__meta { animation: none; opacity: 1; }
  .hero__badge-dot { animation: none; }
  .hero__scroll-line::after { animation: none; opacity: 0.5; }
}


/* ── 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 TILLSTUDIO ──────────────────────────────────────────────── */

.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; }

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

@media (max-width: 480px) {
  .svc-card      { padding: 1.8rem; }
  .why__card     { padding: 1.8rem; }
  .path-card     { padding: 1.8rem; }
  .testi-card    { padding: 1.8rem; }
}
