/* ============================================================
   LoKa · Pitch · Explore pitches (website/loka/pitch/explore)
   — /pitch/explore-pitches
   ------------------------------------------------------------
   From the Dékolé Global reference page: a dark intro, a sticky
   discovery bar (search + type chips), the gallery of pitch
   cards on a 1px grid, a light "your role" band and the shared
   violet-to-teal closing band (.lkp-final in pitch.css).

   Loaded after css/loka/pitch.css, so .lkp-shell, .lkp-crumb,
   .lkp-kicker / .lkp-label, .lkp-grid, .lkp-founder, .lkp-cta,
   .lkp-final and the pitch pop-up come from there. Colour
   panels (`.lk-art`) stand in for the reference photos.
   Every rule is scoped under .lk-pitch-explore; classes are
   .lkpe-*. State set by js/loka/pitch/explore.js: [hidden] on
   cards and the empty state, .is-featured on the first card
   left, aria-pressed on chips and "Save +".

   Weights: the reference only loads Geist Regular, so its bold
   text is synthesised; LoKa uses the same Regular-only Geist
   (loka.css), so any weight from 600 renders as the reference's.
   ============================================================ */

/* Screen-reader-only text (the search box's label). */
.lk-pitch-explore .lkpe-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Section headings shared by the gallery and "your role". */
.lk-pitch-explore .lkpe-gallery h2,
.lk-pitch-explore .lkpe-role h2 {
  margin: 26px 0;
  font-size: clamp(48px, 5.2vw, 82px);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.065em;
}
.lk-pitch-explore .lkpe-gallery h2 em { color: var(--lkp-pink); font-style: normal; }

/* ============================================================
   Intro
   ============================================================ */
.lk-pitch-explore .lkpe-intro {
  position: relative;
  border-bottom: 1px solid var(--lkp-line);
  background:
    radial-gradient(circle at 78% 20%, rgba(137, 87, 255, .22), transparent 30%),
    #071017;
}
.lk-pitch-explore .lkpe-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 8vw;
  padding: 66px 0 80px;
}
.lk-pitch-explore .lkpe-heading h1 {
  margin: 23px 0 0;
  color: var(--lkp-ink);
  font-size: clamp(3.15rem, 6.25vw, 6.4rem);
  font-weight: 720;
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance; /* longer translations wrap evenly */
}
.lk-pitch-explore .lkpe-heading h1 em { color: var(--lkp-pink); font-style: normal; }
.lk-pitch-explore .lkpe-heading > p {
  max-width: 590px;
  padding-bottom: 8px;
  color: #9bb0b2;
  font-size: 18px;
  line-height: 1.65;
}

/* ============================================================
   Discovery bar — sticks under the LoKa bar (--lk-top-h is its
   height while it is sticky, 0 on phones)
   ============================================================ */
