/* ==========================================================================
   THE PULSE MAP — Atlas Pangan Harian & Kesadaran Jantung
   Custom Editorial Cartographic Design System
   Palette: Deep Tidal Teal (#123B46), Porcelain Mist (#F3F0E7),
            Apricot Paper (#F0C3A0), Electric Citron (#D6E66A),
            Muted Sea Glass (#91AAA4), Ink Black (#202727), Pale Cloud (#E3E8E4)
   ========================================================================== */

:root {
  --teal: #123B46;
  --teal-deep: #0D2D36;
  --mist: #F3F0E7;
  --apricot: #F0C3A0;
  --apricot-soft: #F6DCC6;
  --citron: #D6E66A;
  --glass: #91AAA4;
  --ink: #202727;
  --ink-muted: #465454;
  --cloud: #E3E8E4;
  --paper-bright: #FBF9F4;

  --rule: rgba(18, 59, 70, 0.16);
  --rule-strong: rgba(18, 59, 70, 0.34);
  --rule-light: rgba(243, 240, 231, 0.22);

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --container-narrow: 860px;
  --gutter: clamp(1.125rem, 3vw, 2.5rem);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--mist);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--mist);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

a:hover {
  color: var(--ink);
}

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

.band-teal :focus-visible,
.site-footer :focus-visible,
.storage-bar :focus-visible {
  outline-color: var(--citron);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--teal);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  color: var(--mist);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
}

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

/* Containers */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Monospace Coordinates & Labels */
.coord,
.eyebrow,
.caption-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.coord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
}

.coord::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--citron);
  border: 1px solid var(--teal);
  flex-shrink: 0;
}

.band-teal .coord {
  color: var(--citron);
}

.band-teal .coord::before {
  background: var(--citron);
  border-color: var(--citron);
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  background: var(--paper-bright);
  color: var(--teal);
}

.pill-note.is-apricot {
  background: var(--apricot);
  border-color: var(--teal);
  color: var(--ink);
}

.pill-note.is-citron {
  background: var(--citron);
  border-color: var(--teal);
  color: var(--teal);
}

/* ==========================================================================
   Top Editorial Transparency Strip & Publication Masthead
   ========================================================================== */
.top-disclosure {
  background: var(--teal);
  color: var(--mist);
  border-bottom: 1px solid rgba(214, 230, 106, 0.28);
  font-size: 0.78rem;
  line-height: 1.45;
}

.top-disclosure__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.52rem;
}

.top-disclosure__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-disclosure__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--citron);
  flex-shrink: 0;
}

.top-disclosure a {
  color: var(--citron);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.top-disclosure a:hover {
  color: var(--apricot);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(243, 240, 231, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-strong);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding-block: 0.65rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--teal);
  min-width: 0;
}

.brand-mark__emblem {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.brand-mark__sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-xs);
}

.primary-nav a:hover {
  color: var(--teal);
  background: rgba(18, 59, 70, 0.06);
}

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

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--teal);
}

.primary-nav a.nav-cta {
  margin-left: 0.45rem;
  background: var(--teal);
  color: var(--mist);
  border: 1px solid var(--teal);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.58rem 1rem;
}

.primary-nav a.nav-cta:hover {
  background: var(--teal-deep);
  color: var(--citron);
}

.primary-nav a.nav-cta[aria-current="page"]::after {
  display: none;
}

.primary-nav a.nav-cta[aria-current="page"] {
  background: var(--teal-deep);
  color: var(--citron);
  box-shadow: inset 0 -2px 0 var(--citron);
}

/* Mobile Menu Button & Drawer */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--mist);
  padding: 0.75rem var(--gutter) 1.25rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.mobile-drawer a span.mono-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--glass);
}

.mobile-drawer a[aria-current="page"] {
  background: var(--cloud);
  color: var(--teal);
}

