/* ═══════════════════════════════════════
   GROW — Pillar One Service Page
   grow/index.html
═══════════════════════════════════════ */


/* ═══════════════════════════════════════
   HERO — SPLIT EDITORIAL (About-style, shorter for child page)
═══════════════════════════════════════ */
.grow-hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--deep);
}

/* Text column — left side */
.grow-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl) 6rem;
  position: relative;
  z-index: 3;
  max-width: 50%;
  min-height: 70vh;
}

.grow-hero-eyebrow {
  font-family: var(--body);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.grow-hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.grow-hero-heading {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--paper);
  margin-bottom: 1rem;
}

.grow-hero-heading .line {
  display: block;
  opacity: 0;
  transform: translateY(50px) rotate(1deg);
  animation: heroLine 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.grow-hero-heading .line:nth-child(1) { animation-delay: 0.5s; }

.grow-hero-heading em {
  font-style: italic;
  color: var(--paper);
}

.grow-hero-strapline {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.grow-hero-strapline em {
  font-style: italic;
  color: var(--accent);
}

/* Video column — full-width behind everything */
.grow-hero-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.grow-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.04);
  animation: heroVidIn 1.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

@keyframes heroVidIn {
  to { opacity: 1; transform: scale(1); }
}

/* Left gradient — strong enough for text, dissolves naturally into video */
.grow-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--deep) 0%,
    rgba(26,26,26,0.92) 18%,
    rgba(26,26,26,0.72) 32%,
    rgba(26,26,26,0.35) 50%,
    rgba(26,26,26,0.08) 68%,
    transparent 85%
  );
  z-index: 2;
  pointer-events: none;
}

/* Bottom gradient — grounds the hero and protects scroll CTA + pillar nav */
.grow-hero-right::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(
    to top,
    rgba(26,26,26,0.85) 0%,
    rgba(26,26,26,0.5) 35%,
    rgba(26,26,26,0.15) 65%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Scroll indicator — bottom-left, matching case study pages */
.grow-hero-scroll {
  position: absolute;
  bottom: 0.55rem;
  left: 5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
  text-decoration: none;
  cursor: pointer;
}

.grow-hero-scroll span:first-child {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.4s ease;
}

.grow-hero-scroll span:first-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.grow-hero-scroll:hover span:first-child { color: var(--paper); }
.grow-hero-scroll:hover span:first-child::after { width: 100%; }

.grow-hero-scroll .scroll-line-v {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulseDown 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   NARRATIVE — THE TWO PARAGRAPHS
   Sits between hero strapline and case grid
═══════════════════════════════════════ */
.grow-narrative {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Subtle top border */
.grow-narrative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(10,10,10,0.08), transparent);
}

.grow-narrative-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.grow-narrative-lead {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 2rem;
}

.grow-narrative-body {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

.grow-narrative-body + .grow-narrative-body {
  margin-top: 1.5rem;
}

/* Accent stripe on right column */
.grow-narrative-right {
  padding-left: 2.5rem;
  border-left: 2px solid var(--accent);
  position: relative;
}

/* ═══════════════════════════════════════
   CASE STUDY GRID
═══════════════════════════════════════ */
.grow-work {
  padding: 0;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

/* Watermark text behind grid */
.grow-work::before {
  content: 'GROWTH';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
}

.grow-work-inner {
  position: relative;
  z-index: 1;
}

.grow-work-header {
  padding: 6rem var(--space-xl) var(--space-lg);
}

.grow-work-label {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grow-work-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.grow-work-title {
  font-family: var(--display);
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.3;
  color: var(--paper);
}

.grow-work-title em {
  font-style: italic;
  color: var(--accent);
}

/* Grid layout — masonry-like 2-col with one wide card */
.grow-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 0 0 3px;
  list-style: none;
}

.grow-work-grid > li {
  display: contents;
}

/* Cards */
.grow-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: block;
  text-decoration: none;
}

.grow-card-wide {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.grow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(0.95);
  transition: filter 0.8s ease, transform 1.4s var(--ease-out-expo);
}

.grow-card:hover img {
  filter: brightness(0.92) saturate(1);
  transform: scale(1.04);
}

.grow-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: background 0.5s ease;
}

.grow-card:hover .grow-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.15) 60%);
}

.grow-card-client {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.grow-card-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  font-style: normal;
  color: var(--paper);
  line-height: 1.25;
  margin: 0;
}

.grow-card-brief {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(245,240,232,0.72);
  line-height: 1.7;
  max-width: 380px;
  margin: 0.75rem 0 0;
}

.grow-card-wide .grow-card-brief {
  max-width: 640px;
}

.grow-card-cta {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.2rem;
  position: relative;
  display: inline-block;
  align-self: flex-start;
}

.grow-card-cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.grow-card:hover .grow-card-cta::after {
  width: 100%;
}

/* ═══════════════════════════════════════
   CTA — CLOSING SECTION
═══════════════════════════════════════ */
.grow-cta {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.grow-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(10,10,10,0.08), transparent);
}

.grow-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.grow-cta-heading {
  font-family: var(--display);
  font-size: var(--h2);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.grow-cta-heading em {
  font-style: italic;
  color: var(--accent);
}

.grow-cta-sub {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.grow-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 1.1rem 2.8rem;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, color 0.3s ease;
}

.grow-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 1;
}

