/* ==========================================================================
   Explore — final handoff (final_explore.dc.html, 10 Nov 2026 revision)
   Hero (css/video-hero.css) beside Global presence; services beside the FAQ
   (css/faq.css); learner quotes; partners (css/home-sections.css); CTA.
   One column at 1024px and below, as the design.
   ========================================================================== */

/* ---------------------------------------------------------------- Grid --- */

.xpl-grid {
  display: grid;
  gap: var(--ffb-bento-gap);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "hero"
    "glance"
    "pair"
    "quotes"
    "accr"
    "cta";
}

@media (min-width: 1025px) {
  .xpl-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas:
      "hero glance"
      "pair pair"
      "quotes quotes"
      "accr accr"
      "cta cta";
  }
}

/* ---------------------------------------------------------------- Hero --- */

.xpl-hero {
  grid-area: hero;
  min-height: clamp(260px, 34vh, 380px);
  padding: clamp(28px, 3.6vw, 52px);
  background: var(--ffb-explore-hero-ground);
}

.xpl-hero .ffb-vhero__title {
  max-width: 760px;
  font-size: clamp(34px, min(3.6vw, 6.4vh), 56px);
  letter-spacing: 0;
}

.xpl-hero .ffb-vhero__lead {
  max-width: 620px;
}

.xpl-hero .ffb-vhero__actions {
  margin-top: 24px;
}

/* ------------------------------------------------------ Global presence --- */

.xpl-glance {
  grid-area: glance;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--ffb-r-bento);
  background: var(--ffb-glance-tile);
  border: 1px solid var(--ffb-icon-well-border);
}

.xpl-eyebrow {
  font-weight: 500;
  font-size: var(--ffb-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ffb-blue);
}

.xpl-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 440;
}

.xpl-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xpl-map__pin {
  position: absolute;
  transform: translate(-50%, -170%);
  padding: 3px 9px;
  border-radius: var(--ffb-r-pill);
  background: var(--ffb-navy-deep);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

/* The offices' dots on world-dots.svg, in % of the map. */
.xpl-map__pin--toronto {
  left: 28%;
  top: 28%;
}

.xpl-map__pin--frankfurt {
  left: 52.4%;
  top: 23.4%;
}

.xpl-map__pin--singapore {
  left: 78.8%;
  top: 58%;
}

.xpl-stats {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 8px clamp(16px, 2vw, 28px);
}

.xpl-stats div {
  display: grid;
  gap: 2px;
}

.xpl-stats dt {
  font-family: var(--ffb-serif);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 40px);
  line-height: 1;
  color: var(--ffb-navy-deep);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.xpl-stats dd {
  font-size: 14px;
  color: var(--ffb-text-body-alt);
}

/* ------------------------------------------------- Services and the FAQ --- */

.xpl-pair {
  grid-area: pair;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ffb-bento-gap);
  align-items: stretch;
}

@media (min-width: 1025px) {
  .xpl-pair {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.xpl-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ffb-bento-gap);
  list-style: none;
}

@media (max-width: 640px) {
  .xpl-services {
    grid-template-columns: minmax(0, 1fr);
  }
}

.xpl-service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--ffb-r-bento);
  background: var(--ffb-service-tile);
  border: 1px solid var(--ffb-service-border);
}

.xpl-service__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.xpl-service__icon {
  flex: none;
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--ffb-icon-well-border);
  display: grid;
  place-items: center;
}

.xpl-service__icon img {
  width: 46px;
  height: 46px;
  display: block;
}

.xpl-service__title {
  font-size: 24px;
  line-height: 1.15;
  color: var(--ffb-navy-deep);
  text-wrap: balance;
}

.xpl-service__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ffb-text-body-alt);
  text-wrap: pretty;
}

.xpl-service__sub {
  margin-top: 4px;
  font-family: var(--ffb-poppins);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ffb-navy-deep);
}

.xpl-bullets {
  display: grid;
  gap: 8px;
  list-style: none;
}

.xpl-bullets li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ffb-text-body-alt);
  text-wrap: pretty;
}

.xpl-bullets__dot {
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ffb-green);
}

.xpl-bullets strong {
  font-weight: 600;
  color: var(--ffb-navy-deep);
}

/* 'br' lists: lead-in on its own line, each text line a block below it. */
.xpl-bullets__line {
  display: block;
}

.xpl-bullets__line + .xpl-bullets__line {
  margin-top: 8px;
}

/* 85% / 81% boxes. */
.xpl-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xpl-impact__box {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--ffb-r-card);
  background: var(--ffb-stat-box);
  border: 1px solid var(--ffb-icon-well-border);
}

.xpl-impact__num {
  font-family: var(--ffb-serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--ffb-blue);
  font-variant-numeric: lining-nums;
}

.xpl-impact__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ffb-text-body-alt);
}

.xpl-nowrap {
  white-space: nowrap;
}

/* Read more: the rest of the tile. Ships open; js/explore.js adds .is-closed.
   The negative margin cancels the tile's flex gap while closed. */
.xpl-more {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: -12px;
  transition: grid-template-rows 0.3s ease, visibility 0.3s;
}

.xpl-more.is-closed {
  grid-template-rows: 0fr;
  visibility: hidden;
}

.xpl-more__clip {
  overflow: hidden;
}

.xpl-more__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

.xpl-toggle {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--ffb-poppins);
  font-weight: 600;
  font-size: 15px;
  color: var(--ffb-blue);
}

.xpl-toggle[hidden] {
  display: none;
}

.xpl-toggle:hover {
  color: var(--ffb-navy-deep);
}

.xpl-toggle__sign {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ffb-green);
  color: var(--ffb-green-ink);
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transition: background 0.25s ease;
}

.xpl-toggle[aria-expanded="false"] .xpl-toggle__sign {
  background: var(--ffb-toggle-disc);
  color: var(--ffb-blue);
}

.xpl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  list-style: none;
}

.xpl-tags li {
  padding: 5px 12px;
  border-radius: var(--ffb-r-pill);
  background: #ffffff;
  border: 1px solid var(--ffb-tag-border);
  font-weight: 600;
  font-size: 13px;
  color: var(--ffb-blue);
}

/* ------------------------------------------------------- Learner quotes --- */

.xpl-quotes {
  grid-area: quotes;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--ffb-r-bento);
  background: var(--ffb-blue);
  text-align: center;
}

.xpl-quotes__eyebrow {
  font-weight: 500;
  font-size: var(--ffb-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ffb-green-hover);
}

/* Every quote in one cell, so the tile holds the height of the longest. */
.xpl-quotes__stage {
  display: grid;
  width: 100%;
  max-width: 860px;
}

.xpl-quote {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.xpl-quote.is-current {
  opacity: 1;
  visibility: visible;
}

.xpl-quote__text {
  font-family: var(--ffb-serif);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.25;
  color: #ffffff;
}

.xpl-quote__where {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ffb-quote-where);
}

.xpl-quotes__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xpl-quotes__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--ffb-r-pill);
  background: var(--ffb-dot-on-blue);
  transition: width 0.4s ease, background 0.4s ease;
}

.xpl-quotes__dot.is-current {
  width: 22px;
  background: var(--ffb-green-hover);
}
