:root {
  --green-primary: #1B5E20;
  --green-secondary: #2E7D32;
  --canopy-deep: #0D2411;
  --gold-harvest: #F9A825;
  --gold-ink: #111E13;
  --bg-white: #FFFFFF;
  --bg-paper: #F3F1EA;
  --bg-stone: #E8E5DC;
  --bg-soft: #F3F1EA;
  --bg-tint: #E2DFD5;
  --ink: #111E13;
  --ink-muted: #415143;
  --hairline-light: rgba(17, 30, 19, 0.18);
  --hairline-dark: rgba(243, 241, 234, 0.20);
  --border-subtle: #C9C7BC;
  --border-strong: #415143;
  --status-ok-bg: #DCFCE7;
  --status-ok-fg: #14532D;
  --status-ok-border: #15803D;
  --status-warn-bg: #FEF9C3;
  --status-warn-fg: #713F12;
  --status-warn-border: #A16207;
  --status-err-bg: #FEE2E2;
  --status-err-fg: #7F1D1D;
  --status-err-border: #B91C1C;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-dialog: 0 24px 60px rgba(13, 36, 17, 0.42);
  --container-max: 1360px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Baskerville, Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-paper);
  overflow-x: clip;
  position: relative;
}

/* Tactile monograph grain texture representing printed agrarian field guides (R-07) */
body.paper-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a[href],
button,
summary,
select,
label[for],
label:has(> input[type="checkbox"], > input[type="radio"]),
[role="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
  cursor: pointer;
}

:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.65;
}

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

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--canopy-deep);
  color: #F3F1EA;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container-max), calc(100% - 2.25rem));
  margin-inline: auto;
}

/* Architectural Masthead (single glass accent element per R-10) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-light);
}

.masthead-inner {
  width: min(1440px, calc(100% - 2.25rem));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.masthead-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.masthead-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.wordmark-slash {
  color: var(--green-primary);
  font-weight: 400;
}

.masthead-wordmark em {
  display: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.masthead-cms-link {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.masthead-cms-link:hover {
  background: var(--ink);
  color: var(--bg-paper);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 72px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.menu-toggle:hover {
  background: var(--ink);
  color: var(--bg-paper);
}

.nav-panel {
  display: none;
}

.nav-panel.is-open {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  inset: 0;
  height: 100dvh;
  padding: 1.5rem;
  background: var(--canopy-deep);
  color: #F3F1EA;
  z-index: 80;
  overflow-y: auto;
}

.nav-curtain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.nav-curtain-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.nav-curtain-close {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #F3F1EA;
  font: inherit;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline-dark);
  color: #F3F1EA;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.nav-sup {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold-harvest);
  margin-left: 0.3rem;
}

.nav-list a[aria-current="page"] {
  color: var(--gold-harvest);
}

.nav-drawer-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: #C8DCC9;
}

.nav-drawer-meta a {
  color: var(--gold-harvest);
  font-weight: 700;
}

/* Architectural Buttons & Editorial Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn-arch-primary,
.btn-primary {
  background: var(--green-primary);
  color: #FFFFFF;
}

.btn-arch-primary:hover,
.btn-primary:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-arch-outline,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-arch-outline:hover,
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg-paper);
}

.btn-accent {
  background: var(--gold-harvest);
  color: var(--gold-ink);
}

.btn-accent:hover {
  background: #E59819;
}

.btn-light-ghost {
  background: transparent;
  border-color: var(--hairline-dark);
  color: #F3F1EA;
}

.btn-light-ghost:hover {
  background: rgba(243, 241, 234, 0.14);
}

.btn-sm {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9375rem;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.editorial-link:hover {
  color: var(--ink);
}

.editorial-link.is-light {
  color: var(--gold-harvest);
}

.editorial-link.is-light:hover {
  color: #FFFFFF;
}

.editorial-sublink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-light);
}

.editorial-sublink:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.chapter-note {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--green-primary);
}

.chapter-note.is-light {
  color: #C8DCC9;
}

.chapter-note.is-gold {
  color: var(--gold-harvest);
}

.sotd-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sotd-h2.is-light {
  color: #F3F1EA;
}

.sotd-intro {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  max-width: 58ch;
  font-size: 1.0625rem;
}

/* Bab 00: Obys Asymmetric Spread Hero + Unobscured Widescreen Aperture */
.sotd-hero {
  background: var(--bg-paper);
  padding-block: clamp(2rem, 4.5vw, 3.75rem) 2.5rem;
}

