/* =========================================================
   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;
  scroll-padding-top: 64px;
  -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: 4px;
  list-style: none;
  font-size: 14px;
  color: var(--ink2)
}

.nav ul a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: color .2s, background .3s
}

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

/* section yang lagi dibaca: menunya nyala */
.nav ul a.on {
  background: rgba(0, 0, 0, .06)
}

.nav.ondark ul a.on {
  background: rgba(255, 255, 255, .12)
}

/* di HP menunya disembunyiin, jadi nama section-nya muncul di sebelah logo */
.here {
  display: none
}

@keyframes hereIn {
  from {
    opacity: 0;
    transform: translateY(100%)
  }
}

@keyframes hereOut {
  to {
    opacity: 0;
    transform: translateY(-100%)
  }
}

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

@media(hover:hover) {
  .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
  }

  .here {
    display: block;
    position: relative;
    flex: 1;
    min-width: 0;
    height: 20px;
    margin: 0 12px;
    border-left: 1px solid var(--line);
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s
  }

  .here.show {
    opacity: 1
  }

  .nav.ondark .here {
    border-left-color: rgba(255, 255, 255, .16)
  }

  .here span {
    position: absolute;
    left: 12px;
    right: 0;
    top: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    color: var(--ink2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: hereIn .5s var(--ease) both
  }

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

  .here span.out {
    animation: hereOut .35s var(--ease) both
  }

  .nav .cta {
    flex: 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: 76px 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: 0 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)
}

.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
}

@media(hover:hover) {
  .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: minmax(0, 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
}

/* ---- Kalender: semua kegiatan numpuk berantakan, rapi ke slotnya pas discroll ---- */
/* kartu 1: heading + kalender, kartu 2: priority */
.plancard {
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 2.8vw, 32px);
}

.plancard h3 {
  max-width: 22ch;
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
}

.plancard p {
  max-width: 58ch;
}

.plancard .week {
  margin: 16px 0 8px;
}

.planhint {
  margin-bottom: clamp(18px, 2.6vw, 28px);
  font-size: 13px !important;
}

.calstage {
  --cp: 1;
  position: relative;
}

.prioCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  min-height: 0;
}

.prioCard h3 {
  margin: 14px 0 10px;
}

.prioCard .prio {
  margin: 0;
}

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

/* warna kegiatan disamakan persis dengan kalender asli */
.c-red {
  background: #ed4a44;
  color: #fff;
}

.c-orange {
  background: #f19134;
  color: #1d1d1f;
}

.c-yellow {
  background: #f8e990;
  color: #1d1d1f;
}

.c-white {
  background: #c8bebf;
  color: #1d1d1f;
}

.c-blue {
  background: #5777c3;
  color: #fff;
}

.c-lblue {
  background: #a7c5e4;
  color: #1d1d1f;
}

/* shine di jadwal ngampus (kuliah) = prioritas utama; muncul setelah kalendernya rapi */
.shine,
.ev.c-red {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(80, 125, 255, calc((var(--cp, 1) - .9) * 5));
}

.shine::after,
.ev.c-red::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 120% 0;
  opacity: calc((var(--cp, 1) - .9) * 10);
  animation: shine 4.2s ease-in-out infinite;
}

.cell:nth-child(7n+2) .ev::after { animation-delay: .15s; }
.cell:nth-child(7n+3) .ev::after { animation-delay: .3s; }
.cell:nth-child(7n+4) .ev::after { animation-delay: .45s; }
.cell:nth-child(7n+5) .ev::after { animation-delay: .6s; }
.cell:nth-child(7n+6) .ev::after { animation-delay: .75s; }
.cell:nth-child(7n) .ev::after { animation-delay: .9s; }
.ev.c-red + .ev.c-red::after { animation-delay: .2s; }

@keyframes shine {
  0%, 55% {
    background-position: 120% 0;
  }

  100% {
    background-position: -20% 0;
  }
}

.calbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.caltitle {
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -.03em;
  color: var(--dark-ink2);
  opacity: calc(.35 + var(--cp) * .65);
}

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

.calfull {
  all: unset;
  box-sizing: border-box;
  cursor: zoom-in;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .3s var(--ease), transform .4s var(--spring);
}

@media(hover:hover) {
  .calfull:hover {
    background: rgba(255, 255, 255, .18);
    transform: scale(1.04);
  }
}

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

.cal {
  pointer-events: none;
}

.dow,
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dow span {
  padding: 0 4px 6px;
  text-align: right;
  font-size: 11px;
  color: var(--dark-ink2);
  opacity: calc(.15 + var(--cp) * .85);
}

.cell {
  position: relative;
  min-height: 86px;
  min-width: 0;
  padding: 4px 4px 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, calc(var(--cp) * .025));
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, calc(var(--cp) * .1));
}

.dn {
  align-self: flex-end;
  padding: 0 2px 1px;
  font-size: 11px;
  line-height: 14px;
  color: var(--dark-ink);
  opacity: calc(.15 + var(--cp) * .85);
}

.cell.out .dn {
  color: var(--dark-ink2);
}

.ev {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 17px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
}

.ev b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.ev time {
  flex: none;
  font-size: 9.5px;
  opacity: .65;
}

.ev.lb0 {
  background: #243d63;
  color: #4a90f0;
}

