.inner-page {
  min-height: 100vh;
  background: #020817;
}

.inner-page .site-header {
  background: rgba(2, 8, 23, 0.92);
  backdrop-filter: blur(16px);
}

.inner-page .site-nav a[aria-current="page"]::after {
  width: 100%;
}

.page-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  padding: 170px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(207, 166, 93, 0.16), transparent 27%),
    radial-gradient(circle at 12% 80%, rgba(96, 65, 135, 0.25), transparent 31%),
    linear-gradient(135deg, #020817 5%, #08162c 58%, #14102f);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("assets/isipc-stage-v2.webp");
  background-position: 73% center;
  background-size: cover;
  mask-image: linear-gradient(90deg, transparent 0, #000 42%, #000 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 890px;
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 830px;
  margin: 0;
  color: var(--ivory);
  font: 500 clamp(52px, 6vw, 82px)/1.15 var(--serif);
  letter-spacing: 0.035em;
}

.page-hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-title-line {
  display: block;
}

.history-copy-break {
  display: block;
}

.page-hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c3ccd9;
  font-size: 16px;
  line-height: 1.9;
}

.about-hero-note {
  display: inline-block;
}

.page-section {
  padding: 112px 0 126px;
  background: #061125;
}

.page-section.deep {
  background:
    radial-gradient(circle at 92% 14%, rgba(96, 65, 135, 0.2), transparent 28%),
    #020817;
}

.page-section.light {
  background: var(--ivory);
  color: var(--navy);
}

.page-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.page-heading h2 {
  margin: 0;
  color: inherit;
  font: 500 clamp(40px, 5vw, 64px)/1.25 var(--serif);
  letter-spacing: 0.035em;
}

.page-heading > p {
  max-width: 520px;
  margin: 0 0 6px;
  color: var(--muted);
}

.light .page-heading > p,
.light .page-copy,
.light .page-copy p {
  color: #596273;
}

.judge-profile-list {
  border-top: 1px solid var(--line);
}

.judge-profile {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.judge-profile summary {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) 42px;
  gap: 34px;
  align-items: center;
  min-height: 214px;
  padding: 24px 6px;
  list-style: none;
  cursor: pointer;
}

.judge-profile summary::-webkit-details-marker {
  display: none;
}

.judge-profile summary img {
  width: 178px;
  height: 166px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
}

.judge-profile summary small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.judge-profile summary h2 {
  margin: 6px 0 7px;
  color: var(--ivory);
  font: 500 31px/1.3 var(--serif);
}

.judge-profile summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.profile-toggle::before,
.profile-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--gold-light);
  transform: translate(-50%, -50%);
  transition: transform 180ms;
}

.profile-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.judge-profile[open] .profile-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.profile-body {
  max-width: 930px;
  margin: -8px 0 0 212px;
  padding: 0 0 56px;
  color: #c1cad6;
}

.profile-body h3 {
  margin: 28px 0 8px;
  color: var(--gold-light);
  font: 500 19px/1.5 var(--serif);
}

.profile-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.9;
}

.profile-body ul {
  margin: 10px 0 20px;
  padding-left: 1.3em;
}

.profile-body li {
  margin: 5px 0;
}

.about-overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 86px;
  align-items: start;
}

.about-overview h2,
.scholarship-story h2 {
  margin: 0;
  font: 500 clamp(42px, 5vw, 64px)/1.25 var(--serif);
}

.about-overview-copy p,
.scholarship-story p {
  margin: 0 0 20px;
  color: var(--muted);
}

.mission-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-block: 1px solid var(--line);
}

.mission-rail article {
  min-height: 190px;
  padding: 34px 32px;
}

.mission-rail article + article {
  border-left: 1px solid var(--line);
}

.mission-rail span {
  color: var(--gold);
  font: 500 24px/1 var(--serif);
}

.mission-rail h3 {
  margin: 14px 0 7px;
  font: 500 21px/1.4 var(--serif);
}

.mission-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.history-timeline {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 111px;
  top: 9px;
  bottom: 12px;
  width: 1px;
  background: rgba(117, 83, 31, 0.3);
}

.history-event {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 50px;
  padding: 0 0 44px;
}

.history-event::before {
  content: "";
  position: absolute;
  left: 106px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 2px solid #b58c4b;
  border-radius: 50%;
  background: var(--ivory);
}

.history-year {
  color: #8a642a;
  font: 500 21px/1.2 var(--serif);
  text-align: right;
}

.history-event h3 {
  margin: 0 0 7px;
  font: 500 22px/1.4 var(--serif);
}

.history-event p {
  margin: 0;
  color: #596273;
}


.leadership-heading {
  max-width: 920px;
  margin-bottom: 62px;
}

.leadership-heading h2 {
  margin: 0;
  font: 500 clamp(42px, 5vw, 66px)/1.24 var(--serif);
}

.leadership-heading > p:last-child {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.leadership-list {
  display: grid;
  gap: 78px;
}

.leadership-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.leadership-profile-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.leadership-profile-reverse .leadership-photo {
  order: 2;
}

.leadership-profile-reverse .leadership-copy {
  order: 1;
}

.leadership-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #061125;
}

.leadership-copy h3 {
  margin: 4px 0 13px;
  font: 500 clamp(38px, 4.5vw, 58px)/1.2 var(--serif);
}

.leadership-role {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leadership-copy > strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.85;
}

