/* ============================================================
   PAID MEDIA program page — built on the v2 design system
   ============================================================ */

/* ---- HERO (dark, with faint oversized backdrop word) ---- */
.pm-hero { position: relative; z-index: 2; overflow: hidden; background: var(--n900); padding: clamp(220px, 35vh, 380px) 0 clamp(56px, 8vh, 100px); }
.pm-hero .section-wrap { position: relative; z-index: 1; width: min(100% - 2 * var(--gut), 1800px); margin: 0 auto; padding: 0; }   /* ATF content stretches to a true 1800px max-width */
.pm-hero-bg {
  position: absolute; top: clamp(36px, 7vh, 90px); left: 0; right: 0; z-index: 0;
  text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-weight: 400; font-synthesis: none;
  font-size: min(18vw, 300px); line-height: 1; letter-spacing: -0.02em;   /* scales with width but CAPPED so it never gets gigantic on big screens */
  /* chunky stepped grey gradient + grain, clipped to the word */
  color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.13) 0 25%,
      rgba(255, 255, 255, 0.09) 25% 50%,
      rgba(255, 255, 255, 0.055) 50% 75%,
      rgba(255, 255, 255, 0.03) 75% 100%);
  background-size: 150px 150px, 100% 100%;
  background-blend-mode: overlay;
  -webkit-background-clip: text; background-clip: text;
}
.pm-hero .overline { display: block; margin: 0 0 20px; color: var(--n500); }
.pm-hero-title { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -0.01em; color: #fff; margin: 0; max-width: 24ch; }
.pm-hero-title .word { text-wrap: balance; }   /* even lines, never a lone dangling word */
.display-head { text-wrap: balance; }
@media (min-width: 880px) { .pm-hero-title { max-width: 30ch; } }   /* ~3 lines on the wide band */

/* corner Contact CTA matches the hero background instead of being blue.
   Scope to ONLY the floating nav cta ([class="cta"] = exactly "cta"), so section
   CTAs like .cta-svc keep their own fill. */
[class="cta"] { background: transparent; }
[class="cta"]:hover .cta-label { color: var(--n900); }
[class="cta"]:hover .cta-corners .c { border-color: var(--n900); }
.pm-hero-cta {
  position: relative; overflow: hidden; z-index: 0;
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(28px, 4vh, 40px);
  font-family: var(--mono); text-transform: uppercase; font-size: var(--fs-sm); letter-spacing: 0.06em;
  color: #fff; border: 1px solid #fff; padding: 16px 32px; text-decoration: none; transition: color 0.25s ease;
}
.pm-hero-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
.pm-hero-cta:hover { color: var(--n900); }
.pm-hero-cta:hover::before { transform: scaleY(1); }
.pm-hero-cta .arrow { display: none; }   /* no arrow on the main ATF CTA */
.pm-hero-cta .arrow { transition: transform 0.3s ease; }
.pm-hero-cta:hover .arrow { transform: translateX(4px); }
/* spec sheet */
.pm-spec { margin: clamp(72px, 11vh, 150px) 0 0; max-width: none; border-top: 1px solid rgba(255, 255, 255, 0.16); }   /* generous gap above the spec sheet */
.pm-spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.pm-spec dt { font-family: var(--mono); text-transform: uppercase; font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--n500); margin: 0; }
.pm-spec dd { font-family: var(--mono); text-transform: uppercase; font-size: var(--fs-label); letter-spacing: 0.06em; color: #fff; margin: 0; }

/* ---- NARRATIVE (the pinned story, on blue) ---- */
.pm-story { background: var(--blue); }

/* ---- PROOF: gallery + stats + marquee (dark) ---- */
.pm-proof { position: relative; z-index: 2; background: var(--n900); padding: clamp(72px, 10.8vh, 135px) 0; }
.pm-proof .overline { display: block; margin: 0 0 clamp(28px, 4vh, 44px); color: var(--n500); }
.pm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); margin-bottom: clamp(48px, 7vh, 88px); align-items: start; }
.pm-gcol { display: flex; flex-direction: column; gap: clamp(12px, 1.5vw, 20px); will-change: transform; }
.pm-gcol:nth-child(2) { margin-top: clamp(28px, 5vw, 72px); }   /* brick offset */
.pm-gcol:nth-child(3) { margin-top: clamp(14px, 2.5vw, 36px); }
.pm-gallery img { width: 100%; display: block; border: 1px solid rgba(255, 255, 255, 0.1); }
.pm-proof .stats-grid { margin-bottom: clamp(48px, 7vh, 80px); }
.pm-proof .marquee::before { background: linear-gradient(to right, var(--n900), rgba(23, 24, 24, 0)); }
.pm-proof .marquee::after  { background: linear-gradient(to left,  var(--n900), rgba(23, 24, 24, 0)); }

