:root {
  --bulma-family-primary: 'Karla', sans-serif;
  --bulma-family-secondary: 'Nunito', serif;
  --bulma-radius: 0px;
  --bulma-scheme-main: #fbf3ef;
  --bulma-text: #0a1508;
  --bulma-control-border-width: 1px;
  --site-primary: #015800;
  --site-primary-light: #5d8f56;
  --site-primary-dark: #003800;
  --site-secondary: #72754c;
  --site-accent: #bd4046;
  --site-background: #fbf3ef;
  --site-surface: #fffaf6;
  --site-text: #0a1508;
  --site-text-muted: #4f584e;
  --site-card-shadow: 0 12px 32px rgba(0,0,0,0.08);
  --site-button-shadow: 0 4px 12px rgba(0,0,0,0.06);
  --site-divider: #d9ddd2;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fbf3ef;
  color: #0a1508;
  font-family: var(--bulma-family-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bulma-family-secondary);
  letter-spacing: -0.03em;
}

.button.is-primary {
  background-color: #015800;
  border-color: #015800;
  color: #fff;
}

.button.is-primary:hover,
.button.is-primary:focus {
  background-color: #003800;
  border-color: #003800;
  color: #fff;
}

.button.is-link {
  background-color: #015800;
  color: #fff;
}

.has-text-primary {
  color: #015800 !important;
}

.has-background-primary {
  background-color: #015800 !important;
}

a {
  color: #015800;
}

a:hover {
  color: #003800;
}

.navbar-item:hover,
.navbar-item:focus {
  color: #015800;
}

.navbar,
.card,
.button,
.input,
.textarea,
.image img,
.box {
  border-radius: 0 !important;
}

.card {
  box-shadow: var(--site-card-shadow);
  border: 1px solid rgba(10, 21, 8, 0.08);
  background: var(--site-surface);
}

.button {
  box-shadow: var(--site-button-shadow);
  border-radius: 8px !important;
  font-weight: 700;
}

.input,
.textarea {
  border-radius: 8px !important;
  border-color: rgba(10, 21, 8, 0.18);
  box-shadow: none;
}

.input:focus,
.textarea:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.125em rgba(1, 88, 0, 0.12);
}

.site-navbar {
  background: rgba(255, 250, 246, 0.96);
  border-bottom: 1px solid rgba(10, 21, 8, 0.08);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
}

.site-navbar .navbar-brand {
  justify-content: center;
}

.site-navbar .navbar-item img {
  max-height: 3.5rem;
}

.nav-split-left,
.nav-split-right {
  align-items: center;
}

.nav-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-editorial {
  position: relative;
  overflow: hidden;
}

.hero-editorial::before,
.hero-editorial::after,
.section-shape::before,
.section-shape::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-editorial::before {
  width: 14rem;
  height: 14rem;
  background: rgba(93, 143, 86, 0.12);
  top: 2rem;
  right: 8%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.hero-editorial::after {
  width: 10rem;
  height: 10rem;
  border: 2px solid rgba(189, 64, 70, 0.18);
  bottom: 12rem;
  left: 4%;
}

.hero-frame {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  box-shadow: var(--site-card-shadow);
  border: 1px solid rgba(10, 21, 8, 0.08);
  background: var(--site-surface);
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlap-card {
  position: relative;
  margin-top: -5rem;
  z-index: 3;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--site-secondary);
  font-weight: 700;
}

.display-xl {
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
}

.display-lg {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}

.section-alt-surface {
  background: var(--site-surface);
  position: relative;
}

.section-alt-background {
  background: var(--site-background);
  position: relative;
}

.curve-divider {
  position: relative;
}

.curve-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: radial-gradient(circle at 25px -6px, transparent 32px, var(--site-surface) 33px);
  background-size: 50px 48px;
  background-repeat: repeat-x;
}

.tile-card,
.service-card,
.contact-card {
  height: 100%;
}

.tile-card .card-content,
.service-card .card-content,
.contact-card .card-content {
  height: 100%;
}

.stat-line {
  width: 5rem;
  height: 3px;
  background: var(--site-accent);
  margin: 1rem 0;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: var(--site-surface);
  border-top: 1px solid rgba(10, 21, 8, 0.08);
  min-height: 280px;
}

.site-footer .footer-logo {
  max-width: 220px;
}

.site-footer .footer-logo img {
  max-height: 5.5rem;
}

.site-footer a {
  color: var(--site-text);
}

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

.content-page-header {
  border-bottom: 1px solid rgba(10, 21, 8, 0.08);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--site-surface);
  border: 1px solid rgba(10, 21, 8, 0.12);
  box-shadow: var(--site-card-shadow);
  padding: 1rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin-bottom: 0.75rem;
  color: var(--site-text-muted);
}

.reveal-item {
  opacity: 0;
}

@media screen and (min-width: 1024px) {
  .site-navbar .navbar-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
  }

  .site-navbar .navbar-start,
  .site-navbar .navbar-end {
    flex: 1;
  }

  .site-navbar .navbar-start {
    justify-content: flex-end;
  }

  .site-navbar .navbar-end {
    justify-content: flex-start;
  }

  .site-navbar .navbar-center {
    flex: 0 0 auto;
    padding: 0 1rem;
  }

  .hero-image-column {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 1023px) {
  .site-navbar .navbar-menu {
    background: var(--site-surface);
    border-top: 1px solid rgba(10, 21, 8, 0.08);
  }

  .hero-overlap-card {
    margin-top: -2rem;
  }

  .display-xl {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}