/* ==========================================================================
   Buttons & Editorial Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--teal);
  color: var(--mist);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--citron);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--apricot);
  color: var(--ink);
}

.btn-citron {
  background: var(--citron);
  color: var(--teal);
  border-color: var(--citron);
}

.btn-citron:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  color: var(--ink);
}

.text-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}

.text-arrow-link:hover {
  color: var(--ink);
  border-bottom-color: var(--apricot);
}

/* ==========================================================================
   Cartographic Contour Backdrop & Editorial Frame Details
   ========================================================================== */
.atlas-contours {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%2391AAA4' stroke-opacity='0.22' stroke-width='1'%3E%3Cpath d='M-40 90 C 120 20, 260 170, 420 95 C 530 45, 610 110, 680 70'/%3E%3Cpath d='M-40 165 C 140 90, 270 245, 440 165 C 545 115, 620 185, 680 145'/%3E%3Cpath d='M-40 245 C 150 185, 290 320, 470 240 C 570 195, 630 250, 680 220'/%3E%3Cpath d='M-40 330 C 165 275, 315 390, 495 315 C 585 275, 640 325, 680 300'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 640px 420px;
}

.atlas-frame {
  position: relative;
  border: 1px solid var(--rule-strong);
  background: var(--paper-bright);
  padding: 0.75rem;
}

.atlas-frame::before,
.atlas-frame::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1;
  color: var(--teal);
  background: var(--mist);
  padding: 0 3px;
}

.atlas-frame::before {
  top: -0.45rem;
  left: -0.35rem;
}

.atlas-frame::after {
  bottom: -0.45rem;
  right: -0.35rem;
}

/* ==========================================================================
   Editorial Bands & Section Headers
   ========================================================================== */
.band {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}

.band-cloud {
  background: var(--cloud);
}

.band-apricot {
  background: var(--apricot-soft);
}

.band-teal {
  background: var(--teal);
  color: var(--mist);
  border-bottom-color: var(--rule-light);
}

.band-teal h2,
.band-teal h3,
.band-teal h4 {
  color: var(--mist);
}

.band-teal p {
  color: rgba(243, 240, 231, 0.88);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 1.5rem 3rem;
  align-items: end;
  padding-bottom: 1.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-strong);
}

.band-teal .section-head {
  border-bottom-color: var(--rule-light);
}

.section-head h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.95rem);
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.section-head__lead {
  font-size: 0.98rem;
  color: var(--ink-muted);
  margin: 0;
}

.band-teal .section-head__lead {
  color: rgba(243, 240, 231, 0.82);
}

/* ==========================================================================
   HOMEPAGE: Hero Atlas Spread
   ========================================================================== */
.hero-atlas {
  padding-top: clamp(2.25rem, 4.5vw, 4rem);
  padding-bottom: 0;
  border-bottom: 1px solid var(--rule-strong);
}

.hero-atlas__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.hero-atlas__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.35rem;
}

.hero-atlas h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  line-height: 1.05;
  color: var(--teal);
  margin-bottom: 1.35rem;
  max-width: 16ch;
}

.hero-atlas__intro {
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: 1.85rem;
}

.hero-atlas__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 2.25rem;
}

.hero-featured-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  background: var(--apricot-soft);
  border-left: 3px solid var(--teal);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  max-width: 560px;
}

.hero-featured-strip__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  background: var(--teal);
  color: var(--citron);
}

.hero-featured-strip h2 {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.25rem;
}

.hero-featured-strip p {
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
}

.hero-visual__primary img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-visual__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
}

.hero-visual__inset {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--cloud);
  border: 1px solid var(--rule-strong);
}

.hero-visual__inset img {
  width: 112px;
  height: 80px;
  object-fit: cover;
}

.hero-visual__inset p {
  font-size: 0.83rem;
  line-height: 1.48;
  color: var(--ink);
  margin: 0;
}

.hero-visual__inset strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

/* Visible Editorial Index Bar under Hero */
.editorial-index-bar {
  background: var(--paper-bright);
  border-top: 1px solid var(--rule-strong);
}

.editorial-index-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-index-list li {
  margin: 0;
  border-right: 1px solid var(--rule);
}

.editorial-index-list li:last-child {
  border-right: none;
}

.editorial-index-list a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}

.editorial-index-list a:hover {
  background: var(--apricot-soft);
  color: var(--teal);
}

