/* =========================================================
   Portofolio Naufal Fathir Hidayat — style.css
   Font: Uncut Sans (file di assets/fonts)
   Mau ganti warna? Ubah variabel di :root di bawah ini.
   --accent  = kuning utama
   --bg      = latar terang, --dark = latar section gelap
   ========================================================= */
@font-face {
  font-family: "Uncut Sans";
  src: url("../assets/fonts/UncutSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: "Uncut Sans";
  src: url("../assets/fonts/UncutSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: "Uncut Sans";
  src: url("../assets/fonts/UncutSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: "Uncut Sans";
  src: url("../assets/fonts/UncutSans-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap
}

:root {
  --bg: #fbfbfd;
  --bg2: #f2f2f5;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink2: #515154;
  --ink3: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --accent: #E8B931;
  --accent-ink: #8a6400;
  --dark: #0b0b0d;
  --dark2: #161618;
  --dark-ink: #f5f5f7;
  --dark-ink2: #a1a1a6;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r: 28px;
  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 48px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: "Uncut Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -.01em
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut)
}

section {
  position: relative
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink3)
}

.eyebrow b {
  color: var(--accent-ink)
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02
}

h2 {
  font-size: clamp(40px, 6.4vw, 80px)
}

h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.025em;
  line-height: 1.1
}

.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  color: var(--ink2);
  font-weight: 500;
  letter-spacing: -.015em
}

.mark {
  background: linear-gradient(transparent 62%, rgba(232, 185, 49, .55) 62%);
  padding: 0 .06em
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease)
}

.nav.scrolled {
  border-bottom-color: var(--line)
}

.nav.ondark {
  background: rgba(22, 22, 24, .72);
  color: var(--dark-ink);
  border-bottom-color: rgba(255, 255, 255, .08)
}

.nav.ondark ul {
  color: var(--dark-ink2)
}

.nav.ondark ul a:hover,
.nav.ondark ul a.on {
  color: #fff
}

.nav.ondark .cta {
  background: var(--accent);
  color: #1d1d1f
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.03em
}

.logo i {
  font-style: normal;
  color: var(--accent)
}

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
  color: var(--ink2)
}

.nav ul a {
  transition: color .2s
}

.nav ul a:hover,
.nav ul a.on {
  color: var(--ink)
}

.nav .cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  transition: transform .3s var(--spring)
}

.nav .cta:hover {
  transform: scale(1.05)
}

.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0)
}

@media(max-width:760px) {
  .nav ul {
    display: none
  }
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(36px) scale(.985);
  filter: blur(10px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms)
}

.rv.in {
  opacity: 1;
  transform: none;
  filter: none
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 150ms)
}

.loaded .word {
  opacity: 1;
  transform: none;
  filter: none
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px
}

.hero .wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center
}

.hero h1 {
  font-size: clamp(52px, 8.6vw, 118px);
  margin: 18px 0 22px
}

.hero h1 .thin {
  color: var(--ink3)
}

.hero .lead {
  max-width: 30ch
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 34px
}

.chip {
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg2);
  color: var(--ink2)
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--line)
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fb344;
  box-shadow: 0 0 0 0 rgba(47, 179, 68, .5);
  animation: pulse 2.4s infinite
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(47, 179, 68, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(47, 179, 68, 0)
  }
}

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .35s var(--spring), background .2s
}

.btn:hover {
  transform: scale(1.04)
}

.btn:active {
  transform: scale(.97)
}

.btn.primary {
  background: var(--ink);
  color: #fff
}

.btn.ghost {
  background: var(--bg2);
  color: var(--ink)
}

.portrait {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(40px) scale(.94);
  transition: opacity 1.4s var(--ease) .35s, transform 1.4s var(--ease) .35s
}

.loaded .portrait {
  opacity: 1;
  transform: none
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform
}

.portrait .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  font-size: 13px;
  font-weight: 600
}

.portrait .tag span {
  color: var(--ink2);
  font-weight: 500
}

.scrollhint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, .18)
}

.scrollhint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(0, 0, 0, .35);
  animation: wheel 2s var(--ease) infinite
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0)
  }

  30% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translateY(12px)
  }
}