/* ---- TIERS: four engagement cards (dark, white rising-fill) ---- */
.pm-tiers { position: relative; z-index: 2; background: var(--n900); padding: clamp(36px, 5.4vh, 72px) 0 clamp(81px, 11.7vh, 153px); }
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
/* exactly 3 programs sit on one row; 4 stays the 2x2 grid (desktop only - phones stack below) */
@media (min-width: 861px) {
  .tier-grid:has(.tier-card:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}
.tier-card {
  position: relative; overflow: hidden; z-index: 0;
  display: flex; flex-direction: column; min-height: clamp(380px, 33vw, 500px);
  border: 1px solid rgba(255, 255, 255, 0.16); padding: clamp(38px, 3.8vw, 68px); text-decoration: none;
  transition: border-color 0.25s ease;
}
/* hover: a soft warm sunlight glow pools from the top-right corner (glow only, no rays).
   Card stays dark so text stays light. Sits above the noise vignette (-1 > -2). */
.tier-card::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(72% 60% at 100% 0%, rgba(255,248,235,0.10) 0%, rgba(255,245,228,0.03) 42%, transparent 70%);
}
/* noise vignette: white grain heaviest on the card's outer rim, fading out toward the centre so the
   text area stays clean black. Sits below the hover white-fill (z-index -2 < -1), so hover still covers it. */
.tier-card::after {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='nt'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.26 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nt)'/%3E%3C/svg%3E");
  background-size: 170px 170px;
  -webkit-mask: radial-gradient(ellipse 118% 118% at 50% 50%, transparent 38%, #000 96%);
          mask: radial-gradient(ellipse 118% 118% at 50% 50%, transparent 38%, #000 96%);
}
.tier-card:hover { border-color: rgba(255,250,240,0.16); box-shadow: 0 0 38px -20px rgba(255,246,230,0.14); }
.tier-card:hover::before { opacity: 1; }
.tier-num { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--n500); display: inline-flex; align-items: center; transition: color 0.25s ease; }
.tier-title { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(30px, 3vw, 52px); line-height: 1.02; color: #fff; margin: 20px 0 16px; transition: color 0.25s ease; }
.tier-desc { font-family: var(--body); font-size: var(--fs-body); line-height: 1.55; color: var(--n400); margin: 0 0 18px; max-width: 42ch; transition: color 0.25s ease; }
.tier-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); text-transform: uppercase; font-size: var(--fs-micro); letter-spacing: 0.06em; color: var(--n500); transition: color 0.25s ease; }
.tier-learn { white-space: nowrap; }
/* card stays dark on hover (glow, not white fill) - text stays light, just a subtle lift */
.tier-card:hover .tier-num,
.tier-card:hover .tier-meta { color: rgba(255,255,255,0.72); }
.tier-card:hover .tier-desc { color: var(--n300); }
/* touch devices: :hover sticks after a tap, freezing a tier card in its white-fill state. Reset to resting. */
@media (hover: none) {
  .tier-card:hover { border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
  .tier-card:hover::before { opacity: 0; animation: none; }
}
/* retro-future emblem, one per tier. white linework sits in the top-right corner on the dark
   card; on hover the card fills white so it inverts to dark (brightness 0) to stay visible. */
.tier-emb {
  display: none;   /* HIDDEN FOR NOW — img tags + engravings/tier-*.png kept. To re-enable: change to `block` and restore the .tier-title padding-right below. */
  position: absolute;
  top: clamp(30px, 3.4vw, 58px);
  right: clamp(30px, 3.4vw, 58px);
  width: clamp(58px, 6vw, 92px);
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.tier-card:hover .tier-emb { filter: brightness(0); opacity: 0.9; transform: scale(1.06); }
/* when emblems are shown again, re-add: .tier-title { padding-right: clamp(70px, 8vw, 112px); } */

/* opportunity — 2x2 emblem grid (homepage engraving style, dark section) */
.opp2-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.18); }
.opp2-cell { position: relative; padding: clamp(34px,3.6vw,60px) clamp(30px,3vw,54px); border-bottom: 1px solid rgba(255,255,255,0.12); border-left: 1px solid rgba(255,255,255,0.12); }
.opp2-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
.opp2-cell:nth-last-child(-n+2) { border-bottom: 0; }
.opp2-kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--n500); }
.opp2-fig { display: block; width: clamp(96px,9vw,132px); aspect-ratio: 1/1; margin: clamp(22px,3vh,34px) 0 clamp(20px,2.6vh,28px); }
.opp2-art { width: 100%; height: 100%; object-fit: contain; object-position: left center; opacity: 0.9; transition: transform 0.55s cubic-bezier(0.2,0.7,0.2,1), opacity 0.4s ease; }
.opp2-cell:hover .opp2-art { transform: scale(1.06); opacity: 1; }
.opp2-name { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(24px,2.2vw,32px); line-height: 1.04; color: #fff; margin: 0 0 12px; }
.opp2-desc { font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--n400); margin: 0; max-width: 38ch; }
@media (max-width: 760px) {
  .opp2-grid { grid-template-columns: 1fr; border-top: none; }
  .opp2-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 0; padding: clamp(30px,5vw,44px) 0; }
}

