/*
Theme Name: EEH Sales
Author: Express English Hub
Description: Tema penjualan publik EEH: halaman sales, artikel /artikel/, FAQ, SEO single-authority. Tanpa fetch eksternal.
Version: 1.1.0
Requires at least: 7.1.3
Requires PHP: 8.3
Text Domain: eeh-theme
*/

/* Self-hosted fonts (OFL provenance in assets/fonts/): DM Sans + Newsreader.
   Variable wght 400..700; system fallback preserved. No external fetch. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-italic-latin.woff2") format("woff2");
}

/* Token: kuning signature #EEA010 + DM Sans/Newsreader dengan fallback
   sistem. Tanpa @import/fetch stylesheet eksternal. */
:root {
  --eeh-yellow: #EEA010;
  --eeh-yellow-soft: #FFF3CF;
  --eeh-yellow-deep: #C07F06;
  --eeh-card-test: #FFF2D1;
  --eeh-sage: #E7EBDF;
  --eeh-sage-deep: #D8DFC9;
  --eeh-ink: #242824;
  --eeh-ink-soft: #3A3F3A;
  --eeh-body: #4E534B;
  --eeh-muted: #5A6457;
  --eeh-brown: #765000;
  --eeh-paper: #FFFDF8;
  --eeh-cream: #FAF4E6;
  --eeh-surface: #FFFFFF;
  --eeh-line: #E7E2D5;
  --eeh-line-dark: #4A5049;
  --eeh-container: 1184px;
  --eeh-radius: 18px;
  --font-ui: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-ed: "Newsreader", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--eeh-paper);
  color: var(--eeh-body);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
}
h1, h2, h3 { color: var(--eeh-ink); line-height: 1.18; text-wrap: balance; }
h1 { font-size: 2.4rem; letter-spacing: -0.02em; }
h1 em, h2 em { font-family: var(--font-ed); font-style: italic; font-weight: 400; }

/* Designed link system: no browser-default blue anywhere. */
a { color: var(--eeh-ink); }
a:hover { color: var(--eeh-ink); }
.text-link {
  color: var(--eeh-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--eeh-yellow);
}
.text-link:hover { background: var(--eeh-yellow-soft); }

/* Indikator fokus keyboard selalu terlihat di terang maupun gelap. */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--eeh-ink);
  outline-offset: 2px;
  border-radius: 4px;
}
.intro-band a:focus-visible,
.prep-card a:focus-visible,
.prep-card summary:focus-visible,
.site-footer a:focus-visible,
.btn-light:focus-visible,
.motion-toggle:focus-visible {
  outline-color: var(--eeh-paper);
  box-shadow: 0 0 0 6px var(--eeh-yellow);
}

.container { max-width: var(--eeh-container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--eeh-ink);
  color: #fff; padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }
.eyebrow {
  font-weight: 700; letter-spacing: 0.1em; font-size: 0.75rem;
  text-transform: uppercase;
}

/* ---------- Header: masthead editorial + CTA ---------- */
.site-header {
  background: var(--eeh-paper);
  border-bottom: 2px solid var(--eeh-ink);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--eeh-ink); font-weight: 700; }
.brand img { width: 44px; height: auto; display: block; } /* geometri logo dijaga, tanpa stretch/recolor */
.brand-name { font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name small {
  display: block; font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--eeh-muted);
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 12px 8px; min-height: 44px; color: var(--eeh-ink);
  text-decoration: none; border-radius: 4px; white-space: nowrap; font-size: 0.875rem;
  border-bottom: 3px solid transparent;
}
.primary-nav a:hover { background: var(--eeh-yellow-soft); border-bottom-color: var(--eeh-yellow); }
.header-cta {
  flex: none; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; background: var(--eeh-ink); color: var(--eeh-paper) !important;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  border: 2px solid var(--eeh-ink); border-radius: 999px;
}
.header-cta:hover { background: var(--eeh-yellow); color: var(--eeh-ink) !important; }
.nav-disclosure { display: none; }

