/* ============================================================
   HUDA · PROPOSAL SKRIPSI — EDITORIAL / CORPORATE EDITION
   Politeknik Negeri Jember
   Paper-light, serif display, restrained palette.
   ============================================================ */

:root {
  /* Paper & ink */
  --paper:    #F4F1EA;   /* warm ivory background */
  --paper-2:  #FBFAF6;   /* card / panel */
  --paper-3:  #ECE7DC;   /* sunken / alt row */
  --ink:      #1F1D1A;   /* primary text (warm near-black) */
  --ink-2:    #514D45;   /* secondary text */
  --ink-3:    #8C857877; /* faded — use rgba below instead */
  --ink-soft: #7A7468;   /* muted labels */
  --line:     rgba(31, 29, 26, 0.14);
  --line-2:   rgba(31, 29, 26, 0.28);

  /* Meaningful accents: chili crimson, olive leaf, ochre */
  --crimson:  #9E2B25;
  --crimson-d:#7C1F1B;
  --olive:    #5E6B4F;
  --olive-d:  #45503A;
  --ochre:    #B07D2B;
  --ink-blue: #2C3A4A;

  /* Type */
  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow: hidden; }
body {
  font-family: var(--sans);
  background: #15140F;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(158, 43, 37, 0.18); color: var(--ink); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(31,29,26,0.2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(31,29,26,0.35); }

/* Utility */
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }
.accent { color: var(--crimson); }
.italic { font-style: italic; }

/* ---- App shell ---- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; background: #15140F; }

/* ---- Topbar ---- */
.topbar {
  position: relative; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 40px;
  background: #15140F;
  flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-meta { display: flex; flex-direction: column; gap: 2px; }
.brand-title { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; color: #F4F1EA; }
.brand-sub { font-family: var(--mono); font-size: 11px; color: #8C8578; letter-spacing: 0.04em; }
.topbar-center { font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em; color: #B07D2B; text-transform: uppercase; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.clock { font-family: var(--mono); font-size: 12px; color: #8C8578; letter-spacing: 0.08em; padding: 8px 14px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px;
  border: 1px solid rgba(244,241,234,0.18); background: transparent;
  color: #C9C3B6; transition: all 0.2s ease;
}
.btn-icon:hover { border-color: rgba(244,241,234,0.4); color: #F4F1EA; background: rgba(244,241,234,0.05); }

/* ---- Stage / canvas ---- */
.stage { position: relative; z-index: 10; flex: 1; display: block; overflow: hidden; }
.canvas-frame {
  position: absolute; top: 50%; left: 50%;
  width: 1620px; height: 1080px;
  transform-origin: center center;
  transform: translate(-50%, calc(-50% + var(--offset-y, 0px))) scale(var(--scale, 1));
}

/* ---- Slide (paper sheet) ---- */
.slide {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(158,43,37,0.04) 0%, transparent 18%),
    var(--paper);
  overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}
.slide.active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}
/* colored top rail + left accent on every content sheet */
.slide::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 7px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--crimson) 38%, var(--ochre) 38%, var(--ochre) 62%, var(--olive) 62%, var(--olive) 100%);
  z-index: 5;
}
.slide[data-id="cover"]::before,
.slide[data-id="div_bab1"]::before,
.slide[data-id="div_bab2"]::before,
.slide[data-id="div_bab3"]::before,
.slide[data-id="closing"]::before { display: none; }

.slide-body {
  position: absolute; inset: 0;
  padding: 76px 88px 84px;
  display: flex; flex-direction: column;
}

/* Watermark logo (very subtle, paper edition) */
.slide-body::after {
  content: '';
  position: absolute; right: 64px; bottom: 72px;
  width: 300px; height: 300px;
  background: url("assets/logo-polije-bw.png") no-repeat center / contain;
  opacity: 0.05; pointer-events: none; z-index: 0;
}
.slide[data-id="cover"] .slide-body::after,
.slide[data-id="closing"] .slide-body::after,
.slide[data-id="identitas"] .slide-body::after,
.slide[data-id="div_bab1"] .slide-body::after,
.slide[data-id="div_bab2"] .slide-body::after,
.slide[data-id="div_bab3"] .slide-body::after { display: none; }
.slide-body > * { position: relative; z-index: 1; }