.profile-language {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.profile-language h4 {
  margin: 0 0 12px;
  color: var(--gold);
  font: 500 18px/1.4 var(--serif);
}

.profile-language p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.9;
}

.english-profile p {
  font-size: 14px;
}

.leadership-actions {
  margin-top: 28px;
}

.founder-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: center;
}

.founder-panel img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  object-position: center top;
  background: #061125;
}

.founder-panel h2 {
  margin: 0 0 12px;
  font: 500 clamp(38px, 4.6vw, 60px)/1.22 var(--serif);
}

.founder-panel strong {
  color: var(--gold);
  font-size: 13px;
}

.founder-panel p {
  margin: 22px 0 0;
  color: var(--muted);
}

.scholarship-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-block: 1px solid var(--line);
}

.scholarship-stats div {
  min-height: 175px;
  padding: 34px;
}

.scholarship-stats div + div {
  border-left: 1px solid var(--line);
}

.scholarship-stats strong {
  display: block;
  color: var(--gold-light);
  font: 500 clamp(38px, 4vw, 58px)/1 var(--serif);
}

.scholarship-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scholarship-card {
  min-height: 280px;
  padding: 42px;
  border: 1px solid rgba(117, 83, 31, 0.22);
  background: #fffdf8;
}

.scholarship-card span {
  color: #8a642a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.scholarship-card h3 {
  margin: 10px 0 14px;
  font: 500 28px/1.35 var(--serif);
}

.scholarship-card p,
.scholarship-card li {
  color: #596273;
  font-size: 14px;
}

.scholarship-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.status-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
  padding: 62px 68px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(51, 31, 84, 0.76), rgba(7, 19, 38, 0.95));
}

.status-panel h2 {
  margin: 0;
  font: 500 clamp(38px, 4.5vw, 58px)/1.25 var(--serif);
}

.status-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.contact-strip h2 {
  margin: 0 0 8px;
  font: 500 34px/1.35 var(--serif);
}

.contact-strip p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .page-heading,
  .about-overview,
  .founder-panel,
  .leadership-profile,
  .leadership-profile-reverse,
  .status-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .leadership-profile-reverse .leadership-photo,
  .leadership-profile-reverse .leadership-copy {
    order: initial;
  }

  .profile-body {
    margin-left: 0;
    padding-left: 212px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 540px;
    padding: 142px 0 72px;
  }

  .page-hero::before {
    background-position: 68% center;
    mask-image: linear-gradient(0deg, transparent 0, #000 45%, #000 100%);
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .page-section {
    padding: 82px 0 92px;
  }

  .page-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }

  .judge-profile summary {
    grid-template-columns: 98px minmax(0, 1fr) 34px;
    gap: 18px;
    min-height: 142px;
  }

  .judge-profile summary img {
    width: 98px;
    height: 112px;
  }

  .judge-profile summary h2 {
    font-size: 21px;
  }

  .judge-profile summary p {
    font-size: 11px;
  }

  .profile-toggle {
    width: 32px;
    height: 32px;
  }

  .profile-body {
    margin: 0;
    padding: 0 0 42px;
  }

  .mission-rail,
  .scholarship-stats,
  .scholarship-grid {
    grid-template-columns: 1fr;
  }

  .mission-rail article + article,
  .scholarship-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .history-timeline::before {
    left: 72px;
  }

  .history-event {
    grid-template-columns: 52px 1fr;
    gap: 42px;
  }

  .history-event::before {
    left: 67px;
  }

  .history-year {
    font-size: 16px;
  }

  .status-panel,
  .scholarship-card {
    padding: 36px 28px;
  }

  .leadership-heading {
    margin-bottom: 44px;
  }

  .leadership-list {
    gap: 58px;
  }

  .leadership-profile {
    padding-top: 40px;
  }

  .leadership-photo {
    max-width: 520px;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  .page-hero h1 {
    font-size: 41px;
  }

  .page-hero-lead {
    font-size: 14px;
  }

  .judge-profile summary {
    grid-template-columns: 82px minmax(0, 1fr) 28px;
    gap: 13px;
  }

  .judge-profile summary img {
    width: 82px;
    height: 96px;
  }

  .judge-profile summary small {
    display: none;
  }

  .judge-profile summary h2 {
    font-size: 18px;
  }

  .profile-toggle {
    width: 27px;
    height: 27px;
  }
}


/* Scholarship page v1.2.2 */
.scholarship-hero .page-hero-lead {
  max-width: 900px;
}

.scholarship-stats-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scholarship-stats-four div {
  padding-inline: 28px;
}

.scholarship-stats-four strong {
  font-size: clamp(32px, 3.5vw, 52px);
}

.scholarship-stats-four span {
  font-size: 13px;
  line-height: 1.7;
}

.scholarship-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.scholarship-card-wide ul {
  columns: 2;
  column-gap: 54px;
}

.scholarship-card-wide li {
  break-inside: avoid;
  margin-bottom: 10px;
}

@media (max-width: 1080px) {
  .scholarship-stats-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scholarship-stats-four div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .scholarship-stats-four div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .scholarship-stats-four {
    grid-template-columns: 1fr;
  }

  .scholarship-stats-four div:nth-child(2),
  .scholarship-stats-four div:nth-child(3),
  .scholarship-stats-four div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .scholarship-card-wide ul {
    columns: 1;
  }
}