@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; }
  .pm-gcol:nth-child(2), .pm-gcol:nth-child(3) { margin-top: 0; }   /* tidy on small screens */
}

/* ---- THE WORK: two full-bleed creative marquees (static ads + UGC video) ---- */
.pm-work { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); margin-bottom: clamp(48px, 7vh, 88px); }
.ad-marquee { position: relative; overflow: hidden; }
.ad-marquee__track { display: flex; width: max-content; animation: marquee-scroll var(--dur, 60s) linear infinite; will-change: transform; }
.ad-marquee--reverse .ad-marquee__track { animation-direction: reverse; }
@media (hover: hover) { .ad-marquee:hover .ad-marquee__track { animation-play-state: paused; } }
.ad-marquee__group { display: flex; align-items: stretch; flex: 0 0 auto; gap: clamp(12px, 1.4vw, 20px); padding-right: clamp(12px, 1.4vw, 20px); }

/* creative tiles — ALL square, all clickable. UGC is cropped to a square thumbnail
   (full vertical video opens in the lightbox); static ads open full-size too. */
.cw-tile { flex: 0 0 auto; height: clamp(220px, 24vw, 300px); aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); position: relative; padding: 0; margin: 0; background: none; cursor: url("cursors/hand.png") 6 1, pointer; display: block; }
.cw-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cw-tile:hover img { transform: scale(1.04); }

/* UGC variant — same square footprint, plus play badge + tag + bottom scrim */
.cw-tile--ugc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 45%); pointer-events: none; }
.ugc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; z-index: 2; transition: transform 0.2s ease, background 0.2s ease; }
.cw-tile--ugc:hover .ugc-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.ugc-play::before { content: ''; width: 0; height: 0; border-left: 15px solid var(--n900); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.ugc-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.5); padding: 4px 7px; }

/* edge fades into the dark surface */
.ad-marquee::before, .ad-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8%, 160px); z-index: 3; pointer-events: none; }
.ad-marquee::before { left: 0; background: linear-gradient(to right, var(--n900), rgba(23, 24, 24, 0)); }
.ad-marquee::after { right: 0; background: linear-gradient(to left, var(--n900), rgba(23, 24, 24, 0)); }

