/*
 * Lightflow v0.5.2 — People composition and separated login flow.
 * Homepage and service-page hero geometry remain locked.
 */

/* People: tighten the opening composition without changing the visual language. */
.people-hero {
  min-height: 700px;
  padding-top: 44px;
}

.people-hero-shell { min-height: 630px; }
.people-hero-copy { padding: 28px 0 78px; }
.people-hero-visual { min-height: 630px; }
.people-photo-stage { inset: 8px 0 0 12px; }
.people-photo-stage img { right: -4px; bottom: -70px; width: 98%; }

/* Six leadership cards: three directors above, three operational leaders below. */
.people-directors { padding-block: 78px; }
.people-directors .section-heading { margin-bottom: 38px; }
.director-grid { gap: 32px 26px; }
.person-card { border-radius: 24px; }
.person-portrait { height: auto; aspect-ratio: 3 / 4; }
.person-portrait img {
  top: -1%;
  right: auto;
  left: 50%;
  width: auto;
  max-width: none;
  height: 250%;
  transform: translateX(-50%);
}
.person-portrait-left img,
.person-portrait-center img,
.person-portrait-right img { right: auto; left: 50%; transform: translateX(-50%); }
#jk-maryono .person-portrait img,
#bayu-aji-prasetyo .person-portrait img,
#nuraziz-widayanto .person-portrait img { height: 150%; }
#radian-kanugroho .person-portrait img { left: calc(50% - 40px); }
#ahmad-zaki-muzaki-lubis .person-portrait img { left: calc(50% + 30px); }
#andika-nugroho-sulistianto .person-portrait img { left: calc(50% - 21px); }
.person-card-body { padding: 23px 24px 27px; }
.person-card-body > span { top: -20px; right: 20px; width: 44px; height: 44px; border-width: 4px; }
.person-card-body h3 { font-size: 20px; }
.person-card-body h4 { min-height: 29px; margin-bottom: 10px; }
.person-card-body p { font-size: 11px; }

.person-portrait-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(255,255,255,.12), transparent 44%),
    url("assets/signature/wave.svg") center 58% / 145% auto no-repeat,
    linear-gradient(135deg, #0a71bf, #15366f);
}

.person-portrait-placeholder::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("assets/signature/triangles.svg");
  background-size: 220px auto;
  opacity: .12;
  transform: rotate(-8deg) scale(1.15);
}

.person-portrait-placeholder > span,
.person-portrait-placeholder > small { position: relative; z-index: 2; }
.person-portrait-placeholder > span { font-size: 48px; font-weight: 900; letter-spacing: -.06em; }
.person-portrait-placeholder > small { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 850; line-height: 1.35; letter-spacing: .16em; text-align: center; }

/* The gathering photo is deliberately compact and locked to 16:9. */
.people-management { position: relative; overflow: hidden; }
.people-management-intro { position: relative; z-index: 2; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 54px; }
.people-management-intro figure {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  justify-self: end;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,196,0,.45) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 78%, rgba(62,205,241,.45) 0 11px, transparent 12px),
    #0d3b77;
}

.people-management-intro figure::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 10% 28%, rgba(255,255,255,.62) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 20%, rgba(255,196,0,.78) 0 6px, transparent 7px),
    radial-gradient(circle at 92% 77%, rgba(61,206,242,.75) 0 8px, transparent 9px);
  pointer-events: none;
}

.people-management-intro figure::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background-image: url("assets/signature/wave.svg"), url("assets/signature/triangles.svg");
  background-position: 50% 18%, 102% 55%;
  background-size: 110% auto, 220px auto;
  background-repeat: no-repeat;
  opacity: .28;
  pointer-events: none;
}

.people-management-intro figure img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 48%;
  border: 0;
  border-radius: 0;
}

.people-management-intro figcaption {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 12px;
  margin: 0;
  padding: 6px 9px;
  color: rgba(255,255,255,.8);
  background: rgba(8,35,82,.72);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.management-grid { position: relative; z-index: 2; }
.management-card { min-height: 230px; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
.management-portrait {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(222,246,255,.96), rgba(89,191,230,.72));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
}
.management-portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(transparent, rgba(6,42,91,.24));
}
.management-portrait img {
  position: absolute;
  top: -1%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 250%;
  transform: translateX(-50%);
}
#dennis-aryo-utomo .management-portrait img { top: -2%; height: 210%; }
#jessyca-yanti .management-portrait img { top: -2%; height: 220%; }
.management-card:last-child { grid-column: auto; }

/* Keep the final banner aligned to the same shell as the sections above. */
.people-team-banner .shell { width: var(--shell); }

/* Login: a dedicated, compact entry page influenced by the supplied product previews. */
.login-page {
  min-height: 100vh;
  color: #18345e;
  background: #edf6fc;
}

.login-page button,
.login-page input { font: inherit; }

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  overflow: hidden;
}

.login-brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 54px clamp(40px, 7vw, 108px);
  flex-direction: column;
  color: #fff;
  background: linear-gradient(145deg, #0b2d64, #0b67b4 68%, #12a7d5);
  overflow: hidden;
}

.login-brand-panel::before {
  position: absolute;
  top: 7%;
  right: -20%;
  width: 100%;
  height: 52%;
  content: "";
  background: url("assets/signature/wave.svg") center / contain no-repeat;
  opacity: .2;
  transform: rotate(7deg);
}

