/* lesbengalon.id — workbook Excel, bukan tema kertas. */

:root {
  --wrap: 1180px;
  --header-h: 72px;
  --wa: var(--wa-500);
  --wa-hover: var(--wa-600);
  --grid-bg:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  --grid-size: 28px 28px;
}

html.js { scroll-padding-top: calc(var(--header-h) + 8px); }
body { overflow-x: clip; }

.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-4);
  z-index: 100; padding: var(--space-2) var(--space-4);
  background: var(--xl-700); color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--text-on-dark); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.ico { display: inline-flex; width: 1em; height: 1em; vertical-align: -0.12em; }
.ico svg { width: 100%; height: 100%; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Header — title bar + ribbon tabs */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-sheet);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}
.site-header.is-solid { box-shadow: var(--shadow-sm); }

.title-bar {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 40px;
  padding: 0 var(--gutter);
  background: var(--xl-500);
  color: #fff;
}
.wordmark {
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}
.wordmark:hover { color: #fff; text-decoration: none; opacity: 0.9; }
.wordmark .dot { opacity: 0.78; font-weight: 500; }

.title-spacer { flex: 1; }

.header-actions {
  display: flex; align-items: center; gap: var(--space-2);
}
.btn-login {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
}
.btn-login:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

.header-wa {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--wa);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.header-wa:hover { background: var(--wa-hover); color: #fff; text-decoration: none; }

.ribbon {
  display: flex; align-items: stretch;
  min-height: 32px;
  padding: 0 var(--gutter);
  background: var(--grid-100);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav {
  display: flex; align-items: stretch; gap: 0;
}
.site-nav a {
  display: inline-flex; align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-600);
  text-decoration: none;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
}
.site-nav a:hover {
  background: #fff;
  color: var(--ink-900);
  text-decoration: none;
}
.site-nav a[aria-current="true"] {
  background: #fff;
  color: var(--xl-600);
  font-weight: 600;
  border-left-color: var(--border-subtle);
  border-right-color: var(--border-subtle);
  box-shadow: inset 0 2px 0 var(--xl-500);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--control-h-lg);
  padding: 0 16px;
  background: var(--action-primary);
  color: var(--action-primary-text);
  font-family: var(--font-core);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition-control);
}
.btn:hover { background: var(--action-primary-hover); color: #fff; text-decoration: none; }
.btn:active { transform: scale(var(--press-scale)); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--control-h-lg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-600);
  text-decoration: none;
  border-bottom: 1px solid var(--xl-500);
  border-radius: 0;
  padding: 0;
}
.btn-ghost:hover { color: var(--xl-700); text-decoration: none; }
.btn .ico, .header-wa .ico, .footer-phone .ico { flex-shrink: 0; }

/* Sections */
.section {
  padding-block: var(--section-y);
  background: var(--surface-sheet);
  border-top: 1px solid var(--border-subtle);
}
.section-alt { background: var(--grid-100); }
.section-head { max-width: 40rem; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.lead { margin-top: var(--space-4); color: var(--text-body); max-width: 42rem; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  background-color: var(--grid-50);
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: -20% 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.17) 1px, transparent 1px);
  background-size: var(--grid-size);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.52) 50%, rgba(243,243,243,.78) 100%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: var(--text-display);
  letter-spacing: -0.035em;
  max-width: 16ch;
  color: var(--xl-700);
}
.hero-copy { margin-top: var(--space-5); max-width: 38rem; }
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.chip-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: var(--space-6);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-600);
  transition: transform var(--dur-base) var(--ease-lift), box-shadow var(--dur-base) var(--ease-soft);
}
.chip:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: var(--shadow-sm);
}
.chip b { color: var(--xl-600); font-weight: 600; }
.chip.is-os { background: var(--xl-50); border-color: var(--xl-200); }