.ev.more {
  height: 14px;
  padding: 0 2px;
  color: var(--dark-ink2);
}

.ev.bl {
  filter: blur(4px);
}

@media(max-width:1000px) {
  .ev time {
    display: none;
  }
}

/* HP: kegiatan jadi garis warna kayak kalender bulanan, teksnya cuma kelihatan pas berantakan */
@media(max-width:760px) {
  .cell {
    min-height: 50px;
    padding: 3px 2px 4px;
  }

  .dn {
    font-size: 10px;
    line-height: 12px;
  }

  .dow span {
    padding-right: 2px;
    font-size: 10px;
  }

  .ev {
    height: 5px;
    padding: 0;
    border-radius: 3px;
  }

  .ev b,
  .ev time {
    display: none;
  }

  .ev.more {
    display: none;
  }
}

.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
}

.lbpan {
  display: contents
}

/* HP: kalender asli kekecilan kalau dipaksa muat selebar layar, jadi tampil lebih besar dan bisa digeser */
@media(max-width:700px) {
  .lbpan {
    display: block;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-radius: 16px
  }

  .lb img {
    max-width: none;
    max-height: none;
    height: min(70vh, 600px);
    height: min(70dvh, 600px);
    border-radius: 0
  }
}

.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)
}

/* ---------- 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)
}

@media(hover:hover) {
  .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: thumbnail reel + foto editing */
.imgal {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.imgal figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg2)
}

.imgal img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover
}

/* views di bawah thumbnail, biar nggak nutup muka atau teks videonya */
.imgal figure:not(.wide) figcaption {
  position: static;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ink2)
}

.imgal figcaption .eye {
  flex: none;
  color: var(--ink3)
}

.imgal figcaption b {
  color: var(--ink)
}

.imgal .wide {
  grid-column: 1/-1
}

.imgal .wide img {
  aspect-ratio: 4/3;
  object-position: center 40%
}

.imgal figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 20, 22, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px
}

/* desktop: 3 gambar sejajar selebar kartu, biar kolom kiri nggak kosong */
.wcard:has(> .imgal) {
  row-gap: 24px
}

@media(min-width:861px) {
  .imgal {
    grid-template-columns: 1fr 1fr 1.333fr
  }

  .imgal .wide {
    grid-column: auto
  }

  .imgal .wide img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto
  }
}

/* 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)
}

@media(hover:hover) {
  .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
}

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

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

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

/* di section gelap: teks dicoret terang & redup, kata gantinya kuning */
.dark .strike s {
  color: var(--dark-ink2)
}

.dark .rv.in .strike s {
  color: rgba(245, 245, 247, .42)
}

.dark .strike ins {
  color: var(--accent)
}

@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)
}

@media(hover:hover) {
  .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)
}

@media(hover:hover) {
  .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
}

.cgrid .cico {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35))
}

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

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

  /* 1 kolom: icon di kiri, teks di kanan biar kartunya nggak tinggi */
  .cgrid a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center
  }

  .cgrid .cico {
    grid-row: 1 / span 2;
    margin: 0
  }

  .cgrid .v {
    margin-top: 2px
  }
}

@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
  }

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

  .shine::after,
  .ev.c-red::after {
    display: none
  }

  .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: 400px;
  }
}

@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,
.vslot.haspost video {
  opacity: 1;
}

.vslot.haspost figcaption {
  display: none;
}

.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 kartu per baris, sisa baris terakhir dilebarin biar nggak ada slot kosong ---- */
.edu.three {
  grid-template-columns: repeat(6, 1fr);
}

.edu.three > .ecard {
  grid-column: span 2;
}

.edu.three > .ecard:nth-last-child(2):nth-child(3n+1),
.edu.three > .ecard:last-child:nth-child(3n+2) {
  grid-column: span 3;
}

.edu.three > .ecard:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}

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

  .edu.three > .ecard,
  .edu.three > .ecard:nth-last-child(2):nth-child(3n+1),
  .edu.three > .ecard:last-child:nth-child(3n+2),
  .edu.three > .ecard:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .edu.three > .ecard:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media(max-width:760px) {
  .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;
  }
}

/* ---- Cover video: tampil pas loading & setelah selesai, ketuk buat putar lagi ---- */
.vslot .cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity .5s var(--ease), visibility 0s;
}

.vslot .cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vslot.playing .cover {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}

.vslot .play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.vslot.tap .play {
  opacity: 1;
  transform: none;
}

.vslot .cover:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 16px;
}

/* ---- 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);
  }
}

/* ---- HP: rapetin jarak antar section, rapihin patahan baris ---- */
@media(max-width:700px) {
  .bnet-intro {
    padding-top: 84px
  }

  .pillars .stick {
    padding: 24px 0 8px
  }

  .quote {
    padding: 64px 0
  }

  .ritme {
    padding-bottom: 64px
  }

  .bignum {
    padding-bottom: 72px
  }

  .block {
    padding: 72px 0
  }

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

  .contact {
    padding-top: 84px
  }

  h1,
  h2,
  h3,
  .bignum .cap {
    text-wrap: balance
  }

  /* judul Visual design: patahan barisnya udah pas sama efek gelombangnya */
  .contact h2 {
    text-wrap: wrap
  }

  p {
    text-wrap: pretty
  }
}
