/* ============================================================
   Halaman Tentang (/tentang/)
   CSS khusus halaman ini. Tidak di-import dari atau ke file lain.
   Semua class memakai prefix tt-. Variabel warna dari global.css.
   ============================================================ */

.tt {
  --tt-grad: linear-gradient(90deg, var(--blue), var(--teal) 55%, var(--green));
  --tt-grad-45: linear-gradient(
    45deg,
    var(--blue),
    var(--teal) 55%,
    var(--green)
  );
  --tt-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 1360px;
  margin: 0 auto;
  /* body sudah punya padding-top untuk navbar, jadi cukup tambah sedikit */
  padding: clamp(24px, 4vw, 64px) 0 clamp(90px, 12vw, 170px);
  animation: tt-arrive 0.9s var(--tt-ease) both;
}
@keyframes tt-arrive {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tt h1,
.tt h2,
.tt h3,
.tt p,
.tt li,
.tt dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ---------- bagian umum ---------- */
.tt-sec {
  margin-top: clamp(96px, 13vw, 200px);
}
.tt-top {
  margin-bottom: clamp(28px, 4vw, 56px);
}
.tt-hair {
  display: block;
  height: 1px;
  background: var(--line-strong);
}
.tt-h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.07em;
}
.tt-h2 em {
  color: var(--muted);
  font-style: normal;
}

/* muncul saat masuk layar (hanya jika JS aktif) */
.tt-js .tt-rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--tt-ease) var(--d, 0s),
    transform 1s var(--tt-ease) var(--d, 0s);
}
.tt-js .tt-rv.in {
  opacity: 1;
  transform: none;
}
.tt-js .tt-top .tt-hair {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.15s;
}
.tt-js .tt-top.in .tt-hair {
  transform: none;
}

