/* ==========================================================================
   LES ARTS DE VESSEAUX - CHARTE GRAPHIQUE & ARCHITECTURE INSTITUTIONNELLE
   Association Loi 1901 - RNA : W071006686 - SIREN : 923510119
   ========================================================================== */

:root {
  --spruce-green: #005A36;
  --spruce-dark: #02472B;
  --spruce-deep: #01321e;
  --accent-gold: #A68244;
  --accent-gold-dark: #9E7D3B;
  --bright-gold: #D97706;
  --bright-gold-hover: #C87A00;
  --bg-light-gray: #F4F5F4;
  --bg-subtle-gray: #EFEFEF;
  --pure-white: #FFFFFF;
  --charcoal-text: #1C1A17;
  --charcoal-muted: #3a3733;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-green: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light-gray);
  color: var(--charcoal-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--spruce-green);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-gold-dark);
}

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

/* ==========================================================================
   DYNAMIC READING PROGRESS BAR
   ========================================================================== */
#reading-progress-bar {
  background: var(--accent-gold);
  height: 4px;
  position: fixed;
  top: 75px;
  left: 0;
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   TOP STICKY HEADER
   ========================================================================== */
.site-header {
  background: var(--spruce-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-brand {
  display: flex;
  flex-direction: column;
}

.logo-brand .brand-title {
  color: var(--pure-white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Analog Clock Widget */
.clock-widget-badge {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 15px;
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analog-clock-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.clock-face {
  fill: var(--spruce-dark);
  stroke: var(--accent-gold);
  stroke-width: 2;
}

.clock-center {
  fill: var(--accent-gold);
}

.clock-hand {
  stroke-linecap: round;
  transform-origin: 20px 20px;
}

.hour-hand {
  stroke: var(--pure-white);
  stroke-width: 2.2;
}

.minute-hand {
  stroke: var(--pure-white);
  stroke-width: 1.5;
}

.second-hand {
  stroke: var(--bright-gold);
  stroke-width: 1;
}

.digital-time-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.time-row-hq, .time-row-client {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.time-row-hq strong, .time-row-client strong {
  color: var(--pure-white);
  font-family: monospace;
  font-size: 0.72rem;
}

/* Header Right & Navigation */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  color: var(--pure-white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-item > a:hover,
.nav-item.active > a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pure-white);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--spruce-dark);
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  padding: 10px 18px;
  display: block;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pure-white);
  border-left-color: var(--accent-gold);
  padding-left: 22px;
}

/* Header High-Priority CTA */
.header-cta-btn {
  background: var(--bright-gold);
  color: #FFF !important;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--bright-gold-hover);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  position: relative;
  transition: all 0.3s ease;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  transition: all 0.3s ease;
}

.mobile-nav-toggle span::before { top: -8px; }
.mobile-nav-toggle span::after { top: 8px; }

.mobile-nav-toggle.open span {
  background: transparent;
}
.mobile-nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   PRIMARY HERO BANNER & SECTION HEADERS
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--spruce-dark);
  color: var(--pure-white);
  padding: 70px 30px;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 90, 54, 0.94) 0%, rgba(2, 71, 43, 0.88) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(166, 130, 68, 0.25);
  border: 1px solid var(--accent-gold);
  color: var(--pure-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--pure-white);
  font-family: var(--font-serif);
}

.hero-summary-2sentences {
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 880px;
  margin-bottom: 28px;
  font-weight: 400;
  border-left: 4px solid var(--accent-gold);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn-primary-gold {
  background: var(--accent-gold);
  color: var(--pure-white) !important;
  border: none;
  font-weight: bold;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary-gold:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--pure-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: bold;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--pure-white);
}

.btn-contact {
  background: var(--spruce-green);
  color: var(--pure-white) !important;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-contact:hover {
  background: var(--spruce-dark);
}

/* ==========================================================================
   PAGE LAYOUT ARCHITECTURE (MAIN CONTAINER & SIDEBAR)
   ========================================================================== */
.page-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.page-container.single-col {
  grid-template-columns: 1fr;
}

.main-content {
  background: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.page-header-block {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--bg-subtle-gray);
}

.page-category-tag {
  color: var(--spruce-green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-main-title {
  font-size: 2.2rem;
  color: var(--spruce-green);
  font-family: var(--font-serif);
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-lead-intro {
  font-size: 1.1rem;
  color: var(--charcoal-muted);
  line-height: 1.7;
}

/* Section Headings inside articles */
.article-section-title {
  font-size: 1.5rem;
  color: var(--spruce-dark);
  font-family: var(--font-serif);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-subsection-title {
  font-size: 1.2rem;
  color: var(--charcoal-text);
  margin: 24px 0 12px;
  font-weight: 700;
}

.text-paragraph {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--charcoal-text);
  line-height: 1.75;
}

/* ==========================================================================
   MANDATORY BOX: NOTRE ENGAGEMENT & MISSION INSTITUTIONNELLE
   ========================================================================== */
.box-engagement-institutionnel {
  background: var(--bg-light-gray);
  border: 2px solid var(--spruce-green);
  border-left-width: 6px;
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

.box-engagement-institutionnel .box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.box-engagement-institutionnel .box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--spruce-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.box-engagement-institutionnel .box-text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--charcoal-text);
}

/* ==========================================================================
   METRICS PANEL: SOLIDARITY INDEX
   ========================================================================== */
.metrics-panel-container {
  background: var(--spruce-dark);
  color: var(--pure-white);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  margin: 35px 0;
  border: 1px solid var(--border-green);
}

.metrics-panel-header {
  text-align: center;
  margin-bottom: 30px;
}

.metrics-panel-header h3 {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--pure-white);
  margin-bottom: 8px;
}

.metrics-panel-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: monospace;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pure-white);
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   ACTIVITY PREVIEW CARDS (POST 1-4)
   ========================================================================== */
.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 35px 0;
}

