/* Self-hosted Plus Jakarta Sans (variable weight 200-800) — no Google CDN,
   so visitor IPs are never sent to a third party. See docs/SECURITY-AUDIT.md. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-green-dark: #0f2e14;
  --color-green: #1a5c32;
  --color-green-mid: #2d7a4a;
  --color-green-light: #3d9a62;
  --color-accent: #c8f0a0;
  --color-surface: #fafaf8;
  --color-surface-elevated: #ffffff;
  --color-border: #e8e6e1;
  --color-border-strong: #d4d1c9;
  --color-charcoal: #141414;
  --color-muted: #5f5f5c;
  --color-white: #ffffff;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max-width: 76rem;
  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 46, 20, 0.06);
  --shadow: 0 8px 30px rgba(15, 46, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 46, 20, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-green-dark);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 230, 225, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-charcoal);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--color-green);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.625rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.nav-toggle:hover {
  background: var(--color-white);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 1px;
  transition: transform 0.2s var(--ease);
}

.site-nav {
  position: relative;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.site-nav.is-open ul {
  display: flex;
}

.site-nav a {
  display: block;
  padding: 0.625rem 0.875rem;
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-surface);
  color: var(--color-green);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 0.125rem;
    background: transparent;
  }

  .site-nav a {
    padding: 0.5rem 0.875rem;
  }

  .site-nav a[aria-current="page"] {
    background: rgba(26, 92, 50, 0.08);
    color: var(--color-green-dark);
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(15, 46, 20, 0.88) 0%, rgba(26, 92, 50, 0.78) 55%, rgba(45, 122, 74, 0.72) 100%),
    url("/images/hero-background.jpg")
      center / cover no-repeat;
  color: var(--color-white);
  min-height: clamp(28rem, 75vh, 40rem);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6rem;
  background: linear-gradient(to top, var(--color-surface), transparent);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.dev-only {
  display: none;
}

.is-preview .dev-only {
  display: block;
}

.hero h1 {
  font-size: clamp(2.125rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.hero .lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.92;
  max-width: 36rem;
  margin: 0 0 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-green-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-green-dark);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-green {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(26, 92, 50, 0.35);
}

.btn-green:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(15, 46, 20, 0.35);
}

/* Sections */
main > section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

main > section:nth-child(even) {
  background: var(--color-surface-elevated);
}

.section-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-mid);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  margin: 0 0 1rem;
  color: var(--color-charcoal);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-header p {
  color: var(--color-muted);
  margin: 0;
  font-size: 1.0625rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-strong);
}

main > section:nth-child(even) .card {
  background: var(--color-surface);
}

.card h3 {
  margin: 0 0 0.625rem;
  color: var(--color-charcoal);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-green), var(--color-green-light));
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Trust bar */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -1.75rem;
  padding: 0 0 2rem;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.trust-bar span + span::before {
  content: none;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 100%);
  color: var(--color-white);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.cta-band h2 {
  margin: 0 0 0.875rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 0 1.75rem;
  opacity: 0.9;
  font-size: 1.0625rem;
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-band a:not(.btn) {
  color: var(--color-white);
  font-weight: 600;
}

.cta-band a:not(.btn):hover {
  color: var(--color-accent);
}

.cta-band .btn-primary {
  color: var(--color-green-dark);
}

.cta-band .btn-primary:hover {
  color: var(--color-green-dark);
}

.cta-band .cta-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
  max-width: none;
}

/* Page header (inner pages) */
.page-header {
  background:
    linear-gradient(125deg, var(--color-green-dark) 0%, var(--color-green) 100%);
  color: var(--color-white);
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.125rem;
  max-width: 36rem;
  margin-inline: auto;
}

.page-header--muted {
  background: linear-gradient(125deg, #3d3d3a 0%, #5f5f5c 100%);
}

.status-contact {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
}

.status-contact a {
  color: var(--color-white);
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-green-light), var(--color-green-dark));
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.875rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Contact form */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

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

.contact-info h2 {
  color: var(--color-charcoal);
  margin-top: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-info dl {
  margin: 1.5rem 0 0;
}

.contact-info dt {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-top: 1.25rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.375rem 0 0;
  color: var(--color-charcoal);
  font-size: 1.0625rem;
}

.contact-form {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green-light);
  box-shadow: 0 0 0 3px rgba(61, 154, 98, 0.2);
  background: var(--color-white);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.text-center {
  text-align: center;
}

.text-center--spaced {
  text-align: center;
  margin-top: 2rem;
}

.dev-only-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Commercial highlight */
.highlight-box {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green-mid) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.highlight-box h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlight-box p {
  margin: 0;
  line-height: 1.65;
}

.highlight-box--spaced {
  margin-top: 2rem;
}

.highlight-box ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.highlight-box li {
  margin-bottom: 0.5rem;
}

.highlight-box li::marker {
  color: var(--color-accent);
}

.highlight-box a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.highlight-box a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.75rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.site-footer h3 {
  color: var(--color-white);
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

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

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

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

  .btn:hover,
  .card:hover,
  .gallery-item:hover {
    transform: none;
  }
}