.hero-spread-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}

.colophon-label {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  color: var(--green-primary);
}

.colophon-value {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.colophon-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.sotd-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 6.2vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-indent-row {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sotd-lead {
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 54ch;
}

.sotd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aperture-wrap {
  margin: 0;
}

.hero-aperture {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--canopy-deep);
}

.hero-aperture img,
.hero-aperture video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .hero-aperture {
      animation: aperture-widen linear both;
      animation-timeline: view();
      animation-range: cover 15% cover 55%;
    }
  }
}

@keyframes aperture-widen {
  from {
    clip-path: inset(0 2.5% 0 2.5%);
  }
  to {
    clip-path: inset(0 0% 0 0%);
  }
}

.aperture-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline-light);
  margin-top: 0.85rem;
}

.aperture-location {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.aperture-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aperture-btn {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.aperture-btn:hover {
  background: var(--ink);
  color: var(--bg-paper);
}

/* Bab 01: Full-Bleed Architectural Monograph Matrix */
.sotd-monograph {
  background: var(--bg-paper);
  padding-bottom: clamp(3rem, 5.5vw, 4.5rem);
}

.monograph-matrix {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.matrix-cell {
  position: relative;
  padding: 1.5rem 1.25rem 1.75rem;
  border-bottom: 1px solid var(--hairline-light);
}

.matrix-cell:nth-child(odd) {
  border-right: 1px solid var(--hairline-light);
}

.matrix-cell:nth-last-child(-n+2) {
  border-bottom: 0;
}

.matrix-cross {
  position: absolute;
  top: 0.45rem;
  right: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-muted);
  user-select: none;
}

.matrix-cell dt {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.matrix-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--green-primary);
  margin-right: 0.35rem;
}

.matrix-cell dd {
  margin: 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.monograph-colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
}

.monograph-colophon p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Bab 02: Interactive Sticky Specimen Index (BUMDes) */
.sotd-bumdes {
  background: var(--bg-paper);
  padding-block: clamp(2.5rem, 5vw, 4.75rem);
  border-top: 1px solid var(--hairline-light);
}

.sotd-section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2.5rem;
  margin-bottom: 2.75rem;
}

.bumdes-interactive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.bumdes-stage {
  display: none;
}

.stage-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-stone);
}

.stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.stage-frame.is-swapping img {
  transform: scale(1.04);
  opacity: 0.72;
}

.stage-caption {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.stage-poktan {
  margin: 0.75rem 0 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline-light);
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.bumdes-index-list {
  border-top: 1.5px solid var(--ink);
}

.bumdes-row {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--hairline-light);
  transition: background-color 200ms ease, padding-inline 200ms ease;
}

.bumdes-row.is-active {
  border-bottom-color: var(--ink);
}

.bumdes-mobile-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-stone);
  margin-bottom: 1rem;
}

.bumdes-mobile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bumdes-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.row-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-primary);
}

.row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.inline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.inline-status.tone-available {
  color: var(--status-ok-fg);
}

.inline-status.tone-pending {
  color: var(--status-warn-fg);
}

.inline-status.tone-empty {
  color: var(--status-err-fg);
}

.bumdes-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  color: var(--ink);
}

.bumdes-row-specs {
  margin: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
}

.spec-price {
  margin: 0;
  font-weight: 700;
  color: var(--green-primary);
}

.spec-seller {
  margin: 0;
  color: var(--ink-muted);
}