@media(max-width:860px) {
  .hero .wrap {
    grid-template-columns: 1fr
  }

  .portrait {
    max-width: 420px;
    aspect-ratio: 1/1
  }

  .scrollhint {
    display: none
  }
}

/* ---------- BNET dark ---------- */
.dark {
  background: var(--dark);
  color: var(--dark-ink)
}

.dark .eyebrow {
  color: var(--dark-ink2)
}

.dark .eyebrow b {
  color: var(--accent)
}

.dark .lead {
  color: var(--dark-ink2)
}

.bnet-intro {
  padding: clamp(100px, 14vw, 170px) 0 40px;
  text-align: center
}

.bnet-intro h2 {
  margin: 18px auto 22px;
  max-width: 14ch
}

.bnet-intro .lead {
  max-width: 40ch;
  margin: 0 auto
}

.bignum {
  padding: 40px 0 clamp(80px, 10vw, 140px);
  text-align: center
}

.bignum .n {
  font-size: clamp(84px, 22vw, 300px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
  background: linear-gradient(180deg, #fff 30%, #E8B931 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums
}

.bignum .cap {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--dark-ink2);
  margin-top: 14px;
  font-weight: 500
}

.statrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  text-align: left
}

.stat {
  background: var(--dark2);
  border-radius: var(--r);
  padding: 28px
}

.stat .v {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1
}

.stat .l {
  color: var(--dark-ink2);
  margin-top: 10px;
  font-size: 15px
}

@media(max-width:760px) {
  .statrow {
    grid-template-columns: 1fr
  }
}

/* sticky pillars */
.pillars {
  height: 300vh
}

.pillars .stick {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 52px
}

@media(min-width:1180px) and (min-height:660px) and (max-height:860px) {
  .pillars .head h2 {
    font-size: clamp(40px, 6vw, 72px)
  }

  .pillars .head .lead {
    font-size: 17px;
    margin-top: 10px !important
  }

  .pcard {
    padding: 24px 28px
  }

  .pcard h3 {
    font-size: 34px
  }

  .pcard .sub {
    margin-bottom: 14px;
    font-size: 16px
  }

  .tags {
    margin-top: 14px
  }
}

@media(min-width:1180px) and (min-height:660px) and (max-height:760px) {
  .pillars .head .lead {
    display: none
  }

  .pillars .head {
    margin-bottom: 20px
  }

  .pcard dl {
    gap: 6px 16px;
    font-size: 14px
  }

  .pcard .ex {
    margin-top: 12px
  }
}

.pillars .wrap {
  width: 100%;
  max-width: 1360px
}

.pillars .head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px)
}

.pillars .head h2 {
  font-size: clamp(46px, 8vw, 104px)
}

.pillars .head h2 .neq {
  display: inline-block;
  color: var(--accent);
  transform: scale(calc(.6 + var(--p, 1) * .4));
  opacity: calc(.3 + var(--p, 1) * .7)
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.pcard {
  min-width: 0;
  background: var(--dark2);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px);
  opacity: .25;
  transform: translateY(40px) scale(.96);
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .8s var(--ease)
}

.pcard.on {
  opacity: 1;
  transform: none;
  box-shadow: 0 0 0 1px rgba(232, 185, 49, .35)
}

.pcard .num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent)
}

.pcard h3 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 8px 0 6px
}

.pcard .sub {
  color: var(--dark-ink2);
  font-size: 18px;
  margin-bottom: 22px
}

.pcard dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  font-size: 15px
}

.pcard dt {
  color: var(--dark-ink2)
}

.pcard dd {
  font-weight: 500
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px
}

.tags span {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08)
}

.pcard .ex {
  margin-top: 18px;
  font-size: 14px;
  color: var(--dark-ink2)
}

.pcard .ex b {
  color: var(--dark-ink)
}

@media(max-width:1179px), (max-height:659px) {
  .pillars {
    height: auto
  }

  .pillars .stick {
    position: static;
    height: auto;
    padding: 40px 0 60px
  }

  .pgrid {
    grid-template-columns: 1fr
  }

  .pcard {
    opacity: 1;
    transform: none
  }
}