/* Mini worksheet in hero */
.sheet-stage {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
.hero-formula {
  position: absolute;
  top: auto;
  bottom: clamp(1.25rem, 5vw, 3rem);
  left: max(0.75rem, 42%);
  right: auto;
  z-index: 1;
  width: max-content;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(44px, 9.5vw, 120px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
  text-align: left;
  color: rgba(33, 115, 70, 0.1);
  pointer-events: none;
  user-select: none;
}
.sheet {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sheet-cols, .sheet-row {
  display: grid;
  grid-template-columns: 28px repeat(3, minmax(0, 1fr));
}
.sheet-cols span, .sheet-gutter, .sheet-cell {
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  min-height: 32px;
  display: flex; align-items: center;
  padding: 0 8px;
  font-size: 12px;
}
.sheet-cols span {
  justify-content: center;
  background: var(--col-header);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  min-height: var(--col-head-h);
}
.sheet-gutter {
  justify-content: center;
  background: var(--col-header);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  padding: 0;
}
.sheet-cell { color: var(--ink-700); background: #fff; }
.sheet-cell.is-head { font-weight: 600; background: var(--xl-50); color: var(--xl-700); }
.sheet-cell.is-active {
  outline: 2px solid var(--select-stroke);
  outline-offset: -2px;
  background: var(--surface-select);
  z-index: 1;
  animation: xl-pulse 2.4s var(--ease-soft) infinite;
}
.sheet-tabs {
  display: flex; align-items: center; gap: 0;
  background: var(--grid-200);
  border-top: 1px solid var(--border-subtle);
  min-height: 28px;
  padding-left: 28px;
}
.sheet-tab {
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  color: var(--xl-600);
  font-weight: 600;
  box-shadow: inset 0 2px 0 var(--xl-500);
}
.sheet-tab.is-idle {
  background: transparent;
  color: var(--ink-400);
  font-weight: 400;
  box-shadow: none;
}

/* Program cards as cells */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-10);
  border: 1px solid var(--border-strong);
  background: #fff;
}
.program-card {
  position: relative;
  padding: var(--space-6);
  border-right: 1px solid var(--grid-line);
  background: #fff;
  transition: transform var(--dur-base) var(--ease-lift), box-shadow var(--dur-base) var(--ease-soft);
}
.program-card:hover {
  z-index: 2;
  transform: translateY(var(--hover-lift));
  box-shadow: var(--shadow-md);
}
.program-card:last-child { border-right: 0; }
.program-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.program-card p { color: var(--text-body); font-size: var(--text-sm); }

/* Jenjang worksheet — selaras dengan .sheet di hero */
.path-wrap {
  margin-top: var(--space-10);
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  background: #fff;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}
.path-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}
.path-table th, .path-table td {
  border: 1px solid var(--grid-line);
  padding: 0 8px;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-700);
  min-height: 32px;
}
.path-table thead th {
  background: var(--col-header);
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: center;
  color: var(--ink-500);
  padding: 5px 4px;
  vertical-align: middle;
}
.path-table .path-col-letter {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}
.path-table .gutter {
  width: 28px;
  min-width: 28px;
  text-align: center;
  background: var(--col-header);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  padding: 0;
  vertical-align: middle;
}
.path-table tbody th.gutter.is-range {
  color: var(--xl-600);
  font-weight: 600;
}
.path-table tbody td {
  background: #fff;
  padding-block: 8px;
}
.path-table .level,
.path-table .name {
  display: inline;
  font-weight: 600;
  color: var(--ink-900);
}
.path-table .level { margin-right: 0.35em; }
.path-table td.is-range {
  background: var(--surface-select);
  border-left: 2px solid var(--select-stroke);
  border-right: 2px solid var(--select-stroke);
}
.path-table td.is-range-edge-top {
  border-top: 2px solid var(--select-stroke);
}
.path-table td.is-range-edge-bottom {
  border-bottom: 2px solid var(--select-stroke);
}
.path-table .meta {
  font-family: var(--font-core);
  font-size: 12px;
  color: var(--ink-600);
}
.path-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-height: 28px;
  padding: 0 8px;
  background: var(--grid-200);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-core);
  font-size: 11px;
  color: var(--ink-600);
}
.path-status-sep {
  width: 1px;
  height: 14px;
  margin-inline: 10px;
  background: var(--grid-400);
}