.editorial-index-list .idx-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.editorial-index-list .idx-name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   HOMEPAGE: Featured Plate Atlas ("Isi Piringku" Interactive Legend)
   ========================================================================== */
.plate-atlas {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.plate-explorer {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  padding: 1.5rem;
}

.plate-diagram-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.plate-svg {
  width: 200px;
  height: 200px;
  margin-inline: auto;
}

.plate-slice {
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.plate-slice:hover,
.plate-slice.is-active {
  opacity: 1;
}

.plate-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.plate-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  min-height: 44px;
  background: var(--mist);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.plate-tab__code {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}

.plate-tab__label {
  font-size: 0.88rem;
  font-weight: 700;
}

.plate-tab[aria-selected="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--mist);
}

.plate-tab[aria-selected="true"] .plate-tab__code {
  color: var(--citron);
}

.plate-detail {
  padding: 1.15rem 1.25rem;
  background: var(--mist);
  border-top: 2px solid var(--teal);
}

.plate-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}

.plate-detail p {
  font-size: 0.93rem;
  margin-bottom: 0.65rem;
}

.plate-detail__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* G4 G1 L5 Metric Strip */
.ggl-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--paper-bright);
  margin-top: 1.5rem;
}

.ggl-cell {
  padding: 1.1rem 1.15rem;
  border-right: 1px solid var(--rule);
}

.ggl-cell:last-child {
  border-right: none;
}

.ggl-cell__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}

.ggl-cell__val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--teal);
  margin: 0.25rem 0;
}

.ggl-cell p {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin: 0;
}

.source-footnote {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ==========================================================================
   HOMEPAGE: Ingredient Taxonomy Ledger
   ========================================================================== */
.taxonomy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

.taxonomy-sticky {
  position: sticky;
  top: 96px;
}

.taxonomy-sticky img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.clinical-caution-box {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--apricot-soft);
  border: 1px solid var(--teal);
  border-left: 4px solid var(--teal);
}

.clinical-caution-box h3 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.clinical-caution-box p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
}

.ledger {
  border-top: 1px solid var(--rule-strong);
}

.ledger-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.ledger-row__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--teal);
  padding-top: 0.3rem;
}

.ledger-row h3 {
  font-size: 1.48rem;
  margin-bottom: 0.45rem;
}

.ledger-row__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  background: var(--cloud);
  color: var(--teal);
}

.ledger-row p {
  font-size: 0.95rem;
  color: var(--ink);
}

.ledger-row__source {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   HOMEPAGE: Nutrition Label Annotated Folio (Deep Tidal Teal Band)
   ========================================================================== */
.label-folio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.nutrition-specimen {
  background: var(--mist);
  color: var(--ink);
  border: 2px solid var(--citron);
  padding: 1.5rem;
}

.nutrition-specimen__head {
  border-bottom: 4px solid var(--teal);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}

.nutrition-specimen__head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal);
  margin: 0 0 0.2rem;
}

.nutrition-specimen__head p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin: 0;
}

.nutrition-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: baseline;
  gap: 0.65rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
}

.nutrition-row:last-of-type {
  border-bottom: none;
}

.nutrition-row__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--citron);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.nutrition-row__hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
}

.label-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.35rem;
}

.label-note-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--rule-light);
}

.label-note-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.label-note-item__badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--citron);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.label-note-item h3 {
  font-size: 1.32rem;
  color: var(--mist);
  margin-bottom: 0.35rem;
}

.label-note-item p {
  font-size: 0.94rem;
  color: rgba(243, 240, 231, 0.86);
}

/* ==========================================================================
   HOMEPAGE: Asymmetric Meal Ideas Showcase
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.75rem;
  align-items: stretch;
}

.showcase-lead {
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
}

.showcase-lead__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-lead__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-lead__body h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  margin-top: 0.65rem;
}

.showcase-stack {
  display: grid;
  gap: 1.75rem;
}

.showcase-side {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: stretch;
}

.showcase-side img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.showcase-side__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-side__body h3 {
  font-size: 1.32rem;
  margin-top: 0.45rem;
}

.showcase-side__body p {
  font-size: 0.89rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   HOMEPAGE: Everyday Habits Strip
   ========================================================================== */