.quote {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center
}

.quote p.small {
  color: var(--dark-ink2);
  font-size: clamp(17px, 1.8vw, 21px);
  max-width: 44ch;
  margin: 0 auto 28px
}

.quote blockquote {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto
}

.quote blockquote em {
  font-style: normal;
  color: var(--accent)
}

/* ritme */
.ritme {
  padding: 0 0 clamp(100px, 12vw, 160px)
}

.ritme .top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.ritme h2 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 16ch
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.step {
  background: var(--dark2);
  border-radius: var(--r);
  padding: 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column
}

.step .k {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .14);
  line-height: 1
}

.step h3 {
  font-size: 24px;
  margin: auto 0 8px
}

.step p {
  color: var(--dark-ink2);
  font-size: 15px
}

.week {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 18px 0 22px
}

.week span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px
}

.k1 {
  background: #2f5fe0
}

.k2 {
  background: #e8b931;
  color: #1d1d1f
}

.k3 {
  background: #b45cf0;
  color: #1d1d1f
}

.k4 {
  background: #2fb344;
  color: #1d1d1f
}

.note {
  margin-top: 18px;
  color: var(--dark-ink2);
  font-size: 15px
}

.steps {
  grid-template-columns: 1fr 1.7fr 1fr
}

.calshot {
  all: unset;
  box-sizing: border-box;
  cursor: zoom-in;
  position: relative;
  display: block;
  margin: 16px 0 22px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px -24px rgba(0, 0, 0, .8);
  transform: scale(.94);
  opacity: 0;
  transition: transform 1.1s var(--ease) .25s, opacity 1.1s var(--ease) .25s
}

.in .calshot {
  transform: none;
  opacity: 1
}

.calshot img {
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease)
}

.calshot:hover img {
  transform: scale(1.04)
}

.calshot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}

.calshot .zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(30, 30, 32, .62);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: transform .4s var(--spring)
}

.calshot:hover .zoom {
  transform: scale(1.06)
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  visibility: hidden;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), visibility 0s .5s;
  cursor: zoom-out
}

.lb.open {
  visibility: visible;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), visibility 0s
}

.lb img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 2 * clamp(16px, 4vw, 56px));
  max-height: calc(100dvh - 2 * clamp(16px, 4vw, 56px));
  object-fit: contain;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: scale(.9);
  opacity: 0;
  transition: transform .6s var(--spring), opacity .4s var(--ease)
}

.lb.open img {
  transform: none;
  opacity: 1
}

.lb .x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  cursor: pointer
}

.lb .x:hover {
  background: rgba(255, 255, 255, .24)
}

.note b {
  color: var(--dark-ink)
}

@media(max-width:860px) {
  .steps {
    grid-template-columns: 1fr
  }
}

/* ---------- numbers ---------- */
.block {
  padding: clamp(90px, 12vw, 150px) 0
}

.block .head {
  margin-bottom: 44px
}

.block .head h2 {
  margin-top: 14px
}

.nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.ncard {
  background: var(--card);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line)
}

.ncard .v {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums
}

.ncard .l {
  margin-top: 12px;
  font-weight: 500
}

.ncard .s {
  color: var(--ink3);
  font-size: 14px;
  margin-top: 4px
}

@media(max-width:900px) {
  .nums {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:380px) {
  .ncard {
    padding: 20px
  }
}

/* ---------- work ---------- */
.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px
}

.wcard>* {
  min-width: 0
}

.wcard {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  background: var(--card);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease)
}

.wcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .25)
}

.wcard h3 {
  font-size: clamp(30px, 3.6vw, 46px);
  margin: 10px 0 6px
}

.wcard .org {
  color: var(--ink3);
  margin-bottom: 18px
}

.wcard p {
  color: var(--ink2)
}

.wcard ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 22px
}

.wcard li {
  padding-left: 22px;
  position: relative;
  color: var(--ink2)
}

.wcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent)
}

.wcard li b {
  color: var(--ink)
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start
}

.fact {
  background: var(--bg2);
  border-radius: 22px;
  padding: 22px
}

