:root {
  --green: #001b48;
  --green-deep: #00113a;
  --green-soft: #e8eef8;
  --gold: #1cc5c5;
  --gold-deep: #0e8f8f;
  --gold-soft: #e6f8f8;
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e3e8f0;
  --bg: #ffffff;
  --cream: #f4f7fb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 27, 72, .08);
  --shadow-hover: 0 18px 40px rgba(0, 27, 72, .18);
  --header-h: 72px;
  --pijar: #001b48;
  --pijar-2: #0a2a63;
  --pijar-teal: #1cc5c5;
  --pijar-teal-dark: #0e8f8f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 14px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block; border: 0; font-weight: 600; text-decoration: none; text-align: center;
  padding: 13px 26px; border-radius: 999px; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-deep); }
.btn--gold:hover { background: #fff; }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-weight: 700; font-size: 1.05rem; line-height: 1.15; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); font-size: .92rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--green); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { border-bottom-color: var(--gold); }
.nav a[href="#daftar-minat"] { background: var(--green); color: #fff; padding: 8px 16px; border-radius: 999px; border: 0; }
.nav a[href="#daftar-minat"]:hover { background: var(--green-deep); }

.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); flex-shrink: 0; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted);
}
.lang__btn svg { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.lang__btn[aria-pressed="true"] { background: #fff; color: var(--green); box-shadow: 0 1px 4px rgba(0,27,72,.15); }
.lang__btn:hover { color: var(--green); }

.menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--green-soft); padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu span { display: block; height: 2px; border-radius: 2px; background: var(--green); transition: transform .2s, opacity .2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--green); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 30%, rgba(28,197,197,.16), transparent 45%),
              radial-gradient(circle at 10% 110%, rgba(255,255,255,.07), transparent 40%);
}
.hero::after {
  content: ""; position: absolute; top: 0; right: -60px; height: 100%; width: min(46%, 560px); pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 26px, transparent 26px 52px);
  mask-image: radial-gradient(ellipse 100% 90% at 100% 0, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 90% at 100% 0, #000 35%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding-block: clamp(56px, 9vw, 110px); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; max-width: 17ch; }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #d6def0; max-width: 58ch; margin: 20px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.notice {
  max-width: 58ch; margin: 0; padding: 14px 18px; border-radius: 14px; font-size: .92rem;
  background: rgba(28,197,197,.12); border: 1px solid rgba(28,197,197,.4); color: #dff7f7;
}
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art img { position: relative; width: min(300px, 100%); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero__halo { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(28,197,197,.25); box-shadow: 0 0 0 40px rgba(28,197,197,.05), 0 0 0 80px rgba(28,197,197,.03); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 104px); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: #fff; }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--green); margin-bottom: 18px; }
.section--green h2 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head--wide { max-width: 820px; }
.section-head p { color: var(--muted); }
.section--green .section-head p { color: #c3cfe6; }
.section-head__hint { font-size: .9rem; margin-top: 18px; color: var(--gold) !important; font-weight: 500; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__text p { color: #3a4456; }
.partners { display: grid; gap: 16px; }
.partners__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow); }
.partners__item p { margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.partners__item img { height: 64px; width: auto; }

/* How we learn */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 28px); }
.how { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.how__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold-soft); margin-bottom: 18px; }
.how__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.how h3 { font-size: 1.12rem; color: var(--green); margin-bottom: 12px; }
.how p { color: var(--muted); margin: 0; }