.habits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.habit-col {
  padding: 1.75rem 1.35rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.habit-col:last-child {
  border-right: none;
}

.habit-col__num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  color: var(--teal);
}

.habit-col h3 {
  font-size: 1.28rem;
  margin-bottom: 0.45rem;
}

.habit-col p {
  font-size: 0.91rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   FAQ Accordion (Native <details> with Editorial Craft)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--rule-strong);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--teal);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding-bottom: 1.35rem;
  padding-right: 2rem;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ==========================================================================
   Subpage Headers (Distinct per Page)
   ========================================================================== */
.page-hero {
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-bottom: 1px solid var(--rule-strong);
}

.page-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  margin-top: 0.65rem;
  margin-bottom: 1rem;
}

.page-hero__lead {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 60ch;
}

/* ==========================================================================
   ARTIKEL.HTML — Food Index & Full Reading Entries
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 2.25rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.filter-btn:hover {
  border-color: var(--teal);
  background: var(--cloud);
}

.filter-btn[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--citron);
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

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

.index-entry {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}

.index-entry:hover {
  border-color: var(--teal);
}

.index-entry[hidden] {
  display: none;
}

.index-entry__visual {
  background: var(--cloud);
  border-right: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

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

.specimen-svg-box {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--teal);
  color: var(--mist);
  text-align: center;
}

.specimen-svg-box span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-top: 0.55rem;
}

.index-entry__body {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.index-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.index-entry h3 {
  font-size: 1.38rem;
  margin-bottom: 0.45rem;
}

.index-entry p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

/* Full Editorial Dossiers on artikel.html */
.dossier-list {
  display: grid;
  gap: 2.5rem;
}

.dossier-article {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  padding: clamp(1.5rem, 3.5vw, 2.65rem);
  scroll-margin-top: 96px;
}

.dossier-article:target {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal);
}

.dossier-article__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.dossier-article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.dossier-article h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.dossier-aside {
  background: var(--mist);
  border: 1px solid var(--rule-strong);
  padding: 1.25rem;
}

.dossier-aside h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.dossier-aside ul {
  font-size: 0.88rem;
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.honest-note {
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
  background: var(--apricot-soft);
  border-left: 3px solid var(--teal);
  font-size: 0.86rem;
}

/* ==========================================================================
   TENTANG-KAMI.HTML — Transparent Editorial Standards
   ========================================================================== */
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

.scope-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule-strong);
  background: var(--paper-bright);
}

.scope-col {
  padding: 1.75rem;
}

.scope-col:first-child {
  border-right: 1px solid var(--rule-strong);
}

.scope-col--not {
  background: var(--cloud);
}

.scope-col h3 {
  font-size: 1.48rem;
  margin-bottom: 1rem;
}

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

.standard-card {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  padding: 1.6rem;
}

.standard-card__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  display: inline-block;
  padding: 0.18rem 0.5rem;
  background: var(--citron);
}

.standard-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.55rem;
}

/* ==========================================================================
   CONTACT.HTML — Editorial Correspondence Form
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.editorial-form {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--teal);
  outline: 2px solid rgba(18, 59, 70, 0.25);
  outline-offset: 0;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.checkbox-row label {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

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

.form-status {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--teal);
  font-size: 0.92rem;
  line-height: 1.55;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--cloud);
  border-left-color: var(--teal);
  color: var(--teal);
}

.form-status.is-error {
  background: var(--apricot-soft);
  border-left-color: #8A2C17;
  color: #4A170C;
}

.form-status.is-warning {
  background: var(--apricot-soft);
  border-left-color: var(--teal);
  color: var(--ink);
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #8A2C17;
  font-weight: 600;
}

.contact-sidebar {
  display: grid;
  gap: 1.35rem;
}

.info-box {
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
  padding: 1.45rem;
}

.info-box--tinted {
  background: var(--cloud);
}

.info-box h2,
.info-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

/* ==========================================================================
   LEGAL & EDITORIAL DOCUMENT LAYOUTS
   ========================================================================== */