/* Silabus accordion */
.syl-list {
  margin-top: var(--space-10);
  border: 1px solid var(--border-strong);
  background: #fff;
}
.syl-item { border-bottom: 1px solid var(--grid-line); }
.syl-item:last-child { border-bottom: 0; }
.syl-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 28px;
  gap: var(--space-3);
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.syl-trigger:hover { background: var(--xl-50); }
.syl-item.is-open .syl-trigger { background: var(--surface-select); }
.syl-level {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--xl-600);
  font-weight: 600;
}
.syl-name { font-weight: 600; color: var(--ink-900); display: block; }
.syl-focus { color: var(--text-muted); font-size: var(--text-sm); }
.syl-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--xl-600);
  transition: transform var(--dur-fast) var(--ease-soft);
}
.syl-item.is-open .syl-icon { transform: rotate(180deg); }
.syl-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  background: var(--surface-select);
  border-top: 1px solid transparent;
  transition: grid-template-rows var(--dur-slow) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft);
}
.syl-item.is-open .syl-panel {
  grid-template-rows: 1fr;
  border-top-color: var(--xl-200);
}
.syl-panel-inner {
  min-height: 0;
  overflow: hidden;
}
.syl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-4) 16px 20px;
}
.syl-block h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xl-600);
  margin-bottom: var(--space-2);
}
.syl-block p, .syl-block li { font-size: var(--text-sm); color: var(--ink-600); }
.syl-block ul {
  margin: 0; padding-left: 1.1rem;
  display: grid; gap: 6px;
}
.syl-goal { grid-column: 1 / -1; }

/* Catatan */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-10);
  border: 1px solid var(--border-strong);
}
.note {
  position: relative;
  padding: var(--space-6);
  background: #fff;
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  transition: transform var(--dur-base) var(--ease-lift), box-shadow var(--dur-base) var(--ease-soft);
}
.note:hover {
  z-index: 2;
  transform: translateY(var(--hover-lift));
  box-shadow: var(--shadow-md);
}
.note:nth-child(3n) { border-right: 0; }
.note h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.note p { font-size: var(--text-sm); }

/* Program ribbon background */
#program {
  position: relative;
  overflow: hidden;
}
#program .wrap {
  position: relative;
  z-index: 1;
}
.program-ribbon {
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(340deg);
}
.pengajar-ribbon,
.silabus-ribbon {
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(20deg);
}
.program-ribbon {
  position: absolute;
  top: -1.25rem;
  left: clamp(-4.5rem, -11vw, -1.75rem);
  width: min(90vw, 48rem);
  max-width: none;
  height: auto;
  transform-origin: 30% 20%;
  opacity: 0.22;
  filter: grayscale(0.15) contrast(0.92) brightness(1.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Pengajar */
#pengajar {
  position: relative;
  overflow: hidden;
}
#pengajar .wrap {
  position: relative;
  z-index: 1;
}
#silabus {
  position: relative;
  overflow: hidden;
}
#silabus .wrap {
  position: relative;
  z-index: 1;
}
.silabus-ribbon {
  position: absolute;
  top: 0.5rem;
  right: clamp(-3rem, -8vw, -0.5rem);
  width: min(92vw, 52rem);
  max-width: none;
  height: auto;
  transform-origin: 70% 20%;
  opacity: 0.22;
  filter: grayscale(0.15) contrast(0.92) brightness(1.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.pengajar-ribbon {
  position: absolute;
  top: 0.5rem;
  right: clamp(-3rem, -8vw, -0.5rem);
  width: min(92vw, 52rem);
  max-width: none;
  height: auto;
  transform-origin: 70% 20%;
  opacity: 0.22;
  filter: grayscale(0.15) contrast(0.92) brightness(1.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.about-copy p + p { margin-top: var(--space-3); }
.profile {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--col-header);
}
.profile dl {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.profile dt, .profile dd {
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
}
.profile dt {
  font-weight: 600;
  color: var(--ink-600);
}
.profile dd { color: var(--ink-700); }
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--grid-line);
}
.profile .name {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--xl-700);
  border-bottom: 0;
  min-width: 0;
}
.portrait {
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 2px;
}
.profile-head .portrait-stage {
  flex: 0 0 auto;
  margin: 0;
}
.profile-head .portrait {
  width: 4.5rem;
  margin: 0;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #fff;
}

@media (min-width: 961px) {
  #pengajar .about-grid {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  #pengajar .about-copy {
    grid-column: 1;
    padding-inline-end: calc(min(11rem, 42vw) + clamp(20px, 3vw, 36px));
  }
  #pengajar .profile-head {
    display: block;
  }
  #pengajar .profile-head .portrait-stage {
    position: absolute;
    top: 0;
    right: 0;
    flex: unset;
    width: min(11rem, 42vw);
  }
  #pengajar .profile-head .portrait {
    width: 100%;
  }
}