/* Team */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 3vw, 28px); }
.card {
  flex: 0 1 calc((100% - 2 * clamp(20px, 3vw, 28px)) / 3);
  display: flex; flex-direction: column; color: var(--ink);
  background: #fff; border-radius: var(--radius); box-shadow: 0 14px 36px rgba(0,0,0,.18);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(0,0,0,.26); }
.card__open { padding: 0; border: 0; background: #1d1d1d; display: block; width: 100%; }
.card__photo { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; position: relative; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .5s; }
.card:hover .card__photo img { transform: scale(1.04); }
.card__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__role { margin: 0 0 6px; font-size: .82rem; font-weight: 600; color: var(--gold-deep); }
.card__name { font-size: 1.18rem; color: var(--green); }
.card__degrees { margin: 4px 0 14px; color: var(--muted); font-size: .88rem; }
.tags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
.card__more {
  margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0;
  color: var(--green); font-weight: 600; font-size: .95rem; border-bottom: 2px solid var(--gold);
}
.card__more:hover { color: var(--gold-deep); }

/* FAQ */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; color: var(--green);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Interest form (Pijar navy and teal, stripes from the Pijar letterhead) */
.section--pijar { position: relative; overflow: hidden; background: var(--pijar); color: #fff; }
.section--pijar::before, .section--pijar::after {
  content: ""; position: absolute; pointer-events: none; height: 34px; width: min(460px, 60%);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.9) 0 20px, transparent 20px 40px);
}
.section--pijar::before { top: 0; left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%); opacity: .9; }
.section--pijar::after { bottom: 0; right: 0; clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.section--pijar h2 { color: #fff; }
.interest { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.interest__text p { color: #d2dcf0; }
.interest__note { font-size: .9rem; padding: 14px 18px; border-radius: 14px; background: rgba(28,197,197,.12); border: 1px solid rgba(28,197,197,.45); color: #dff7f7 !important; }

.form-wrap { position: relative; }
.form, .form-done {
  position: relative; background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden;
  padding: clamp(24px, 4vw, 36px); padding-top: calc(clamp(24px, 4vw, 36px) + 6px);
  box-shadow: 0 24px 60px rgba(0, 8, 30, .45);
}
.form::before, .form-done::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--pijar-teal); }
.form__head { margin-bottom: 22px; }
.form__head h3 { color: var(--pijar); font-size: 1.3rem; margin-bottom: 4px; }
.form__head p { color: var(--muted); font-size: .92rem; margin: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--pijar); }
.badge { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: .68rem; line-height: 1.5; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e6f8f8; color: var(--pijar-teal-dark); }
.badge--opt { background: #eef1f6; color: #5b6577; }
.field input {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid #cfd6e3; background: #f7f9fc; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder { color: #98a2b3; }
.field input:hover { border-color: #aab4c6; }
.field input:focus { outline: none; background: #fff; border-color: var(--pijar-teal-dark); box-shadow: 0 0 0 4px rgba(28,197,197,.2); }
.field input[aria-invalid="true"] { border-color: #c0362c; background: #fff8f7; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192,54,44,.15); }
.field__help { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .85rem; font-weight: 500; color: #b42318; }
.field__error--check { margin: -2px 0 10px 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 8px; font-size: .9rem;
  padding: 14px 16px; border-radius: 12px; background: #f3f6fb; border: 1px solid #e1e7f0;
}
.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--pijar); cursor: pointer; }
.check label { cursor: pointer; }
.check:has(input[aria-invalid="true"]) { border-color: #e7a59f; background: #fff8f7; }
.link { background: none; border: 0; padding: 0; margin: 4px 0 22px; color: var(--pijar); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; display: inline-block; }
.link:hover { color: var(--pijar-teal-dark); }
.link--center { display: block; margin: 16px auto 0; }
.btn--pijar { background: var(--pijar); color: #fff; width: 100%; padding: 15px 26px; font-size: 1rem; }
.btn--pijar:hover { background: var(--pijar-2); box-shadow: 0 8px 20px rgba(0,27,72,.3); }
.btn--pijar[disabled] { opacity: .7; cursor: wait; transform: none; }
.form__status { margin: 14px 0 0; font-size: .92rem; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; border-radius: 12px; background: #e6f8f8; color: var(--pijar); font-weight: 500; }
.form__status.is-error { padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #8a1c12; }
.form-done { text-align: center; padding-block: clamp(40px, 6vw, 56px); }
.form-done:focus { outline: none; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #e6f8f8; }
.form-done__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--pijar-teal-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { color: var(--pijar); font-size: 1.3rem; margin-bottom: 10px; }
.form-done p { color: var(--muted); max-width: 42ch; margin: 0 auto; }

/* Footer */
.site-footer { background: var(--green-deep); color: #d6def0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: 48px 28px; }
.site-footer__brand { display: flex; gap: 18px; align-items: flex-start; max-width: 520px; }
.site-footer__brand img { height: 72px; width: auto; flex-shrink: 0; }
.site-footer__title { font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__logos { display: flex; align-items: center; gap: 24px; background: #fff; padding: 14px 24px; border-radius: 16px; }
.site-footer__logos img { height: 52px; width: auto; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px 24px; font-size: .85rem; color: #9fb0d0; }
.site-footer__copy p { margin: 0; }

/* Team modal */
.modal {
  width: min(980px, 100% - 32px); max-height: min(88vh, 900px); padding: 0; border: 0;
  border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 10, 30, .4); color: var(--ink);
}
.modal::backdrop, .privacy::backdrop { background: rgba(0, 18, 48, .72); backdrop-filter: blur(3px); }
.modal[open], .privacy[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__inner { display: grid; grid-template-columns: 340px 1fr; max-height: inherit; }
.modal__photo { background: #1d1d1d; position: relative; }
.modal__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.modal__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--gold); }
.modal__content { padding: clamp(28px, 4vw, 44px); overflow-y: auto; max-height: min(88vh, 900px); overscroll-behavior: contain; }
.modal__role { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--gold-deep); }
.modal__content h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); color: var(--green); }
.modal__degrees { color: var(--muted); margin: 6px 0 14px; }
.modal__bio p { margin: 0 0 14px; color: #3a4456; }
.modal__bio .note { font-size: .82rem; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); }
.modal__close {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 10px 16px; border-radius: 999px;
  border: 0; background: #fff; color: var(--green); font-size: .85rem; font-weight: 600; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.modal__close:hover { background: var(--gold); }
.modal__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal__step { background: none; border: 0; padding: 6px 0; color: var(--green); font-weight: 600; font-size: .9rem; text-align: left; display: flex; flex-direction: column; }
.modal__step[data-step="1"] { text-align: right; align-items: flex-end; margin-left: auto; }
.modal__step:hover { color: var(--gold-deep); }
.modal__dir { font-size: .75rem; font-weight: 500; color: var(--muted); }

/* Privacy dialog */
.privacy { width: min(560px, 100% - 32px); border: 0; border-radius: 20px; padding: clamp(24px, 4vw, 36px); color: var(--ink); }
.privacy h2 { color: var(--green); font-size: 1.35rem; margin-bottom: 16px; }
.privacy p { color: #3a4456; }
.privacy .btn { margin-top: 8px; }

/* Responsive */
@media (max-width: 1060px) {
  .menu { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,27,72,.12); padding: 8px 16px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:hover, .nav a.is-active { border-bottom-color: var(--line); color: var(--gold-deep); }
  .nav a[href="#daftar-minat"] { margin-top: 12px; text-align: center; padding: 12px 16px; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .about, .interest { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .card { flex-basis: calc((100% - clamp(20px, 3vw, 28px)) / 2); }
  .modal__inner { grid-template-columns: 260px 1fr; }
}
@media (max-width: 720px) {
  .modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .modal__inner { display: block; overflow-y: auto; height: 100%; max-height: none; }
  .modal__photo { height: 52vh; max-height: 440px; }
  .modal__content { max-height: none; overflow: visible; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand span { display: none; }
  .brand img { height: 42px; }
  .site-header__inner { gap: 10px; }
  .lang__btn { padding: 6px 8px; }
  .card { flex-basis: 100%; max-width: 420px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .partners__item { flex-direction: column; align-items: flex-start; }
  .site-footer__logos { gap: 16px; padding: 12px 16px; }
  .site-footer__logos img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