.lk-pitch-explore .lkpe-bar {
  position: sticky;
  top: var(--lk-top-h, 0px);
  z-index: 25;
  border-bottom: 1px solid var(--lkp-line);
  background: rgba(7, 16, 23, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.lk-pitch-explore .lkpe-bar > .lkp-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.lk-pitch-explore .lkpe-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 13px;
  min-width: 340px;
  margin: 0;
  color: var(--lkp-mint);
  font-weight: 400;
  cursor: text;
}
.lk-pitch-explore .lkpe-search input {
  width: 100%;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font: 400 16px/1.5 var(--lk-font);
  -webkit-appearance: none;
  appearance: none;
}
.lk-pitch-explore .lkpe-search input::placeholder { color: #8ea3a5; opacity: 1; }
.lk-pitch-explore .lkpe-search input::-webkit-search-cancel-button { filter: hue-rotate(120deg) brightness(1.6); cursor: pointer; }
/* The input has no outline of its own (as on the reference); the field shows focus with a mint underline. */
.lk-pitch-explore .lkpe-search:focus-within { box-shadow: inset 0 -2px 0 var(--lkp-mint); }

.lk-pitch-explore .lkpe-chips {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.lk-pitch-explore .lkpe-chips::-webkit-scrollbar { display: none; }
.lk-pitch-explore .lkpe-chips button {
  flex: 0 0 auto;
  height: 62px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--lkp-line);
  border-radius: 0;
  background: transparent;
  color: #859b9d;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.lk-pitch-explore .lkpe-chips button:hover { color: var(--lkp-ink); }
.lk-pitch-explore .lkpe-chips button[aria-pressed="true"] { background: var(--lkp-mint); color: #071117; }
.lk-pitch-explore .lkpe-chips button:focus-visible { outline-offset: -3px; }
.lk-pitch-explore .lkpe-chips button[aria-pressed="true"]:focus-visible { outline-color: #071117; }

/* ============================================================
   Gallery
   ============================================================ */
.lk-pitch-explore .lkpe-gallery {
  padding: 90px 0 120px;
  background:
    radial-gradient(circle at 8% 20%, rgba(62, 210, 183, .1), transparent 24%),
    #080d14;
  scroll-margin-top: var(--lk-top-h, 0px);
}
.lk-pitch-explore .lkpe-gallery header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 24px;
  margin-bottom: 50px;
}
.lk-pitch-explore .lkpe-gallery .lkp-label b { font-weight: inherit; }
.lk-pitch-explore .lkpe-gallery header > p {
  max-width: 370px;
  color: #8fa5a7;
  font-size: 16px;
  line-height: 1.6;
}

/* Cards sit on a 1px grid: the grid's background shows through the gaps
   (and any empty cell of the last row), as on the reference. With no card
   left it stays as a 2px line above the empty state, as there too. */
.lk-pitch-explore .lkpe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--lkp-line);
  background: var(--lkp-line);
}
.lk-pitch-explore .lkpe-card[hidden],
.lk-pitch-explore .lkpe-empty[hidden] { display: none; }
.lk-pitch-explore .lkpe-card {
  --accent: #63f0cf;
  min-width: 0;
  background: #081118;
}
.lk-pitch-explore .lkpe-card.is-featured { grid-column: span 2; }

/* The picture is a button: it opens the pitch pop-up. */
.lk-pitch-explore .lkpe-visual {
  width: 100%;
  height: 370px;
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  text-align: left;
  filter: saturate(.9);
  transition: filter .55s;
}
.lk-pitch-explore .lkpe-card.is-featured .lkpe-visual { height: 470px; }
.lk-pitch-explore .lkpe-visual::before { transition: transform .55s; }
.lk-pitch-explore .lkpe-visual > i.fa { font-size: 64px; transition: transform .55s; }
.lk-pitch-explore .lkpe-card.is-featured .lkpe-visual > i.fa { font-size: 86px; }
.lk-pitch-explore .lkpe-visual:hover { filter: saturate(1.1); }
.lk-pitch-explore .lkpe-visual:hover > i.fa,
.lk-pitch-explore .lkpe-visual:hover::before { transform: scale(1.035); }
/* Focus ring drawn above the shade and badges. */
.lk-pitch-explore .lkpe-visual:focus-visible { outline: 0; }
.lk-pitch-explore .lkpe-visual:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 2px solid var(--lkp-mint);
  pointer-events: none;
}
.lk-pitch-explore .lkpe-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 40%, rgba(4, 8, 14, .8)),
    linear-gradient(120deg, transparent 50%, rgba(7, 10, 17, .4));
}
.lk-pitch-explore .lkpe-index {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 10px;
  background: rgba(5, 10, 15, .78);
  color: var(--accent);
  font: 700 9px/1.2 var(--lk-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lk-pitch-explore .lkpe-visual > b {
  position: absolute;
  right: 21px;
  bottom: 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.lk-pitch-explore .lkpe-visual > b i { margin-left: 15px; color: var(--accent); font-style: normal; }

.lk-pitch-explore .lkpe-copy { padding: 25px; }
.lk-pitch-explore .lkpe-copy h3 {
  min-height: 80px;
  margin: 25px 0 15px;
  color: var(--lkp-ink);
  font-size: clamp(1.05rem, 1.2vw, 1.32rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.lk-pitch-explore .lkpe-card.is-featured .lkpe-copy h3 { min-height: 0; font-size: 37px; }
.lk-pitch-explore .lkpe-copy blockquote {
  min-height: 38px;
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.5;
}

/* Views · Demand · Requests: number above its label. */
.lk-pitch-explore .lkpe-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 0;
  border-top: 1px solid var(--lkp-line);
  border-bottom: 1px solid var(--lkp-line);
}
.lk-pitch-explore .lkpe-signals > div {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 12px 8px;
  border-right: 1px solid var(--lkp-line);
}
.lk-pitch-explore .lkpe-signals > div:last-child { border-right: 0; }
.lk-pitch-explore .lkpe-signals dt {
  margin: 0;
  overflow: hidden;
  color: #71898b;
  font: 700 8px/9px var(--lk-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lk-pitch-explore .lkpe-signals dd {
  order: -1;
  margin: 0;
  color: #edfdf9;
  font: 700 13px/15px var(--lk-mono);
}

.lk-pitch-explore .lkpe-copy footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--lkp-line);
}
.lk-pitch-explore .lkpe-copy footer > span {
  color: #7f989a;
  font: 700 9px/1.3 var(--lk-mono);
}
.lk-pitch-explore .lkpe-copy footer em { font-style: normal; text-transform: uppercase; }
.lk-pitch-explore .lkpe-copy footer button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}
.lk-pitch-explore .lkpe-copy footer button:hover { color: #fff; }

/* Nothing matches the search / chip. */
.lk-pitch-explore .lkpe-empty {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 80px;
  border: 1px solid var(--lkp-line);
  text-align: center;
}
.lk-pitch-explore .lkpe-empty strong { color: var(--lkp-ink); font-size: 16px; font-weight: 600; }
.lk-pitch-explore .lkpe-empty button {
  padding: 12px 18px;
  border: 1px solid var(--lkp-mint);
  background: transparent;
  color: var(--lkp-mint);
  font-size: 16px;
  font-weight: 400;
}
.lk-pitch-explore .lkpe-empty button:hover { background: rgba(98, 241, 206, .1); }

/* ============================================================
   Your role in what happens next
   ============================================================ */
.lk-pitch-explore .lkpe-role { padding: 115px 0; background: #edf4f0; color: #101b1b; }
.lk-pitch-explore .lkpe-role .lkp-label { color: #178b74; }
.lk-pitch-explore .lkpe-role h2 { color: #101b1b; }
.lk-pitch-explore .lkpe-role h2 em { color: #e74b87; font-style: normal; }
.lk-pitch-explore .lkpe-role ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #b8cac6;
  border-left: 1px solid #b8cac6;
}
.lk-pitch-explore .lkpe-role li {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid #b8cac6;
  border-bottom: 1px solid #b8cac6;
}
.lk-pitch-explore .lkpe-role li > b { color: #118873; font: 700 10px/1.2 var(--lk-mono); }
.lk-pitch-explore .lkpe-role h3 {
  color: #101b1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
.lk-pitch-explore .lkpe-role li p { color: #657876; font-size: .8rem; line-height: 1.5; }

/* ============================================================
   Closing band — the shared .lkp-final; its title tuned to the
   reference's narrower synthesised bold on this page
   ============================================================ */
.lk-pitch-explore .lkp-final h2 { font-weight: 700; letter-spacing: -.06em; }

/* ============================================================
   Responsive — the reference's own breakpoints
   ============================================================ */
@media (max-width: 1180px) {
  .lk-pitch-explore .lkpe-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .lk-pitch-explore .lkpe-gallery,
  .lk-pitch-explore .lkpe-role { padding: 75px 0; }
  .lk-pitch-explore .lkpe-heading { grid-template-columns: 1fr; }
  .lk-pitch-explore .lkpe-heading > p { margin: 0; }
  .lk-pitch-explore .lkpe-bar > .lkp-shell { flex-direction: column; align-items: stretch; gap: 0; }
  .lk-pitch-explore .lkpe-search { min-width: 0; }
  .lk-pitch-explore .lkpe-chips { border-top: 1px solid var(--lkp-line); }
  .lk-pitch-explore .lkpe-chips button:first-child { border-left: 0; }
  .lk-pitch-explore .lkpe-gallery header { flex-direction: column; align-items: flex-start; }
  .lk-pitch-explore .lkpe-grid { grid-template-columns: 1fr; }
  .lk-pitch-explore .lkpe-card.is-featured { grid-column: auto; }
  .lk-pitch-explore .lkpe-visual,
  .lk-pitch-explore .lkpe-card.is-featured .lkpe-visual { height: 400px; }
  .lk-pitch-explore .lkpe-role ol { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .lk-pitch-explore .lkpe-heading h1 { font-size: clamp(2.65rem, 13vw, 4.6rem); }
  .lk-pitch-explore .lkpe-copy h3 { font-size: 1.08rem; }
}

@media (max-width: 560px) {
  /* pitch.css lifts the crumb on phones for the /pitch hero only. */
  .lk-pitch-explore .lkp-crumb { padding-top: 28px; }
  .lk-pitch-explore .lkpe-gallery h2,
  .lk-pitch-explore .lkpe-role h2 { font-size: 45px; }
  .lk-pitch-explore .lkpe-search input { font-size: 12px; }
  .lk-pitch-explore .lkpe-visual,
  .lk-pitch-explore .lkpe-card.is-featured .lkpe-visual { height: 310px; }
  .lk-pitch-explore .lkpe-card.is-featured .lkpe-copy h3 { font-size: 25px; }
  .lk-pitch-explore .lkpe-empty { padding: 48px 20px; }
  .lk-pitch-explore .lkpe-role ol { grid-template-columns: 1fr; }
  .lk-pitch-explore .lkpe-role li { min-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-pitch-explore .lkpe-visual:hover > i.fa,
  .lk-pitch-explore .lkpe-visual:hover::before { transform: none; }
}

/* Phase 7: no approved pitch yet. */
.lk-pitch-explore .lkpe-none { display: grid; gap: 10px; justify-items: start; }
.lk-pitch-explore .lkpe-none a { color: var(--lkp-mint); font-size: 13px; font-weight: 700; text-decoration: none; }
