:root {
  --color-bg: #FDFBF7;
  --color-surface: #FFFFFF;
  --color-primary: #70593C; /* Darker gold/brass for contrast */
  --color-primary-hover: #5A4730;
  --color-text-main: #2C2A28;
  --color-text-soft: #5F5C58;
  --color-border: #E5E0D8;
  --color-accent-sage: #E3E8E3;
  --color-error: #B33A3A;
  
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-40: 40px;
  --sp-64: 64px;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-micro: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden; /* Prevent body scrollbar, but content reflows */
}

h1, h2, h3, h4, .brand-name, .nav-link {
  overflow-wrap: anywhere;
  margin-top: 0;
  color: var(--color-text-main);
  line-height: 1.2;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

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

/* Typography Scale */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--sp-24); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--sp-24); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: var(--sp-16); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-surface);
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-surface);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-micro);
}
.btn-secondary:hover {
  background-color: var(--color-bg);
}

.btn-text {
  background: transparent;
  color: var(--color-text-soft);
  text-decoration: underline;
}

.btn-compact {
  padding: var(--sp-8) var(--sp-16);
  font-size: 0.875rem;
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--radius-sm);
}

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

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

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-weight: 700;
  color: var(--color-text-main);
}

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

.site-nav {
  display: none; /* Mobile default */
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--sp-24);
}

.nav-link {
  color: var(--color-text-main);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-main);
  padding: var(--sp-4);
  display: flex;
}

.desktop-only {
  display: none;
}

/* Mobile Menu Overlay */
.site-nav.is-open {
  display: block;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-24);
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.site-nav.is-open .nav-list {
  flex-direction: column;
  gap: var(--sp-16);
}

@media (min-width: 768px) {
  .site-header { height: 64px; }
  .menu-toggle { display: none; }
  .desktop-only { display: inline-flex; }
  .site-nav { display: block; }
}

/* Hero Section */
.hero {
  padding: var(--sp-64) 0;
  background: linear-gradient(to bottom, var(--color-accent-sage), var(--color-bg));
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  margin-bottom: var(--sp-40);
  padding: 0 var(--sp-16);
}

/* Generic Sections */
section {
  padding: var(--sp-64) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--sp-64);
}

/* Card Grid (Glass Overlay) */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-40);
  min-width: 0;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.glass-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-card);
  background-color: var(--color-surface);
  height: 400px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-24);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-8);
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-primary);
  color: var(--color-surface);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
}

.card-excerpt {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-main);
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  align-self: flex-start;
}

/* Supporting Section */
.supporting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-40);
  align-items: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .supporting-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-64);
  }
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Content Pages (Sub-pages & Legal) */
.page-header {
  background: var(--color-surface);
  padding: var(--sp-64) 0 var(--sp-40) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--sp-64);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: var(--sp-40);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-micro);
  margin-bottom: var(--sp-64);
}

.content-wrapper p {
  margin-bottom: var(--sp-24);
}

.content-wrapper h2 {
  margin-top: var(--sp-64);
  margin-bottom: var(--sp-24);
}

.content-wrapper h3 {
  margin-top: var(--sp-40);
}

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

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

.spec-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin: var(--sp-24) 0;
  background: var(--color-bg);
  padding: var(--sp-24);
  border-radius: var(--radius-sm);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--sp-4);
}
.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-weight: 600;
  color: var(--color-text-soft);
}

.spec-value {
  font-weight: 500;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-24);
}

.content-table th, .content-table td {
  text-align: left;
  padding: var(--sp-12);
  border-bottom: 1px solid var(--color-border);
}

.content-table th {
  background: var(--color-bg);
  font-weight: 600;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: var(--sp-24);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-64);
  min-width: 0;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.form-control {
  width: 100%;
  padding: var(--sp-12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(112, 89, 60, 0.2);
}

.form-control.is-invalid {
  border-color: var(--color-error);
  background-color: rgba(179, 58, 58, 0.05);
}

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

.form-control.is-invalid + .error-message {
  display: block;
}

.form-success {
  background: var(--color-accent-sage);
  color: var(--color-text-main);
  padding: var(--sp-16);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-24);
}

[hidden] {
  display: none !important;
}

/* Static Map */
.static-map {
  background: #E3E8E3; /* Soft sage */
  border-radius: var(--radius-md);
  height: 300px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.05);
  margin-top: var(--sp-24);
}

.map-road-h {
  position: absolute;
  background: #FFFFFF;
  height: 12px;
  width: 100%;
  top: 60%;
  left: 0;
}

.map-road-v {
  position: absolute;
  background: #FFFFFF;
  width: 12px;
  height: 100%;
  top: 0;
  left: 40%;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -100%);
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50% 50% 50% 0;
  transform-origin: bottom center;
  rotate: -45deg;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.map-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 50%;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-40);
  margin-bottom: var(--sp-64);
  min-width: 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-info p {
  margin: 0 0 var(--sp-8) 0;
  color: var(--color-text-soft);
  font-size: 0.9375rem;
}
.footer-info .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: var(--sp-16);
}

.footer-heading {
  margin-bottom: var(--sp-16);
  font-size: 1rem;
}

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

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

.footer-links a, .footer-legal a {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
}
.footer-links a:hover, .footer-legal a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-24);
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-24) 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  z-index: 1000;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-text {
    flex: 1;
    padding-right: var(--sp-40);
  }
}

.cookie-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-soft);
}

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

@media (max-width: 399px) {
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; }
}