/* ---------- 1. hero ---------- */
.tt-title {
  margin: 0;
  font-size: clamp(42px, 9.4vw, 148px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.075em;
}
.tt-ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.tt-ln > span {
  display: block;
  animation: tt-up 1.1s var(--tt-ease) both;
  animation-delay: var(--d, 0.1s);
}
.tt-title em {
  background: var(--tt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
@keyframes tt-up {
  from {
    transform: translateY(112%);
  }
  to {
    transform: none;
  }
}
@keyframes tt-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* foto kecil berbentuk kapsul di dalam judul; melebar saat halaman dibuka */
.tt-pill {
  --pw: 1.75em;
  position: relative;
  display: inline-block;
  width: var(--pw);
  height: 0.7em;
  margin-inline: 0.06em;
  overflow: hidden;
  vertical-align: baseline;
  border-radius: 999px;
  background: var(--line);
  animation: tt-pill 1s var(--tt-ease) both;
  animation-delay: var(--d, 0.7s);
}
.tt-pill--tall {
  --pw: 1.35em;
}
.tt-pill img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition:
    filter 0.7s ease,
    transform 1.2s var(--tt-ease);
}
.tt-pill--tall img {
  object-position: 55% 62%;
}
.tt-pill:hover img {
  filter: none;
  transform: scale(1.08);
}
@keyframes tt-pill {
  from {
    width: 0;
    margin-inline: 0;
  }
  to {
    width: var(--pw);
    margin-inline: 0.06em;
  }
}

.tt-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin-top: clamp(36px, 6vw, 88px);
}
.tt-lede {
  grid-column: 1 / span 5;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.4;
  animation: tt-fade 1s 0.75s both;
}
/* ---------- 2. manifesto ---------- */
.tt-mf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px) 24px;
}
.tt-statement {
  grid-column: 1 / span 10;
  max-width: 13em;
  margin: 0;
  font-size: clamp(34px, 5.8vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.tt-statement em {
  color: var(--muted);
  font-style: normal;
}
.tt-sub {
  grid-column: 6 / span 6;
  max-width: 30em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}
.tt-values {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(24px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.tt-values li {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.tt-values li::before {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tt-grad);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--tt-ease);
}
.tt-values li:hover::before {
  transform: none;
}
.tt-values b {
  display: block;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.tt-values p {
  max-width: 22ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- 3. foto lebar ---------- */
.tt-band {
  position: relative;
  aspect-ratio: 21 / 9;
  margin: clamp(96px, 13vw, 200px) 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}
.tt-band img {
  position: absolute;
  left: 0;
  top: -9%;
  display: block;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) contrast(1.04);
  transform: translate3d(0, var(--ty, 0px), 0);
  transition: filter 0.8s ease;
  will-change: transform;
}
.tt-band:hover img {
  filter: none;
}
.tt-band::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--tt-grad);
  content: "";
  transform-origin: left;
}
.tt-js .tt-band {
  clip-path: inset(14% 10% 14% 10% round 8px);
  transition: clip-path 1.5s cubic-bezier(0.7, 0, 0.2, 1);
}
.tt-js .tt-band.in {
  clip-path: inset(0 0 0 0 round 8px);
}
.tt-js .tt-band::after {
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.9s;
}
.tt-js .tt-band.in::after {
  transform: none;
}

/* ---------- 4. lembar data ---------- */
.tt-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px 24px;
  align-items: start;
}
.tt-split .tt-h2 {
  grid-column: 1 / span 5;
}
.tt-sheet {
  grid-column: 7 / -1;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.tt-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  gap: 8px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tt-row dt {
  padding-top: 0.2em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.tt-row dd {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.tt-row dd a {
  text-decoration: underline dotted 2px;
  text-underline-offset: 6px;
  transition: color 0.3s;
}
.tt-row dd a:hover {
  color: var(--teal);
}

/* ---------- 5. cara kerja ---------- */
.tt-steps {
  --p: 0;
  position: relative;
  margin: clamp(32px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}
.tt-steps::before,
.tt-steps::after {
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 1px;
  content: "";
}
.tt-steps::before {
  background: var(--line);
}
.tt-steps::after {
  background: linear-gradient(var(--blue), var(--teal) 55%, var(--green));
  transform: scaleY(var(--p));
  transform-origin: top;
}
.tt-step {
  --pad: clamp(22px, 3vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding: var(--pad) 0 var(--pad) clamp(40px, 5vw, 64px);
}
.tt-step::before {
  position: absolute;
  left: 0;
  top: calc(var(--pad) + clamp(8px, 1.6vw, 20px));
  width: 12px;
  height: 12px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  content: "";
  transition:
    transform 0.6s var(--tt-ease),
    background 0.4s,
    border-color 0.4s;
}
.tt-step.on::before {
  border-color: transparent;
  background: var(--tt-grad-45);
  transform: scale(1.3);
}
.tt-step h3 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  transition: color 0.6s ease;
}
.tt-js .tt-step:not(.on) h3 {
  color: var(--line-strong);
}
.tt-step p {
  max-width: 30em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.45;
}

/* ---------- 6. penutup ---------- */
.tt-close {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  margin-top: clamp(96px, 13vw, 200px);
}
.tt-close p {
  max-width: 15em;
  margin: 0;
  font-size: clamp(30px, 4.6vw, 68px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.tt-close p span {
  color: var(--muted);
}
.tt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.tt-btn {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-stretch: 80%;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.tt-btn .t {
  padding: 18px 24px;
}
.tt-btn .a {
  display: grid;
  place-items: center;
  width: 58px;
  background: var(--tt-grad-45);
  color: var(--on-brand);
  transition: width 0.5s var(--tt-ease);
}
.tt-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--tt-ease);
}
.tt-btn:hover .a {
  width: 90px;
}
.tt-btn:hover svg {
  transform: translateX(8px);
}
.tt-link {
  padding-bottom: 6px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  text-decoration: none;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.tt-link i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.4s var(--tt-ease);
}
.tt-link:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.tt-link:hover i {
  transform: translateX(6px);
}

/* ---------- mode gelap ---------- */
:root[data-theme="dark"] .tt-pill img,
:root[data-theme="dark"] .tt-band img {
  filter: grayscale(1) brightness(0.82);
}
:root[data-theme="dark"] .tt-pill:hover img,
:root[data-theme="dark"] .tt-band:hover img {
  filter: brightness(0.95);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .tt-lede {
    grid-column: 1 / -1;
  }
  .tt-statement,
  .tt-sub {
    grid-column: 1 / -1;
  }
  .tt-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
  .tt-split .tt-h2,
  .tt-sheet {
    grid-column: 1 / -1;
  }
  .tt-band {
    aspect-ratio: 4 / 3;
  }
  .tt-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .tt-step::before {
    top: calc(var(--pad) + 8px);
  }
}
@media (max-width: 560px) {
  .tt-pill {
    --pw: 1.4em;
  }
  .tt-pill--tall {
    --pw: 1.1em;
  }
  .tt-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tt,
  .tt-lede,
  .tt-ln > span,
  .tt-pill {
    animation: none !important;
  }
  .tt-js .tt-rv {
    opacity: 1;
    transform: none;
  }
  .tt-js .tt-band {
    clip-path: none;
  }
  .tt-js .tt-band::after,
  .tt-js .tt-top .tt-hair {
    transform: none;
  }
  .tt-js .tt-step:not(.on) h3 {
    color: inherit;
  }
}