/* Footer meta on each sheet */
.sheet-foot {
  position: absolute; left: 96px; right: 96px; bottom: 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-soft); text-transform: uppercase;
  border-top: 1px solid var(--line); padding-top: 14px;
  z-index: 1;
}
.sheet-foot .r { color: var(--ink-soft); }

/* ============================================================
   TYPOGRAPHY — editorial
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--crimson); padding: 8px 16px;
  margin-bottom: 22px; align-self: flex-start;
}
.kicker::before { display: none; }
.kicker.olive { background: var(--olive-d); }

.headline {
  font-family: var(--serif); font-weight: 600;
  font-size: 66px; line-height: 1.04; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 20px;
}
.headline em { font-style: italic; color: var(--crimson); font-weight: 500; }
.headline-sm {
  font-family: var(--serif); font-weight: 600;
  font-size: 50px; line-height: 1.08; letter-spacing: -0.012em;
  color: var(--ink); margin-bottom: 18px;
}
.headline-sm em { font-style: italic; color: var(--crimson); font-weight: 500; }

.lead {
  font-family: var(--sans); font-size: 21px; line-height: 1.6;
  color: var(--ink-2); max-width: 980px; font-weight: 400;
}
.body-text {
  font-family: var(--sans); font-size: 18px; line-height: 1.7;
  color: var(--ink-2);
}
.body-text strong { color: var(--ink); font-weight: 600; }
.body-text em { font-style: italic; }

/* Hairline rule */
.rule { height: 1px; background: var(--line); margin: 26px 0; }
.rule-strong { height: 2px; background: var(--ink); width: 64px; margin: 0 0 28px; }

/* Section label (small caps mono) */
.sect-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 14px;
}

/* Eyebrow numbering tag */
.tag {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line-2);
  padding: 5px 12px; border-radius: 2px;
}

/* ============================================================
   NAVIGATION — bottom bar, sidemenu, hint, loader
   ============================================================ */
.navbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: 14px 40px; background: #15140F;
}
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px;
  border: 1px solid rgba(244,241,234,0.18); color: #C9C3B6;
  transition: all 0.2s ease;
}
.nav-btn:hover { border-color: rgba(244,241,234,0.45); color: #F4F1EA; background: rgba(244,241,234,0.05); }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.nav-progress { display: flex; align-items: center; gap: 18px; min-width: 360px; }
.nav-progress-track { flex: 1; height: 2px; background: rgba(244,241,234,0.15); overflow: hidden; }
.nav-progress-fill { height: 100%; background: var(--ochre); width: 0%; transition: width 0.5s ease; }
.nav-counter { font-family: var(--mono); font-size: 12px; color: #8C8578; letter-spacing: 0.1em; min-width: 84px; text-align: right; }
.nav-counter .cur { color: #F4F1EA; }

/* Sidemenu */
.sidemenu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; z-index: 60;
  background: var(--paper-2); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -30px rgba(0,0,0,0.4);
}
.sidemenu.open { transform: translateX(0); }
.sidemenu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 30px; border-bottom: 1px solid var(--line);
}
.sidemenu-title { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); }
.sidemenu-close {
  width: 38px; height: 38px; border-radius: 4px; border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
  transition: all 0.2s ease;
}
.sidemenu-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sidemenu-list { flex: 1; overflow-y: auto; padding: 14px 18px 28px; }
.sidemenu-item {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 14px 16px; border-radius: 4px; border: 1px solid transparent;
  color: var(--ink-2); transition: all 0.18s ease;
}
.sidemenu-item:hover { background: var(--paper-3); color: var(--ink); }
.sidemenu-item.focused { background: var(--paper-3); border-color: var(--crimson); color: var(--ink); }
.sidemenu-item.active { color: var(--ink); }
.sidemenu-item.active .sidemenu-num { color: var(--crimson); }
.sidemenu-num { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); width: 30px; flex-shrink: 0; }
.sidemenu-name { flex: 1; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.4; }
.sidemenu-section {
  padding: 20px 16px 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--crimson); text-transform: uppercase;
}
.sidemenu-backdrop {
  position: fixed; inset: 0; z-index: 55; background: rgba(20,19,15,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.sidemenu-backdrop.show { opacity: 1; pointer-events: auto; }

/* Hint */
.hint {
  position: fixed; bottom: 16px; left: 30px; z-index: 35;
  font-family: var(--mono); font-size: 11px; color: #6E685C; letter-spacing: 0.06em;
}
.hint kbd {
  display: inline-block; padding: 3px 8px; margin: 0 2px;
  border: 1px solid rgba(244,241,234,0.2); border-radius: 3px;
  font-family: var(--mono); font-size: 10.5px; color: #C9C3B6;
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px;
  background: var(--paper);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 92px; height: 92px; object-fit: contain; }
.loader-title { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.04em; color: var(--ink); }
.loader-bar { width: 240px; height: 2px; background: var(--line); overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: var(--crimson); animation: loadbar 1.5s ease-out forwards; }
@keyframes loadbar { to { width: 100%; } }
.loader-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-soft); text-transform: uppercase; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; flex: 1; min-height: 0; }
.grid-2-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; flex: 1; min-height: 0; }
.grid-2-narrow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; flex: 1; min-height: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; flex: 1; min-height: 0; }
.stack { display: flex; flex-direction: column; min-height: 0; }
.fill { flex: 1; min-height: 0; }