.activity-card {
  background: var(--pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.activity-card-media {
  position: relative;
  height: 200px;
  background: var(--spruce-deep);
  overflow: hidden;
}

.activity-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-card-media img {
  transform: scale(1.03);
}

.activity-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--spruce-green);
  color: var(--pure-white);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--spruce-green);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.activity-card-summary {
  font-size: 0.94rem;
  color: var(--charcoal-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.activity-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--spruce-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-card-link:hover {
  color: var(--accent-gold-dark);
}

/* ==========================================================================
   VOLUNTEER OPPORTUNITIES HUB (2026)
   ========================================================================== */
.volunteer-hub-container {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 35px 0;
}

.volunteer-hub-header {
  margin-bottom: 24px;
}

.volunteer-hub-header h3 {
  font-size: 1.4rem;
  color: var(--spruce-green);
  font-family: var(--font-serif);
  margin-bottom: 6px;
}

.volunteer-roles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.volunteer-role-item {
  background: var(--pure-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.role-details h4 {
  font-size: 1.05rem;
  color: var(--charcoal-text);
  margin-bottom: 4px;
}

.role-details p {
  font-size: 0.88rem;
  color: var(--charcoal-muted);
}

.role-badge-time {
  background: var(--bg-light-gray);
  color: var(--spruce-green);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   SIDEBAR: JOURNAL DE BORD 2026
   ========================================================================== */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-header {
  background: var(--spruce-green);
  color: var(--pure-white);
  padding: 14px 18px;
  margin: -24px -24px 20px -24px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-widget-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Timeline entries inside Journal de Bord */
.journal-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding-left: 15px;
  border-left: 2px solid var(--accent-gold);
}

.journal-entry {
  position: relative;
}

.journal-entry::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--spruce-green);
  border: 2px solid var(--pure-white);
}

.journal-date {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.journal-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal-text);
  margin-bottom: 4px;
}

.journal-desc {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  line-height: 1.55;
}

/* Institutional Badge Widget in Sidebar */
.institutional-badge-widget {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  padding: 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
}

.institutional-badge-widget strong {
  color: var(--spruce-green);
}

/* ==========================================================================
   DOUBLE COLUMN REGISTRY (ARCHIVES / FAUNA & FLORA INVENTORY)
   ========================================================================== */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.registry-card {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.registry-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.registry-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--spruce-green);
  font-size: 0.85rem;
}

.registry-status {
  background: rgba(0, 90, 54, 0.12);
  color: var(--spruce-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.registry-title {
  font-size: 1.05rem;
  color: var(--charcoal-text);
  margin-bottom: 8px;
}

.registry-meta {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
}

/* ==========================================================================
   GOVERNANCE & BUREAU PROFILES
   ========================================================================== */
.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.leader-card {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.leader-avatar-box {
  width: 90px;
  height: 90px;
  background: var(--spruce-dark);
  color: var(--pure-white);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  border: 3px solid var(--accent-gold);
}

.leader-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--spruce-green);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: left;
}

.leader-disclosure {
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--charcoal-muted);
  font-style: italic;
}

/* ==========================================================================
   FORMS (CONTACT & VOLUNTEER REGISTRATION)
   ========================================================================== */
.form-card-container {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 30px 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #CCC;
  border-radius: var(--radius-sm);
  background: var(--pure-white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--spruce-green);
  box-shadow: 0 0 0 3px rgba(0, 90, 54, 0.15);
}

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

.form-submit-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--charcoal-muted);
  max-width: 480px;
}

/* ==========================================================================
   TABLES & FINANCIAL LEDGERS
   ========================================================================== */
.data-table-wrapper {
  overflow-x: auto;
  margin: 25px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

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

.data-table th {
  background: var(--spruce-dark);
  color: var(--pure-white);
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--charcoal-text);
}

.data-table tr:nth-child(even) {
  background: var(--bg-light-gray);
}

.data-table tr:hover {
  background: rgba(166, 130, 68, 0.08);
}

/* ==========================================================================
   MEDIA BANNER WRAPPER (ARTICLE INLINE IMAGES)
   ========================================================================== */
.article-media-banner {
  margin: 28px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--spruce-deep);
}

.article-media-banner img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* ==========================================================================
   FOOTER ARCHITECTURE
   ========================================================================== */
.site-footer {
  background: var(--spruce-dark);
  color: var(--pure-white);
  padding: 60px 30px 30px;
  margin-top: auto;
  border-top: 4px solid var(--accent-gold);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h4 {
  color: var(--pure-white);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 6px;
  display: inline-block;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-details a {
  color: var(--accent-gold);
}

.footer-compliance-row {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  margin-top: 25px;
}

.compliance-notice-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
  text-align: justify;
}

.footer-bottom-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-legal-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.footer-legal-nav a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .page-container {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .governance-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
    height: 70px;
  }

  #reading-progress-bar {
    top: 70px;
  }

  .clock-widget-badge {
    display: none; /* Hide analog clock in compact mobile header for clean layout */
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-right {
    gap: 10px;
  }

  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* Sliding mobile navigation */
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--spruce-dark);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    z-index: 9999;
  }

  .main-nav.open {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-item > a {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: none;
    margin-top: 4px;
    padding: 4px 0;
  }

  .dropdown-menu li a {
    padding: 12px 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-summary-2sentences {
    font-size: 1rem;
  }

  .main-content {
    padding: 24px 16px;
  }

  .page-main-title {
    font-size: 1.7rem;
  }

  .activity-cards-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

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