/* ==========================================================================
   EDITORIAL & ASYMMETRIC LAYOUTS
   ========================================================================== */

/* 1. The Hero Section (Break the Grid) */
.hero-editorial {
  position: relative;
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--bg);
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-editorial__content {
  padding: clamp(2rem, 6vw, 6rem);
  z-index: 10;
  position: relative;
}

.hero-editorial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-editorial__eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.hero-editorial__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-weight: 700;
}

.hero-editorial__lede {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 2.5rem;
}

.hero-editorial__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* The Image Side - Overlapping */
.hero-editorial__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.hero-editorial__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Gradient overlay to blend image into background */
.hero-editorial__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 40%);
}

/* Mobile Fallback */
@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-editorial__visual {
    position: relative;
    width: 100%;
    height: 50vh;
    order: -1;
  }
  .hero-editorial__visual::after {
    background: linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
  }
  .hero-editorial__content {
    padding: 2rem 1.25rem;
    margin-top: -4rem; /* Overlap image */
  }
}

/* Inner pages — same split hero as home, slightly shorter */
.hero-editorial--subpage {
  min-height: clamp(26rem, 70vh, 48rem);
  border-bottom: 1px solid var(--line);
}

.hero-editorial--subpage .hero-editorial__lede {
  max-width: 36rem;
}

.hero-editorial--subpage .hero-badges {
  margin: 0 0 1.75rem;
}

.hero-floating-card--dock {
  bottom: 2.5rem;
  right: 2rem;
  left: auto;
  max-width: min(380px, calc(100% - 2rem));
  padding: 1.25rem 1.35rem;
}

@media (max-width: 900px) {
  .hero-floating-card--dock {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* 2. Asymmetric Grid (For About / Services) */
.grid-asymmetric {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
  padding: var(--space-section) 0;
}

.grid-asymmetric--reverse {
  grid-template-columns: 7fr 5fr;
}

.grid-asymmetric--split-top {
  align-items: start;
}

.grid-asymmetric__text {
  position: relative;
  z-index: 2;
}

.grid-asymmetric__visual {
  position: relative;
  z-index: 1;
}

/* Overlapping Image Effect */
.grid-asymmetric__img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.grid-asymmetric__img-offset {
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 60%;
  border-radius: var(--radius-md);
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-1);
  z-index: 3;
}

@media (max-width: 900px) {
  .grid-asymmetric,
  .grid-asymmetric--reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .grid-asymmetric__img-offset {
    display: none; /* Simplify on mobile */
  }
}

/* 3. Stats Strip - Modernized */
.stats-editorial {
  background: var(--ink);
  color: var(--surface);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(179, 141, 70, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(30, 67, 52, 0.35), transparent 55%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    );
}

.stats-editorial__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.stats-editorial__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stats-editorial__item:first-child {
  border-left: none;
  padding-left: 0;
}

.stats-editorial__val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--surface);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.stats-editorial__val::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), rgba(179, 141, 70, 0.25));
}

.stats-editorial__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-editorial__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .stats-editorial__item {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
  }
  .stats-editorial__item:nth-child(1),
  .stats-editorial__item:nth-child(2) {
    border-top: none;
    padding-top: 0;
  }
}

/* ── Brand pipeline — homepage “infographic” lane ───────────────────────── */
.brand-pipeline {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg-subtle) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.brand-pipeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 18%, var(--accent) 50%, var(--gold) 82%, transparent 100%);
  opacity: 0.85;
}

.brand-pipeline__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.brand-pipeline__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.brand-pipeline__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.brand-pipeline__lede {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.brand-pipeline__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  max-width: 920px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  position: relative;
}

/* Single quiet spine — sequence without a second row of arrows */
@media (min-width: 701px) {
  .brand-pipeline__track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 2.15rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(179, 141, 70, 0.35) 12%,
      rgba(30, 67, 52, 0.2) 50%,
      rgba(179, 141, 70, 0.35) 88%,
      transparent
    );
    pointer-events: none;
    z-index: 0;
  }

}

.brand-pipeline__node {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 200px;
  margin: 0;
  padding: 1rem 0.65rem 1.15rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
  z-index: 1;
}

.brand-pipeline__node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--accent));
  opacity: 0.55;
}

.brand-pipeline__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: var(--bg-subtle);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.brand-pipeline__n {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.brand-pipeline__ico {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.brand-pipeline__lab {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .brand-pipeline__track {
    flex-direction: column;
    align-items: stretch;
    max-width: 17.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .brand-pipeline__node {
    max-width: none;
  }
}
