/* ==========================================================================
   Sortscouttempon Design System
   Aesthetic: Dark glassmorphism (dark ground, frosted panels, neon violet & orange edges)
   Card Style: Data Grid (stats block built into card header)
   Layout: Cards in row one after another with descriptive technical images
   Spacing Scale: 4px, 8px, 16px, 24px, 32px, 40px, 64px
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-core: #0b0d13;
  --bg-surface: #121520;
  --bg-panel: rgba(22, 26, 40, 0.75);
  --bg-panel-border: rgba(139, 92, 246, 0.25);
  --bg-panel-hover: rgba(26, 31, 48, 0.85);

  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-violet: #8b5cf6;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);
  --accent-orange: #f97316;
  --accent-orange-glow: rgba(249, 115, 22, 0.35);
  --accent-cyan: #06b6d4;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #f97316;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Spacing Scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-64: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-core);
  color: var(--text-primary);
  overflow-x: auto;
}

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

/* Containers and Bounds */
.content-bounds {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
  min-width: 0;
}

/* Header (Not Sticky) */
.site-header {
  height: 64px;
  background-color: rgba(11, 13, 19, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  position: static;
  width: 100%;
}

.header-container {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
  min-width: 0;
}

.brand-name {
  overflow-wrap: anywhere;
}

.brand-glyph {
  flex-shrink: 0;
}

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

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-24);
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
}

.nav-link.is-active {
  position: relative;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-orange));
  border-radius: var(--radius-pill);
}

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

.cta-pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(249, 115, 22, 0.2));
  color: var(--text-primary);
  border: 1px solid var(--accent-violet);
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-pill:hover {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-orange));
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

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

/* Main Region */
main {
  flex: 1 0 auto;
}

/* ==========================================================================
   CARD STYLE: DATA GRID (ROW-AFTER-ROW LAYOUT WITH IMAGES)
   A stats block built directly into the card header with illustrated media.
   ========================================================================== */
.dg-card {
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  min-width: 0;
}

.dg-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.22);
}

/* Cards arranged in row one after another with side-by-side technical image */
.dg-card-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: stretch;
  width: 100%;
}

/* Descriptive Image Wrapper & Graphic Elements */
.card-media-col {
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.95) 0%, rgba(9, 11, 19, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
  padding: var(--space-24);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.card-media-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.12) 0%, transparent 75%);
  pointer-events: none;
}

.card-media-img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.dg-card:hover .card-media-img {
  transform: scale(1.02);
}

.card-content-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.card-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  background: rgba(14, 18, 28, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-16) var(--space-24);
  gap: var(--space-16);
  min-width: 0;
}

.grid-metric {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.metric-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.card-body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  gap: var(--space-24);
  min-width: 0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-action {
  margin-top: auto;
}

.card-link {
  color: var(--accent-violet);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.card-link:hover {
  color: var(--accent-orange);
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.orb-primary {
  width: 400px;
  height: 400px;
  background: var(--accent-violet);
  top: -100px;
  left: 10%;
}

.orb-secondary {
  width: 350px;
  height: 350px;
  background: var(--accent-orange);
  bottom: -50px;
  right: 15%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-40);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  min-width: 0;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-violet);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.hero-subheading {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-8);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-orange));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-violet);
}

/* Hero Visual & Sphere Simulation */
.hero-visual {
  min-width: 0;
}

.prism-sphere-card {
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stats-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-16);
}

.stat-cell {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.375rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-violet);
}

.stat-caption {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}

.sphere-simulation {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed transparent;
}

.ring-violet {
  width: 150px;
  height: 150px;
  border-color: rgba(139, 92, 246, 0.6);
  animation: spin-slow 20s linear infinite;
}

.ring-orange {
  width: 190px;
  height: 90px;
  border-color: rgba(249, 115, 22, 0.5);
  animation: spin-reverse 15s linear infinite;
}

.core-nucleus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-orange));
  box-shadow: 0 0 25px var(--accent-violet);
}

.particle-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-primary);
  box-shadow: 0 0 10px #ffffff;
}

.p1 { top: 25%; left: 30%; animation: float-1 4s ease-in-out infinite alternate; }
.p2 { bottom: 20%; right: 28%; animation: float-2 5s ease-in-out infinite alternate; }
.p3 { top: 65%; left: 20%; animation: float-1 6s ease-in-out infinite alternate; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes float-1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes float-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, -10px); }
}

.card-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.meta-label {
  color: var(--text-muted);
}

.meta-data {
  font-family: var(--font-mono);
  color: var(--accent-orange);
  font-weight: 600;
}

