* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #100304;
  --text: #fff7f7;
  --muted: rgba(255, 247, 247, 0.66);
  --soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --red: #d71920;
  --red-dark: #6f0508;
  --gold: #dca90b;
  --nav-bg: rgba(20, 4, 5, 0.68);
}

html {
  scroll-behavior: smooth;
}

html[data-theme="light"] {
  --bg: #fff6f6;
  --text: #180506;
  --muted: rgba(24, 5, 6, 0.66);
  --soft: rgba(120, 0, 0, 0.06);
  --line: rgba(120, 0, 0, 0.14);
  --nav-bg: rgba(255, 246, 246, 0.78);
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(215, 25, 32, 0.36), transparent 32%),
    radial-gradient(circle at 90% 40%, rgba(111, 5, 8, 0.42), transparent 36%),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(8, 1, 2, 0.78);
  backdrop-filter: blur(18px);
}

.announcement-modal.show {
  display: grid;
}

.announcement-card {
  position: relative;
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(42, 4, 6, 0.98), rgba(16, 3, 4, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.announcement-image {
  min-height: 420px;
  background: rgba(255, 255, 255, 0.06);
}

.announcement-image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.announcement-copy {
  padding: clamp(28px, 5vw, 54px);
  align-self: center;
}

.announcement-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 0.96;
  letter-spacing: -3px;
}

.announcement-copy p {
  color: rgba(255, 247, 247, 0.72);
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
}

.primary-btn,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn:hover,
.back-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 32px));
  height: 68px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

html[data-theme="dark"] .brand img {
  filter: brightness(0) invert(1);
}

html[data-theme="light"] .brand img {
  filter: brightness(0);
}

.links {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.links a,
.theme-toggle {
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.links a {
  padding: 9px 14px;
}

.links a:hover,
.links a.active {
  color: var(--text);
  background: var(--soft);
}

.theme-toggle {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px max(7vw, 24px) 90px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-bg-text {
  position: absolute;
  right: -3vw;
  bottom: 4vh;
  font-size: clamp(160px, 34vw, 520px);
  line-height: 0.75;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

html[data-theme="light"] .hero-bg-text {
  color: rgba(120, 0, 0, 0.055);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.eyebrow.red {
  color: var(--red);
}

.hero h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(56px, 10vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hero-desc,
.section-text p,
.person-detail p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 16px;
}

.hero-desc {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions a {
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.hero-actions a:first-child {
  background: var(--text);
  color: var(--bg);
}

.hero-actions a:hover {
  transform: translateY(-4px);
}

.hero-side {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.hero-side span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-4deg);
}

.section {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0;
}

.profile-section,
.gallery-section {
  display: grid;
  grid-template-columns: 90px 0.9fr 1fr;
  gap: 42px;
  align-items: start;
}

.section-number {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.section-title p {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.section-title h2 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.section-text {
  padding-top: 44px;
}

.section-text p + p {
  margin-top: 18px;
}

.profile-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.profile-links a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  transition: 0.25s ease;
}

.profile-links a:hover {
  transform: translateX(8px);
}

.profile-links span,
.gallery-card span,
.member-view-wrap span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.profile-links strong,
.gallery-card strong {
  display: block;
  font-size: 16px;
}

.gallery-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  grid-template-rows: repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.24), rgba(255, 255, 255, 0.06));
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card.large {
  grid-row: 1 / span 3;
  min-height: 560px;
}

.gallery-card img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.74));
  transition: background 0.28s ease;
}

.gallery-card::before {
  content: "Lihat detail ->";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #6f0508;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.28s ease;
}

.gallery-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: white;
}

.gallery-card span {
  color: rgba(255, 255, 255, 0.68);
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.08);
}

.gallery-card:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 20%, rgba(0, 0, 0, 0.82));
}

.gallery-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.person-page,
.team-hero,
.team-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.person-page {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.person-photo {
  position: relative;
}

.person-photo::before {
  content: "";
  position: absolute;
  inset: 28px -24px -24px 28px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.person-photo img {
  height: min(620px, 68vh);
  object-fit: cover;
  border-radius: 28px;
  filter: saturate(0.9) contrast(1.05);
}

.person-detail h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.person-detail h1 span {
  color: var(--gold);
}

.team-hero {
  padding: 160px 0 72px;
}

.team-hero h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.team-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.team-grid {
  padding: 0 0 90px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.team-card.reverse {
  grid-template-columns: 1fr minmax(260px, 0.72fr);
}

.team-card.reverse .team-photo {
  order: 2;
}

.team-photo {
  position: relative;
}

.team-photo::before {
  content: "";
  position: absolute;
  inset: 24px -20px -20px 24px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.team-photo img {
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  filter: saturate(0.9) contrast(1.05);
}

.team-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.team-copy h2 span {
  color: var(--gold);
}

.team-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.person-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.person-meta span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.contact-section {
  width: min(1120px, calc(100% - 36px));
  margin: 80px auto 0;
  padding: clamp(42px, 7vw, 86px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, var(--red-dark), var(--red));
  color: white;
}

.contact-section h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.contact-section p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.contact-links {
  display: grid;
  gap: 10px;
  align-content: center;
}

.contact-links a {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: 0.25s ease;
}

.contact-links a:hover {
  padding-left: 12px;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.contact-links strong {
  text-align: right;
}

.member-view-wrap {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.member-view-wrap span,
.member-view-wrap p {
  color: rgba(255, 255, 255, 0.72);
}

.member-view-wrap p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.member-view-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: white;
  color: #9b050b;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.member-view-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

footer {
  width: 100%;
  margin: 0;
  padding: 40px max(7vw, 24px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    top: 14px;
    width: calc(100% - 22px);
    height: 62px;
  }

  .links {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .announcement-card,
  .hero,
  .profile-section,
  .gallery-section,
  .person-page,
  .team-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .announcement-image,
  .announcement-image img {
    min-height: 280px;
  }

  .hero {
    min-height: auto;
    padding: 140px 22px 80px;
  }

  .hero-side {
    margin-top: 54px;
    justify-items: start;
  }

  .section {
    padding: 86px 0;
  }

  .section-text {
    padding-top: 0;
  }

  .gallery-grid {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .gallery-card.large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .person-page {
    min-height: auto;
  }

  .team-card.reverse .team-photo {
    order: 0;
  }

  .person-photo img,
  .team-photo img {
    height: 460px;
  }

  .contact-links a {
    flex-direction: column;
    gap: 4px;
  }

  .contact-links strong {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .member-view-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-view-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 14px;
  }

  .announcement-modal {
    padding: 14px;
  }

  .announcement-card {
    border-radius: 22px;
  }

  .announcement-copy {
    padding: 24px;
  }

  .hero h1,
  .section-title h2,
  .person-detail h1,
  .team-hero h1,
  .team-copy h2,
  .contact-section h2 {
    letter-spacing: -0.04em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    text-align: center;
  }

  .gallery-card,
  .gallery-card.large {
    min-height: 300px;
    border-radius: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .person-photo img,
  .team-photo img {
    height: 380px;
    border-radius: 22px;
  }

  .person-photo::before,
  .team-photo::before {
    inset: 18px -12px -12px 18px;
    border-radius: 22px;
  }

  .contact-section {
    border-radius: 28px 28px 0 0;
  }
}
