:root {
  /* Swiss Minimalist Palette */
  --c-bg: #ffffff;
  --c-text: #111111;
  --c-text-muted: #555555;
  --c-accent: #e63946;
  --c-border: #e5e5e5;
  --c-card-bg: #f9f9f9;
  
  /* Spacing Scale */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-40: 40px;
  --s-64: 64px;
  
  /* Typography */
  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --f-size-base: 16px;
  --f-size-lg: 20px;
  --f-size-h1: clamp(2.5rem, 6vw, 5rem);
  --f-size-h2: clamp(2rem, 4vw, 3.5rem);
  --f-size-h3: clamp(1.5rem, 3vw, 2.5rem);
  
  /* Layout */
  --max-w: 1200px;
  --header-h-desktop: 64px;
  --header-h-mobile: 48px;
}

@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;
  }
}

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

html {
  font-family: var(--f-sans);
  font-size: var(--f-size-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .brand-name, nav a, .word-wrap {
  overflow-wrap: anywhere;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--f-size-h1); margin-bottom: var(--s-40); }
h2 { font-size: var(--f-size-h2); margin-bottom: var(--s-24); }
h3 { font-size: var(--f-size-h3); margin-bottom: var(--s-16); }

p {
  margin-bottom: var(--s-24);
  max-width: 70ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--c-accent);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-16);
}

main {
  flex: 1;
  padding-top: var(--header-h-desktop);
}

.section {
  padding: var(--s-64) 0;
}

.section-lg {
  padding: calc(var(--s-64) * 2) 0;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h-desktop);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-weight: 800;
  font-size: var(--f-size-lg);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  min-width: 0;
}

.brand svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-desktop {
  display: flex;
  gap: var(--s-24);
  align-items: center;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-compact {
  background: var(--c-text);
  color: var(--c-bg);
  padding: var(--s-8) var(--s-16);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-compact:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

/* Mobile Nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-8);
  margin-right: -var(--s-8);
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--c-text);
}

.nav-mobile-overlay {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    height: var(--header-h-mobile);
  }
  main {
    padding-top: var(--header-h-mobile);
  }
  .nav-desktop {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
  
  .nav-mobile-overlay.is-open {
    display: block;
    position: fixed;
    top: var(--header-h-mobile);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h-mobile));
    background: var(--c-bg);
    z-index: 99;
    padding: var(--s-24) var(--s-16);
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
  }

  .nav-mobile-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-24);
  }

  .nav-mobile-overlay a {
    font-size: var(--f-size-h3);
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* Horizontal Split Card */
.card-grid {
  display: grid;
  gap: var(--s-40);
  grid-template-columns: 1fr;
}

.card-horizontal {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  min-width: 0;
}

.card-media {
  flex: 0 0 40%;
  min-width: 0;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.card-content {
  flex: 1;
  min-width: 0;
  padding: var(--s-40);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-16);
}

.card-title {
  margin-bottom: var(--s-16);
  font-size: var(--f-size-h3);
}

.card-excerpt {
  margin-bottom: var(--s-24);
  color: var(--c-text-muted);
}

.card-cta {
  align-self: flex-start;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--c-text);
  padding-bottom: var(--s-4);
}

.card-cta:hover {
  border-color: var(--c-accent);
}

@media (max-width: 767px) {
  .card-horizontal {
    flex-direction: column;
  }
  .card-content {
    padding: var(--s-24);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--s-64) 0 var(--s-40);
  background: var(--c-card-bg);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-40);
  margin-bottom: var(--s-64);
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: var(--s-24);
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--s-12);
}

.footer-col a {
  color: var(--c-text-muted);
}

.footer-col a:hover {
  color: var(--c-text);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-24);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-16);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Article/Page Content styling */
.article-header {
  margin-bottom: var(--s-64);
}

.article-meta {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  margin-bottom: var(--s-24);
  display: block;
}

.article-body h2 {
  margin-top: var(--s-64);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--s-16);
}

.article-body h3 {
  margin-top: var(--s-40);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--s-24);
  padding-left: var(--s-24);
  max-width: 70ch;
}

.article-body li {
  margin-bottom: var(--s-8);
}

/* Stats Block */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-24);
  margin: var(--s-40) 0;
  padding: var(--s-40);
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}

.stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* Forms */
.form-group {
  margin-bottom: var(--s-24);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--s-8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: var(--s-16);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
  color: var(--c-text);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-text);
}

.form-control.is-invalid {
  border-color: var(--c-accent);
}

.btn-submit {
  background: var(--c-text);
  color: var(--c-bg);
  padding: var(--s-16) var(--s-40);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: inline-block;
}

.btn-submit:hover {
  background: var(--c-accent);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--c-text);
  color: var(--c-bg);
  padding: var(--s-24);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.875rem;
  max-width: 100%;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-12);
}

.btn-cookie {
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-bg);
  padding: var(--s-8) var(--s-16);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie:hover {
  background: transparent;
  color: var(--c-bg);
}

.btn-cookie.outline {
  background: transparent;
  color: var(--c-bg);
}
.btn-cookie.outline:hover {
  background: var(--c-bg);
  color: var(--c-text);
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-actions {
    flex-shrink: 0;
  }
}

/* Map Block */
.static-map {
  width: 100%;
  height: 400px;
  background: #eee;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.static-map svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--c-accent);
  border-radius: 50%;
  border: 4px solid var(--c-bg);
}

/* Table */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: var(--s-24);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  padding: var(--s-16);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
th {
  font-weight: 700;
  background: var(--c-card-bg);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-64 { margin-top: var(--s-64); }