/* ============================================================
   TCOMM — biz.css
   Pelan Perniagaan / Business Plan page. Sections namespaced
   (.bp-*) so each maps to a WordPress template-part. Tokens +
   atoms come from base.css; contact (.s9) + footer (.ft) are
   reused from sections.css.
   ============================================================ */

.bp-page { background: var(--bg); }

/* nav over the dark hero: white logo while not collapsed ------ */
.bp-page .site-nav:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 1px 5px rgba(0,0,0,0.45));
}
/* nav collapsed (scrolled) sits over LIGHT sections here → keep the
   logo + burger DARK so they read on light grey. */
.bp-page .site-nav.scrolled .brand-logo {
  filter: drop-shadow(0 2px 8px rgba(20,40,30,0.16));
}
.bp-page .site-nav.scrolled .nav-burger .bars i {
  background: var(--ink-dark);
  filter: none;
}
.nav-links a.is-active { color: #fff; }
.site-nav.scrolled .nav-links a.is-active { color: var(--green-deep); }
.drawer-links a.is-active { color: var(--green-deep); }

/* ============================================================
   HERO — dark scene, fiber-trajectory motif
   ============================================================ */
.bp-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(132% 122% at 76% 40%, var(--scene-2) 0%, var(--scene-1) 56%, var(--scene-0) 100%);
}
.bp-hero-bg { position: absolute; inset: 0; z-index: 0; }

/* faint concentric rings, anchored bottom-right (origin of the trajectory) */
.bp-rings {
  position: absolute; right: -14%; bottom: -26%; pointer-events: none;
  width: min(82vw, 940px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(120,220,165,0.10) 0 1px, transparent 1px 74px);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,0.35) 46%, transparent 72%);
          mask: radial-gradient(circle, #000 0%, rgba(0,0,0,0.35) 46%, transparent 72%);
  opacity: 0.55;
}

/* ascending fiber strands sweeping up to the right — momentum / roadmap.
   Each line carries a travelling light pulse (background-position anim). */
.bp-trace { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bp-trace .ln {
  position: absolute; right: -6%; height: 1px; width: 78%;
  transform-origin: right center;
  background-color: rgba(86, 224, 138, 0.16);
  background-image: linear-gradient(90deg, transparent 0%, var(--green-bright) 50%, transparent 100%);
  background-repeat: no-repeat; background-size: 130px 100%; background-position: -160px 0;
}
.bp-trace .ln:nth-child(1) { bottom: 30%; transform: rotate(-19deg); opacity: 0.9; }
.bp-trace .ln:nth-child(2) { bottom: 40%; width: 70%; transform: rotate(-24deg); opacity: 0.7; }
.bp-trace .ln:nth-child(3) { bottom: 22%; width: 84%; transform: rotate(-13deg); opacity: 0.6; }
.bp-trace .ln:nth-child(4) { bottom: 52%; width: 60%; transform: rotate(-29deg); opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) {
  .bp-trace .ln { animation: bp-pulse 4.6s linear infinite; }
  .bp-trace .ln:nth-child(2) { animation-duration: 5.6s; animation-delay: .9s; }
  .bp-trace .ln:nth-child(3) { animation-duration: 6.4s; animation-delay: 1.8s; }
  .bp-trace .ln:nth-child(4) { animation-duration: 5.1s; animation-delay: 2.7s; }
}
@keyframes bp-pulse {
  0%   { background-position: -160px 0; }
  60%, 100% { background-position: calc(100% + 160px) 0; }
}

/* readability vignette over the motif, biased to the text (left) */
.bp-hero-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20,26,24,0.84) 0%, rgba(20,26,24,0.48) 34%, rgba(22,28,25,0.07) 62%, transparent 80%),
    linear-gradient(to top, rgba(20,26,24,0.62) 0%, transparent 38%);
}
.bp-hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: clamp(132px, 20vh, 200px); padding-bottom: clamp(96px, 14vh, 140px);
}
.bp-breadcrumb {
  display: flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey-dim);
}
.bp-breadcrumb a { color: var(--grey); text-decoration: none; transition: color .2s; }
.bp-breadcrumb a:hover { color: var(--green); }
.bp-breadcrumb .sep { opacity: 0.6; }
.bp-breadcrumb .here { color: var(--green); }
.bp-hero .eyebrow { margin-bottom: 22px; }
.bp-hero h1 {
  font-size: clamp(38px, 6vw, 84px); line-height: 1.02; color: var(--ink); max-width: 16ch;
}
.bp-hero h1 .accent { color: var(--green); }
.bp-motto {
  margin-top: 26px; font-family: var(--font-mono); font-style: italic;
  font-size: clamp(13px, 1.4vw, 16px); letter-spacing: 0.03em; color: var(--green-bright);
}
.bp-hero .subhead {
  margin-top: 22px; max-width: 58ch; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.62; color: var(--grey);
}
.bp-hero-meta { margin-top: clamp(30px, 5vh, 44px); display: flex; align-items: center; gap: 12px; }
.bp-hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.6s steps(1) infinite; }

