/* ==========================================================================
   POPSVAULTIESLISTCRATE - SYSTEM STYLESHEET
   Aesthetic: Dark Glassmorphism (Monochrome with Metallic Silver Accents)
   Card Style: Row Style Glass Overlay
   ========================================================================== */

:root {
  /* Strict Monochrome & Metallic Silver Palette */
  --bg-primary: #0a0c0e;
  --bg-secondary: #121519;
  --bg-elevated: #1a1e24;
  --panel-glass: rgba(18, 22, 28, 0.78);
  --panel-glass-subtle: rgba(26, 32, 40, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-silver: rgba(210, 218, 226, 0.35);
  --border-glow: rgba(255, 255, 255, 0.6);
  
  --silver-accent: #d2dae2;
  --silver-light: #f1f2f6;
  --silver-mute: #808e9b;
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #d2dae2 50%, #718093 100%);
  
  --text-main: #f5f6fa;
  --text-muted: #a4b0be;
  --text-dark: #0a0c0e;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.55);
  --shadow-elevated: 0 16px 48px 0 rgba(0, 0, 0, 0.75);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-stack);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(210, 218, 226, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--silver-light);
  outline-offset: 3px;
}

/* Long unbroken word wrapping */
h1, h2, h3, h4, h5, h6,
.brand-text,
.primary-nav,
.nav-link {
  overflow-wrap: anywhere;
}

/* Images & Media */
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   HEADER (56-64px desktop, 48-52px mobile, non-sticky)
   ========================================================================== */
.site-header {
  height: 64px;
  background: rgba(10, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  min-width: 0;
  flex-shrink: 0;
}

.brand-mark {
  border: 1px solid var(--border-silver);
  border-radius: 6px;
  background: #000;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

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

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

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--silver-light);
}

.nav-link.active {
  color: var(--silver-light);
  border-bottom-color: var(--silver-accent);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--silver-gradient);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   BUTTONS & MICRO UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  min-width: 0;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--silver-gradient);
  color: var(--text-dark);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-silver);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--silver-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--silver-accent);
  border-color: var(--border-silver);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 6px 14px;
}

/* ==========================================================================
   HERO SECTION (With Hero Image Component)
   ========================================================================== */
.hero-section {
  padding: 56px 24px 48px;
  background: linear-gradient(180deg, rgba(26, 30, 36, 0.45) 0%, rgba(10, 12, 14, 0.85) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero-container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--silver-accent);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-silver);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 20%, #a4b0be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image Container */
.hero-media-wrapper {
  margin-top: 40px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-silver);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 24px rgba(255, 255, 255, 0.05);
  background-color: var(--bg-secondary);
}

.hero-media-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.08);
  transition: transform 0.6s ease;
}

.hero-media-wrapper:hover .hero-media-img {
  transform: scale(1.02);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.15) 0%, rgba(10, 12, 14, 0.65) 100%);
  pointer-events: none;
}

.hero-media-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--silver-light);
  z-index: 2;
}

.hero-caption-pill {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.hero-caption-text {
  color: var(--silver-mute);
}

/* ==========================================================================
   SECTIONS & LAYOUT CONTAINERS
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  width: 100%;
}

.section-header {
  margin-bottom: 40px;
  text-align: left;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--silver-accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* ==========================================================================
   CARD STYLE: ROW STYLE (Horizontal layout with media on left, panel on right)
   Consistent Dark Glassmorphism overlay presentation
   ========================================================================== */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.glass-overlay-card.card-row {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-silver);
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
  min-width: 0;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-overlay-card.card-row:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.1);
}

.glass-overlay-card .card-media-wrap {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #06080a;
}

.glass-overlay-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.1) grayscale(40%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.glass-overlay-card.card-row:hover .card-media {
  transform: scale(1.05);
  filter: brightness(0.82) contrast(1.1) grayscale(15%);
}

.glass-overlay-card .card-overlay-panel {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 32px 36px;
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-light);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.card-link-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver-light);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-silver);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card-link-btn:hover {
  color: #ffffff;
  border-color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   SUPPORTING SECTION
   ========================================================================== */
.supporting-section {
  padding-top: 0;
}

.supporting-panel {
  background: var(--panel-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-glass);
}

.supporting-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 820px;
  margin-bottom: 32px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.stat-unit {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver-accent);
}

/* ==========================================================================
   ARTICLE & SUBPAGE PROSE CONTENT
   ========================================================================== */
.article-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

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

.prose-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.prose-content h2:first-of-type {
  margin-top: 0;
}

.prose-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--silver-light);
}

.prose-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: #c8d1dc;
  margin-bottom: 20px;
}

.prose-content ul, 
.prose-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: #c8d1dc;
}

.prose-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.prose-content strong {
  color: #ffffff;
}

.article-media-box {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-silver);
  background: var(--bg-secondary);
}

.article-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9);
}

.article-media-box figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(18, 22, 28, 0.9);
  border-top: 1px solid var(--border-subtle);
}