.fact .v {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1
}

.fact .l {
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--ink3);
  margin-top: 8px
}

.ph {
  grid-column: 1/-1;
  border-radius: 22px;
  border: 1.5px dashed rgba(0, 0, 0, .16);
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--ink3);
  font-size: 14px;
  text-align: center;
  padding: 16px
}

/* kartu Imigrasi: tile utama + chip peran */
.facts.imi .fact.big {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--ink);
  color: #fff;
  padding: 26px 28px
}

.facts.imi .fact.big .v {
  font-size: clamp(56px, 6vw, 76px);
  color: var(--accent)
}

.facts.imi .fact.big .l {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  margin: 0
}

.roles {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.roles span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg2);
  color: var(--ink2)
}

@media(max-width:860px) {
  .wcard {
    grid-template-columns: 1fr
  }
}

.mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px
}

.mcard {
  background: var(--card);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .5s var(--spring)
}

.mcard:hover {
  transform: translateY(-6px) scale(1.01)
}

.mcard .eyebrow {
  font-size: 11px
}

.mcard h4 {
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1.15;
  font-weight: 700
}

.mcard p {
  font-size: 14px;
  color: var(--ink2)
}

@media(max-width:1000px) {
  .mini {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:560px) {
  .mini {
    grid-template-columns: 1fr
  }
}

/* ---------- timeline ---------- */
.alt {
  background: var(--bg2)
}

.tl {
  position: relative;
  display: grid;
  gap: 0
}

.tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line)
}

.tl .fill {
  position: absolute;
  left: 7px;
  top: 8px;
  width: 2px;
  background: var(--accent);
  height: 0;
  transition: height .2s linear
}

.ti {
  position: relative;
  padding: 0 0 34px 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 28px
}

.ti::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg2);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .2);
  transition: box-shadow .4s, background .4s
}

.ti.in::before {
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px rgba(232, 185, 49, .2)
}

.ti .when {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink3);
  padding-top: 3px
}

.ti h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25
}

.ti p {
  color: var(--ink2);
  font-size: 15px;
  margin-top: 4px
}

.ti .torg {
  color: var(--ink3);
  font-size: 14px;
  margin-top: 2px
}

.ti .tbody p:not(.torg) {
  margin-top: 8px
}

.ti .tbody p b {
  color: var(--ink)
}

.ti.hl .tbody {
  background: var(--card);
  border-radius: 22px;
  padding: 20px 24px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -28px rgba(0, 0, 0, .25);
  margin-top: -6px
}

.ti.hl h4 {
  font-size: 23px
}

.ti.hl::before {
  width: 20px;
  height: 20px;
  left: -2px;
  top: 4px
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 185, 49, .22);
  color: var(--accent-ink);
  margin-bottom: 8px
}

@media(max-width:700px) {
  .ti {
    grid-template-columns: 1fr
  }
}

.strikeh {
  font-size: clamp(34px, 5vw, 64px);
  max-width: 22ch
}

.strike {
  position: relative
}

.strike s {
  text-decoration: none;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--ink3);
  transition: color .6s var(--ease) .5s
}

.strike s::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: .09em;
  border-radius: .05em;
  background: #e5484d;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ease) .7s
}

.strike ins {
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  color: var(--accent-ink);
  opacity: 0;
  transform: translateY(.35em);
  filter: blur(8px);
  transition: opacity .8s var(--ease) 1.35s, transform .8s var(--spring) 1.35s, filter .8s var(--ease) 1.35s
}

.strikeh.in .strike s {
  color: rgba(29, 29, 31, .38)
}

.strikeh.in .strike s::after {
  transform: scaleX(1)
}

.strikeh.in .strike ins {
  opacity: 1;
  transform: none;
  filter: none
}

@media(max-width:600px) {
  .strike ins {
    display: inline;
    white-space: normal
  }
}

.edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.ecard {
  background: var(--card);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 0 0 1px var(--line)
}

.ecard h3 {
  margin: 12px 0 6px
}

.ecard .major {
  font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: 12px
}

.ecard p:last-child {
  color: var(--ink2)
}

.ecard p b {
  color: var(--ink)
}