/* ============================================================
   ORIENTASI — operating-company framing (light)
   ============================================================ */
.bp-intro { position: relative; background: var(--bg-light); padding: var(--section-y) 0; }
.bp-intro .grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 6vw, 100px); align-items: start; }
.bp-intro .lede { position: sticky; top: clamp(96px, 16vh, 150px); align-self: start; }
.bp-intro .lede h2 { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.04; color: var(--ink-dark); margin-top: 18px; max-width: 14ch; }
.bp-pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.bp-pillar {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-deep); border: 1px solid var(--hair-dark); border-radius: 100px;
  padding: 9px 15px; background: var(--surface-3);
}
.bp-intro .body { max-width: 62ch; }
.bp-intro .body p { font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.78; color: var(--grey-dark); }
.bp-intro .body p + p { margin-top: 24px; }
.bp-intro .body strong { color: var(--ink-dark); font-weight: 600; }
.bp-pull {
  margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--green-deep);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4; color: var(--ink-dark); letter-spacing: -0.01em;
}
.bp-pull .accent { color: var(--green-deep); }

/* ============================================================
   ROADMAP — the seven activities (light, glowing fiber spine)
   ============================================================ */
.bp-roadmap { background: var(--surface-3); padding: var(--section-y) 0; border-top: 1px solid var(--hair-dark); }
.bp-roadmap .head { max-width: 44ch; }
.bp-roadmap .head h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; color: var(--ink-dark); margin-top: 14px; }
.bp-roadmap .head .sub { margin-top: 18px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--grey-dark); max-width: 54ch; }

.bp-steps {
  list-style: none; margin: clamp(44px, 7vh, 72px) 0 0; padding: 0;
  position: relative;
}
/* the fiber spine runs through the marker column (left); JS fills it on scroll */
.bp-spine {
  position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; z-index: 0;
  background: var(--hair-dark); border-radius: 2px; overflow: hidden;
}
.bp-spine .fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(var(--green-deep), var(--green-net));
  box-shadow: 0 0 12px rgba(31,138,82,0.45);
  transition: height .25s linear;
}
@media (max-width: 760px) { .bp-spine { left: 19px; } }

.bp-step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.6vh, 40px) 0;
  border-bottom: 1px solid var(--hair-dark);
}
.bp-step:first-of-type { padding-top: 6px; }
.bp-step--final { border-bottom: 0; }

.bp-step .marker { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bp-step .node {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 16px; height: 16px; margin-top: 6px; border-radius: 50%;
  background: var(--surface-3); border: 2px solid rgba(31,138,82,0.4);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.bp-step.in .node {
  background: var(--green-deep); border-color: var(--green-deep);
  box-shadow: 0 0 0 5px rgba(31,138,82,0.12), 0 0 16px rgba(31,138,82,0.45);
}
.bp-step .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1; letter-spacing: -0.02em; color: transparent;
  -webkit-text-stroke: 1.2px rgba(31,138,82,0.4);
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
}
.bp-step.in .num { color: var(--green-deep); -webkit-text-stroke-color: var(--green-deep); }

.bp-step .content { padding-top: 2px; }
.bp-step .track {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey-dark); display: inline-flex; align-items: center; gap: 8px;
}
.bp-step .track::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-deep); }
.bp-step h3 {
  margin-top: 13px; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15;
  letter-spacing: -0.01em; color: var(--ink-dark); max-width: 22ch;
}
.bp-step p { margin-top: 12px; font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.66; color: var(--grey-dark); max-width: 60ch; }