/* CTA */
.closing {
  position: relative;
  overflow: hidden;
  background: var(--xl-700);
  color: var(--text-on-dark);
  padding-block: clamp(56px, 8vw, 96px);
}
.closing .wrap { position: relative; z-index: 1; }
.range-wm {
  position: absolute;
  top: auto;
  bottom: clamp(1.25rem, 5vw, 3rem);
  left: max(0.75rem, 42%);
  right: auto;
  z-index: 0;
  width: max-content;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(44px, 9.5vw, 120px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255,255,255,.07);
  white-space: nowrap;
  text-align: left;
  overflow: visible;
  pointer-events: none;
  user-select: none;
  outline: 2px dashed rgba(255, 255, 255, 0.08);
  outline-offset: 2px;
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 1.2em
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 1.2em
    );
  background-size: 1.2em 1.2em;
}
@media (max-width: 900px) {
  .hero-formula,
  .range-wm {
    left: 0.5rem;
  }
}
.closing h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); }
.closing-lead { margin-top: var(--space-4); color: var(--text-on-dark-muted); max-width: 36rem; }
.closing-grid {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: var(--space-8);
  align-items: end;
}
.closing-links {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  margin-top: var(--space-6);
}
.closing-links a {
  color: var(--xl-200);
  font-family: var(--font-mono);
  font-size: 12px;
}
.closing-links a:hover { color: #fff; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--xl-800);
  color: var(--text-on-dark-muted);
  padding: var(--space-10) var(--gutter) var(--space-6);
}
.site-footer .footer-grid,
.site-footer .footer-base { position: relative; z-index: 1; }
.footer-wm {
  position: absolute;
  left: var(--gutter);
  right: auto;
  bottom: 10%;
  z-index: 0;
  font-family: var(--font-core);
  font-size: clamp(40px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  text-align: left;
  pointer-events: none;
  user-select: none;
}
.footer-grid {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
}
.footer-brand { font-weight: 700; color: #fff; font-size: var(--text-lg); }
.footer-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-4);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.footer-phone:hover { color: var(--xl-200); text-decoration: none; }
.footer-links {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.footer-links a { color: var(--text-on-dark-muted); font-size: var(--text-sm); }
.footer-links a:hover { color: #fff; }
.footer-base {
  width: min(100%, var(--wrap));
  margin: var(--space-8) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 11px;
}

[data-parallax] { will-change: transform; }

html.js [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); }
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  animation: xl-cell var(--dur-reveal) var(--ease-soft) both;
  animation-delay: calc(var(--stagger) * var(--i, 0));
}
html.js [data-reveal].is-in.is-settled { animation: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

html.js .sheet[data-reveal] { opacity: 1; transform: none; }

.hero h1 { --i: 0; }
.hero-copy { --i: 1; }
.chip-row .chip:nth-child(1) { --i: 2; }
.chip-row .chip:nth-child(2) { --i: 3; }
.chip-row .chip:nth-child(3) { --i: 4; }
.chip-row .chip:nth-child(4) { --i: 5; }
.chip-row .chip:nth-child(5) { --i: 6; }
.hero-actions { --i: 7; }

.program-card:nth-child(1) { --i: 0; }
.program-card:nth-child(2) { --i: 1; }
.program-card:nth-child(3) { --i: 2; }
.program-card:nth-child(4) { --i: 3; }

.note:nth-child(1) { --i: 0; }
.note:nth-child(2) { --i: 1; }
.note:nth-child(3) { --i: 2; }
.note:nth-child(4) { --i: 3; }
.note:nth-child(5) { --i: 4; }
.note:nth-child(6) { --i: 5; }

html.js .sheet[data-reveal] .sheet-row {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.js .sheet.is-in .sheet-row {
  animation: xl-cell var(--dur-reveal) var(--ease-soft) both;
  animation-delay: calc(var(--stagger) * var(--i, 0));
}
html.js .sheet.is-in .sheet-row.is-settled {
  animation: none;
  opacity: 1;
  transform: none;
}
.sheet-row:nth-child(2) { --i: 0; }
.sheet-row:nth-child(3) { --i: 1; }
.sheet-row:nth-child(4) { --i: 2; }
.sheet-row:nth-child(5) { --i: 3; }

html.js .path-wrap[data-reveal] {
  opacity: 1;
  transform: none;
}
html.js .path-wrap[data-reveal] .path-table thead th,
html.js .path-wrap[data-reveal] .path-table tbody td {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.js .path-wrap.is-in .path-table thead th,
html.js .path-wrap.is-in .path-table tbody td {
  animation: xl-cell var(--dur-reveal) var(--ease-soft) both;
  animation-delay: calc(var(--stagger) * var(--i, 0));
}
html.js .path-wrap.is-in .path-table th.is-settled,
html.js .path-wrap.is-in .path-table td.is-settled {
  animation: none;
  opacity: 1;
  transform: none;
}
.path-table th:nth-child(1),
.path-table td:nth-child(1) { --i: 0; }
.path-table th:nth-child(2),
.path-table tbody td:nth-child(2) { --i: 1; }
.path-table th:nth-child(3),
.path-table tbody td:nth-child(3) { --i: 2; }
.path-table th:nth-child(4),
.path-table tbody td:nth-child(4) { --i: 3; }
.path-table th:nth-child(5),
.path-table tbody td:nth-child(5) { --i: 4; }
.path-table th:nth-child(6),
.path-table tbody td:nth-child(6) { --i: 5; }
.path-table th:nth-child(7),
.path-table tbody td:nth-child(7) { --i: 6; }
.path-table th:nth-child(8),
.path-table tbody td:nth-child(8) { --i: 7; }

html.js .program-card.is-in:hover,
html.js .note.is-in:hover,
html.js .chip.is-in:hover {
  transform: translateY(var(--hover-lift));
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-in,
  html.js .sheet[data-reveal] .sheet-row,
  html.js .sheet.is-in .sheet-row,
  html.js .path-wrap[data-reveal] .path-table thead th,
  html.js .path-wrap[data-reveal] .path-table tbody td,
  html.js .path-wrap.is-in .path-table thead th,
  html.js .path-wrap.is-in .path-table tbody td {
    animation: none; opacity: 1; transform: none;
  }
  .sheet-cell.is-active { animation: none; }
  .program-card:hover, .note:hover, .chip:hover {
    transform: none; box-shadow: none;
  }
  .syl-panel { transition: none; }
  [data-parallax] { will-change: auto; transform: none !important; }
  .program-ribbon {
    --parallax-y: 0px;
    transform: translate3d(0, 0, 0) rotate(340deg) !important;
  }
  .pengajar-ribbon,
  .silabus-ribbon {
    --parallax-y: 0px;
    transform: translate3d(0, 0, 0) rotate(20deg) !important;
  }
}

@media (max-width: 960px) {
  .hero .wrap, .about-grid, .closing-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .program-card:nth-child(2n) { border-right: 0; }
  .program-card:nth-child(-n+2) { border-bottom: 1px solid var(--grid-line); }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .note:nth-child(3n) { border-right: 1px solid var(--grid-line); }
  .note:nth-child(2n) { border-right: 0; }
  .syl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .ribbon { padding: 0 12px; overflow-x: auto; }
  .site-nav a { padding: 0 12px; min-height: 32px; }
  .header-wa span.label, .btn-login span.label { display: none; }
  .program-grid, .notes-grid { grid-template-columns: 1fr; }
  .program-card, .note {
    border-right: 0;
    border-bottom: 1px solid var(--grid-line);
  }
  .program-card:last-child, .note:last-child { border-bottom: 0; }
  .syl-trigger {
    grid-template-columns: minmax(0, 1fr) 24px;
  }
  .syl-focus { display: none; }
  .syl-grid { padding-left: 16px; }
  .hero h1 { max-width: none; }
  .title-bar { padding-inline: 12px; }
  .sheet { margin-top: var(--space-2); }
}