/* ---- UGC lightbox (placeholder for real video) ---- */
.ugc-lb { position: fixed; inset: 0; z-index: 9980; display: none; align-items: center; justify-content: center; padding: 24px; }
.ugc-lb.is-open { display: flex; }
.ugc-lb-scrim { position: absolute; inset: 0; background: rgba(10, 11, 11, 0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ugc-lb-card { position: relative; z-index: 1; background: #000; border: 1px solid rgba(255, 255, 255, 0.18); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
/* UGC: vertical 9:16 frame, image fills it */
.ugc-lb--ugc .ugc-lb-card { width: min(360px, 86vw); aspect-ratio: 9 / 16; max-height: 88vh; }
.ugc-lb--ugc .ugc-lb-card img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
/* static ad: show the FULL creative at its natural shape, no play badge/note */
.ugc-lb--ad .ugc-lb-card { width: auto; }
.ugc-lb--ad .ugc-lb-card img { display: block; width: auto; height: auto; max-width: min(88vw, 880px); max-height: 86vh; object-fit: contain; }
.ugc-lb--ad .ugc-lb-play, .ugc-lb--ad .ugc-lb-note { display: none; }
.ugc-lb-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); display: grid; place-items: center; }
.ugc-lb-play::before { content: ''; width: 0; height: 0; border-left: 22px solid var(--n900); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.ugc-lb-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.ugc-lb-close { position: absolute; top: -40px; right: 0; z-index: 2; width: 32px; height: 32px; background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; font-size: 18px; line-height: 1; cursor: url("cursors/hand.png") 6 1, pointer; }
.ugc-lb-close:hover { border-color: #fff; }

@media (max-width: 768px) {
  .cw-tile { height: clamp(150px, 42vw, 210px); }
}

/* ===== CREATIVE WALL: pinned, scroll-scrubbed grid reveal (replaces the ad marquee) ===== */
/* Paid-media narrative: light scroll-reveal story, aligned to the standard container (section-wrap),
   left-aligned, dark Mondwest words that light from grey -> ink as you scroll. Not pinned. */
.pm-story { background: #ffffff; padding: clamp(117px, 19.8vh, 234px) 0; }
.pm-story .story-para { font-family: var(--display); font-weight: 400; font-synthesis: none;
  font-size: clamp(30px, 3.7vw, 54px); line-height: 1.28; letter-spacing: 0; margin: 0 0 0.55em; max-width: none; text-align: left; }
.pm-story .story-para:last-child { margin-bottom: 0; }
.pm-story .w { color: #171818; opacity: 0.16; }   /* JS raises opacity toward 1 across the scroll */

/* ===== METHODOLOGY: expanding triptych on BLACK (Flora "Process Triptych" motion) ===== */
.pm-method { background: #171818; padding: clamp(76px, 11.7vh, 151px) 0; }
.pm-method-head { max-width: 60ch; }
.pm-method-title { color: #fff; max-width: 22ch; font-size: calc(clamp(22px, 2.7vw, 38px) + 10px); line-height: 1.08; margin: 14px 0 0; }
.pm-method-intro { font-family: var(--body); font-weight: 300; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; color: rgba(255,255,255,0.55); max-width: 58ch; margin: clamp(16px,2.2vh,24px) 0 0; }

/* the row: 4 cards, hovered/active one stretches (flex-grow 1 -> 2.7), others shrink */
.pm-trip { list-style: none; margin: clamp(40px,6vh,72px) 0 0; padding: 0; display: flex; gap: 10px; height: clamp(440px, 64vh, 700px); }
.pm-card {
  position: relative; flex: 1 1 0%; min-width: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 1.9vw, 34px);
  cursor: url("cursors/arrow.png") 0 0, default; will-change: flex-grow;
  transition: flex-grow 1s cubic-bezier(.45,0,0,1), border-color .6s ease;
}
.pm-card.is-active { flex-grow: 2.7; border-color: rgba(255,255,255,0.26); }
@media (hover: hover) {
  .pm-card:hover { flex-grow: 2.7; border-color: rgba(255,255,255,0.26); }
  .pm-trip:hover .pm-card.is-active:not(:hover) { flex-grow: 1; border-color: rgba(255,255,255,0.12); }
}
/* line-work emblem as a background-image (recoloured #171818 bg matches the card; sits below the title, never cropped) */
.pm-card { background: #171818; }
/* bigger, anchored toward the bottom; stays big on hover (the tall rocket/tower ease down a touch) */
.pm-card-art { position: absolute; top: 20%; right: 4%; bottom: 2%; left: 4%; z-index: 0; background-size: contain; background-position: center bottom; background-repeat: no-repeat; opacity: 1; transform: scale(1.25); transform-origin: center 80%; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.pm-card[data-poster*="phase-3"].is-active .pm-card-art,
.pm-card[data-poster*="phase-4"].is-active .pm-card-art { transform: scale(1.1); }
@media (hover: hover){
  .pm-card[data-poster*="phase-3"]:hover .pm-card-art,
  .pm-card[data-poster*="phase-4"]:hover .pm-card-art { transform: scale(1.1); }
}
.pm-card-top, .pm-card-bot { position: relative; z-index: 2; }
/* dark backing anchored to the copy block so it always covers the text (grows with longer paragraphs like Engine Architecture); appears on hover/active */
.pm-card-grad { display: none; }
.pm-card-bot::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * clamp(22px, 1.9vw, 34px)); right: calc(-1 * clamp(22px, 1.9vw, 34px)); bottom: calc(-1 * clamp(22px, 1.9vw, 34px)); top: -56px;
  background: linear-gradient(to top, #171818, #171818 60%, transparent); opacity: 0; transition: opacity .5s ease; }
.pm-card.is-active .pm-card-bot::before { opacity: 1; }
@media (hover: hover){ .pm-card:hover .pm-card-bot::before { opacity: 1; } }
.pm-card-no { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.pm-card-name { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(21px, 1.9vw, 32px); color: #fff; margin: 12px 0 0; line-height: 1.05; }
.pm-card-copy { font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.78); margin: 0; max-width: 42ch;
  opacity: 0; transform: translateY(10px); transition: opacity .55s ease .12s, transform .55s cubic-bezier(.45,0,0,1) .12s; }
.pm-card-bot .pm-hero-cta { margin-top: 18px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s ease .18s, transform .5s cubic-bezier(.45,0,0,1) .18s; }
/* these sit on dark video, so force white (override the light-page service-light.css dark CTA) */
.pm-card-bot .pm-hero-cta { color: #fff; border-color: rgba(255,255,255,.85); }
.pm-card-bot .pm-hero-cta::before { background: #fff; }
.pm-card-bot .pm-hero-cta:hover { color: var(--n900); }
.pm-card.is-active .pm-card-copy, .pm-card.is-active .pm-card-bot .pm-hero-cta { opacity: 1; transform: none; }
.pm-card.is-active .pm-card-bot .pm-hero-cta { pointer-events: auto; }
@media (hover: hover){
  .pm-card:hover .pm-card-copy, .pm-card:hover .pm-card-bot .pm-hero-cta { opacity: 1; transform: none; }
  .pm-card:hover .pm-card-bot .pm-hero-cta { pointer-events: auto; }
  /* when the row is hovered, the collapsed default-active card hides its copy (only the hovered card reveals) */
  .pm-trip:hover .pm-card.is-active:not(:hover) .pm-card-copy,
  .pm-trip:hover .pm-card.is-active:not(:hover) .pm-card-bot .pm-hero-cta { opacity: 0; transform: translateY(10px); pointer-events: none; }
  /* the collapsed default-active card also drops its dark text-backing - otherwise the
     gradient stays on with no copy over it and darkens the emblem (the recurring bug) */
  .pm-trip:hover .pm-card.is-active:not(:hover) .pm-card-bot::before { opacity: 0; }
}
@media (max-width: 860px) {
  .pm-trip { flex-direction: column; height: auto; gap: 14px; }
  /* Clean vertical stack: number+name, then the illustration as its OWN block, then the copy below it.
     (Desktop floats the art as an absolute backdrop behind the copy, which crammed/overlapped on mobile.) */
  .pm-card { flex: none; flex-grow: 0; min-height: 0; padding: 30px 24px; }
  .pm-card-top { order: 1; }
  .pm-card-art { order: 2; position: relative; inset: auto; width: 100%; height: 190px;
    transform: none; margin: 20px 0 2px; background-position: center; background-size: contain; }
  .pm-card-bot { order: 3; }
  .pm-card-bot::before { display: none; }   /* art no longer overlaps the copy -> no dark backing needed */
  .pm-card-copy { font-size: 14px; line-height: 1.55; opacity: 1; transform: none; }
  .pm-card-bot .pm-hero-cta { opacity: 1; transform: none; pointer-events: auto; }
}

/* ===== CAPABILITIES: full-width rows - hover/active lightens + grows the row and reveals its media ===== */
/* "What we do" now takes the page accent (--svc); ink flips per accent via --svc-ink (default dark). */
.pm-cap { position: relative; background: var(--svc); color: var(--svc-ink, #171818); padding: clamp(54px, 8.1vh, 99px) 0 0; }
.pm-cap-head { margin-bottom: clamp(30px, 5vh, 56px); padding: 0 clamp(28px, 4vw, 72px); }
.pm-cap .overline { color: color-mix(in srgb, var(--svc-ink, #171818) 55%, transparent); }
.pm-cap-title { color: var(--svc-ink, #171818); max-width: none; font-size: calc(clamp(22px, 2.7vw, 38px) + 10px); line-height: 1.08; margin: 14px 0 0; }
.capx { border-top: 1px solid color-mix(in srgb, var(--svc-ink, #171818) 15%, transparent); }
.cx-row { display: block; text-decoration: none; background: transparent; border-bottom: 1px solid color-mix(in srgb, var(--svc-ink, #171818) 15%, transparent);
  padding: clamp(26px, 4vh, 44px) 0; transition: background .5s ease, padding .55s cubic-bezier(.4,0,.2,1); cursor: url("cursors/arrow.png") 0 0, default; }
.cx-row--link { cursor: url("cursors/hand.png") 6 1, pointer; }   /* only the rows that lead somewhere look clickable */
.cx-row:last-child { border-bottom: 0; }
.cx-row.active { background: color-mix(in srgb, var(--svc) 90%, var(--svc-ink, #171818)); padding: clamp(40px, 6vh, 72px) 0; }   /* subtle lift */
.cx-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: 0 clamp(28px, 4vw, 72px); }
.cx-head { display: flex; flex-direction: column; }
.cx-title { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.04; color: color-mix(in srgb, var(--svc-ink, #171818) 68%, transparent); margin: 0; transition: color .4s ease; }
.cx-row.active .cx-title { color: var(--svc-ink, #171818); }
.cx-desc { font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--svc-ink, #171818) 74%, transparent); margin: 0; max-width: 44ch; transition: color .4s ease; }
.cx-row.active .cx-desc { color: var(--svc-ink, #171818); }
.cx-more { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--svc-ink, #171818); }

@media (max-width: 860px) {
  /* mobile: accordion — first row open by default, the rest collapse to a title + a "+" toggle */
  .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: clamp(22px, 5vh, 30px) clamp(28px, 6vw, 40px); min-width: 0; }
  .cx-grid > * { min-width: 0; }                 /* let grid items shrink so text wraps instead of overflowing right */
  .cx-row, .cx-row.active { background: transparent; padding: 0; position: relative; }
  .cx-title { color: var(--svc-ink, #171818); font-size: clamp(24px, 6vw, 32px); padding-right: 40px; overflow-wrap: break-word; }
  .cx-desc { overflow-wrap: anywhere; }
  .cx-desc { max-height: 0; overflow: hidden; opacity: 0; margin: 0; max-width: none;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s ease, margin .45s ease; }
  .cx-row.open .cx-desc { max-height: 360px; opacity: 1; margin-top: 12px; }
  /* +/x toggle drawn as two thin bars so the stroke stays light (not a chunky mono glyph) */
  .cx-row::before, .cx-row::after { content: ''; position: absolute; right: clamp(26px, 6vw, 38px); top: clamp(33px, 6vh, 44px);
    width: 20px; height: 1.5px; background: var(--svc-ink, #171818); opacity: .55; transform-origin: center;
    transition: transform .42s cubic-bezier(.4,0,.2,1), opacity .3s ease; pointer-events: none; }
  .cx-row::after { transform: rotate(90deg); }
  .cx-row.open::before { transform: rotate(45deg); opacity: .9; }
  .cx-row.open::after  { transform: rotate(135deg); opacity: .9; }
  /* link rows: a thin arrow instead of the +/x */
  a.cx-row::before { display: none; }
  a.cx-row::after { content: '\2192'; width: auto; height: auto; background: none; transform: none; opacity: .6;
    font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--svc-ink, #171818); top: clamp(28px, 5.5vh, 38px); }
  .pm-story .story-para { font-size: clamp(24px, 6.4vw, 34px); max-width: none; }
  .pm-story { padding: clamp(86px, 18vh, 162px) 0; }
}

.cwall { position: relative; background: #ffffff; }
.cwall-stage { position: relative; height: 100vh; overflow: hidden; background: #ffffff; }
.cwall-headwrap { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 6vw; text-align: center; pointer-events: none; z-index: 3; }
.cwall-h { grid-area: 1 / 1; margin: 0; color: var(--n900, #171818); font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(22px, 2.6vw, 42px); line-height: 1.08; max-width: 20ch; letter-spacing: -0.01em; transform-origin: center center; }
.cwall-h--2, .cwall-h--3 { opacity: 0; }
.cwall-char { display: inline-block; will-change: transform, opacity, filter; }
/* Images sit at their settled, dense-scatter end positions (absolute %). The scroll
   animation flings them OUT + large at the start, then pulls them INWARD + shrinks them
   to these rest spots (the concave funnel). Centre band is kept clear for the heading. */
.cwall-grid { position: absolute; inset: 0; z-index: 1; }
/* No fixed aspect-ratio + no object-fit cover: each tile sizes to its creative's natural
   shape so full ads (and their copy) are NEVER cropped. */
.cwall-slot { position: absolute; top: 50%; left: 50%; width: var(--w); transform-origin: 50% 100%; will-change: transform, opacity; }
.cwall-slot .cw-tile { position: relative; display: block; width: 100%; height: auto; aspect-ratio: auto; flex: none; margin: 0; padding: 0; border: 1px solid rgba(0,0,0,0.1); overflow: hidden; background: #eceae6; cursor: url("cursors/hand.png") 6 1, pointer; will-change: transform, opacity; box-shadow: 0 12px 34px -18px rgba(0,0,0,0.45); }
.cwall-slot .cw-tile img { width: 100%; height: auto; object-fit: contain; display: block; }
.cwall-slot .cw-tile:hover { border-color: rgba(0,0,0,0.4); }
.cwall-slot .ugc-tag { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.55); padding: 3px 7px; }
.cwall-slot .ugc-play { position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent rgba(255,255,255,0.92); filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }

/* reduced-motion (desktop): static stacked layout, no pin. Show the full 3-line message,
   then a tidy masonry of every creative (still tappable -> opens the lightbox). */
.cwall--static .cwall-stage { height: auto; overflow: visible; }
.cwall--static .cwall-headwrap { position: relative; inset: auto; display: block; text-align: center; padding: clamp(56px,9vh,90px) 6vw clamp(28px,4vh,44px); }
.cwall--static .cwall-h { grid-area: auto; opacity: 1 !important; display: block; transform: none !important; max-width: 26ch; margin: 0 auto; }
.cwall--static .cwall-h + .cwall-h { margin-top: 8px; }
.cwall--static .cwall-grid { position: relative; inset: auto; column-count: 3; column-gap: 12px; padding: 0 6vw clamp(56px,9vh,90px); }
.cwall--static .cwall-slot { position: static; top: auto; left: auto; width: auto; break-inside: avoid; margin: 0 0 12px; transform: none !important; opacity: 1 !important; }
.cwall--static .cwall-slot .cw-tile { opacity: 1 !important; transform: none !important; }

/* MOBILE: the wormhole runs as a continuously-orbiting ring (driven by JS, no pinned scroll). Tune
   the ring here — bigger tiles than desktop so the ads read, readable cycling headline. The ring is
   intentionally larger than the viewport, so it runs off the edges (overflow:hidden clips it).
   Reduced-motion + any page not yet migrated to the mobile orbit fall back to .cwall--static above. */
@media (max-width: 760px) {
  /* Tall section + sticky stage = the wheel pins while you scroll through the 3 headlines, then
     releases (CSS sticky is reliable on iOS; the JS reads scroll progress to advance the headlines).
     The wheel motion + per-tile depth are driven by JS (rAF). Reduced-motion users get .cwall--static. */
  .cwall { height: 280vh; }
  .cwall-stage { position: sticky; top: 0; height: 100vh; }
  .cwall-slot { width: 20%; will-change: transform, opacity; }
  .cwall-h { font-size: clamp(22px, 6.4vw, 32px); max-width: 18ch; }
}


/* ============================================================
   PROGRAMS — bullet list inside each tier card (Launch/Scale/etc.)
   ============================================================ */
.tier-points { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier-points li {
  position: relative; padding-left: 22px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.5; letter-spacing: 0.01em;
  color: var(--n400); transition: color 0.25s ease;
}
.tier-points li::before { content: '\2726'; position: absolute; left: 0; top: 0; color: var(--n500); font-size: 0.82em; transition: color 0.25s ease; }
.tier-card:hover .tier-points li { color: var(--n300); }
.tier-card .tier-meta { margin-top: auto; }

/* ============================================================
   CASE STUDIES — tabbed explorer (dark)
   ============================================================ */
.cstudy { background: var(--n900, #171818); padding: clamp(72px, 10.8vh, 135px) 0; position: relative; z-index: 2; }
.cstudy-head { margin: 0 0 clamp(40px, 6vh, 72px); }
.cstudy-head .overline { display: block; color: var(--n500); margin: 0 0 clamp(18px, 2.4vh, 26px); }
.cstudy-head .display-head { color: #fff; max-width: 18ch; }
.cstudy-sub { font-family: var(--body); font-size: var(--fs-body); line-height: 1.6; color: var(--n400); margin: 18px 0 0; max-width: 48ch; }

/* tabs */
.cstudy-tabs { display: flex; gap: clamp(4px, 1vw, 12px); border-bottom: 1px solid rgba(255,255,255,0.14); margin: 0 0 clamp(40px, 6vh, 64px); overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.cstudy-tabs::-webkit-scrollbar { display: none; }
.cstudy-tab { position: relative; flex: 0 0 auto; background: none; border: 0; cursor: url("cursors/hand.png") 6 1, pointer; padding: 0 clamp(14px, 1.6vw, 24px) 18px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.cstudy-tab:first-child { padding-left: 0; }
.cstudy-tab-name { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(21px, 2vw, 31px); line-height: 1; color: var(--n500); transition: color 0.28s ease; }
/* company logo tabs — white logos, dimmed until active */
.cstudy-tab-logo { display: block; height: clamp(22px, 2.1vw, 30px); width: auto; max-width: 150px; object-fit: contain; object-position: left center; opacity: 0.38; transition: opacity 0.28s ease; }
.cstudy-tab:hover .cstudy-tab-logo { opacity: 0.7; }
.cstudy-tab.is-active .cstudy-tab-logo { opacity: 1; }
.cstudy-tab-cat { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-micro); color: var(--n600); transition: color 0.28s ease; }
.cstudy-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 0.34s cubic-bezier(.16,1,.3,1); }
.cstudy-tab:hover .cstudy-tab-name { color: var(--n300); }
.cstudy-tab.is-active .cstudy-tab-name { color: #fff; }
.cstudy-tab.is-active .cstudy-tab-cat { color: var(--n400); }
.cstudy-tab.is-active::after { transform: scaleX(1); }

/* panels */
.cstudy-stage { position: relative; }
.cstudy-panel { display: none; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(34px, 5vw, 92px); align-items: start; }
.cstudy-panel.is-active { display: grid; animation: cstudyIn 0.5s cubic-bezier(.16,1,.3,1) both; }
@keyframes cstudyIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.cstudy-eyebrow { display: block; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-micro); color: var(--n500); }
.cstudy-name { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(42px, 5vw, 78px); line-height: 0.98; color: #fff; margin: 14px 0 0; }
.cstudy-desc { font-family: var(--body); font-size: var(--fs-body); line-height: 1.6; color: var(--n400); margin: 22px 0 0; max-width: 44ch; }

.cstudy-stats { display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 46px); margin: clamp(30px, 4vh, 46px) 0 0; padding-top: clamp(30px, 4vh, 46px); border-top: 1px solid rgba(255,255,255,0.14); }
.cstudy-stat { display: flex; flex-direction: column; gap: 8px; }
.cstudy-stat-num { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(36px, 3.8vw, 58px); line-height: 0.92; color: #fff; }
.cstudy-stat-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-micro); line-height: 1.4; color: var(--n500); max-width: 16ch; }

.cstudy-quote { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; color: #fff; margin: clamp(26px, 3.4vh, 38px) 0 0; }
.cstudy-quote-attr { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-micro); color: var(--n500); margin: 10px 0 0; }

.cstudy-detail { display: flex; flex-direction: column; gap: clamp(26px, 3.4vh, 40px); }
.cstudy-block .cstudy-k { display: block; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-micro); color: var(--n500); margin: 0 0 12px; }
.cstudy-block > p { font-family: var(--body); font-size: var(--fs-body); line-height: 1.62; color: var(--n300); margin: 0; }
.cstudy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cstudy-list li { position: relative; padding-left: 26px; font-family: var(--body); font-size: var(--fs-body); line-height: 1.5; color: var(--n300); }
.cstudy-list li::before { content: '\2726'; position: absolute; left: 0; top: 2px; color: var(--n500); font-size: 0.8em; }
.cstudy-list--win li::before { content: '\2713'; color: #fff; font-size: 0.86em; top: 1px; }

@media (max-width: 860px) {
  .cstudy-panel { grid-template-columns: 1fr; gap: clamp(30px, 5vh, 48px); }
  .cstudy-name { font-size: clamp(38px, 11vw, 58px); }
  .cstudy-tab-name { font-size: clamp(18px, 5vw, 24px); }
}

/* ============================================================
   SIGNALX CTA — on this page the "Learn more about Signal" button
   sits on the white Signal section, so it's the outline style
   (white fill, black outline) instead of the default solid blue.
   ============================================================ */
.signalx .cta-signal { background: #fff; border-color: #171818; }
.signalx .cta-signal .cta-label { color: #171818; }
.signalx .cta-signal .cta-corners .c { border-color: #171818; }
.signalx .cta-signal::before { background: #171818; }            /* fill that rises on hover */
.signalx .cta-signal:hover .cta-label { color: #fff; }
.signalx .cta-signal:hover .cta-corners .c { border-color: #fff; }

/* ============================================================
   TYPE SCALE — one system for the whole page, all steps on a 4px grid.
   Section headlines (H1) read at ONE size everywhere; the item titles
   inside a section sit one step below it.
     --fs-h1 : 36 -> 72   (9*4 -> 18*4)
     --fs-h2 : 20 -> 32   (5*4 -> 8*4)
   ============================================================ */
:root {
  --fs-section-h1: clamp(36px, 5vw, 72px);
  --fs-section-h2: clamp(24px, 3vw, 40px);
}
.pm-method-title,
.pm-cap-title,
.cstudy-head .display-head,
.programs-head .display-head,
.model-head .display-head,
.signalx-h,
.praise-head,
.faq-head,
.finale-head {
  font-size: var(--fs-section-h1);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
/* item titles within a section sit one step below the section header */
.cx-title { font-size: var(--fs-section-h2); }
.chip-sm { display: none; }
@media (max-width: 600px) { .chip-lg { display: none; } .chip-sm { display: inline; } }


/* ---- Service-page vertical spacing: ~10% tighter than v2.css defaults (Justin 2026-06-29).
   Lives in paid-media.css so it only applies to service pages; the homepage (no paid-media.css) is untouched. ---- */
.model { padding: clamp(81px, 11.7vh, 153px) 0; }
.signalx { padding: clamp(108px, 19.8vh, 261px) 0; }
.praise { padding: clamp(81px, 11.7vh, 144px) 0; }
.faq { padding: clamp(43px, 6.3vh, 86px) 0 clamp(81px, 11.7vh, 135px); }
.frontier { padding: clamp(63px, 9.9vh, 135px) 0 clamp(54px, 8.1vh, 108px); }
.outgrown { padding: clamp(81px, 13.5vh, 171px) 0; }
.outgrown--intro { padding: clamp(81px, 13.5vh, 171px) 0 clamp(43px, 5.9vh, 79px); }
.outgrown--intro + .frontier { padding-top: clamp(29px, 4vh, 54px); }
.finale { padding: clamp(108px, 18vh, 198px) 0; }
/* the "opportunity" / "Is this you?" compact tier section sits right after the light sub-hero + seam;
   give it pm-method's top instead of pm-tiers' thin top so it matches the Paid Media page */
.pm-tiers--compact { padding-top: clamp(76px, 11.7vh, 151px); }
