:root {
  --blue: #175f8f;
  --gold: #c9a00c;
  --cream: #faf8f4;
  --navy: #0b3b66;
  --bs-body-bg: var(--cream);
  --bs-body-color: #111;
  --bs-body-font-family: "Inter", sans-serif;
}
h1, h2, h3, .brand, .slide-num, .foot p { font-family: "DM Sans", sans-serif; }
.wrap { padding-inline: clamp(1.5rem, 4vw, 4.2rem); }

/* ---------- buttons ---------- */
.pill {
  gap: 0.7rem;
  padding: 0.7rem 1.4rem;
}
.pill i {
  color: var(--gold);
  font-size: 1.2rem;
}
.pill-ghost {
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
  background: rgba(23, 95, 143, 0.25);
}
.pill-ghost i { color: #8cc4f0; }

/* ---------- hero ---------- */
.hero { padding-bottom: 3.5rem; }
.hero-shade { background: rgba(12, 18, 30, 0.45); }
.hero-ribbon {
  left: 3.4rem;
  width: 4rem;
  height: 16rem;
  background: rgba(23, 95, 143, 0.85);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
nav.top { height: 5.5rem; }
.brand {
  font-size: 1.3rem;
  letter-spacing: 0.02rem;
}
.brand-logo { height: 2.4rem; }

.hero-title {
  margin: 2.6rem 0 2.4rem;
  font-size: clamp(3.8rem, 9.4vw, 8.5rem);
  line-height: 0.93;
}
.oracle {
  width: 4.15em;
  margin: 0.03em 0 0 -0.08em;
}
.hero-info h2 {
  font-size: 1.6rem;
  line-height: 1.45;
}
.hero-info p {
  max-width: 14rem;
  margin-top: 1.6rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ---------- engine ---------- */
.bars, .bar { gap: 0.2rem; }
.bars { margin-top: 3rem; }
.bar {
  width: 7.5rem;
  height: 30.6rem;
  padding: 1.4rem 1.6rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.bar b { font-size: 3.4rem; }
.bar span { font-size: 1.5rem; }
.bar-blue { background: linear-gradient(#175f8f, #2d70a3); }
.bar-light { background: linear-gradient(#d5d9e5, #e8f0fe); }
.bar-light span { color: #555; }
.bar-gold { background: linear-gradient(#c19400, #d1a51c); }

.engine-text { padding-top: 2.5rem; }
.engine-text h2, .explore-text h2 { font-size: 3.1rem; }
.engine-text p {
  margin: 0.4rem 0 0;
  font-size: 1.45rem;
}
.steps {
  margin-top: 2.5rem;
  padding-bottom: 6rem;
}
.step {
  padding: 1.5rem 0.8rem 1.2rem;
  background: #f3f2f0;
  border-left: 0.2rem solid var(--blue);
}
.step-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.1rem;
  background: #dbeafb;
  color: var(--blue);
}
.step-icon svg { width: 1.5rem; }
.step h3 {
  font-family: inherit;
  font-size: 1.3rem;
}
.step p {
  color: #666;
  font-size: 1.05rem;
}

/* ---------- process slider ---------- */
.showcase { min-height: 41.3rem; }
.showcase .row { min-height: 41.3rem; }
.slide-main {
  padding: 3rem 3.6rem;
  background: rgba(0, 0, 0, 0.4);
}
.slide-main h2 { font-size: 2.9rem; }
.slide-main p {
  max-width: 28rem;
  margin: 0.6rem 0 0;
  font-size: 1.2rem;
}
.slide-side {
  padding: 2.2rem 1.1rem 3.9rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92));
}
.slide-side h3 {
  margin: 0.8rem 0 0;
  font-size: 2rem;
}
.slide-side p {
  font-size: 1.1rem;
  line-height: 1.95;
}
.slide-num { font-size: 4.3rem; }
.slide-num em { color: var(--gold); }
.outline {
  color: transparent;
  -webkit-text-stroke: 0.1rem rgba(255, 255, 255, 0.85);
}
.carousel-indicators { margin: 0 0 1rem; }
.carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
  border: 0.15rem solid #fff;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
}
.carousel-indicators .active { background: #fff; }

/* ---------- explore ---------- */
.explore-text { padding: 10.4rem 0 12.6rem; }
.tagline {
  width: 30.4rem;
  margin: 0.2rem 0 2.6rem;
  padding: 0.8rem 1rem;
  background: #dcedfa;
  font-size: 1.4rem;
}
.explore-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
.readers {
  position: absolute;
  width: 46%;
  opacity: 0.55;
}
.collage {
  max-width: 42.5rem;
  aspect-ratio: 548 / 704;
}
.thumb { aspect-ratio: 3 / 4; }

/* ---------- footer ---------- */
.foot {
  padding: 5.4rem 0 4.4rem;
  background: var(--navy);
}
.foot p { font-size: 1.6rem; }
.foot a, .foot span { color: #cfe3f3; }
.foot a { font-size: 1.1rem; }

/* ---------- desktop ---------- */
@media (min-width: 62rem) {
  .hero { min-height: 52.6rem; }
  .hero-info {
    position: absolute;
    top: 20.8rem;
    right: 0;
    width: 26.8rem;
    isolation: isolate;
  }
  .hero-info::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 3.7rem;
    top: -3.9rem;
    width: 21rem;
    height: 21rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #1a6aa3, #0c4a7b);
  }
  .bars { margin-top: -18.4rem; }
  .engine-text { padding-top: 5.5rem; }
  .steps { margin-top: 6rem; }
  .slide-side { flex: 0 0 36.5%; }
  .p-short { max-width: 31rem; }
  .p-wide { max-width: 46rem; }
}

/* ---------- tablet and mobile ---------- */
@media (max-width: 61.99rem) {
  .hero-title {
    margin-top: 2rem;
    font-size: clamp(3.8rem, 15vw, 8rem);
  }
  .oracle { margin: 0.03em auto 0; }
  .hero-info {
    width: min(24rem, 100%);
    margin: 3rem auto 0;
    padding: 2.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #1a6aa3, #0c4a7b);
  }
  .hero-info h2 { font-size: 1.5rem; }
  .hero-info p {
    max-width: none;
    margin-top: 1rem;
  }
  .explore-text { padding: 4rem 0 7rem; }
  .tagline { width: auto; }
}

/* ---------- mobile  ---------- */
@media (max-width: 47.99rem) {
  nav.top .pill {
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
  nav.top .pill i { font-size: 1rem; }
  .brand { font-size: 1.1rem; }
  .oracle text {
    fill: #fff;
    stroke: none;
    mask: none;
  }
  .hero-info { padding: 2rem; }
  .hero-info h2 { font-size: 1.3rem; }
  .hero-info p { font-size: 0.95rem; }
  .bar {
    width: 6.4rem;
    height: 24rem;
  }
  .bar b { font-size: 2.6rem; }
  .bar span { font-size: 1.2rem; }
  .showcase .row { min-height: 0; }
  .slide-main { padding-inline: 1.5rem; }
  .slide-side { padding: 2.5rem 1.5rem; }
  .carousel-indicators { margin: 2rem 0 0; }
  .explore-text { padding: 3rem 0 2rem; }
  .readers {
    position: static;
    width: 80%;
  }
}

/* ---------- collage tiles (clip photo path) ---------- */
.tile-1 {
  left: -2.1%;
  top: -7.1%;
  width: 31.0%;
  height: 24.0%;
  clip-path: polygon(0.0% 45.0%, 4.0% 49.8%, 8.1% 54.9%, 12.4% 60.0%, 16.6% 65.0%, 20.8% 70.0%, 24.9% 74.7%, 28.9% 79.2%, 32.6% 83.3%, 35.3% 86.2%, 37.7% 89.0%, 40.1% 91.8%, 42.6% 94.8%, 45.3% 97.9%, 47.1% 100.0%, 100.0% 53.0%, 97.9% 50.6%, 95.6% 47.9%, 93.0% 44.8%, 90.1% 41.4%, 86.8% 37.6%, 83.4% 34.0%, 80.3% 30.6%, 76.9% 26.6%, 73.1% 22.3%, 69.2% 17.6%, 65.2% 12.8%, 61.2% 8.0%, 57.2% 3.2%, 54.6% 0.0%);
}
.tile-2 {
  left: 15.5%;
  top: 6.6%;
  width: 59.8%;
  height: 26.2%;
  clip-path: polygon(0.0% 48.3%, 2.0% 51.5%, 4.4% 54.7%, 7.0% 57.9%, 9.7% 60.9%, 12.7% 63.7%, 16.1% 66.4%, 19.5% 68.8%, 22.9% 70.8%, 26.2% 72.5%, 29.6% 74.1%, 32.8% 75.5%, 36.1% 76.9%, 39.2% 78.1%, 42.3% 79.4%, 45.2% 80.6%, 47.9% 81.8%, 50.4% 82.9%, 52.6% 84.1%, 55.4% 85.6%, 58.4% 87.2%, 61.2% 88.5%, 63.8% 89.8%, 66.2% 90.9%, 68.4% 91.9%, 70.4% 93.0%, 72.2% 94.0%, 73.8% 95.0%, 75.3% 96.1%, 76.6% 97.2%, 77.8% 98.4%, 79.1% 100.0%, 79.1% 100.0%, 100.0% 46.6%, 96.9% 42.9%, 93.6% 39.6%, 90.3% 36.8%, 87.1% 34.4%, 84.0% 32.4%, 81.1% 30.7%, 78.2% 29.2%, 75.5% 27.9%, 73.0% 26.8%, 70.6% 25.6%, 68.3% 24.5%, 66.1% 23.4%, 63.5% 22.0%, 60.2% 20.2%, 56.9% 18.7%, 53.7% 17.2%, 50.5% 15.9%, 47.3% 14.6%, 44.3% 13.4%, 41.3% 12.2%, 38.6% 11.0%, 36.0% 9.8%, 33.7% 8.6%, 31.8% 7.4%, 30.2% 6.3%, 29.0% 5.4%, 27.8% 4.3%, 26.9% 3.3%, 26.1% 2.3%, 25.3% 1.3%, 24.5% 0.0%, 24.5% 0.0%);
}
.tile-3 {
  left: 63.9%;
  top: 20.8%;
  width: 34.9%;
  height: 34.1%;
  clip-path: polygon(0.0% 37.4%, 3.0% 39.6%, 6.1% 42.0%, 9.2% 44.6%, 12.4% 47.5%, 15.5% 50.5%, 18.6% 53.6%, 21.5% 56.7%, 24.2% 59.9%, 26.7% 63.0%, 28.9% 65.9%, 30.8% 68.7%, 32.3% 71.1%, 33.5% 73.4%, 34.5% 75.6%, 35.3% 77.7%, 35.9% 79.7%, 36.4% 81.8%, 36.8% 83.9%, 37.1% 86.1%, 37.2% 88.4%, 37.2% 90.8%, 37.1% 93.3%, 36.9% 96.2%, 36.9% 96.2%, 99.5% 100.0%, 99.8% 95.8%, 100.0% 91.5%, 100.0% 87.1%, 99.7% 82.6%, 99.2% 78.1%, 98.4% 73.5%, 97.2% 68.9%, 95.8% 64.3%, 94.0% 59.7%, 91.9% 55.1%, 89.5% 50.5%, 86.6% 45.8%, 83.5% 41.2%, 80.1% 36.7%, 76.5% 32.2%, 72.6% 27.8%, 68.6% 23.4%, 64.4% 19.1%, 60.1% 15.0%, 55.6% 10.9%, 51.0% 7.1%, 46.3% 3.4%, 41.7% 0.0%, 41.7% 0.0%);
}
.tile-4 {
  left: 60.9%;
  top: 55.2%;
  width: 37.4%;
  height: 37.8%;
  clip-path: polygon(41.9% 0.0%, 41.4% 2.9%, 40.8% 5.7%, 40.0% 8.7%, 39.1% 11.9%, 38.0% 15.1%, 36.8% 18.5%, 35.5% 21.9%, 34.0% 25.3%, 32.5% 28.6%, 30.8% 31.8%, 29.1% 34.8%, 27.4% 37.7%, 25.7% 40.2%, 24.0% 42.5%, 22.2% 44.8%, 20.3% 47.0%, 18.3% 49.0%, 16.4% 50.9%, 14.4% 52.7%, 12.4% 54.4%, 10.3% 56.0%, 8.1% 57.5%, 5.9% 59.0%, 3.5% 60.4%, 1.0% 61.7%, 0.0% 62.2%, 32.0% 100.0%, 36.5% 97.7%, 41.0% 95.1%, 45.3% 92.4%, 49.4% 89.6%, 53.4% 86.7%, 57.1% 83.6%, 60.7% 80.5%, 64.1% 77.2%, 67.3% 73.9%, 70.4% 70.4%, 73.3% 66.9%, 76.3% 62.9%, 79.2% 58.8%, 81.8% 54.6%, 84.2% 50.3%, 86.5% 46.0%, 88.7% 41.5%, 90.7% 37.1%, 92.5% 32.6%, 94.2% 28.2%, 95.6% 23.8%, 97.0% 19.4%, 98.1% 15.1%, 99.1% 10.9%, 99.8% 7.0%, 100.0% 5.8%);
}
.tile-5 {
  left: 26.1%;
  top: 79.6%;
  width: 43.0%;
  height: 22.8%;
  clip-path: polygon(76.5% 0.0%, 74.4% 1.5%, 72.2% 2.8%, 69.4% 4.1%, 66.0% 5.4%, 62.2% 6.7%, 58.0% 7.9%, 53.6% 9.1%, 48.8% 10.4%, 43.9% 11.6%, 38.8% 13.1%, 33.5% 14.7%, 28.2% 16.6%, 22.7% 18.8%, 17.5% 21.5%, 13.0% 24.0%, 8.6% 26.6%, 4.2% 29.4%, 0.0% 32.2%, 0.0% 32.2%, 21.3% 100.0%, 24.8% 97.7%, 28.2% 95.5%, 31.7% 93.4%, 35.1% 91.5%, 38.0% 90.0%, 41.1% 88.8%, 44.6% 87.5%, 48.6% 86.3%, 53.0% 85.1%, 57.6% 83.9%, 62.5% 82.6%, 67.6% 81.2%, 72.8% 79.7%, 78.1% 77.9%, 83.6% 75.8%, 89.2% 73.2%, 94.8% 69.9%, 100.0% 66.2%, 100.0% 66.2%);
}
.tile-6 {
  left: 0.9%;
  top: 88.1%;
  width: 32.0%;
  height: 24.9%;
  clip-path: polygon(69.3% 0.0%, 64.0% 2.7%, 58.8% 5.4%, 53.8% 8.2%, 49.0% 10.9%, 44.3% 13.7%, 39.9% 16.4%, 35.8% 19.0%, 31.2% 22.1%, 26.6% 25.5%, 22.4% 29.0%, 18.6% 32.4%, 15.2% 35.8%, 12.1% 39.1%, 9.3% 42.2%, 6.8% 45.0%, 4.7% 47.6%, 2.9% 49.8%, 1.5% 51.6%, 0.5% 52.8%, 0.2% 53.1%, 0.0% 53.3%, 50.1% 100.0%, 52.2% 97.7%, 54.0% 95.5%, 55.6% 93.5%, 57.2% 91.6%, 58.7% 89.7%, 60.3% 87.9%, 61.8% 86.1%, 63.4% 84.4%, 65.1% 82.8%, 66.7% 81.2%, 68.4% 79.7%, 70.2% 78.4%, 72.1% 77.1%, 75.0% 75.2%, 78.4% 73.1%, 82.0% 71.0%, 85.8% 68.7%, 89.9% 66.5%, 94.1% 64.3%, 98.4% 62.0%, 100.0% 61.2%);
}