/* ---------- Hero: asymmetric editorial 7/5 + layered study desk ---------- */
.hero {
  background:
    radial-gradient(circle, #EDE6D3 1px, transparent 1.4px) 0 0 / 26px 26px,
    linear-gradient(var(--eeh-paper), var(--eeh-cream));
  color: var(--eeh-ink);
  border-bottom: 2px solid var(--eeh-ink);
}
.hero .container { padding-top: 60px; padding-bottom: 64px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}

.hero .eyebrow { font-weight: 700; letter-spacing: 0.08em; font-size: 0.8rem; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; }
.label-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--eeh-yellow); display: inline-block; flex: none; }
.hero h1 {
  margin: 0.35em 0 0.4em;
  font-size: clamp(2.9rem, 1.4rem + 4.2vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.025em;
}
.hero h1 .h1-marker {
  background: linear-gradient(transparent 62%, var(--eeh-yellow) 62%, var(--eeh-yellow) 96%, transparent 96%);
}
.hero p.lead { font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.2rem); max-width: 54ch; color: var(--eeh-ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 24px 0 12px; }
.hero-footnote { font-size: 0.9rem; max-width: 52ch; }
.hero-footnote a { padding: 6px 2px; }
.hero-motion { margin: 14px 0 0; }
[data-eeh-motion-toggle][hidden] { display: none !important; }
.motion-toggle[aria-disabled="true"] { cursor: default; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 10px 18px;
  background: transparent; color: var(--eeh-paper);
  border: 2px solid var(--eeh-paper); border-radius: 999px;
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.hero-motion .motion-toggle { color: var(--eeh-ink); border-color: var(--eeh-ink); background: var(--eeh-surface); }
.motion-toggle:hover { background: var(--eeh-yellow); border-color: var(--eeh-ink); color: var(--eeh-ink); }
.motion-toggle .toggle-bars { display: inline-flex; gap: 3px; align-items: center; }
.motion-toggle .toggle-bars i { width: 3px; height: 14px; background: currentColor; border-radius: 2px; display: block; }
html[data-eeh-motion="paused"] .motion-toggle .toggle-bars i:first-child {
  width: 0; height: 0; border-left: 11px solid currentColor;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  background: transparent;
}
html[data-eeh-motion="paused"] .motion-toggle .toggle-bars i:last-child { display: none; }

/* Study desk: back sheet + board + orbit + dots + pills. */
.study-scene { position: relative; isolation: isolate; width: 100%; min-width: 0; }
.study-stage { position: relative; isolation: isolate; width: 100%; padding: 26px 34px 52px; min-width: 0; }
.study-orbit-frame { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.study-orbit {
  position: absolute; z-index: -1; inset: 2% -2%;
  border: 2px dashed #A4AC99; border-radius: 50%;
  transform-origin: 50% 50%;
}
.hero-dots {
  position: absolute; z-index: -1; inset: auto -8px 100px auto;
  width: 150px; height: 110px; opacity: 0.55; pointer-events: none;
  background: radial-gradient(circle, var(--eeh-ink) 1.6px, transparent 2px) 0 0 / 16px 16px;
}
.study-sheet-back {
  position: absolute; z-index: -1;
  inset: 44px 22px 100px 46px;
  background: var(--eeh-yellow-soft);
  border: 2px solid var(--eeh-ink); border-radius: var(--eeh-radius);
  transform: rotate(3deg);
}
.study-board {
  background: var(--eeh-surface); min-height: auto; padding: 24px 26px;
  border: 2px solid var(--eeh-ink); border-radius: var(--eeh-radius);
  transform: rotate(-2.5deg); box-shadow: 10px 12px 0 var(--eeh-ink);
}
.study-board-top, .study-board-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.study-board-top { font-size: 0.65rem; letter-spacing: 0.11em; font-weight: 700; }
.study-spark { font-size: 2rem; line-height: 1; display: inline-block; transform-origin: 50% 50%; }
.study-art { width: 100%; height: auto; display: block; margin-block: 14px 4px; }
.study-board-bottom > span:first-child {
  font-family: var(--font-ed), Georgia, serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em;
}
.study-board-bottom strong { font-weight: 500; }
.sheet-monogram { width: 58px; height: 58px; display: inline-flex; flex: none; }
.sheet-monogram img { width: 58px; height: auto; display: block; }
.study-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 10px 16px;
  background: var(--eeh-paper); color: var(--eeh-ink);
  border: 1.5px solid var(--eeh-ink); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--eeh-ink); font-size: 0.8rem; font-weight: 700;
  transform-origin: 50% 50%;
}
.study-pill-listening { left: -6px; top: 20%; transform: rotate(-7deg); }
.study-pill-reading { right: -6px; top: 55%; transform: rotate(8deg); }
.study-pill-structure { left: 10%; bottom: 12px; transform: rotate(4deg); background: var(--eeh-sage); }
.study-wave { display: flex; gap: 3px; align-items: center; height: 22px; margin-left: 8px; }
.study-wave i { width: 3px; height: 10px; border-radius: 3px; background: var(--eeh-ink); transform-origin: 50% 50%; display: block; }
.study-wave i:nth-child(2), .study-wave i:nth-child(4) { height: 17px; }
.study-wave i:nth-child(3) { height: 22px; }
.study-caption { margin: 16px 0 0; text-align: right; font-size: 0.875rem; color: var(--eeh-muted); }

/* Decorative hero motion: strictly opt-in. Keyframes run ONLY while JS sets
   html[data-eeh-motion="running"] and the hero is on screen. Paused state,
   reduced-motion, hidden tab and offscreen hero all yield zero running
   decorative animations. Transform/opacity only. */
@keyframes eeh-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes eeh-bob-a { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-9px); } }
@keyframes eeh-bob-b { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-7px); } }
@keyframes eeh-bob-c { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
@keyframes eeh-wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.15); } }
@keyframes eeh-twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 50% { opacity: 0.55; transform: scale(0.82) rotate(14deg); } }
@keyframes eeh-drift { from { transform: translate(0, 0); } to { transform: translate(-18px, -12px); } }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-orbit { animation: eeh-orbit 48s linear infinite; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-bob-a { animation: eeh-bob-a 7s ease-in-out infinite; will-change: transform; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-bob-b { animation: eeh-bob-b 8.5s ease-in-out infinite; will-change: transform; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-bob-c { animation: eeh-bob-c 6.2s ease-in-out infinite; will-change: transform; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-wave i { animation: eeh-wave 1.6s ease-in-out infinite; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-wave i:nth-child(2) { animation-delay: -0.4s; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-wave i:nth-child(3) { animation-delay: -0.8s; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-wave i:nth-child(4) { animation-delay: -1.1s; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-wave i:nth-child(5) { animation-delay: -0.2s; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-twinkle { animation: eeh-twinkle 4.5s ease-in-out infinite; }
html[data-eeh-motion="running"] .hero-visual:not(.eeh-idle) .eeh-motion-drift { animation: eeh-drift 11s ease-in-out infinite alternate; }
/* CSS fallback: OS reduced-motion always kills decorative loops, JS or not. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual .eeh-motion-orbit,
  .hero-visual .eeh-motion-bob-a,
  .hero-visual .eeh-motion-bob-b,
  .hero-visual .eeh-motion-bob-c,
  .hero-visual .eeh-motion-wave i,
  .hero-visual .eeh-motion-twinkle,
  .hero-visual .hero-dots { animation: none !important; }
  html.eeh-js .eeh-reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .program-card, .resource-card { transition: none; }
  .program-card:hover, .resource-card:hover { transform: none; }
}

/* Content stays visible even if enhancement fails after the JS class is set.
   Only an observed element receives a finite entrance; there is no hidden
   waiting state that depends on a future observer callback. */
@keyframes eeh-reveal-in { from { opacity: 0.72; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eeh-reveal { opacity: 1; transform: none; }
html.eeh-js[data-eeh-motion="running"] .eeh-reveal.is-visible { animation: eeh-reveal-in 0.55s ease; }

/* ---------- Section rhythm ---------- */
.intro-band { background: var(--eeh-ink); color: var(--eeh-paper); border-bottom: 2px solid var(--eeh-ink); }
.intro-band-inner {
  display: flex; align-items: center; gap: 12px 24px;
  padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap;
}
.intro-band .eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 700; color: var(--eeh-yellow); }
.intro-band p { color: var(--eeh-sage); margin: 0; }
.intro-band a { color: var(--eeh-yellow); min-height: 44px; display: inline-flex; align-items: center; }
.intro-band .band-arrow {
  margin-left: auto; width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--eeh-yellow); border-radius: 50%;
  color: var(--eeh-yellow); text-decoration: none; font-size: 1.2rem;
}
.intro-band .band-arrow:hover { background: var(--eeh-yellow); color: var(--eeh-ink); }

.section { padding: 64px 0; }
.section .container { max-width: var(--eeh-container); }
.sec-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; }
.sec-index {
  flex: none; font-family: var(--font-ed), Georgia, serif; font-style: italic;
  font-size: 1rem; color: var(--eeh-paper); background: var(--eeh-ink);
  width: 44px; height: 44px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 50%; margin-top: 4px;
}
.sec-index.on-light { background: var(--eeh-yellow); color: var(--eeh-ink); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; margin-bottom: 28px; }
.section-heading h2, .sec-head h2 { margin: 0.2em 0; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -0.02em; }
.section-description { color: var(--eeh-body); max-width: 38ch; }

/* Editor output section (native CMS body preserved, styled only). */
.editor-section { background: var(--eeh-surface); border-bottom: 1px solid var(--eeh-line); }

/* Program decision surface: contrasting test vs prep cards. */
.programs-section { background: var(--eeh-paper); }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.program-card {
  border: 2px solid var(--eeh-ink); border-radius: var(--eeh-radius);
  box-shadow: 6px 7px 0 var(--eeh-ink); padding: 30px 28px;
  transition: transform 180ms ease; position: relative; overflow: hidden;
}
.program-card:hover { transform: translateY(-4px); }
.program-card::before {
  content: ""; display: block; height: 8px; margin: -30px -28px 22px;
  background: repeating-linear-gradient(90deg, var(--eeh-yellow) 0 14px, var(--eeh-ink) 14px 20px);
}
.prep-card::before { background: repeating-linear-gradient(90deg, var(--eeh-yellow) 0 14px, transparent 14px 20px), var(--eeh-ink); }
.test-card { background: var(--eeh-card-test); }
.prep-card { background: var(--eeh-ink); color: var(--eeh-paper); box-shadow: 6px 7px 0 var(--eeh-yellow); }
.prep-card h3, .prep-card .eyebrow { color: var(--eeh-paper); }
.prep-card > p, .prep-card .program-tags li { color: var(--eeh-sage); }
.prep-card .program-tags li { border-color: var(--eeh-line-dark); }
.prep-card .card-link { border-color: var(--eeh-line-dark); color: var(--eeh-yellow) !important; }
.program-card h3 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -0.01em; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.card-top .eyebrow { font-size: 0.7rem; }
.program-index {
  font-family: var(--font-ed), Georgia, serif; font-style: italic;
  font-size: 0.95rem; color: inherit; opacity: 0.75; white-space: nowrap;
}
.program-tags { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.program-tags li {
  border: 1.5px solid var(--eeh-ink); border-radius: 10px;
  padding: 10px 14px; font-size: 0.92rem; background: rgba(255, 255, 255, 0.35);
}
.prep-card .program-tags li { background: rgba(255, 255, 255, 0.06); }
.test-card .program-tags li { background: rgba(255, 255, 255, 0.6); }
.card-link { font-weight: 700; color: var(--eeh-ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.program-card .card-link { display: inline-block; padding: 10px 2px; min-height: 44px; }
.program-note {
  margin-top: 24px; font-size: 0.92rem; border-left: 4px solid var(--eeh-yellow);
  padding: 10px 16px; background: var(--eeh-yellow-soft); color: var(--eeh-ink);
  border-radius: 0 10px 10px 0; max-width: 90ch;
}

/* Approach ledger on sage. */
.approach-section { background: var(--eeh-sage); border-block: 2px solid var(--eeh-ink); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.approach-statement p { max-width: 34ch; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step-list li {
  display: flex; gap: 18px; align-items: start;
  padding: 22px 0; border-top: 2px solid var(--eeh-ink);
}
.step-list li:last-child { border-bottom: 2px solid var(--eeh-ink); }
.step-list h3 { margin: 0 0 6px; font-size: 1.2rem; }
.step-list p { margin: 0; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: var(--eeh-yellow); border: 2px solid var(--eeh-ink); border-radius: 50%;
  color: var(--eeh-ink); font-weight: 700;
}

/* Resource discovery: ruled editorial cards. */
.resource-discovery { padding: 64px 0; background: var(--eeh-paper); }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.resource-card {
  background: var(--eeh-surface); border: 2px solid var(--eeh-ink);
  border-radius: var(--eeh-radius); padding: 28px;
  box-shadow: 5px 6px 0 var(--eeh-sage-deep);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 5px 10px 0 var(--eeh-yellow); }
.resource-card .eyebrow { color: var(--eeh-brown); }
.resource-card h3 { margin: 0.4em 0 0.5em; font-size: 1.4rem; }
.resource-card p { margin: 0 0 12px; }
.resource-card .card-link { display: inline-block; padding: 10px 2px; min-height: 44px; }
.resource-index {
  display: block; font-family: var(--font-ed), Georgia, serif; font-style: italic;
  font-size: 0.95rem; color: var(--eeh-muted);
  border-bottom: 2px solid var(--eeh-ink); padding-bottom: 10px; margin-bottom: 14px;
}

/* FAQ: heading rail + native details. */
.faq-section { background: var(--eeh-cream); border-block: 2px solid var(--eeh-ink); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.faq-intro { position: sticky; top: 96px; }
.faq-list details, .faq-category details {
  background: var(--eeh-surface); border: 2px solid var(--eeh-ink);
  border-radius: 12px; padding: 8px 20px; margin-bottom: 14px;
  box-shadow: 3px 4px 0 var(--eeh-line);
}
.faq-list details[open], .faq-category details[open] { box-shadow: 3px 4px 0 var(--eeh-yellow); }
.faq-list summary, .faq-category summary {
  cursor: pointer; font-weight: 700; color: var(--eeh-ink);
  min-height: 44px; display: flex; align-items: center;
  padding: 10px 0; list-style: none;
}
.faq-list summary::-webkit-details-marker, .faq-category summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-category summary::before {
  content: "+"; flex: none; width: 30px; height: 30px; margin-right: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--eeh-ink); border-radius: 50%;
  background: var(--eeh-yellow-soft); font-weight: 700;
}
.faq-list details[open] summary::before, .faq-category details[open] summary::before { content: "–"; background: var(--eeh-yellow); }
.faq-list details p, .faq-category details p { margin: 4px 0 16px 42px; }

/* Article reading list: ruled rows, 44px targets. */
.article-section { background: var(--eeh-paper); }
.article-section h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); margin: 0.2em 0 0.4em; }
.article-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.article-list li { border-top: 2px solid var(--eeh-ink); }
.article-list li:last-child { border-bottom: 2px solid var(--eeh-ink); }
.article-list a {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 4px;
  color: var(--eeh-ink); font-weight: 700; font-size: 1.06rem; text-decoration: none;
}
.article-list a::after { content: "→"; margin-left: auto; color: var(--eeh-yellow-deep); font-weight: 700; }
.article-list a:hover { background: var(--eeh-yellow-soft); }
.link-cluster { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; }
.link-cluster a { display: inline-block; min-height: 44px; padding: 10px 2px; }

/* CTA band. */
.cta-band { background: var(--eeh-yellow); border-block: 2px solid var(--eeh-ink); }
.cta-inner {
  display: flex; justify-content: space-between; gap: 32px; align-items: center;
  flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; color: var(--eeh-ink);
}
.cta-inner h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin: 0.2em 0 0.4em; }
.cta-inner .text-link { color: var(--eeh-ink); }
.cta-card {
  background: var(--eeh-paper); border: 2px solid var(--eeh-ink);
  border-radius: var(--eeh-radius); box-shadow: 6px 7px 0 var(--eeh-ink);
  padding: 28px; min-width: min(320px, 100%);
}

.btn {
  display: inline-block; min-height: 44px; line-height: 44px; padding: 0 22px;
  background: var(--eeh-yellow); color: var(--eeh-ink); font-weight: 700;
  text-decoration: none; border-radius: 999px; border: 2px solid var(--eeh-ink);
  box-shadow: 3px 4px 0 var(--eeh-ink);
}
.btn-primary { min-height: 52px; line-height: 52px; padding: 0 28px; font-size: 1.02rem; }
.btn-light { background: var(--eeh-ink); color: var(--eeh-paper); border-color: var(--eeh-ink); box-shadow: 3px 4px 0 rgba(36, 40, 36, 0.35); }
.btn:hover { background: var(--eeh-yellow-soft); color: var(--eeh-ink); }
.btn-light:hover { background: var(--eeh-ink-soft); color: var(--eeh-paper); }
.cta-row {
  margin-top: 36px; padding: 26px 26px 20px;
  border: 2px solid var(--eeh-ink); border-radius: var(--eeh-radius);
  background: var(--eeh-yellow-soft);
}
.cta-row p { margin: 0 0 10px; }
.cta-row p:last-child { margin-bottom: 6px; }

/* Shared reading surface: native page/article/FAQ output. */
.reading-content { max-width: 72ch; }
.section .container.reading-content { max-width: 72ch; }
.reading-content > *:first-child { margin-top: 0; }
.reading-content h2 { margin: 1.6em 0 0.5em; font-size: 1.7rem; letter-spacing: -0.015em; }
.reading-content h3 { margin: 1.4em 0 0.4em; font-size: 1.3rem; }
.reading-content p { margin: 0 0 1.1em; }
.reading-content a {
  color: var(--eeh-ink); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 4px; text-decoration-color: var(--eeh-yellow);
  padding: 2px 1px;
}
.reading-content a:hover { background: var(--eeh-yellow-soft); }
.reading-content ul, .reading-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.reading-content li { margin-bottom: 0.6em; }
.reading-content li::marker { color: var(--eeh-yellow-deep); font-weight: 700; }
.reading-content blockquote {
  margin: 1.4em 0; padding: 14px 20px; background: var(--eeh-cream);
  border-left: 4px solid var(--eeh-yellow); border-radius: 0 12px 12px 0;
  color: var(--eeh-ink);
}
.reading-content img { max-width: 100%; height: auto; border-radius: 12px; }
.reading-content table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
.reading-content th, .reading-content td { border: 1px solid var(--eeh-line); padding: 10px 12px; text-align: left; }
.reading-content th { background: var(--eeh-cream); color: var(--eeh-ink); }
.takeaway { border-left: 4px solid var(--eeh-yellow); padding: 8px 16px; background: var(--eeh-yellow-soft); color: var(--eeh-ink); }
.sources { font-size: 0.9rem; }
.faq-category { margin: 2em 0; }
.faq-category h2 { margin-bottom: 0.6em; }

.site-footer { background: var(--eeh-ink); color: #F4F1E8; margin-top: 0; border-top: 2px solid var(--eeh-ink); }
.site-footer .container { padding-top: 44px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: #D8D4C6; margin: 0.6em 0; max-width: 42ch; }
.footer-brand .brand-name { color: var(--eeh-paper); }
.footer-brand .brand-name small { color: var(--eeh-yellow); }
.footer-grid h2 {
  color: var(--eeh-yellow); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 12px; font-family: var(--font-ui); font-style: normal;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid ul a { display: inline-block; min-height: 44px; padding: 10px 2px; color: var(--eeh-paper); text-decoration: none; }
.footer-grid ul a:hover { color: var(--eeh-yellow); text-decoration: underline; text-underline-offset: 4px; }
.site-footer > .container > .footer-base {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--eeh-line-dark);
  display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center;
  font-size: 0.88rem; color: #D8D4C6;
}
.site-footer .footer-base a { color: var(--eeh-yellow); display: inline-block; min-height: 44px; padding: 10px 2px; }
.error-404 .container { padding-top: 64px; padding-bottom: 64px; }

/* <=1200px: disclosure avoids squeezing the full desktop masthead. */
@media (max-width: 1200px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-disclosure { display: block; margin-left: auto; }
  .nav-disclosure summary {
    cursor: pointer; min-height: 44px; min-width: 44px; padding: 10px 14px;
    border: 2px solid var(--eeh-ink); border-radius: 4px; font-weight: 700; color: var(--eeh-ink);
    list-style: none;
  }
  .nav-disclosure summary::-webkit-details-marker { display: none; }
  .nav-disclosure[open] ul { display: block; list-style: none; margin: 12px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
  .nav-disclosure[open] a { display: block; padding: 12px 8px; min-height: 44px; color: var(--eeh-ink); text-decoration: none; }
  .nav-disclosure[open] a:hover { background: var(--eeh-yellow-soft); }
}

/* <=900px: hero jadi satu kolom (copy dulu, visual sesudah); approach/faq vertikal. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(2.7rem, 4vw + 1.4rem, 3.6rem); }
  .study-scene { max-width: 560px; margin: 0 auto; }
  .study-stage { padding: 22px 26px 50px; }
  .study-board { padding: 18px; }
  .approach-grid, .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

/* <=760px: kartu resource + program satu kolom. */
@media (max-width: 760px) {
  .resource-grid, .program-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.9rem; }
  .section, .resource-discovery { padding: 48px 0; }
}

/* <=600px: pills jadi aliran statis (anti-clipping 320/390px), padding ringkas. */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .brand-name { white-space: normal; }
  .section { padding: 40px 0; }
  .resource-discovery { padding: 40px 0; }
  .hero .container { padding-top: 40px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.1rem); }
  .hero p.lead { font-size: 1rem; }
  .hero-actions .btn-primary { width: 100%; text-align: center; }
  .study-stage {
    display: flex; flex-wrap: wrap; gap: 10px;
    width: 100%; padding: 16px 10px 22px; overflow: clip;
  }
  .study-orbit { inset: 0 4%; }
  .hero-dots { width: 110px; height: 84px; inset: auto 0 80px auto; }
  .study-sheet-back { inset: 26px 8px 120px 20px; }
  .study-board { flex: 1 1 100%; transform: rotate(-1.5deg); box-shadow: 6px 7px 0 var(--eeh-ink); }
  .study-pill { position: static; transform: none; flex: 1 1 auto; box-shadow: 3px 3px 0 var(--eeh-ink); }
  .study-caption { text-align: left; margin: 12px 10px 0; }
  .cta-inner { gap: 20px; padding-top: 40px; padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-list details p, .faq-category details p { margin-left: 0; }
}