.login-brand-panel::after {
  position: absolute;
  inset: auto -12% -16% 13%;
  height: 62%;
  content: "";
  background-image: url("assets/signature/triangles.svg");
  background-size: 360px auto;
  opacity: .14;
  transform: rotate(-9deg) scale(1.15);
}

.login-brand,
.login-intro,
.login-brand-note { position: relative; z-index: 2; }
.login-brand { width: 190px; }
.login-brand img { width: 100%; height: auto; }
.login-intro { margin-block: auto; max-width: 600px; }
.login-intro p:first-child { color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.login-intro h1 { margin: 15px 0 20px; max-width: 610px; color: #fff; font-size: clamp(54px, 6vw, 88px); line-height: .94; letter-spacing: -.065em; }
.login-intro h1 em { display: block; color: #7edfff; font-style: normal; }
.login-intro > p:last-child { max-width: 510px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; }
.login-brand-note { color: rgba(255,255,255,.66); font-size: 11px; font-weight: 800; }

.login-form-panel {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 48px clamp(28px, 6vw, 88px);
  place-items: center;
  background:
    radial-gradient(circle at 100% 0, rgba(56,199,239,.18), transparent 32%),
    #f7fbff;
}

.login-home-link {
  position: absolute;
  top: 30px;
  right: 34px;
  color: #466482;
  font-size: 12px;
  font-weight: 800;
}

.login-card {
  width: min(100%, 470px);
  padding: 38px;
  background: rgba(255,255,255,.96);
  border: 1px solid #d8e5ef;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15,48,96,.12);
}

.login-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 17px;
  font-size: 16px;
  font-weight: 950;
}

.login-card h2 { color: var(--navy); font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -.05em; }
.login-card > p { margin-top: 9px; color: #6a809d; font-size: 14px; }
.login-form { margin-top: 30px; }
.login-field { display: grid; gap: 8px; }
.login-field + .login-field { margin-top: 18px; }
.login-field > span { color: #2e4d73; font-size: 11px; font-weight: 850; }
.login-input-wrap { position: relative; }
.login-input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 14px;
  color: #16365f;
  background: #fbfdff;
  border: 1px solid #cfdeea;
  border-radius: 12px;
  outline: none;
  font-size: 16px;
}
.login-input-wrap input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,111,197,.1); }
.login-show-password { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; color: #57718f; background: transparent; border: 0; border-radius: 9px; font-size: 17px; }
.login-show-password:hover { background: #edf6fc; }
.login-error { margin-top: 8px; color: #b33c45; font-size: 11px; line-height: 1.45; }
.login-submit {
  display: flex;
  width: 100%;
  height: 52px;
  margin-top: 25px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  background: var(--yellow);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(255,196,0,.2);
  font-size: 13px;
  font-weight: 900;
}
.login-submit:disabled { opacity: .72; cursor: wait; }
.login-access-note { margin-top: 22px; padding-top: 18px; color: #7a8ea6; border-top: 1px solid #e2eaf0; font-size: 10px; line-height: 1.65; }
.login-access-note strong { color: #38597c; }

@media (max-width: 1100px) {
  .director-grid { gap: 24px 18px; }
  .people-management-intro { grid-template-columns: 1fr 1fr; gap: 34px; }
  .login-shell { grid-template-columns: minmax(0, .9fr) minmax(410px, 1.1fr); }
  .login-intro h1 { font-size: 56px; }
}

@media (max-width: 900px) {
  .people-hero { min-height: 0; padding-top: 34px; }
  .people-hero-shell { min-height: 770px; }
  .people-hero-copy { padding: 22px 0 0; }
  .people-hero-visual { min-height: 440px; }
  .people-photo-stage { inset: 0 5%; }
  .people-photo-stage img { right: 0; bottom: -90px; height: 125%; width: auto; }
  .director-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person-card-director { display: block; }
  .person-portrait { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .people-management-intro { grid-template-columns: 1fr; }
  .people-management-intro figure { justify-self: start; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand-panel { min-height: 340px; padding: 34px 28px; }
  .login-brand { width: 150px; }
  .login-intro { margin-top: 70px; }
  .login-intro h1 { margin-bottom: 0; font-size: 46px; }
  .login-intro > p:last-child, .login-brand-note { display: none; }
  .login-form-panel { min-height: auto; padding: 58px 24px 44px; }
  .login-home-link { top: 20px; right: 24px; }
}

@media (max-width: 600px) {
  .people-hero { padding-top: 24px; }
  .people-hero-shell { min-height: 700px; }
  .people-hero-visual { min-height: 360px; }
  .people-photo-stage { inset: 0; }
  .people-photo-stage img { bottom: -55px; width: 103%; height: auto; }
  .director-grid { grid-template-columns: 1fr; gap: 20px; }
  .person-portrait { height: auto; aspect-ratio: 3 / 4; }
  .people-management-intro figure { width: 100%; border-width: 7px; border-radius: 22px; }
  .management-grid { gap: 12px; }
  .management-card { grid-template-columns: 84px minmax(0, 1fr); }
  .people-team-banner .shell { width: var(--shell); }
  .login-brand-panel { min-height: 270px; padding: 25px 20px; }
  .login-intro { margin-top: 48px; }
  .login-intro h1 { font-size: 38px; }
  .login-form-panel { padding: 48px 14px 30px; }
  .login-card { padding: 28px 22px; border-radius: 22px; }
  .login-card h2 { font-size: 40px; }
}