.bumdes-row-desc {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  max-width: 62ch;
}

.bumdes-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Bab 03: Deep Forest Manifesto & Civic Broadsheet */
.sotd-forest-gazette {
  background: var(--canopy-deep);
  color: #F3F1EA;
  padding-block: clamp(3.5rem, 6.5vw, 6rem);
}

.vision-manifesto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hairline-dark);
}

.vision-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #F3F1EA;
}

.gazette-split {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.gazette-notices-list {
  margin-top: 1.75rem;
  border-top: 1px solid var(--hairline-dark);
}

.forest-notice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.forest-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  color: var(--gold-harvest);
}

.forest-meta {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  color: #C8DCC9;
}

.forest-notice-row h3,
.journal-lead h3,
.journal-row h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
}

.forest-notice-row h3 a,
.journal-lead h3 a,
.journal-row h3 a {
  color: #FFFFFF;
  text-decoration: none;
}

.forest-notice-row h3 a:hover,
.journal-lead h3 a:hover,
.journal-row h3 a:hover {
  color: var(--gold-harvest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.forest-excerpt {
  margin: 0;
  color: #C8DCC9;
}

.forest-hours-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.forest-hours-note p {
  margin: 0;
  color: #C8DCC9;
}

.forest-hours-note strong {
  color: #FFFFFF;
}

.journal-col-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.journal-lead {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.journal-lead-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #142D17;
  margin-bottom: 1rem;
}

.journal-lead-media img,
.journal-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-lead:hover .journal-lead-media img,
.journal-row:hover .journal-row-thumb img {
  transform: scale(1.03);
}

.journal-lead h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.journal-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hairline-dark);
  align-items: center;
}

.journal-row-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #142D17;
}

/* Bab 04: Staggered Museum Photo-Essay */
.sotd-archive {
  background: var(--bg-paper);
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
}

.staggered-essay {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.essay-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.gallery-media-box {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-stone);
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.gallery-trigger img,
.gallery-trigger video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.essay-frame:hover .gallery-trigger img,
.essay-frame:hover .gallery-trigger video,
.gallery-tile:hover .gallery-trigger img,
.gallery-tile:hover .gallery-trigger video {
  transform: scale(1.03);
}

.gallery-trigger.is-portrait-gate img {
  object-position: center 75%;
}

.media-kind-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 36, 17, 0.90);
  color: #F3F1EA;
  font-size: 0.8125rem;
  font-weight: 700;
}

.essay-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline-light);
  margin-top: 0.75rem;
}

.essay-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--green-primary);
}

.essay-caption strong {
  font-size: 0.96875rem;
  color: var(--ink);
}

.essay-cat {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Subpages Shared Styles */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.8125rem;
  font-weight: 700;
}

.status-available {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: var(--status-ok-border);
}

.status-pending {
  background: var(--status-warn-bg);
  color: var(--status-warn-fg);
  border-color: var(--status-warn-border);
}

.status-empty {
  background: var(--status-err-bg);
  color: var(--status-err-fg);
  border-color: var(--status-err-border);
}

.category-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  color: var(--green-primary);
  font-size: 0.8125rem;
  font-weight: 700;
}

.section-block {
  padding-block: 2.75rem;
  background: var(--bg-paper);
}

.section-soft {
  background: var(--bg-stone);
  border-block: 1px solid var(--hairline-light);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.18;
}

.section-desc {
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
  max-width: 64ch;
}

.page-header {
  padding-block: 2.75rem 2.25rem;
  background: var(--bg-stone);
  border-bottom: 1px solid var(--ink);
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.1;
}

.page-header p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
  max-width: 66ch;
}

.ledger-band {
  background: var(--canopy-deep);
  color: #F3F1EA;
  padding-block: 2.25rem;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ledger-item {
  padding-left: 0.9rem;
  border-left: 1px solid var(--gold-harvest);
}

.ledger-item strong {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  color: #FFFFFF;
}

.ledger-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  color: var(--gold-harvest);
  font-weight: 600;
}