/* ==========================================================================
   Explorer / Cards Grid Section: ROW ONE AFTER ANOTHER
   ========================================================================== */
.explorer-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.section-lead-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-40) auto;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-8);
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: var(--space-16);
  overflow-wrap: anywhere;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Linear stacked row layout: cards rendered one after another */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

/* ==========================================================================
   Supporting Section (Index)
   ========================================================================== */
.supporting-matrix-section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 17, 26, 0.5);
}

.supporting-panel {
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.panel-narrative {
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.panel-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.panel-body-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.panel-key-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  margin-top: var(--space-16);
}

.point-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.point-title {
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   Inner Pages Common Styles
   ========================================================================== */
.page-title-banner {
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, transparent 100%);
}

.breadcrumb-nav {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: var(--space-16);
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--accent-orange);
}

.page-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-16);
  overflow-wrap: anywhere;
}

.page-standfirst {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.content-layout-grid {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-40);
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  min-width: 0;
}

.prose-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 1rem;
}

.prose-block h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-16);
  line-height: 1.3;
}

.prose-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.prose-block a {
  color: var(--accent-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-block a:hover {
  color: var(--accent-orange);
}

.bullet-list {
  padding-left: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.bullet-list li {
  color: var(--text-muted);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  margin-top: var(--space-16);
}

.pc-col {
  background: rgba(0, 0, 0, 0.2);
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.pc-head {
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-8);
}

.sidebar-block {
  min-width: 0;
}

/* Data Table Styling */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

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

.data-table th,
.data-table td {
  padding: var(--space-16);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: top;
}

.data-table th {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.data-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Legal Page Layout */
.legal-layout {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  max-width: 900px;
}

/* Contact Page Layout & Form */
.contact-grid-container {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-40);
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.req-star {
  color: var(--accent-orange);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

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

.field-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
}

.field-error-msg[hidden] {
  display: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-violet);
  flex-shrink: 0;
}

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

.form-feedback-banner {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-feedback-banner.is-success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #a7f3d0;
}

.form-feedback-banner.is-error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.info-line-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.info-line-group a {
  color: var(--accent-violet);
  text-decoration: none;
}

.info-line-group a:hover {
  color: var(--accent-orange);
}

/* Static Map Block */
.static-map-wrapper {
  margin-top: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.map-frame {
  position: relative;
  width: 100%;
  height: 220px;
  background: #111420;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-pin-pulse {
  position: relative;
  width: 18px;
  height: 18px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-orange);
}

.map-pin-pulse::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-label-badge {
  position: absolute;
  bottom: var(--space-16);
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.map-caption {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #080a0f;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-64);
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-24) var(--space-64) var(--space-24);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-40);
  min-width: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.footer-legal-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-meta-detail {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

.footer-meta-detail a {
  color: var(--accent-violet);
  text-decoration: none;
}

.footer-meta-detail a:hover {
  color: var(--accent-orange);
}

.footer-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-24) 0;
  background-color: #06070a;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: var(--space-16);
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 17, 26, 0.96);
  border-top: 1px solid var(--accent-violet);
  backdrop-filter: blur(12px);
  padding: var(--space-24);
  z-index: 9999;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.cookie-banner[hidden] {
  display: none;
}

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

.cookie-message {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.5;
  min-width: 0;
}

.cookie-actions {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cookie-accept {
  background: var(--accent-violet);
  color: #ffffff;
}

.btn-cookie-accept:hover {
  background: #7c3aed;
}

.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-prefs {
  background: transparent;
  color: var(--text-muted);
}

.btn-cookie-prefs:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive & Mobile Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .panel-key-points {
    grid-template-columns: 1fr;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .dg-card-row {
    grid-template-columns: 260px 1fr;
  }
}

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

  .card-media-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-24) var(--space-16);
  }

  .card-media-img {
    max-height: 200px;
  }
}

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

  .header-container {
    padding: 0 var(--space-16);
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0b0d13;
    padding: var(--space-40) var(--space-24);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    z-index: 500;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-24);
    width: 100%;
  }

  .nav-link {
    font-size: 1.125rem;
  }

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

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

/* Specific Breakpoint Below 400px (Down to 320px) */
@media (max-width: 399px) {
  .content-bounds {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

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

  .card-data-grid {
    grid-template-columns: 1fr;
    padding: var(--space-16);
  }

  .card-body {
    padding: var(--space-16);
  }

  .panel-narrative {
    padding: var(--space-16);
  }

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

  .btn-cookie {
    width: 100%;
  }
}

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