/* ─────────────────────────────────────────────────────────────────
   Home page — page-scoped under .page-home to prevent leakage.
   Each component class here exists only on `/`.
   ───────────────────────────────────────────────────────────────── */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(11,17,32,0.96) 0%, rgba(11,17,32,0.82) 50%, rgba(11,17,32,0.92) 100%),
    url('/assets/img/stock/hero-blueprint.jpg') center/cover no-repeat;
  padding: var(--sp-8) 0 var(--sp-9);
}
@media (min-width: 1024px) {
  .page-home .home-hero { padding: var(--sp-9) 0; }
}

.page-home .home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero typography on dark */
.page-home .home-hero h1 { color: var(--text-on-dark); }
.page-home .home-hero p.lead { color: rgba(255,255,255,0.78); }
.page-home .home-hero p.lead strong { color: var(--text-on-dark); }

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-8);
  }
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-weight: 700;
  color: var(--cta-bg);
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.page-home .home-hero__copy h1 {
  margin: 0 0 var(--sp-5);
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
}
.page-home .home-hero__accent {
  color: var(--cta-bg);
  font-style: italic;
}
.page-home .home-hero__copy p.lead {
  margin-bottom: var(--sp-4);
  max-width: 580px;
}
.page-home .home-hero__copy p.lead--callout {
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--cta-bg);
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-6);
}

/* Mission section pull-quote */
.page-home .home-mission__quote {
  margin: var(--sp-5) 0 var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--cta-bg);
  font-size: var(--fs-xl);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.page-home .home-mission__attrib {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.62);
  margin: 0 0 var(--sp-4);
  line-height: 1.5;
}
.page-home .home-mission__attrib strong { color: var(--text-on-dark); }

/* Path picker — twin tappable cards */
.page-home .home-hero__paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) {
  .page-home .home-hero__paths { grid-template-columns: 1fr 1fr; }
}

.page-home .home-hero__path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-fast);
}
.page-home .home-hero__path:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.25);
}
.page-home .home-hero__path:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.page-home .home-hero__path.is-active {
  border-color: var(--cta-bg);
  background: rgba(29,78,216,0.18);
  box-shadow: var(--shadow-glow);
}
.page-home .home-hero__path.is-active .home-hero__path-name { color: var(--accent); }

.page-home .home-hero__path-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.page-home .home-hero__path-name {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  text-transform: uppercase;
  color: var(--text-on-dark);
  font-weight: 800;
}
.page-home .home-hero__path-meta {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
}

/* Hero card — featured product preview */
.page-home .home-hero__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--cta-bg);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-2), var(--shadow-glow);
}
.page-home .home-hero__card-eyebrow {
  position: absolute;
  top: -12px;
  left: var(--sp-5);
  background: var(--cta-bg);
  color: var(--text-on-dark);
  padding: 4px var(--sp-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}
.page-home .home-hero__card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.page-home .home-hero__card-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.page-home .home-hero__card-amount {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 48px);
  color: var(--text-primary);
}
.page-home .home-hero__card-suffix {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}
.page-home .home-hero__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.page-home .home-hero__card-list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-base);
  color: var(--text-secondary);
}
.page-home .home-hero__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cta-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.5 4.5L6 12l-3.5-3.5 1-1L6 10l6.5-6.5z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.page-home .home-hero__card-link {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.page-home .home-hero__card-link:hover { color: var(--cta-bg); }


/* ─── Mission strip — bridge between hero and pillars ────────────
   Quiet, supporting band. Just there to state the mission once
   without competing with the hero or the pillars. */

.page-home .home-strip {
  background: var(--bg-section);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.page-home .home-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
}
.page-home .home-strip__mark {
  flex-shrink: 0;
  width: 3px;
  height: 18px;
  background: var(--cta-bg);
  border-radius: var(--r-pill);
}
.page-home .home-strip p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-base);
  max-width: 760px;
}
.page-home .home-strip strong {
  color: var(--text-primary);
  font-weight: 600;
}


/* ─── Pillars ───────────────────────────────────────────────────── */

.page-home .home-pillar {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-home .home-pillar__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.page-home .home-pillar__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bcf-amber-light);
  color: var(--cta-bg);
  border-radius: var(--r-md);
  font-size: 22px;
}
.page-home .home-pillar__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-tertiary);
  font-weight: 600;
}
.page-home .home-pillar .bcf-card__body { flex: 1; margin-bottom: var(--sp-5); }

.page-home .home-pillar__sku {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: var(--bg-section);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
}
.page-home .home-pillar__sku-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-tertiary);
  font-weight: 600;
}
.page-home .home-pillar__sku-price {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  margin: 2px 0;
}
.page-home .home-pillar__sku-name { font-size: var(--fs-sm); color: var(--text-secondary); }


/* ─── Manuals feature ───────────────────────────────────────────── */

.page-home .home-feature__title {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.page-home .home-feature__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.page-home .home-manuals { padding: var(--sp-3) var(--sp-5); }
.page-home .home-manuals__row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-default);
}
.page-home .home-manuals__row:last-child { border-bottom: 0; }
.page-home .home-manuals__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bcf-ink);
  color: var(--text-on-dark);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  border-radius: var(--r-sm);
}
.page-home .home-manuals__title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}


/* ─── Built for every trade ─────────────────────────────────────── */

.page-home .home-trades {
  background: var(--bg-section);
}
.page-home .home-trades__grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-home .home-trade {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.page-home .home-trade:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.page-home .home-trade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.page-home .home-trade:hover img { transform: scale(1.04); }

.page-home .home-trade__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,17,32,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-5);
  color: var(--text-on-dark);
}
.page-home .home-trade__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}
.page-home .home-trade__name {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: 1.1;
}
.page-home .home-trades__more {
  margin: var(--sp-5) auto 0;
  max-width: 760px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}


/* ─── Mission ───────────────────────────────────────────────────── */

.page-home .home-mission {
  position: relative;
  background:
    linear-gradient(135deg, rgba(11,17,32,0.94) 0%, rgba(11,17,32,0.86) 100%),
    url('/assets/img/stock/mission-trades.jpg') center/cover no-repeat;
}

.page-home .home-mission__stat {
  text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(11,17,32,0.4));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.page-home .home-mission__stat-num {
  font-family: var(--ff-display);
  font-size: clamp(64px, 12vw, 112px);
  color: var(--cta-bg);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.page-home .home-mission__stat-label {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--text-on-dark);
  margin-bottom: var(--sp-3);
}
.page-home .home-mission__stat p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-base);
  max-width: 320px;
  margin: 0 auto;
}


/* ─── Closing CTA ───────────────────────────────────────────────── */

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