.ledger-source {
  margin: 1.25rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.875rem;
  color: #C8DCC9;
}

.price-line {
  font-weight: 700;
  color: var(--green-primary);
  margin: 0;
}

.meta-line {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.post-card,
.product-card,
.gallery-tile,
.surface-card {
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.surface-card {
  padding: 1.4rem;
}

.post-card .media-box,
.product-card .media-box {
  aspect-ratio: 16 / 10;
  background: var(--bg-stone);
  overflow: hidden;
}

.post-card .media-box img,
.product-card .media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1 1 auto;
}

.post-card h3,
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.28;
}

.post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gallery-caption {
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-caption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.gallery-caption span {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.card-footer-push {
  margin-top: auto;
  padding-top: 0.65rem;
}

/* Profile Page */
.profile-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.officials-dept {
  margin-top: 2rem;
}

.officials-dept h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-primary);
}

.officials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.official-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
}

.official-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--green-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  overflow: hidden;
}

.official-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-card h4 {
  margin: 0;
  font-size: 1.0625rem;
}

.official-card p {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Filters, Search & Forms */
.filter-panel {
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.75rem;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.pill-btn:hover {
  background: var(--bg-tint);
}

.pill-btn.is-active,
.pill-btn[aria-pressed="true"] {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.filter-form .field {
  margin-bottom: 0;
  flex: 1 1 220px;
}

.field label {
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid,
.field [aria-invalid="true"] {
  border-color: var(--status-err-border);
}

.field-error {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--status-err-fg);
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin-bottom: 1.25rem;
}

.alert-success {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: var(--status-ok-border);
}

.alert-error {
  background: var(--status-err-bg);
  color: var(--status-err-fg);
  border-color: var(--status-err-border);
}

.alert ul {
  margin: 0.4rem 0 0 1.25rem;
  padding: 0;
}

/* Potensi: Order Qty & Drying Calculator */
.order-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

.order-row .qty-field {
  flex: 0 1 130px;
  margin-bottom: 0;
}

.calc-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  border-top: 3px solid var(--gold-harvest);
  border-radius: var(--radius-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.15rem;
}

.calc-result-box {
  background: var(--bg-paper);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.calc-metric {
  padding: 0.85rem;
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-sm);
}

.calc-metric span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.calc-metric strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.25rem;
  color: var(--green-primary);
}

/* Article Detail & Contact */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--green-primary);
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.article-body {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  white-space: pre-line;
}

.article-cover {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--hairline-light);
  aspect-ratio: 16 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.map-frame {
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--hairline-light);
  background: var(--bg-stone);
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-state {
  padding: 2.25rem 1.25rem;
  text-align: center;
  background: var(--bg-white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.empty-state p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-list a,
.pagination-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.pagination-list .is-active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

.pagination-list .is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Native Dialog Lightbox */
dialog.media-dialog {
  width: min(940px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-paper);
  color: var(--ink);
  box-shadow: var(--shadow-dialog);
  overflow: auto;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(13, 36, 17, 0.78);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hairline-light);
}

.dialog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.dialog-stage {
  padding: 1rem 1.25rem;
  background: #0B180D;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-stage img,
.dialog-stage video {
  max-height: 62dvh;
  width: auto;
  max-width: 100%;
}

.dialog-foot {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-foot p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 58ch;
}

.dialog-nav {
  display: flex;
  gap: 0.5rem;
}

/* Bab 05: Dual Architectural Portal & Monumental Wordmark Footer */
.site-footer {
  background: var(--canopy-deep);
  color: #F3F1EA;
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--hairline-dark);
}

.footer-portal-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.portal-col h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  line-height: 1.15;
  color: #FFFFFF;
}

.portal-col p {
  margin: 0 0 1.25rem;
  color: #C8DCC9;
  max-width: 48ch;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-harvest);
}

