/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* Background wash: the two portal gradients meeting at the center,
   very low opacity, fixed behind everything. This is the one bold
   visual idea on the page — everything else stays quiet. */
body.home {
  background:
    radial-gradient(ellipse 900px 600px at 18% 8%, rgba(220, 38, 38, 0.14), transparent 60%),
    radial-gradient(ellipse 900px 600px at 82% 8%, rgba(37, 99, 235, 0.16), transparent 60%),
    var(--ink);
}

/* ---- Hero ---- */
.hero {
  padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}

.hero .split {
  background: var(--duo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--slate);
  max-width: 46ch;
  margin: 0 auto;
}

.hero p strong {
  font-weight: 500;
}

.hero .hl-it { color: var(--it-blue); font-weight: 500; }
.hero .hl-mkt { color: var(--mkt-amber); font-weight: 500; }

/* ---- Portal picker ---- */
.picker {
  text-align: center;
}

.picker .section-heading {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  max-width: 22ch;
  margin: 0.6rem auto 3rem;
}

/* ---- Split-panel path selector ----
   Two full-height panels that trade width on hover/focus, each
   carrying a giant outline numeral-style wordmark behind the copy.
   The seam between them carries the logo mark — the same place the
   two loops of the actual logo meet. */
.path-split {
  position: relative;
  display: flex;
  min-height: 560px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 3.5rem;
  text-align: left;
}

.path-panel {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  color: #fff;
  transition: flex-grow 0.65s var(--ease);
}

.panel-it { background: linear-gradient(165deg, #0d1a3d 0%, #0a0e17 65%); }
.panel-mkt { background: linear-gradient(200deg, #3a1208 0%, #0a0e17 65%); }

.path-split:hover .path-panel { flex-grow: 0.82; }
.path-split .path-panel:hover,
.path-split .path-panel:focus-visible { flex-grow: 1.36; }

.panel-word {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1.25rem, 3vw, 2rem);
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  pointer-events: none;
  transition: -webkit-text-stroke 0.5s ease;
  z-index: 0;
  white-space: nowrap;
}

.word-it { font-size: clamp(4.5rem, 13vw, 8.5rem); }
.word-mkt { font-size: clamp(2.1rem, 6.4vw, 4rem); }

.panel-it:hover .panel-word,
.panel-it:focus-visible .panel-word {
  -webkit-text-stroke: 1.5px transparent;
  background: var(--it-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-mkt:hover .panel-word,
.panel-mkt:focus-visible .panel-word {
  -webkit-text-stroke: 1.5px transparent;
  background: var(--mkt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-body {
  position: relative;
  z-index: 1;
}

.panel-body h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.panel-body p {
  font-size: 0.92rem;
  color: rgba(247, 248, 250, 0.72);
  max-width: 34ch;
  margin-bottom: 1.1rem;
}

.panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease;
  margin-bottom: 1.2rem;
}

.path-panel:hover .panel-pills,
.path-panel:focus-visible .panel-pills {
  max-height: 120px;
  opacity: 1;
}

.panel-pills li {
  font-size: 0.76rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(247, 248, 250, 0.85);
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.panel-cta i {
  opacity: 0;
  transform: translateX(-6px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.path-panel:hover .panel-cta i,
.path-panel:focus-visible .panel-cta i {
  opacity: 1;
  transform: translateX(0);
}

.path-seam {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.path-seam img {
  width: 30px;
}

@media (max-width: 760px) {
  .path-split {
    flex-direction: column;
    min-height: 0;
  }

  .path-panel {
    min-height: 260px;
    flex-grow: 1 !important;
  }

  .path-seam {
    display: none;
  }

  /* No hover on touch — reveal everything by default */
  .panel-word { -webkit-text-stroke: 1.5px transparent; }
  .panel-it .panel-word {
    background: var(--it-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .panel-mkt .panel-word {
    background: var(--mkt-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .panel-pills { max-height: 120px; opacity: 1; }
  .panel-cta i { opacity: 1; transform: none; }
}

/* ---- Slim trust strip ---- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-strip .num {
  display: block;
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  background: var(--duo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-strip .label {
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 0.2rem;
}

/* ---- Carousel intro copy ---- */
.showcase .eyebrow,
.showcase h2 {
  text-align: center;
}

.showcase h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 2.5rem;
}

/* ---- About teaser ---- */
.about {
  border-top: 1px solid var(--line);
}

.about .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .about .container {
    grid-template-columns: 1fr;
  }
}

.about h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 1.3rem;
}

.about p {
  color: var(--slate);
  margin-bottom: 1.1rem;
  max-width: 56ch;
}

.about p strong {
  color: var(--paper);
  font-weight: 500;
}

.about-figure {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