/* ---- Numbered editorial list ---- */
.elist { display: flex; flex-direction: column; }
.elist-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 22px;
  padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.elist-item:last-child { border-bottom: 1px solid var(--line); }
.elist-num {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 26px; color: var(--crimson); line-height: 1;
}
.elist-body { min-width: 0; }
.elist-title { font-family: var(--sans); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.elist-desc { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---- Defined-term rows (key : value) ---- */
.deflist { display: flex; flex-direction: column; }
.defrow {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 15px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.defrow:last-child { border-bottom: 1px solid var(--line); }
.defkey { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson); font-weight: 500; }
.defval { font-family: var(--sans); font-size: 17px; color: var(--ink); font-weight: 500; }
.defval em { font-style: italic; color: var(--ink-2); }

/* ---- Panel (bordered block) ---- */
.panel {
  position: relative;
  background: var(--paper-2); border: 1px solid var(--line);
  border-top: 4px solid var(--crimson);
  padding: 30px 34px; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(31,29,26,0.04), 0 18px 40px -30px rgba(31,29,26,0.5);
}
.panel.sunken { background: var(--paper-3); border-top-color: var(--olive-d); }
.panel.ink { background: var(--ink-blue); border-top-color: var(--ochre); }
.panel.ink .panel-title, .panel.ink .elist-title, .panel.ink .defval { color: var(--paper); }
.panel.ink .elist-desc, .panel.ink .defval em { color: rgba(244,241,234,0.7); }
.panel.ink .elist-item, .panel.ink .defrow { border-top-color: rgba(244,241,234,0.14); }
.panel.ink .elist-item:last-child, .panel.ink .defrow:last-child { border-bottom-color: rgba(244,241,234,0.14); }
.panel-title { font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }

/* ---- Pull quote / note ---- */
.note {
  background: rgba(158,43,37,0.07);
  border-left: 4px solid var(--crimson); padding: 20px 26px;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5;
  color: var(--ink); font-weight: 500;
}
.note.olive { border-left-color: var(--olive-d); background: rgba(94,107,79,0.1); }
.note strong { font-style: normal; font-weight: 600; color: var(--crimson); }
.note.olive strong { color: var(--olive-d); }

/* ---- Stat (figure) ---- */
.figs { display: grid; gap: 24px; }
.fig { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--ochre); padding: 20px 22px; }
.fig-num { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.fig-num .u { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--crimson); margin-left: 4px; }
.fig-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.fig-foot { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---- Table (editorial) ---- */
.etable { width: 100%; border-collapse: collapse; }
.etable thead th {
  text-align: left; padding: 15px 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper);
  background: var(--ink-blue);
}
.etable tbody td {
  padding: 18px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.5; color: var(--ink); vertical-align: top;
}
.etable tbody tr:nth-child(even) td { background: var(--paper-2); }
.etable tbody tr:last-child td { border-bottom: none; }
.etable .idx { font-family: var(--serif); font-style: italic; color: var(--crimson); font-size: 22px; width: 56px; }
.etable .em { color: var(--olive-d); font-weight: 500; }

/* ---- Component figure (image + caption) ---- */
.cfig { display: flex; flex-direction: column; }
.cfig-img {
  flex: 1; min-height: 0; background: var(--paper-2);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cfig-img img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.cfig-cap {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 2px 0;
  border-top: 1px solid var(--line); margin-top: 0;
}
.cfig-cap .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--crimson); text-transform: uppercase; }
.cfig-cap .t { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---- Process flow (editorial, horizontal) ---- */
.eflow { display: flex; align-items: stretch; gap: 12px; width: 100%; }
.eflow-step { flex: 1; padding: 24px 22px; background: var(--paper-2); border: 1px solid var(--line); border-top: 4px solid var(--olive); position: relative; }
.eflow-step:first-child { border-top-color: var(--crimson); }
.eflow-step:last-child { border-top-color: var(--ochre); background: var(--ink-blue); }
.eflow-step:last-child .eflow-title { color: var(--paper); }
.eflow-step:last-child .eflow-sub { color: rgba(244,241,234,0.7); }
.eflow-step:last-child .eflow-idx { color: var(--ochre); }
.eflow-idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--crimson); margin-bottom: 12px; font-weight: 600; }
.eflow-title { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.1; margin-bottom: 6px; }
.eflow-sub { font-family: var(--sans); font-size: 14px; color: var(--ink-2); line-height: 1.45; }