.site-footer p {
  margin: 0 0 0.65rem;
  color: #C8DCC9;
  max-width: 48ch;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #F3F1EA;
  text-decoration: none;
}

.footer-links a:hover,
.footer-wa-link:hover,
.footer-cms-link:hover {
  color: var(--gold-harvest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-wa-link,
.footer-cms-link {
  color: var(--gold-harvest);
  font-weight: 700;
}

.footer-monumental {
  margin: 3rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8.6vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: rgba(243, 241, 234, 0.14);
  user-select: none;
  overflow-wrap: break-word;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #C8DCC9;
}

/* Scroll Reveal Choreography (MOTION 2) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal-up {
      animation: editorial-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 24%;
    }
  }

  .reveal-up.js-reveal-pending {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1), translate 480ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-up.js-reveal-shown {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes editorial-enter {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Tablet Breakpoint */
@media (min-width: 640px) {
  .masthead-wordmark em {
    display: inline;
  }

  .journal-row {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .staggered-essay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .officials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}

/* Desktop Breakpoint */
@media (min-width: 1180px) {
  .menu-toggle {
    display: none;
  }

  .masthead-cms-link {
    display: inline-flex;
  }

  .nav-panel {
    display: block;
    position: static;
    height: auto;
    padding: 0;
    background: transparent;
    color: var(--ink);
    overflow: visible;
  }

  .nav-curtain-head,
  .nav-drawer-meta {
    display: none;
  }

  .nav-list {
    margin: 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .nav-list a {
    position: relative;
    min-height: 44px;
    padding: 0.45rem 0;
    border-bottom: 0;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 2px;
    background: var(--green-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-list a[aria-current="page"] {
    color: var(--green-primary);
  }

  .nav-list a[aria-current="page"]::after {
    background: var(--gold-harvest);
  }

  .nav-sup {
    color: var(--ink-muted);
    font-size: 0.72rem;
  }

  .hero-spread-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }

  .hero-colophon {
    grid-column: 1 / span 3;
    padding-top: 0.45rem;
  }

  .hero-headline-col {
    grid-column: 4 / span 9;
  }

  .hero-indent-row {
    margin-left: 16%;
  }

  .hero-aperture {
    aspect-ratio: 21 / 9;
  }

  .monograph-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .matrix-cell {
    border-bottom: 0;
    border-right: 1px solid var(--hairline-light);
    padding: 1.75rem 1.5rem 2rem;
  }

  .matrix-cell:last-child {
    border-right: 0;
  }

  .sotd-section-header {
    grid-template-columns: 4fr 8fr;
    align-items: start;
  }

  .bumdes-interactive-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
  }

  .bumdes-stage {
    display: block;
    grid-column: 1 / span 5;
    position: sticky;
    top: 6.25rem;
  }

  .bumdes-index-list {
    grid-column: 6 / span 7;
  }

  .bumdes-mobile-media {
    display: none;
  }

  .vision-manifesto {
    grid-template-columns: 3fr 9fr;
    align-items: start;
  }

  .gazette-split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
  }

  .gazette-service-col {
    grid-column: 1 / span 5;
  }

  .gazette-journal-col {
    grid-column: 6 / span 7;
    padding-left: 3rem;
    border-left: 1px solid var(--hairline-dark);
  }

  .staggered-essay {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    align-items: start;
  }

  .essay-slot-1 {
    grid-column: 1 / span 5;
  }

  .essay-slot-1 .gallery-media-box {
    aspect-ratio: 3 / 4;
  }

  .essay-slot-2 {
    grid-column: 7 / span 6;
    margin-top: 4.5rem;
  }

  .essay-slot-2 .gallery-media-box {
    aspect-ratio: 16 / 10;
  }

  .essay-slot-3 {
    grid-column: 2 / span 5;
  }

  .essay-slot-4 {
    grid-column: 8 / span 5;
    margin-top: 3rem;
  }

  .essay-slot-4 .gallery-media-box {
    aspect-ratio: 16 / 10;
  }

  .footer-portal-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .portal-col-right {
    padding-left: 3rem;
    border-left: 1px solid var(--hairline-dark);
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .article-layout {
    grid-template-columns: 1fr 330px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

/* Spec v2 Architectural-Editorial Additions */
.matrix-sub {
  margin: 0.6rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.home-pulse-band {
  background: var(--bg-stone);
  border-block: 1px solid var(--hairline-light);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pulse-panel {
  background: var(--bg-paper);
  border: 1px solid var(--hairline-light);
  padding: 1.5rem;
}

.pulse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.pulse-head .chapter-note {
  margin: 0;
}

.pulse-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.pulse-weather-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  margin-bottom: 0.85rem;
}

.pulse-weather-stats span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.pulse-weather-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.0625rem;
  color: var(--green-primary);
}

.pulse-alert {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: var(--ink);
}

.pulse-source {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.price-ticker-list {
  display: flex;
  flex-direction: column;
}

.price-ticker-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--hairline-light);
}

.price-ticker-row:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.price-ticker-nums {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.price-ticker-nums strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-primary);
}

.price-ticker-nums span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.field-quote-band {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--hairline-light);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}

.field-quote-inner {
  max-width: 920px;
}

.field-quote-inner blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.38;
  color: var(--ink);
}

.field-quote-attr {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.profile-data-grid,
.drying-days-grid,
.service-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.data-table-scroll {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--hairline-light);
  text-align: left;
  vertical-align: top;
}

.spec-table thead th {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-bottom: 1.5px solid var(--ink);
}

.spec-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.num-cell {
  font-variant-numeric: tabular-nums;
}

.bar-chart-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.bar-track {
  width: 100%;
  height: 10px;
  background: var(--bg-stone);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--green-primary);
}

.bar-note {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  padding: 1rem 1.25rem;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  min-height: 36px;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.source-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-stone);
  border: 1px solid var(--hairline-light);
}