/* Data Table Specs */
.table-responsive {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--panel-glass);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  min-width: 500px;
}

.specs-table th {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-silver);
}

.specs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: #c8d1dc;
}

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

/* Sidebar Box */
.sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sidebar-card {
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-glass);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.specs-list span {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-list strong {
  color: var(--silver-light);
  margin-top: 2px;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 10px;
}

.sidebar-links a {
  color: var(--silver-accent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}

.sidebar-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-layout {
  max-width: 900px;
}

.legal-layout .prose-content {
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-glass);
}

.legal-layout a {
  color: var(--silver-accent);
  text-decoration: underline;
}

.legal-layout a:hover {
  color: #ffffff;
}

/* ==========================================================================
   CONTACT PAGE & MAP BLOCK
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-col,
.contact-form-col {
  min-width: 0;
}

.info-card,
.form-container {
  background: var(--panel-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-glass);
}

.info-card-title,
.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.info-card-desc,
.form-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.info-meta-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.info-meta-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.meta-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver-accent);
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.9375rem;
  color: #c8d1dc;
  line-height: 1.5;
}

.meta-value a {
  color: var(--silver-light);
  text-decoration: none;
}

.meta-value a:hover {
  text-decoration: underline;
}

/* Styled Static Map Block */
.static-map-block {
  height: 220px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-silver);
  overflow: hidden;
  position: relative;
  background-color: #0d1117;
}

.map-inner {
  width: 100%;
  height: 100%;
  position: relative;
  background: 
    radial-gradient(circle at 60% 45%, rgba(210, 218, 226, 0.15) 0%, transparent 60%),
    linear-gradient(45deg, #10141a 25%, #18202a 25%, #18202a 50%, #10141a 50%, #10141a 75%, #18202a 75%, #18202a 100%);
  background-size: 100% 100%, 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-marker-pin {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.marker-core {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
}

.marker-pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: marker-pulse 2s infinite ease-out;
}

@keyframes marker-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-label-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 12, 14, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.map-label-badge strong {
  color: #ffffff;
}

.map-label-badge span {
  color: var(--text-muted);
}

/* Form Styles */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver-light);
  margin-bottom: 6px;
}

.form-label .req {
  color: #ff6b6b;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(10, 12, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9375rem;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--silver-accent);
  background: rgba(18, 22, 28, 0.95);
  box-shadow: 0 0 0 3px rgba(210, 218, 226, 0.15);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ff4757;
}

.field-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ff6b6b;
  margin-top: 4px;
}

.field-error-msg.is-visible {
  display: block;
}

.form-checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--silver-light);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.form-status-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 12px;
}

.form-status-alert.is-success {
  background: rgba(46, 213, 115, 0.15);
  border: 1px solid #2ed573;
  color: #2ed573;
}

.form-status-alert.is-error {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid #ff4757;
  color: #ff6b6b;
}

/* ==========================================================================
   FOOTER (Identical across all pages)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #07090b;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 24px 32px;
}

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

.footer-primary-block {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col {
  min-width: 0;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 440px;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--silver-light);
}

.footer-bottom-block {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.footer-legal-details {
  font-size: 0.8125rem;
  color: var(--silver-mute);
  line-height: 1.6;
}

.footer-legal-details a {
  color: var(--silver-accent);
  text-decoration: none;
}

.footer-legal-details a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Fixed bottom)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 12, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-silver);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8);
  padding: 16px 24px;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 400px;
  min-width: 0;
}

.cookie-banner-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cookie-banner-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-banner-desc a {
  color: var(--silver-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Down to 320px, sub-400px rule, no overflow mask)
   ========================================================================== */
@media (max-width: 992px) {
  .article-container {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-primary-block {
    grid-template-columns: 1fr 1fr;
  }

  .glass-overlay-card.card-row {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 820px) {
  .glass-overlay-card.card-row {
    grid-template-columns: 1fr;
  }

  .glass-overlay-card .card-media-wrap {
    min-height: 240px;
    height: 240px;
  }

  .glass-overlay-card .card-overlay-panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 22px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta-btn {
    display: none;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(10, 12, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-silver);
    padding: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
  }

  .primary-nav.is-visible {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
  }

  .hero-media-img {
    height: 280px;
  }

  .hero-media-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .footer-primary-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .supporting-panel {
    padding: 32px 20px;
  }

  .info-card, 
  .form-container {
    padding: 24px 18px;
  }
}

/* Breakpoint below 400px */
@media (max-width: 399px) {
  .site-header {
    height: 48px;
  }
  
  .header-inner {
    padding: 0 16px;
  }
  
  .brand-text {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 36px 16px 24px;
  }

  .hero-media-img {
    height: 200px;
  }

  .section-container {
    padding: 40px 16px;
  }

  .glass-overlay-card .card-media-wrap {
    min-height: 190px;
    height: 190px;
  }

  .glass-overlay-card .card-overlay-panel {
    padding: 18px 16px;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner-actions button {
    width: 100%;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* Accessibility: Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}