@media (max-width: 760px) {
  .bp-step { grid-template-columns: 40px 1fr; gap: 18px; }
  .bp-step .num { font-size: 22px; }
}

/* ============================================================
   ARAH HADAPAN — Negeri Digital 5G trajectory (dark)
   ============================================================ */
.bp-digital {
  position: relative; background: var(--scene-0); overflow: hidden;
  padding: clamp(96px, 14vh, 190px) 0 clamp(110px, 16vh, 220px);
}
.bp-digital-aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(86,224,138,0.13), transparent 58%),
    radial-gradient(80% 70% at 92% 108%, rgba(86,224,138,0.12), transparent 60%);
}
/* big ghost wordmark, bottom-right */
.bp-digital-word {
  position: absolute; right: clamp(12px, 3vw, 60px); bottom: clamp(8px, 3vh, 40px); z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 700; line-height: 0.78; letter-spacing: -0.02em;
  font-size: clamp(150px, 30vw, 460px);
  color: transparent; -webkit-text-stroke: 1px rgba(235,255,240,0.08);
  pointer-events: none; user-select: none;
}
.bp-digital .container { position: relative; z-index: 2; }
.bp-digital-intro { max-width: 40ch; }
.bp-digital-intro h2 { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.03; color: var(--ink); margin-top: 16px; letter-spacing: -0.02em; }
.bp-digital-intro h2 .accent { color: var(--green); }
.bp-digital-intro .lead { margin-top: 22px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.66; color: var(--grey); max-width: 50ch; }

/* three-phase trajectory: nodes on a glowing line that flows left→right */
.bp-arc {
  position: relative; margin-top: clamp(54px, 8vh, 92px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
}
.bp-arc-line {
  position: absolute; left: 6%; right: 6%; top: 7px; height: 2px; z-index: 0;
  background: var(--hairline); overflow: hidden; border-radius: 2px;
}
.bp-arc-line .flow {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--green) 50%, transparent);
  background-size: 220px 100%; background-repeat: no-repeat; background-position: -260px 0;
}
@media (prefers-reduced-motion: no-preference) {
  .bp-arc-line .flow { animation: bp-flow 3.6s linear infinite; }
}
@keyframes bp-flow {
  0% { background-position: -260px 0; }
  100% { background-position: calc(100% + 260px) 0; }
}
.bp-arc-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.bp-arc-node {
  width: 16px; height: 16px; border-radius: 50%; margin-bottom: 22px;
  background: var(--scene-0); border: 2px solid var(--green);
  box-shadow: 0 0 0 5px rgba(86,224,138,0.10), 0 0 16px rgba(86,224,138,0.4);
}
.bp-arc-node--goal {
  background: radial-gradient(circle, var(--green-bright) 0%, var(--green) 60%, transparent 78%);
  border-color: var(--green-bright);
  box-shadow: 0 0 0 6px rgba(86,224,138,0.16), 0 0 26px 4px rgba(86,224,138,0.6);
}
.bp-arc-stage { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green); }
.bp-arc-label { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.18; color: var(--ink); }
.bp-arc-sub { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--grey); max-width: 26ch; }

@media (max-width: 760px) {
  .bp-arc { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
  .bp-arc-line { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .bp-arc-line .flow {
    background: linear-gradient(180deg, transparent, var(--green) 50%, transparent);
    background-size: 100% 220px; background-position: 0 -260px;
  }
  @media (prefers-reduced-motion: no-preference) {
    .bp-arc-line .flow { animation: bp-flow-v 3.6s linear infinite; }
  }
  @keyframes bp-flow-v {
    0% { background-position: 0 -260px; }
    100% { background-position: 0 calc(100% + 260px); }
  }
  .bp-arc-step { padding: 16px 0 28px; }
  .bp-arc-node { position: absolute; left: -30px; margin-bottom: 0; }
  .bp-digital-word { font-size: clamp(110px, 34vw, 200px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .bp-intro .grid { grid-template-columns: 1fr; gap: clamp(28px, 5vh, 44px); }
  .bp-intro .lede { position: relative; top: 0; }
  .bp-intro .lede h2 { max-width: 18ch; }
}
@media (max-width: 760px) {
  .bp-hero h1 { font-size: clamp(34px, 9vw, 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-hero-meta .dot { animation: none; }
}
