/* Focused presentation overrides for the featured-work card and mobile menu. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.work-grid {
  display: block;
}

.work-card.work-a {
  display: block;
  aspect-ratio: 16 / 9;
  padding: 14px;
  border: 1px solid rgba(203, 255, 82, 0.66);
  border-radius: 24px;
  background: linear-gradient(135deg, #1d2530, #11151b 65%, #26331b);
  box-shadow: 0 22px 48px rgba(16, 17, 21, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.work-card.work-a::before {
  display: none;
}

.work-card.work-a > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: #ebe8df;
}

.work-card.work-a b {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.work-caption {
  position: absolute !important;
  z-index: 1;
  bottom: 28px;
  left: 28px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(16, 17, 21, 0.9);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline .signature-role {
  background: linear-gradient(90deg, rgba(203, 255, 82, 0.14), transparent 78%);
}

.timeline .sriwijaya-role {
  border-left: 2px solid rgba(203, 255, 82, 0.6);
  padding-left: 18px;
}

.founder-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  vertical-align: middle;
  border: 1px solid rgba(203, 255, 82, 0.72);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.strengths-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-top: 54px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.strengths-strip p {
  margin: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.strengths-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strengths-strip li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #f4f2ec;
  font-size: 0.75rem;
}

@media (min-width: 761px) {
  .expertise-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .expertise-list article,
  .expertise-list article + article {
    padding-right: 18px;
    padding-left: 18px;
  }

  .expertise-list article:first-child {
    padding-left: 0;
  }

  .expertise-list article:last-child {
    padding-right: 0;
  }
}

.personal-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
  margin: 70px 0 0;
  border-top: 1px solid var(--line);
}

.personal-facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.personal-facts dt,
.credential-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.personal-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.personal-facts a:hover {
  color: #68751f;
}

.credentials {
  display: grid;
  grid-template-columns: 1.15fr 1.5fr 0.7fr;
  gap: 34px;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.credentials ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  color: #d8d6cf;
  font-size: 0.82rem;
  line-height: 1.55;
}

.credentials li b {
  display: inline-block;
  min-width: 83px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
}

.button-blog {
  width: max-content;
  margin-top: 24px;
  border: 1px solid var(--ink);
  background: transparent;
}

.button-blog:hover {
  background: var(--ink);
  color: var(--lime);
}

@media (max-width: 760px) {
  .menu-toggle {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 42px;
    padding: 0;
    border: 1px solid #efffc4;
    border-radius: 2px;
    background: var(--lime);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.55);
    cursor: pointer;
  }

  .menu-toggle .menu-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.72);
    background: #101115;
  }

  .menu-toggle[aria-expanded="true"] .menu-bar {
    background: var(--lime);
  }

  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    border-left: 1px solid rgba(203, 255, 82, 0.45);
    box-shadow: -16px 18px 40px rgba(0, 0, 0, 0.35);
  }

  .work-card.work-a {
    aspect-ratio: 1.5 / 1;
    padding: 9px;
    border-radius: 18px;
  }

  .work-card.work-a > img {
    border-radius: 11px;
  }

  .work-caption {
    bottom: 19px;
    left: 19px;
    font-size: 0.56rem;
  }

  .timeline .sriwijaya-role {
    padding-left: 12px;
  }

  .strengths-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .personal-facts {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .personal-facts > div {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .credentials {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 52px;
  }

  .button-blog {
    width: 100%;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle .menu-bar {
    transition: none;
  }
}