.source-callout p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.wa-digest-textarea {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid var(--hairline-light);
  background: var(--bg-paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.scenario-box {
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  padding: 1rem;
}

.scenario-box.is-recommended {
  border-color: var(--green-primary);
  border-top: 3px solid var(--green-primary);
}

.scenario-box.is-caution {
  border-top: 3px solid var(--gold-harvest);
}

.scenario-tag {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.scenario-box strong {
  display: block;
  margin: 0.25rem 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  color: var(--ink);
}

.scenario-diff {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--green-primary);
}

.proportion-visual {
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
}

.prop-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.prop-track {
  display: flex;
  height: 14px;
  background: var(--bg-stone);
  overflow: hidden;
}

.prop-dry {
  background: var(--gold-harvest);
}

.prop-water {
  background: var(--green-primary);
}

.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Sahabat Mulya Widget */
.ai-widget-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid var(--canopy-deep);
  border-radius: var(--radius-sm);
  background: var(--gold-harvest);
  color: var(--gold-ink);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(13, 36, 17, 0.28);
}

.ai-widget-fab:hover {
  background: #E59819;
}

dialog.ai-dialog {
  width: min(680px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  color: var(--ink);
  box-shadow: var(--shadow-dialog);
  overflow: auto;
}

.ai-dialog-sub {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.ai-dialog-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-chip {
  min-height: 38px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

.ai-chip:hover {
  background: var(--bg-tint);
}

.ai-output {
  background: var(--bg-white);
  border: 1px solid var(--hairline-light);
  padding: 1rem;
  min-height: 110px;
  max-height: 36dvh;
  overflow-y: auto;
}

.ai-answer-text {
  white-space: pre-line;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.ai-sources-title {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-primary);
}

.ai-sources-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.ai-sources-list a {
  color: var(--green-primary);
  font-weight: 600;
}

.ai-form {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.ai-guard-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .pulse-weather-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drying-days-grid,
  .profile-data-grid,
  .service-banner-grid,
  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-aperture,
  .reveal-up {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    translate: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