.grow-cta-btn span {
  position: relative;
  z-index: 2;
}

.grow-cta-btn:hover::before {
  transform: scaleX(1);
}

.grow-cta-btn:hover,
.grow-cta-btn:hover span {
  color: var(--deep);
}

/* ═══════════════════════════════════════
   EXPLORE OTHER PILLARS
═══════════════════════════════════════ */
.grow-pillars {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.grow-pillars::before {
  content: 'PILLARS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
}

.grow-pillars-label {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grow-pillars-label span {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.grow-pillars-heading {
  font-family: var(--display);
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.3;
  color: var(--paper);
  margin-bottom: 4rem;
  max-width: 500px;
}

.grow-pillars-heading em {
  font-style: italic;
  color: var(--accent);
}

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

.grow-pillar-card {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.7s var(--ease-out-expo);
}

.grow-pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,76,116,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.grow-pillar-card:hover::before { opacity: 1; }

.grow-pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 2;
}

.grow-pillar-card:hover::after { transform: scaleX(1); }

.grow-pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity 0.8s var(--ease-out-expo);
  z-index: 0;
}

.grow-pillar-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,17,16,0.92) 0%, rgba(19,17,16,0.5) 40%, rgba(19,17,16,0.3) 100%);
  transition: opacity 0.8s var(--ease-out-expo);
}

.grow-pillar-card:hover .grow-pillar-bg { opacity: 1; }
.grow-pillar-card:hover .grow-pillar-bg::after { opacity: 0.6; }

.grow-pillar-content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
}

.grow-pillar-number {
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 400;
  color: rgba(245,240,232,0.06);
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  line-height: 1;
  transition: color 0.6s ease;
}

.grow-pillar-card:hover .grow-pillar-number { color: rgba(245,240,232,0.1); }

.grow-pillar-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
  margin-bottom: 1rem;
}

.grow-pillar-desc {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  line-height: 1.7;
  max-width: 340px;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.6s ease 0.1s;
}

.grow-pillar-card:hover .grow-pillar-desc {
  transform: translateY(0);
  opacity: 1;
  color: rgba(245,240,232,0.85);
}

.grow-pillar-cta {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.5s ease 0.2s;
}

.grow-pillar-card:hover .grow-pillar-cta {
  transform: translateY(0);
  opacity: 1;
}

.grow-pillar-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.grow-pillar-card:hover .grow-pillar-cta svg { transform: translateX(5px); }

/* Active / "you're here" card */
.grow-pillar-card.is-current {
  pointer-events: none;
}

.grow-pillar-card.is-current::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,76,116,0.15) 0%, rgba(20,20,20,0.85) 100%);
}

.grow-pillar-card.is-current .grow-pillar-bg {
  opacity: 1;
}

.grow-pillar-card.is-current .grow-pillar-bg::after {
  opacity: 0.55;
}

.grow-pillar-card.is-current .grow-pillar-number {
  color: rgba(255,76,116,0.12);
}

.grow-pillar-card.is-current .grow-pillar-desc {
  transform: none;
  opacity: 1;
  color: rgba(245,240,232,0.78);
}

.grow-pillar-card.is-current .grow-pillar-cta {
  transform: none;
  opacity: 1;
  color: var(--accent);
  font-style: italic;
  letter-spacing: 0.02em;
}

.grow-pillar-card.is-current::after {
  transform: scaleX(1);
  background: var(--accent);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {

  .grow-hero-left {
    padding: var(--space-2xl) 2rem 4rem;
    max-width: 100%;
    min-height: 60vh;
  }

  .grow-hero-right::before {
    background: linear-gradient(
      to right,
      var(--deep) 0%,
      rgba(26,26,26,0.9) 30%,
      rgba(26,26,26,0.6) 55%,
      rgba(26,26,26,0.25) 80%,
      transparent 100%
    );
  }

  .grow-hero-right::after { height: 120px; }

  .grow-hero-scroll {
    left: 2rem;
    bottom: 2rem;
  }

  .grow-narrative {
    padding: var(--space-xl) 2rem;
  }

  .grow-narrative-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grow-narrative-right {
    padding-left: 2rem;
  }

  .grow-work-header {
    padding: 4rem 2rem 2rem;
  }

  .grow-work-grid {
    grid-template-columns: 1fr;
  }

  .grow-card {
    aspect-ratio: 16/9;
  }

  .grow-card-wide {
    grid-column: 1;
    aspect-ratio: 16/9;
  }

  .grow-cta {
    padding: var(--space-xl) 2rem;
  }

  .grow-pillars {
    padding: var(--space-xl) 2rem;
  }

  .grow-pillars-grid {
    grid-template-columns: 1fr;
  }

  .grow-pillar-card.is-current .grow-pillar-desc,
  .grow-pillar-card.is-current .grow-pillar-cta {
    transform: none;
    opacity: 1;
  }

  .grow-pillar-card {
    min-height: 40vh;
  }

  .grow-pillar-desc,
  .grow-pillar-cta {
    transform: none;
    opacity: 1;
  }

  .grow-pillar-desc {
    color: rgba(245,240,232,0.65);
  }
}

@media (max-width: 600px) {
  .grow-hero-heading {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .grow-hero-left {
    min-height: 55vh;
  }

  .grow-card-overlay {
    padding: 1.5rem;
  }
}
