:root {
  /* Soft Modern Theme */
  --bg-page: #fdfaf6;
  --bg-surface: #ffffff;
  --bg-offset: #e9efe1; /* Pale sage for frames */
  --text-main: #332f2a;
  --text-muted: #5c564d;
  --accent-primary: #d68b35; /* Soft honey amber */
  --accent-hover: #b87428;
  --accent-light: #fbebd8;
  --border-light: #eae4dd;
  --danger: #d9534f;
  
  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  
  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-40: 40px;
  --sp-64: 64px;
  
  /* Radii & Shadows */
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-micro: 0 4px 16px rgba(51, 47, 42, 0.06);
  --shadow-float: 0 12px 32px rgba(51, 47, 42, 0.08);
}

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

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

body, html {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--sp-24);
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-top: 0;
  margin-bottom: var(--sp-16);
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

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

.grid {
  display: grid;
  gap: var(--sp-40);
}
.grid-cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.grid > *, .flex > * {
  min-width: 0;
}

/* Header */
.site-header {
  background-color: rgba(253, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-wrap:hover {
  color: var(--accent-hover);
}

.logo-mark {
  width: 32px;
  height: 32px;
  fill: var(--accent-primary);
}

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

.nav-desktop a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: #fff;
  padding: var(--sp-8) var(--sp-24);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-light);
}

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

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: var(--sp-8);
  cursor: pointer;
  fill: var(--text-main);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-24);
  box-shadow: var(--shadow-float);
  z-index: 50;
}

.mobile-menu.is-visible {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 900px) {
  .nav-desktop-links {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 52px;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: var(--sp-64) 0;
  text-align: center;
  background: radial-gradient(circle at top center, var(--accent-light) 0%, var(--bg-page) 70%);
}
.hero-title {
  max-width: 800px;
  margin: 0 auto var(--sp-24) auto;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--sp-40) auto;
}

/* Framed Canvas Cards (Style 2) */
.card-wrapper {
  position: relative;
  background-color: var(--bg-offset);
  border-radius: var(--radius-lg);
  display: flex;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.card-inner {
  position: relative;
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-24);
  box-shadow: var(--shadow-micro);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translate(0, 0);
  display: flex;
  flex-direction: column;
}

.card-wrapper:hover .card-inner {
  transform: translate(-10px, -10px);
  box-shadow: var(--shadow-float);
}

@media (max-width: 767px) {
  .card-wrapper {
    background-color: transparent;
  }
  .card-wrapper:hover .card-inner {
    transform: none; /* Disable offset on mobile to avoid overflow */
  }
}

.card-img-wrap {
  margin: calc(var(--sp-24) * -1);
  margin-bottom: var(--sp-24);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.card-title {
  margin-bottom: var(--sp-12);
  color: var(--text-main);
  text-decoration: none;
}

.card-excerpt {
  color: var(--text-muted);
  flex-grow: 1;
}

.card-cta {
  margin-top: var(--sp-24);
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
}

/* Content Pages */
.page-header {
  padding: var(--sp-64) 0 var(--sp-40) 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--sp-40);
}

.content-body {
  max-width: 800px;
  margin: 0 auto;
}

.content-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-40);
  box-shadow: var(--shadow-micro);
}

.content-body h2 {
  margin-top: var(--sp-40);
}

.content-body ul, .content-body ol {
  margin-bottom: var(--sp-24);
  padding-left: var(--sp-24);
}

.content-body li {
  margin-bottom: var(--sp-8);
}

.stat-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--sp-24);
  margin: var(--sp-40) 0;
  display: flex;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 150px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--sp-12);
}

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

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: var(--sp-40) 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: var(--sp-16);
  border-bottom: 1px solid var(--border-light);
}

th {
  background-color: var(--bg-page);
  font-weight: 600;
}

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

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-8);
}

.form-input, .form-textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: var(--danger);
}

.error-msg {
  display: none;
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: var(--sp-4);
}

.is-invalid + .error-msg {
  display: block;
}

/* Contact Map Block */
.static-map {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #e3ebd3 0%, #fbe3b6 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.static-map::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.4) 2px, transparent 2px);
  background-size: 20px 20px;
}

.map-marker {
  width: 48px;
  height: 48px;
  fill: var(--danger);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: var(--sp-64) 0 var(--sp-40) 0;
  margin-top: var(--sp-64);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--sp-40);
  margin-bottom: var(--sp-40);
}

.footer-col h4 {
  margin-bottom: var(--sp-16);
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--sp-8);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: var(--sp-24);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.05);
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-text {
  flex: 1 1 300px;
  font-size: 0.875rem;
  margin: 0;
}

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