:root {
  --paper: #fafafa;
  --ink: #09090b;
  --muted: #475569;
  --rule: #d4d4d8;
  --signal: #c2410c;
  --signal-deep: #a83208;
  --field: #e8f0f7;
  --container: 1240px;

  --riff-ease: ease;
  --riff-ease-out: ease;
  --riff-reveal-duration: 300ms;
  --riff-reveal-distance: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-color: var(--ink) var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  margin-bottom: -96px;
  background: transparent;
}
.nav-inner {
  height: 96px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Archivo, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { font-weight: 700; }
.brand-mark { width: 28px; height: 28px; object-fit: contain; }

.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--ink); }

body.nav-on-hero .brand,
body.nav-on-hero .nav-links a { color: #fff; }
body.nav-on-hero .nav-links a { color: rgba(255, 255, 255, .78); }
body.nav-on-hero .nav-links a:hover { color: #fff; }
body.nav-on-hero .brand-mark { filter: invert(1); }

body:not(.nav-on-hero) .site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background-color 200ms ease;
}

/* ---------- type and actions ---------- */

h1, h2 {
  font-family: Archivo, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3px;
}
h3 {
  font-family: Archivo, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
h4 { font-family: Archivo, sans-serif; font-size: 16px; font-weight: 600; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--signal);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 200ms ease, transform 200ms ease;
}
.cta-primary:hover { background: var(--signal-deep); transform: translateY(-2px); }

.cta-text {
  display: inline-block;
  padding: 8px 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 5px;
  transition: color 200ms ease;
}
.cta-text:hover { color: var(--signal); }
.cta-text-small { font-size: 12px; }

.disclaimer {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 9, 11, .68);
}
.hero-copy {
  position: absolute;
  left: max(32px, calc((100vw - 1240px) / 2));
  bottom: 12vh;
  width: min(600px, calc(100vw - 64px));
  color: #fff;
}
.hero-copy h1 { margin: 0 0 20px; font-size: 44px; color: #fff; }
.hero-sub { max-width: 540px; color: rgba(255, 255, 255, .82); }
.hero-points { display: grid; gap: 8px; margin: 26px 0 30px; max-width: 420px; }
.hero-points li {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  font-weight: 500;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-on-dark { color: #fff; text-decoration-color: #fff; }
.cta-on-dark:hover { color: #fff; }

.hero-annotations {
  display: none;
}

/* ---------- chapters ---------- */

.content-flow {
  display: block;
  background-color: #ffffff;
  background-image:
    radial-gradient(78vw 78vw at 92% -6%, #dfeaf4 0%, rgba(223, 234, 244, 0) 64%),
    radial-gradient(64vw 64vw at -8% 56%, #e9f1f8 0%, rgba(233, 241, 248, 0) 68%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 55%, #f3f8fc 100%);
}

.chapter {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  gap: 64px;
  align-items: start;
}
.chapter-wide { grid-template-columns: minmax(0, 900px); justify-content: center; }

.figure-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.figure-fact {
  font-family: Archivo, sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.text-col h2,
.story-inner h2,
.closing-inner h2 {
  font-size: 36px;
  font-weight: 500;
}
.text-col h2 { margin-bottom: 22px; }
.text-col h3 { margin: 42px 0 14px; }
.section-intro { max-width: 660px; color: var(--muted); margin-bottom: 32px; }
.lead { max-width: 660px; font-size: 17px; color: var(--muted); }

.problem-list { margin: 32px 0; counter-reset: problem; }
.problem-list li {
  counter-increment: problem;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.problem-list li::before {
  content: '0' counter(problem);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
}
.target-line { font-size: 15px; }

.outcome-list { display: grid; }
.outcome {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.outcome-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  font-family: Archivo, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.outcome p { color: var(--muted); font-size: 14px; }

.week-list { display: grid; }
.week {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.week-no { font-family: Archivo, sans-serif; font-weight: 600; color: var(--ink); }
.week h3 { margin: 0 0 8px; }
.week p { color: var(--muted); font-size: 14px; }
.week span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink); }

.package-list { display: grid; }
.package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.package-featured { border-top: 2px solid var(--signal); }
.package-status {
  grid-column: 1 / -1;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.package-body p { color: var(--muted); font-size: 14px; }
.package-body h3 { margin: 0; }
.package .price {
  margin: 6px 0 10px;
  font-family: Archivo, sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.package .cta-text { justify-self: end; }

.quote-list { display: grid; margin-top: 28px; padding: 40px; background: var(--ink); color: #fff; }
.quote-list blockquote { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.quote-list blockquote:nth-child(2) { margin-left: 48px; }
.quote-list blockquote:nth-child(3) { margin-left: 96px; }
.quote-list p { max-width: 620px; font-size: 15px; }
.quote-list footer { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .64); }

.faq-list { display: grid; margin-top: 28px; }
.faq { padding: 20px 0; border-top: 1px solid var(--rule); }
.faq h3 { margin: 0 0 8px; }
.faq p { max-width: 620px; color: var(--muted); font-size: 14px; }

/* ---------- pinned portfolio ---------- */

.story { min-height: 2700px; }
.story-inner {
  height: 100vh;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.story-inner h2 { max-width: 760px; }
.preview-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.preview { padding-top: 12px; border-top: 1px solid var(--rule); }
.preview-art { height: 200px; overflow: hidden; border: 1px solid var(--rule); }
.preview-art img { width: 100%; height: 100%; object-fit: cover; }
.preview:nth-child(3) .preview-art { border-width: 2px; }
.preview h3 { margin: 12px 0 4px; font-size: 15px; }
.preview p { font-size: 12px; color: var(--muted); }

/* ---------- closing ---------- */

.closing {
  min-height: 46vh;
  display: grid;
  place-items: center;
  padding: 80px 32px;
  background: var(--signal);
  color: #fff;
  text-align: center;
}
.closing-inner { max-width: 620px; }
.closing-inner h2 { margin-bottom: 12px; color: #fff; }
.closing-inner p { margin-bottom: 24px; color: rgba(255, 255, 255, .88); }
.cta-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 200ms ease;
}
.cta-inverse:hover { transform: translateY(-2px); }

.site-footer {
  padding: 26px 32px;
  background: var(--ink);
  color: var(--rule);
  font-size: 12px;
  text-align: center;
}
.site-footer p + p { margin-top: 4px; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-copy { width: min(560px, calc(100vw - 64px)); }
  .chapter { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
  .package { grid-template-columns: 1fr; }
  .package .cta-text { grid-column: 1; justify-self: start; }
  .preview-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .site-nav {
    position: static;
    height: auto;
    margin-bottom: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .nav-inner {
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links { gap: 8px 14px; }
  .nav-links a { font-size: 12px; }
  body.nav-on-hero .brand,
  body.nav-on-hero .nav-links a { color: var(--ink); }
  body.nav-on-hero .brand-mark { filter: none; }

  .hero {
    height: auto;
    min-height: calc(100svh - 128px);
    display: flex;
    align-items: flex-end;
    padding: 72px 0 40px;
  }
  .hero-scrim { background: rgba(9, 9, 11, .78); }
  .hero-copy { position: static; left: auto; bottom: auto; width: 100%; padding: 0 16px; }
  h1, h2 { font-size: 32px; }
  .hero-copy h1 { font-size: 32px; }
  .chapter { display: flex; flex-direction: column; padding: 72px 16px; }
  .text-col { order: 1; }
  .figure-col {
    order: 2;
    margin: 40px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
  }
  .figure-fact { display: none; }
  .cta-text-small { padding: 13px 0 11px; }
  #kurikulum, #paket, #testimoni, #faq { min-height: 0; }
  .figure-col { margin-bottom: 0; }
  .figure-fact { font-size: 40px; }
  .week, .package { grid-template-columns: 1fr; gap: 12px; }
  .package .cta-text { grid-column: 1; }
  .quote-list { padding: 24px; }
  .quote-list blockquote:nth-child(2), .quote-list blockquote:nth-child(3) { margin-left: 0; }
  .story { min-height: 0 !important; height: auto !important; }
  .story-inner {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    padding: 72px 16px 56px;
  }
  .preview-list { grid-template-columns: 1fr; }
  .preview-art { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-primary:hover, .cta-inverse:hover { transform: none; }
}
