/* ==========================================================================
   INDO APEX LIFE — DESIGN DNA: D-01887E-00
   Archetype Contemporary Health Library
   Layout Offset Column | Nav Utility Topbar | Hero Visual First
   Typography Geometric Sans | Color Warm Sand | Grid Offset 8
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM TOKENS */
:root {
  /* Typography Definitions */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Color System — Color Warm Sand */
  --bg-base: #FAF6F0;
  --surface: #FFFFFF;
  --text-primary: #332D27;
  --text-secondary: #736B63;
  --accent: #D97706;
  --border: #EBE3D5;
  --bg-muted: #F3EBE1;
  --interactive: #B45309;
  
  /* Additional Functional Contrast Tokens */
  --focus-ring: #D97706;
  --surface-hover: #F8F3EC;
  --badge-bg: #EAE1D3;
  --success: #15803D;

  /* Layout & Spacing */
  --max-width: 1240px;
  --container-px: 24px;
  --gutter: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-subtle: 0 1px 3px rgba(51, 45, 39, 0.05), 0 4px 12px rgba(51, 45, 39, 0.03);
}

/* 2. CSS RESET & GLOBAL RESILIENCE */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus Indicator */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  max-width: 72ch;
  color: var(--text-primary);
}

p.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

a {
  color: var(--interactive);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent);
}

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

/* 3. STRUCTURAL TAGS (Rule 34: direct element styling) */

/* UTILITY TOPBAR HEADER */
header {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
}

.topbar-utility {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 6px var(--container-px);
}
.topbar-utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-primary);
}
.utility-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.utility-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utility-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--container-px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
  border: 1px solid var(--border);
}
.brand-mark span {
  color: var(--accent);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PRIMARY NAVIGATION */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.nav-link:hover {
  background: var(--bg-muted);
  color: var(--interactive);
}
.nav-link[aria-current="page"] {
  background: var(--bg-muted);
  color: var(--interactive);
  border-bottom: 2px solid var(--accent);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

/* MAIN CONTENT */
main {
  width: 100%;
  min-height: 60vh;
}

/* SECTIONS DENSE MODULES PATTERN */
section {
  padding: 56px var(--container-px);
  position: relative;
  width: 100%;
}
section:nth-of-type(even) {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* HERO VISUAL FIRST (Section 1 Homepage & Key Pages) */
.hero-visual-first {
  padding: 40px var(--container-px) 56px;
  background: var(--bg-base);
}
.hero-frame {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #2E2822;
}
.hero-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.hero-caption-bar {
  padding: 24px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-caption-content {
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-caption-content h1 {
  margin-bottom: 8px;
}
.hero-caption-content p {
  margin-bottom: 0;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* PAGE HEADER (For Interior Pages) */
.page-header {
  padding: 48px var(--container-px) 36px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--interactive);
  text-decoration: underline;
}
.breadcrumbs span.current {
  color: var(--text-primary);
  font-weight: 600;
}

/* 4. LAYOUT SYSTEM: LAYOUT OFFSET COLUMN (Span 3 Left Meta / Span 8 Right Content) */
.layout-offset-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.col-meta {
  position: sticky;
  top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.meta-box-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.meta-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.meta-nav-list li {
  margin-bottom: 10px;
}
.meta-nav-list a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.meta-nav-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.meta-data-badge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--bg-muted);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.col-content {
  min-width: 0;
}

/* 5. CARDS SYSTEM: CARDS FEATURED MODULAR (Grid Offset 8) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gutter);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
  border-color: #D6C8B5;
}
.card-header {
  margin-bottom: 16px;
}
.card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
.card-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.card-title a:hover {
  color: var(--interactive);
}
.card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.55;
}
.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.card-link {
  font-weight: 700;
  color: var(--interactive);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 6. ARTICLE SYSTEM: ARTICLE DATA SUPPORTED */
.article-container {
  max-width: 780px;
}
.article-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pull-quote {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--bg-muted);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}
.pull-quote cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* STAT / DATA CALLOUT */
.data-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.data-stat {
  padding: 8px 12px;
  border-left: 2px solid var(--accent);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--interactive);
  display: block;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 7. CTA EDITORIAL SYSTEM */
.cta-box {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  margin: 48px 0 24px;
  text-align: left;
}
.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 600px;
}
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--interactive);
  color: #FFFFFF;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  min-height: 48px;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.1s ease;
  cursor: pointer;
}
.btn-editorial:hover {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 13px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  min-height: 48px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: #D6C8B5;
  color: var(--interactive);
}

/* 8. INTERACTIVE CHECKLIST MODULE */
.checklist-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 24px 0;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.checklist-item:last-child {
  border-bottom: none;
}
.checklist-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  display: grid;
  place-content: center;
}
.checklist-item input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checklist-item input[type="checkbox"]:checked::before {
  content: "✔";
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
}
.checklist-text {
  flex: 1;
}
.checklist-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.checklist-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.score-box {
  background: var(--bg-muted);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.score-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--interactive);
}

/* 9. FAQ ACCORDION SYSTEM */
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 16px 20px;
  transition: all 0.2s ease;
}
details.faq-item[open] {
  border-color: #D6C8B5;
  background: #FCFAF7;
}
summary.faq-question {
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  min-height: 36px;
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  margin-left: 12px;
}
details.faq-item[open] summary.faq-question::after {
  content: "−";
}
.faq-answer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* 10. FORMS SYSTEM */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 640px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-primary);
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  background: #FFFFFF;
  border-color: var(--accent);
  outline: none;
}
.form-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}
.form-alert.success {
  display: block;
  background: #DCFCE7;
  color: #14532D;
  border: 1px solid #BBF7D0;
}

/* 11. GLOSSARY INDEX */
.glossary-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.glossary-letter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
}
.glossary-letter-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}
.glossary-term-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.glossary-term-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.glossary-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* 12. TABLES (Responsive Wrapper) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-muted);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: none;
}

/* 13. FOOTER: FOOTER INFORMATION DENSE */
footer {
  width: 100%;
  background: #24201C;
  color: #D6CEC5;
  padding: 64px var(--container-px) 36px;
  border-top: 4px solid var(--accent);
  font-size: 0.875rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand p {
  color: #ABA197;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 360px;
}
.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #ABA197;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #F8B44A;
  text-decoration: underline;
}

.footer-dense-bar {
  padding-top: 32px;
  border-top: 1px solid #3D3630;
  font-size: 0.8125rem;
  color: #948A80;
  line-height: 1.65;
}
.footer-disclaimer-box {
  background: #1C1916;
  border: 1px solid #36302B;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.footer-disclaimer-box p {
  color: #A3998F;
  margin-bottom: 0;
  font-size: 0.8125rem;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* 14. MOBILE LARGE TYPE & RESPONSIVE RULES */
@media (max-width: 1024px) {
  .layout-offset-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .utility-meta {
    width: 100%;
    justify-content: space-between;
  }
  
  .mobile-toggle {
    display: inline-flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--container-px);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    gap: 4px;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 14px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--bg-muted);
  }
  
  .layout-offset-grid {
    grid-template-columns: 1fr;
  }
  .col-meta {
    position: static;
    margin-bottom: 24px;
  }
  
  .hero-img-wrap img {
    height: 320px;
  }
  .hero-caption-bar {
    padding: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 16px;
  }
  section {
    padding: 40px var(--container-px);
  }
  .hero-img-wrap img {
    height: 240px;
  }
  .hero-caption-content h1 {
    font-size: 1.65rem;
  }
  .btn-editorial, .btn-secondary {
    width: 100%;
  }
}
