:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --ink: #17231d;
  --body: #334039;
  --muted: #66736c;
  --line: #dedad0;
  --moss: #1f4534;
  --moss-dark: #132d21;
  --earth: #7c5832;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 600;
}

a { color: var(--moss); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Masthead / Header */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 70px; flex-wrap: wrap; padding: 12px 0;
}
.wordmark {
  display: flex; flex-direction: column; line-height: 1.15;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
}
.wordmark-sub {
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 14px; font-weight: 500;
}
.main-nav a { color: var(--body); }
.main-nav a:hover { color: var(--moss); text-decoration: none; }
.nav-outline {
  border: 1px solid var(--moss);
  color: var(--moss) !important;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
}
.nav-outline:hover { background: var(--moss); color: #fff !important; }

/* Editorial Photo Hero */
.hero-photo {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-color: var(--moss-dark);
  background-image: linear-gradient(
      to top,
      rgba(15, 29, 22, 0.88) 0%,
      rgba(15, 29, 22, 0.48) 48%,
      rgba(15, 29, 22, 0.16) 100%
    ),
    url('/assets/hero-hutan.jpg');
  background-size: cover;
  background-position: center 40%;
  color: #f4f3ee;
  padding: 64px 0 48px;
}
.hero-content { max-width: 700px; }
.hero-kicker {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #cfd8d1; margin: 0 0 12px; font-weight: 600;
}
.hero-photo h1 {
  color: #ffffff;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.hero-photo p {
  margin: 0 0 26px;
  font-size: 16.5px;
  color: #e4e8e4;
  max-width: 610px;
  line-height: 1.65;
}
.hero-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-solid {
  background: #f6f4ef; color: var(--moss-dark);
  padding: 11px 20px; border-radius: 4px; font-weight: 600; font-size: 14px;
}
.btn-solid:hover { background: #ffffff; text-decoration: none; }
.link-light {
  color: #e4e8e4; font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 2px;
}
.link-light:hover { color: #ffffff; border-bottom-color: #fff; text-decoration: none; }

/* Sections */
.band { padding: 68px 0; }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--earth); margin: 0 0 8px;
}
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.24;
  margin: 0 0 14px;
}
.lead { color: var(--muted); font-size: 16px; max-width: 640px; margin: 0; }

/* Asymmetric Editorial Spread */
.spread {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.figure-frame { margin: 0; }
.figure-frame img {
  width: 100%; height: auto; border-radius: 4px;
  border: 1px solid var(--line);
}
.figure-frame figcaption {
  font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5;
}

.pillar-list {
  margin: 24px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.pillar-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pillar-list strong {
  display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px;
}
.pillar-list span { font-size: 14px; color: var(--muted); }

/* Editorial Regulation Index (Journal List, NOT SaaS Cards) */
.reg-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.reg-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.reg-cat {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--earth);
}
.reg-row h3 {
  margin: 0 0 6px; font-size: 20px; line-height: 1.3;
}
.reg-row h3 a { color: var(--ink); }
.reg-row h3 a:hover { color: var(--moss); }
.reg-row p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 600px; }
.reg-read {
  font-size: 13.5px; font-weight: 600; color: var(--moss); white-space: nowrap;
}

/* Public Service Feature */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.note-strip {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 3px solid var(--moss);
  font-size: 14px;
  color: var(--body);
}
.note-strip a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Article Detail Pages */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 26px 0 10px; }
.breadcrumb a { color: var(--muted); }
.article-wrap {
  max-width: 740px;
  margin: 0 auto 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 5vw, 52px);
}
.article-wrap h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.24;
  margin: 8px 0 12px;
}
.article-meta {
  font-size: 13px; color: var(--muted);
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-wrap h2 {
  font-size: 21px; margin: 30px 0 10px; color: var(--moss-dark);
}
.article-wrap p { margin: 0 0 15px; }
.article-wrap ul { margin: 0 0 18px; padding-left: 20px; }
.article-wrap li { margin-bottom: 8px; }

.citation-box {
  background: var(--paper);
  border-left: 3px solid var(--moss);
  padding: 16px 20px;
  margin: 26px 0;
  font-size: 14.5px;
}
.citation-box a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.editorial-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.editorial-note a { font-weight: 600; }

/* Featured News Block (Google News / Editorial) */
.news-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}
.news-meta {
  font-size: 12.5px; color: var(--muted);
  margin: 0 0 10px;
}
.news-feature h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.28;
  margin: 0 0 12px;
}
.news-feature h3 a { color: var(--ink); }
.news-feature h3 a:hover { color: var(--moss); }
.news-feature p { margin: 0 0 18px; color: var(--body); font-size: 15px; }
.article-lead-fig { margin: 0 0 26px; }
.article-lead-fig img {
  width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line);
}
.article-lead-fig figcaption {
  font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5;
}
.callout-list {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; padding: 18px 22px; margin: 22px 0;
}
.callout-list h3 { font-size: 17px; margin: 0 0 10px; }
.callout-list ul { margin: 0; }

/* Footer */
.site-footer {
  background: var(--moss-dark);
  color: #b7c2bc;
  padding: 52px 0 34px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: #e4e8e4; margin: 0 0 12px; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d5dfd9; }
.site-footer a:hover { color: #ffffff; }
.footer-bottom {
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: #8c9a92;
}

@media (max-width: 820px) {
  .spread, .service-grid, .footer-grid, .news-feature { grid-template-columns: 1fr; gap: 28px; }
  .reg-row { grid-template-columns: 1fr; gap: 6px; }
  .hero-photo { min-height: 440px; padding: 48px 0 36px; }
}