.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 96px;
  padding: 1.25rem;
  background: var(--paper-bright);
  border: 1px solid var(--rule-strong);
}

.doc-toc__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.doc-toc a {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--rule);
}

.doc-toc a:hover {
  color: var(--teal);
}

.doc-body section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 96px;
}

.doc-body section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.doc-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin-bottom: 0.75rem;
}

.doc-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
}

/* Editorial Tables */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule-strong);
  background: var(--paper-bright);
  margin-block: 1.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th {
  background: var(--cloud);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule-strong);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Cookie/Storage Control Panel */
.storage-panel {
  background: var(--paper-bright);
  border: 1px solid var(--teal);
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.storage-panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.storage-panel__row:last-of-type {
  border-bottom: none;
}

/* ==========================================================================
   Footer & Storage Notice Bar
   ========================================================================== */
.site-footer {
  background: var(--teal);
  color: var(--mist);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.75fr));
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--rule-light);
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--mist);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(243, 240, 231, 0.82);
  max-width: 40ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--citron);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a,
.footer-col button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(243, 240, 231, 0.88);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--apricot);
  text-decoration: underline;
}

.footer-disclaimer {
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.84rem;
  color: rgba(243, 240, 231, 0.82);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: rgba(243, 240, 231, 0.72);
}

/* Honest Minimal Storage Notice Bar */
.storage-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  max-width: 960px;
  margin-inline: auto;
  background: var(--teal-deep);
  color: var(--mist);
  border: 1px solid var(--citron);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 32px rgba(18, 59, 70, 0.28);
  display: none;
}

.storage-bar.is-visible {
  display: block;
}

.storage-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.storage-bar p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  flex: 1 1 320px;
  color: var(--mist);
}

.storage-bar a {
  color: var(--citron);
}

.storage-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.storage-bar button {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-xs);
}

.storage-bar__ack {
  background: var(--citron);
  color: var(--teal);
  border: 1px solid var(--citron);
  font-weight: 600;
}

.storage-bar__ack:hover {
  background: var(--apricot);
  border-color: var(--apricot);
}

.storage-bar__close {
  background: transparent;
  color: var(--mist);
  border: 1px solid var(--rule-light);
}

.storage-bar__close:hover {
  border-color: var(--apricot);
  color: var(--apricot);
}

.transparency-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}

/* ==========================================================================
   Responsive Recomposition (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-atlas__grid,
  .plate-atlas,
  .taxonomy-layout,
  .label-folio,
  .showcase-grid,
  .manifesto-grid,
  .contact-layout,
  .page-hero--split,
  .dossier-article__grid,
  .transparency-split {
    grid-template-columns: 1fr;
  }

  .taxonomy-sticky {
    position: static;
  }

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

  .editorial-index-list li {
    border-bottom: 1px solid var(--rule);
  }

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

  .habit-col:nth-child(2n) {
    border-right: none;
  }

  .habit-col:nth-child(-n+2) {
    border-bottom: 1px solid var(--rule);
  }

  .index-catalog {
    grid-template-columns: 1fr;
  }

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

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .scope-comparison,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .scope-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--rule-strong);
  }
}

@media (max-width: 640px) {
  .editorial-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plate-diagram-wrap {
    grid-template-columns: 1fr;
  }

  .plate-tabs {
    grid-template-columns: 1fr;
  }

  .ggl-strip {
    grid-template-columns: 1fr;
  }

  .ggl-cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .ggl-cell:last-child {
    border-bottom: none;
  }

  .showcase-side {
    grid-template-columns: 1fr;
  }

  .showcase-side img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

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

  .habit-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .habit-col:last-child {
    border-bottom: none;
  }

  .index-entry {
    grid-template-columns: 1fr;
  }

  .index-entry__visual {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .hero-featured-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual__inset {
    grid-template-columns: 1fr;
  }

  .hero-visual__inset img {
    width: 100%;
    height: 150px;
  }

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

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .storage-bar {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