.hlcard {
  box-shadow: 0 0 0 1.5px rgba(232, 185, 49, .6), 0 20px 40px -28px rgba(0, 0, 0, .25)
}

.hlcard .badge {
  margin-bottom: 12px
}

@media(max-width:760px) {
  .edu {
    grid-template-columns: 1fr
  }
}

/* ---------- skills ---------- */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.scard {
  background: var(--card);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: 0 0 0 1px var(--line)
}

.scard h3 {
  font-size: 26px;
  margin-bottom: 16px
}

.scard .tags span {
  background: var(--bg2);
  color: var(--ink2);
  font-weight: 500;
  font-size: 14px
}

/* ---------- tools & data: icon slots ---------- */
.tools {
  display: grid;
  gap: 14px;
  margin-top: 22px
}

.trow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.tool .ico {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--bg2);
  display: grid;
  place-items: center;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1)
}

.tool:hover .ico {
  transform: translateY(-3px) scale(1.06)
}

.tool .ico b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink3);
  letter-spacing: -.02em
}

.tool .ico img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain
}

.tool .ico.has b {
  visibility: hidden
}

@media(max-width:1000px) {
  .skills {
    grid-template-columns: 1fr
  }
}

@media(max-width:380px) {
  .wcard {
    padding: 22px
  }

  .fact {
    padding: 16px
  }

  .fact .v {
    font-size: 24px
  }
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(100px, 14vw, 180px) 0 60px;
  text-align: center
}

.contact h2 {
  font-size: clamp(46px, 8vw, 104px);
  max-width: 13ch;
  margin: 18px auto 40px
}

.cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: left;
  margin-top: 64px
}

.cgrid a {
  display: block;
  background: var(--dark2);
  border-radius: 22px;
  padding: 20px;
  min-height: 44px;
  transition: background .3s, transform .4s var(--spring)
}

.cgrid a:hover {
  background: #222226;
  transform: translateY(-3px)
}

.cgrid .l {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark-ink2);
  font-weight: 600
}

.cgrid .v {
  font-weight: 600;
  margin-top: 6px;
  overflow-wrap: break-word
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--dark-ink2);
  font-size: 13px;
  text-align: left
}

@media(max-width:860px) {
  .cgrid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:480px) {
  .cgrid {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }

  html {
    scroll-behavior: auto
  }

  .rv,
  .word,
  .portrait,
  .pcard {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important
  }

  .closing .cookie {
    filter: drop-shadow(0 14px 14px rgba(70, 40, 10, .22)) !important
  }

  .calshot,
  .lb img {
    transform: none !important;
    opacity: 1
  }

  .strike s::after {
    transform: scaleX(1) !important
  }

  .strike ins {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important
  }

  .portrait img {
    transform: none !important
  }
}

/* ---- Thinking proses: 3 langkah di intro BNET ---- */
.think3 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 40px auto 0;
  text-align: left;
}

.think3 li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--dark2);
  border-radius: 22px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
}

.think3 b {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent);
}

.bignum .eyebrow {
  margin-bottom: 18px;
}

@media(max-width:760px) {
  .think3 {
    grid-template-columns: 1fr;
  }

  .think3 li {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
}


/* ---- Tali kusut -> lurus (weekly rhythm) ---- */
.rope {
  position: relative;
  height: 280px;
  margin: 0 0 8px;
}

.ropesvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ropesvg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ropesvg .r0 {
  stroke: rgba(0, 0, 0, .55);
  stroke-width: 9;
}

.ropesvg .r1 {
  stroke: var(--accent);
  stroke-width: 5;
}

.rk {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  will-change: transform;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6);
}

.rk.main {
  box-shadow: 0 0 0 calc(var(--e, 0) * 3px) var(--accent), 0 6px 14px -6px rgba(0, 0, 0, .6);
}

.rope-note {
  color: var(--dark-ink2);
  font-size: 15px;
  margin: 0 0 32px;
}

.rope-note b {
  color: var(--dark-ink);
}

