/* Gaya khusus detail Tokenetic. */
.project-hero--tokenetic {
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.tokenetic-heading {
  align-items: end;
}

.tokenetic-heading h1 {
  max-width: 720px;
}

.tokenetic-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.tokenetic-status,
.tokenetic-type {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

.tokenetic-status {
  border-color: #d8bc7d;
  background: #fff8e9;
  color: #825b16;
}

.tokenetic-status i,
.tokenetic-maintenance-note span i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #c28a28;
  box-shadow: 0 0 0 4px rgba(194, 138, 40, 0.14);
}

.tokenetic-type {
  color: var(--muted);
}

.tokenetic-intro {
  max-width: 550px;
}

.tokenetic-intro .summary {
  max-width: none;
  margin-bottom: 1.25rem;
}

.tokenetic-actions {
  justify-content: flex-start;
}

.tokenetic-facts {
  grid-template-columns: 1fr 1.25fr 1fr;
}

.tokenetic-flow {
  display: grid;
  grid-template-columns: 0.82fr 1.8fr;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.25rem;
}

.tokenetic-flow-heading {
  padding-right: 1rem;
  border-right: 1px solid var(--border);
}

.tokenetic-flow-heading > span {
  display: block;
  margin-bottom: 0.55rem;
  color: #826019;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tokenetic-flow-heading h2 {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.tokenetic-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tokenetic-flow li {
  min-width: 0;
  padding: 0.2rem 0.75rem;
  border-right: 1px solid var(--border);
}

.tokenetic-flow li:last-child {
  border-right: 0;
}

.tokenetic-flow li > span,
.tokenetic-flow li strong,
.tokenetic-flow li small {
  display: block;
}

.tokenetic-flow li > span {
  margin-bottom: 0.45rem;
  color: #987022;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tokenetic-flow li strong {
  color: var(--brand);
  font-size: 0.79rem;
  line-height: 1.25;
}

.tokenetic-flow li small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.tokenetic-cover {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  border: 1px solid var(--border);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.tokenetic-shot-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #09131a;
}

.tokenetic-shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.tokenetic-cover .tokenetic-shot-frame {
  border-bottom: 1px solid var(--border);
}

.tokenetic-cover-caption {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.tokenetic-cover-caption span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand);
}

.tokenetic-cover-caption i {
  font-style: normal;
}

.tokenetic-body {
  width: min(calc(100% - 2rem), 1040px);
  scroll-margin-top: 5rem;
}

.tokenetic-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem !important;
  padding-left: 0 !important;
  list-style: none;
}

.tokenetic-feature-grid li,
.tokenetic-pipeline > div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}

.tokenetic-feature-grid strong,
.tokenetic-feature-grid span,
.tokenetic-pipeline strong {
  display: block;
}

.tokenetic-feature-grid strong,
.tokenetic-pipeline strong {
  margin-bottom: 0.3rem;
  color: var(--brand);
  font-size: 0.9rem;
}

.tokenetic-feature-grid span,
.tokenetic-pipeline p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.tokenetic-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tokenetic-pipeline > div > span {
  display: block;
  margin-bottom: 0.55rem;
  color: #987022;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tokenetic-pipeline p {
  margin: 0;
}

.tokenetic-maintenance-note {
  padding: 1rem;
  border: 1px solid #dec995;
  border-radius: 13px;
  background: #fffaf0;
}

.tokenetic-maintenance-note span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: #825b16;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tokenetic-maintenance-note p {
  margin: 0;
}

.tokenetic-bot-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.tokenetic-bot-link:hover {
  color: var(--brand);
}

body.tokenetic-dialog-open {
  overflow: hidden;
}

.tokenetic-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.tokenetic-lightbox::backdrop {
  background: rgba(7, 19, 27, 0.84);
  backdrop-filter: blur(5px);
}

.tokenetic-lightbox-shell {
  position: fixed;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(94vw, 1180px);
  max-height: 94dvh;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #0e202c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.tokenetic-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tokenetic-lightbox-topbar > div:first-child {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
}

.tokenetic-lightbox-topbar span {
  color: #9db0bc;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tokenetic-lightbox-topbar strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenetic-lightbox-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.tokenetic-lightbox-actions button {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.tokenetic-lightbox-viewport {
  min-height: 0;
  overflow: auto;
  background: #081720;
  overscroll-behavior: contain;
}

.tokenetic-lightbox-media {
  width: 100%;
  min-width: 100%;
  transition: width 180ms ease;
}

.tokenetic-lightbox-media.is-zoomed {
  width: 150%;
}

.tokenetic-lightbox-media img {
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .tokenetic-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tokenetic-flow {
    grid-template-columns: 1fr;
  }

  .tokenetic-flow-heading {
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .tokenetic-pipeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tokenetic-facts,
  .tokenetic-feature-grid {
    grid-template-columns: 1fr;
  }

  .tokenetic-flow ol {
    grid-template-columns: 1fr;
  }

  .tokenetic-flow li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 0.65fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .tokenetic-flow li:last-child {
    border-bottom: 0;
  }

  .tokenetic-flow li > span,
  .tokenetic-flow li small {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .project-hero--tokenetic {
    padding-bottom: 3rem;
  }

  .tokenetic-heading {
    order: 1;
    min-width: 0;
  }

  .tokenetic-facts {
    order: 2;
  }

  .tokenetic-flow {
    order: 3;
  }

  .tokenetic-cover {
    order: 4;
    min-height: 0;
    max-height: none;
  }

  .tokenetic-heading h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .tokenetic-labels {
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .tokenetic-status,
  .tokenetic-type {
    min-height: 29px;
    padding-inline: 0.55rem;
    font-size: 0.61rem;
  }

  .tokenetic-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tokenetic-actions .button {
    width: 100%;
  }

  .tokenetic-flow {
    padding: 1rem;
    border-radius: 18px;
  }

  .tokenetic-flow li {
    grid-template-columns: 1.75rem minmax(0, 0.72fr) minmax(0, 1fr);
  }

  .tokenetic-cover-caption {
    min-height: 50px;
    padding: 0.65rem 0.8rem;
    font-size: 0.68rem;
  }

  .tokenetic-body {
    width: min(calc(100% - 1.25rem), 1040px);
  }

  .tokenetic-feature-grid li,
  .tokenetic-pipeline > div,
  .tokenetic-maintenance-note {
    padding: 0.85rem;
  }

  .tokenetic-lightbox-shell {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
  }

  .tokenetic-lightbox-topbar {
    padding: 0.65rem;
  }

  .tokenetic-lightbox-topbar > div:first-child {
    max-width: 42%;
  }

  .tokenetic-lightbox-actions button {
    min-height: 38px;
    padding-inline: 0.58rem;
    font-size: 0.68rem;
  }

  .tokenetic-lightbox-media.is-zoomed {
    width: 190%;
  }
}

@media (max-width: 370px) {
  .tokenetic-type {
    display: none;
  }

  .tokenetic-actions {
    grid-template-columns: 1fr;
  }

  .tokenetic-flow li {
    grid-template-columns: 1.6rem 1fr;
  }

  .tokenetic-flow li small {
    grid-column: 2;
  }

  .tokenetic-lightbox-topbar > div:first-child {
    display: none;
  }

  .tokenetic-lightbox-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tokenetic-lightbox-media {
    transition: none;
  }
}
