/*
 * WPOS About page (tentang-kami.php).
 * Loaded after wpos-home-2026.css and reuses its tokens, type, buttons, ticket and closing band.
 */

/* ---------- 1. Hero ---------- */
.ab-hero {
  padding-block: var(--sp-7) var(--sp-8);
  overflow: hidden;
}

.ab-hero-grid {
  display: grid;
  gap: var(--sp-7);
}

.ab-hero-copy {
  display: grid;
  justify-items: start;
  gap: var(--sp-5);
}

.ab-hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding-bottom: var(--sp-6);
}

.ab-profile {
  --ticket-rotate: 1.5deg;
  transform: rotate(var(--ticket-rotate));
  animation: ticket-print var(--t-slow) var(--ease-out) both;
}

.ab-profile-list {
  display: grid;
  gap: 10px;
}

.ab-profile-list div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
}

.ab-profile-list dt {
  color: var(--wpos-stone);
  font-size: .875rem;
}

.ab-profile-list dd {
  font-weight: 700;
  line-height: 1.3;
}

/* Leaves room on the right for the stamp that overlaps the ticket corner. */
.ab-profile-foot {
  padding-right: 92px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.ab-stamp {
  position: absolute;
  z-index: 2;
  right: -4px;
  bottom: 0;
  display: grid;
  place-content: center;
  width: 108px;
  height: 108px;
  border: var(--bw) solid var(--wpos-ink);
  border-radius: 50%;
  background: var(--wpos-yellow);
  box-shadow: var(--shadow-hard);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-10deg);
  animation: ab-stamp 500ms var(--ease-out) 450ms both;
}

.ab-stamp span {
  font-family: var(--font-body);
  font-size: .625rem;
  letter-spacing: .12em;
}

@keyframes ab-stamp {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(1.6);
  }

  to {
    opacity: 1;
    transform: rotate(-10deg) scale(1);
  }
}

@media (min-width: 1024px) {
  .ab-hero {
    padding-block: var(--sp-8) var(--sp-9);
  }

  .ab-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: var(--sp-7);
  }

  .ab-hero-visual {
    justify-self: end;
    max-width: 460px;
  }
}

/* ---------- Shared section head ---------- */
.ab-head {
  max-width: 44em;
}

/* ---------- 2. Why ---------- */
.ab-story-grid {
  display: grid;
  gap: var(--sp-6);
}

.ab-story-text {
  display: grid;
  gap: var(--sp-4);
  max-width: 36em;
  color: var(--wpos-stone);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.ab-story-text > p:first-child {
  color: var(--wpos-ink);
}

.ab-quote {
  margin: var(--sp-3) 0 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 6px solid var(--wpos-yellow);
  border-radius: 0 var(--r-ctl) var(--r-ctl) 0;
  background: var(--wpos-cream);
}

.ab-quote p {
  color: var(--wpos-ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.ab-quote footer {
  margin-top: var(--sp-2);
  color: var(--wpos-stone);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .ab-story-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: var(--sp-8);
  }
}

/* ---------- 3. Values ---------- */
.ab-values {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.ab-value {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: var(--bw) solid var(--wpos-ink);
  border-radius: var(--r-card);
  background: var(--wpos-paper);
  box-shadow: var(--shadow-card);
}

.ab-value-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.ab-value-no {
  color: var(--wpos-red);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.ab-value .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-ctl);
  color: var(--wpos-yellow);
  background: var(--wpos-ink);
}

.ab-value h3 {
  font-size: 1.375rem;
}

.ab-value p {
  color: var(--wpos-stone);
}

@media (min-width: 640px) {
  .ab-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ab-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 4. Modules ---------- */
.ab-modules {
  display: grid;
  margin-top: var(--sp-7);
  border-top: 2px dashed var(--wpos-line);
}

.ab-module {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 2px dashed var(--wpos-line);
}

.ab-module .icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: var(--r-ctl);
  color: var(--wpos-yellow);
  background: var(--wpos-ink);
}

.ab-module h3 {
  font-size: 1.25rem;
}

.ab-module p {
  margin-top: var(--sp-1);
  color: var(--wpos-stone);
}

@media (min-width: 768px) {
  .ab-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-6);
  }
}

@media (min-width: 1024px) {
  .ab-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--sp-7);
  }
}

/* ---------- 5. Trust (dark band) ---------- */
.ab-trust {
  padding-block: var(--sp-8);
  color: var(--wpos-cream);
  background: var(--wpos-ink);
}

.ab-trust .h2 {
  max-width: 16em;
  color: var(--wpos-paper);
}

.ab-trust-list {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.ab-trust-list li {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1.5px solid rgba(243, 234, 211, .22);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .03);
}

.ab-trust-list .icon {
  width: 28px;
  height: 28px;
  color: var(--wpos-yellow);
}

.ab-trust-list h3 {
  color: var(--wpos-paper);
  font-size: 1.25rem;
}

.ab-trust-list p {
  color: rgba(243, 234, 211, .78);
}

.ab-trust :focus-visible {
  outline-color: var(--wpos-cream);
}

@media (min-width: 640px) {
  .ab-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ab-trust {
    padding-block: var(--sp-9);
  }
}

@media (min-width: 1200px) {
  .ab-trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 6. Company ---------- */
.ab-id-grid {
  display: grid;
  gap: var(--sp-7);
}

.ab-id-copy {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--sp-4);
}

.ab-id-copy .overline {
  margin-bottom: 0;
}

.ab-id-copy > p:not(.overline) {
  max-width: 34em;
  color: var(--wpos-stone);
}

.ab-id-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--sp-5);
}

.ab-id-card {
  min-width: 0;
  padding: var(--sp-5);
  border: var(--bw) solid var(--wpos-ink);
  border-radius: var(--r-card);
  background: var(--wpos-white);
  box-shadow: var(--shadow-card);
}

.ab-id-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 2px dashed var(--wpos-line);
}

.ab-id-card-head img {
  width: 96px;
  height: auto;
}

.ab-id-list > div {
  display: grid;
  gap: 2px;
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--wpos-line);
}

.ab-id-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ab-id-list dt {
  color: var(--wpos-stone);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ab-id-list dd {
  font-weight: 700;
  line-height: 1.4;
}

.ab-id-icon {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.ab-id-icon .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--wpos-stone);
}

.ab-id-list a {
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ab-id-list a:hover {
  text-decoration-color: var(--wpos-red);
}

@media (min-width: 768px) {
  .ab-id-card {
    padding: var(--sp-6);
  }

  .ab-id-list > div {
    grid-template-columns: 11em minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: baseline;
  }
}

@media (min-width: 1024px) {
  .ab-id-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: var(--sp-8);
  }
}

/* ---------- Motion ---------- */
/* Value cards also carry .reveal, so the hover rules must outrank `.js .reveal.is-visible`. */
@media (hover: hover) {
  .ab-value,
  .js .ab-value.reveal {
    transition: opacity 300ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  }

  .ab-value:hover,
  .js .ab-value.reveal.is-visible:hover {
    transform: translate(-2px, -3px);
    box-shadow: 8px 9px 0 var(--wpos-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-profile,
  .ab-stamp {
    animation: none;
  }
}