@media(max-width:700px) {
  .rope {
    height: 460px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .ropesvg .r1 {
    stroke-dasharray: none;
  }
}

/* ---- Priority interaktif ---- */
.prio {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  position: relative;
}

.prio button {
  width: 100%;
  display: grid;
  gap: 6px;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: var(--dark-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.prio i {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--w, 1));
  opacity: var(--o, 1);
  transition: transform .7s var(--spring), opacity .5s var(--ease);
}

.prio button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---- Slot video 10 detik di pilar ---- */
.pcard {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 28px;
  align-content: start;
}

.pcard > :not(.pbody),
.pbody > div {
  grid-column: 1;
}

.pbody {
  display: contents;
}

.pbody .vslot {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: center;
  width: min(250px, 28vh);
}

.pbody dl {
  grid-template-columns: 1fr;
  gap: 4px;
}

.pbody dd {
  margin-bottom: 10px;
}

.vslot {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
}

.vslot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.vslot.ready video {
  opacity: 1;
}

.vslot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
  color: var(--dark-ink2);
}

.vslot figcaption b {
  color: var(--accent);
  font-size: 13px;
}

.vslot.ready figcaption {
  display: none;
}

@media(max-width:860px) {
  .pcard {
    display: block;
  }

  .pbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pbody > div,
  .pbody .vslot {
    grid-column: auto;
    grid-row: auto;
  }

  .pbody .vslot {
    width: min(100%, 260px);
    margin: 0 auto;
  }
}

/* ---- Organisasi 3 kolom ---- */
.edu.three {
  grid-template-columns: repeat(3, 1fr);
}

@media(max-width:960px) {
  .edu.three {
    grid-template-columns: 1fr;
  }
}

/* ---- Closing statement ---- */
.closing {
  padding: clamp(8px, 1.5vw, 20px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
}

/* section sebelum cookie: rapatin jaraknya */
#skills {
  padding-bottom: clamp(16px, 2.5vw, 32px);
}

.closing .cookie {
  width: clamp(190px, 21vw, 270px);
  filter: drop-shadow(0 14px 14px rgba(70, 40, 10, .22));
  margin: 0 auto 14px;
  display: block;
}

.closing h2 {
  font-size: clamp(34px, 5.6vw, 72px);
  max-width: 18ch;
  margin: 8px auto 16px;
}

.closing .lead {
  max-width: 40ch;
  margin: 0 auto;
}

/* ---- Visual design: stroke berlapis kayak speaker ---- */
/* gelombangnya membesar sampai lewat tepi di HP kecil; potong biar gak ada scroll samping */
.contact {
  overflow-x: clip;
}

.vd {
  position: relative;
  display: inline-block;
  margin-right: .12em;
  white-space: nowrap;
  color: var(--accent);
}

.vd i {
  position: absolute;
  inset: 0;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  pointer-events: none;
  opacity: 0;
  animation: vdWave 4.8s cubic-bezier(.2, .6, .3, 1) infinite;
}

.vd i:nth-child(2) {
  animation-delay: 1.6s;
}

.vd i:nth-child(3) {
  animation-delay: 3.2s;
}

@keyframes vdWave {
  0% {
    transform: scale(1);
    opacity: .85;
  }

  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .vd i {
    display: none;
  }
}

/* ---- Tombol suara di slot video ---- */
.snd {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.vslot.ready .snd {
  display: grid;
}

.snd .w {
  display: none;
}

.snd[aria-pressed="true"] .w {
  display: inline;
}

.snd[aria-pressed="true"] .x {
  display: none;
}

.snd:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* layar pendek: pilar dipadatkan biar kartu tetap muat dalam satu layar */
@media(min-width:1180px) and (min-height:660px) and (max-height:820px) {
  .pcard {
    padding: 22px 28px;
  }

  .pcard h3 {
    font-size: 34px;
    margin: 4px 0 2px;
  }

  .pcard .sub {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .pbody dl {
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    font-size: 14px;
  }

  .pbody dd {
    margin-bottom: 0;
  }

  .pcard .tags {
    margin-top: 12px;
  }

  .pcard .ex {
    margin-top: 10px;
    font-size: 13px;
  }

  .pbody .vslot {
    width: min(250px, 30vh);
  }
}