/* ---- Architecture rows ---- */
.arch { display: flex; flex-direction: column; gap: 12px; }
.arch-layer { display: grid; grid-template-columns: 210px 1fr; gap: 28px; padding: 20px 24px; background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--crimson); align-items: center; }
.arch-layer:nth-child(2) { border-left-color: var(--ink-blue); }
.arch-layer:nth-child(3) { border-left-color: var(--ochre); }
.arch-layer:nth-child(4) { border-left-color: var(--olive); }
.arch-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.arch-tag b { display: block; font-family: var(--serif); font-style: normal; font-size: 20px; color: var(--ink); letter-spacing: 0; margin-top: 4px; text-transform: none; }
.arch-nodes { display: flex; flex-wrap: wrap; gap: 10px; }
.arch-node {
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 9px 16px; background: var(--paper); border: 1px solid var(--line-2);
}
.arch-node .s { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.06em; margin-top: 2px; text-transform: uppercase; font-weight: 400; }

/* ---- Equation (mathematical) ---- */
.equation {
  display: flex; align-items: center; gap: 24px;
  padding: 36px 32px; background: var(--ink-blue);
  font-family: var(--serif);
}
.eq-lhs { font-style: italic; font-size: 54px; font-weight: 600; color: var(--ochre); }
.eq-eq { font-size: 38px; color: rgba(244,241,234,0.7); }
.eq-frac { display: inline-flex; flex-direction: column; align-items: center; font-style: italic; font-size: 28px; color: var(--paper); }
.eq-frac .num { padding: 0 22px 12px; }
.eq-frac .den { padding: 12px 22px 0; border-top: 2px solid rgba(244,241,234,0.8); }
.eq-tail { font-style: italic; font-size: 30px; color: var(--paper); white-space: nowrap; }
.equation sub { font-size: 0.6em; font-style: normal; }
.equation.olive .eq-lhs { color: #B6C29E; }

/* ---- Timeline (gantt) ---- */
.gantt { display: flex; flex-direction: column; gap: 0; }
.gantt-head { display: grid; grid-template-columns: 240px repeat(5,1fr); margin-bottom: 10px; }
.gantt-head span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; text-align: center; }
.gantt-head span:first-child { text-align: left; color: var(--crimson); }
.gantt-row { display: grid; grid-template-columns: 240px 1fr; gap: 0; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.gantt-row:last-child { border-bottom: 1px solid var(--line); }
.gantt-label { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--ink); }
.gantt-track { display: grid; grid-template-columns: repeat(20,1fr); gap: 4px; height: 16px; }
.gantt-cell { background: var(--paper-3); }
.gantt-cell.on { background: var(--crimson); }
.gantt-row:nth-child(3) .gantt-cell.on { background: var(--ochre); }
.gantt-row:nth-child(4) .gantt-cell.on { background: var(--olive); }
.gantt-row:nth-child(5) .gantt-cell.on { background: var(--ink-blue); }
.gantt-row:nth-child(6) .gantt-cell.on { background: var(--crimson-d); }

/* ============================================================
   COVER
   ============================================================ */
.cover { position: relative; height: 100%; display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; margin: -76px -88px -84px; }
.cover-main { display: flex; flex-direction: column; justify-content: center; padding: 76px 64px 84px 88px; }
.cover-kicker {
  display: flex; align-items: center; gap: 16px; margin-bottom: 34px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft);
}
.cover-kicker .dot { width: 8px; height: 8px; background: var(--crimson); border-radius: 50%; }
.cover-title {
  font-family: var(--serif); font-weight: 600; font-size: 78px; line-height: 1.02;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 36px;
}
.cover-title em { font-style: italic; color: var(--crimson); font-weight: 500; }
.cover-lead { font-family: var(--sans); font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 760px; }
.cover-lead strong { color: var(--ink); font-weight: 600; }
.cover-meta { display: flex; gap: 56px; margin-top: 48px; padding-top: 30px; border-top: 2px solid var(--ink); }
.cover-meta .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.cover-meta .v { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
.cover-side {
  background: var(--ink-blue);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px; padding: 56px;
}
.cover-side img { width: 220px; height: 220px; object-fit: contain; }
.cover-side .inst { text-align: center; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--paper); line-height: 1.3; }
.cover-side .inst span { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; color: rgba(244,241,234,0.6); text-transform: uppercase; margin-top: 8px; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.divider { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; align-items: stretch; margin: -76px -88px -84px; }
.divider-left { position: relative; background: var(--ink-blue); padding: 76px 56px 84px 88px; display: flex; flex-direction: column; justify-content: center; }
.divider-part { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ochre); margin-bottom: 22px; }
.divider-num { font-family: var(--serif); font-weight: 600; font-size: 200px; line-height: 0.82; letter-spacing: -0.03em; color: var(--paper); margin-bottom: 14px; }
.divider-num .dot { color: var(--ochre); }
.divider-title { font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: 1.04; letter-spacing: -0.015em; color: var(--paper); margin-bottom: 20px; }
.divider-sub { font-family: var(--sans); font-size: 19px; line-height: 1.55; color: rgba(244,241,234,0.72); max-width: 420px; }
.divider-right { padding: 76px 88px 84px 56px; display: flex; flex-direction: column; justify-content: center; }
.divider-right-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--crimson); margin-bottom: 22px; }
.dpoints { display: flex; flex-direction: column; }
.dpoint { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); align-items: baseline; }
.dpoint:last-child { border-bottom: 1px solid var(--line); }
.dpoint-n { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--crimson); }
.dpoint-k { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 3px; }
.dpoint-v { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   CLOSING
   ============================================================ */
.closing { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: -76px -88px -84px; background: var(--ink-blue); }
.closing img { width: 104px; height: 104px; object-fit: contain; margin-bottom: 36px; }
.closing-title { font-family: var(--serif); font-weight: 600; font-size: 78px; line-height: 1; letter-spacing: -0.02em; color: var(--paper); margin-bottom: 22px; }
.closing-title em { font-style: italic; color: var(--ochre); }
.closing-sub { font-family: var(--sans); font-size: 19px; line-height: 1.6; color: rgba(244,241,234,0.72); max-width: 680px; margin-bottom: 38px; }
.closing-author { padding-top: 24px; border-top: 2px solid var(--ochre); }
.closing-author .name { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--paper); }
.closing-author .nim { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: rgba(244,241,234,0.6); margin-top: 6px; }

/* ============================================================
   ENTRANCE ANIMATION (subtle)
   ============================================================ */
.slide.active .rise { animation: rise 0.6s cubic-bezier(0.4,0,0.2,1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.r1 { animation-delay: 0.05s; } .r2 { animation-delay: 0.13s; } .r3 { animation-delay: 0.21s; }
.r4 { animation-delay: 0.29s; } .r5 { animation-delay: 0.37s; } .r6 { animation-delay: 0.45s; }
