@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.b7df97614c8e.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.fb6579a30024.woff2") format("woff2");
}

:root {
  --kc-green: #0aa83f;
  --kc-green-dark: #0b3519;
  --kc-green-deep: #076728;
  --kc-green-pale: #e5f1e5;
  --kc-paper: #f5f6f1;
  --kc-white: #ffffff;
  --kc-ink: #101710;
  --kc-muted: #536056;
  --kc-line: #cbd3cb;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body.public-site {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--kc-ink);
  background: var(--kc-white);
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

p {
  margin-top: 0;
  color: #29322b;
  font-size: 1.1rem;
  line-height: 1.62;
}

a {
  color: var(--kc-green-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--kc-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(10, 168, 63, 0.38);
  outline-offset: 3px;
}

.public-main {
  background: var(--kc-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--kc-white);
  border-bottom: 1px solid var(--kc-line);
}

.site-header .navbar {
  min-height: 96px;
}

.navbar-brand {
  display: inline-block;
  padding: 0;
  text-decoration: none;
}

.navbar-brand picture {
  display: block;
}

.brand-logo {
  display: block;
  width: 138px;
  height: auto;
}

.navbar-toggler {
  border: 1px solid var(--kc-line);
  border-radius: 0;
  padding: 0.42rem 0.56rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  position: relative;
  padding: 0.6rem 0.86rem !important;
  color: var(--kc-ink);
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 120ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0.86rem;
  bottom: 0.32rem;
  left: 0.86rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--kc-green-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

.nav-link.nav-pill {
  margin-left: 0.4rem;
  padding-right: 1.15rem !important;
  padding-left: 1.15rem !important;
  color: var(--kc-white);
  background: var(--kc-green-dark);
  border: 1px solid var(--kc-green-dark);
  border-radius: 999px;
}

.nav-link.nav-pill:hover,
.nav-link.nav-pill.active {
  color: var(--kc-white);
  background: var(--kc-green-deep);
}

.nav-link.nav-pill::after {
  display: none;
}

.hero-banner {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--kc-white);
  border-bottom: 1px solid var(--kc-line);
}

.hero-banner > picture {
  position: absolute;
  inset: 0 0 0 50%;
  display: block;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.hero-banner-overlay {
  display: none;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(6.5rem, 10vw, 9rem);
  padding-bottom: 5rem;
}

.hero-banner-content h1 {
  max-width: 48%;
  margin-bottom: 1.8rem;
  color: var(--kc-ink);
  font-size: clamp(3.5rem, 6.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero-banner-content h1::first-line {
  color: var(--kc-green-deep);
}

.hero-banner-content p {
  max-width: 38%;
  margin-bottom: 0;
  color: var(--kc-ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.35;
}

.hero-wrap {
  padding: 0;
  background: var(--kc-white);
  border-bottom: 1px solid var(--kc-line);
}

.hero-copy {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.hero-copy-full {
  width: 100%;
}

.hero-copy-full .hero-body {
  max-width: none;
}

.hero-kicker {
  margin-bottom: 1.4rem;
  color: var(--kc-green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h2 {
  max-width: 15ch;
  margin-bottom: 1.7rem;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
}

.hero-body {
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.btn-kc-primary,
.btn-kc-secondary {
  min-height: 46px;
  padding: 0.68rem 1.25rem;
  border: 1px solid var(--kc-ink);
  border-radius: 999px;
  font-weight: 700;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.btn-kc-primary {
  color: var(--kc-white);
  background: var(--kc-green-dark);
  border-color: var(--kc-green-dark);
}

.btn-kc-primary:hover {
  color: var(--kc-white);
  background: var(--kc-green-deep);
  border-color: var(--kc-green-deep);
}

.btn-kc-secondary {
  color: var(--kc-ink);
  background: transparent;
}

.btn-kc-secondary:hover {
  color: var(--kc-white);
  background: var(--kc-ink);
}

.intro-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--kc-green-pale);
  border-bottom: 1px solid var(--kc-line);
}

.intro-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-story-image-wrap {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.hero-story-image-wrap picture {
  display: block;
  height: 100%;
}

.hero-story-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-highlight {
  align-self: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.hero-highlight h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-highlight p {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.content-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--kc-paper);
}

.content-section-spacious {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.section-title {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  color: var(--kc-ink);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
}

.service-card {
  height: 100%;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--kc-ink);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 500;
}

.service-card p,
.contact-card p,
.what-we-do p {
  max-width: 68ch;
}

.about-panel p {
  max-width: none;
}

.service-subtitle {
  margin-bottom: 1rem;
  color: var(--kc-green-deep);
  font-size: 1rem;
  font-weight: 700;
}

.what-we-do {
  margin-top: 1rem !important;
  color: var(--kc-white);
  background: var(--kc-green-dark);
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: stretch;
}

.what-we-do-grid p {
  align-self: center;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 5rem);
  color: #eef8ef;
}

.what-we-do-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-header {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  color: var(--kc-white);
  background: var(--kc-green-dark);
  border-bottom: 0;
}

.page-header-large {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.page-header h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  color: var(--kc-white);
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  font-weight: 400;
}

.page-header p {
  max-width: 65ch;
  margin-bottom: 0;
  color: #dce9de;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.about-grid {
  display: grid;
  gap: 0;
}

.about-panel {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--kc-ink);
}

.about-panel:first-child {
  border-top-width: 2px;
}

.about-panel h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.about-panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.about-photo-wrap {
  margin: 0;
  overflow: hidden;
}

.about-photo-wrap img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-panel-highlight {
  margin-top: 0;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  background: transparent;
  border-top: 1px solid var(--kc-ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem) 1.5rem;
  align-items: start;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  margin: 0;
  background: var(--kc-white);
  border-bottom: 1px solid var(--kc-ink);
}

.gallery-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.gallery-card picture img {
  height: 100%;
  aspect-ratio: auto;
}

.gallery-caption {
  margin: 0;
  padding: 1.15rem 1.25rem 1.4rem;
  color: var(--kc-ink);
  font-size: 1rem;
  line-height: 1.4;
}

.contact-card {
  height: 100%;
  padding: 2rem 0 0;
  border-top: 2px solid var(--kc-ink);
}

.contact-card h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

.contact-card h2:first-of-type {
  margin-top: 0;
}

.contact-photo-wrap {
  margin: 0 0 2rem;
  overflow: hidden;
}

.contact-photo-wrap picture {
  display: block;
}

.contact-photo-wrap img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.contact-map-wrap {
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--kc-line);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-map-wrap-full {
  width: 100%;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  border-color: var(--kc-ink);
}

.contact-map-wrap-full iframe {
  height: clamp(360px, 42vw, 540px);
}

.download-panel,
.search-shell {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  border-top: 2px solid var(--kc-ink);
}

.download-panel {
  max-width: 820px;
}

.download-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.download-store-button {
  min-width: 190px;
  text-align: center;
}

.contact-form .form-label,
.stock-form .form-label {
  font-weight: 700;
}

.contact-form .form-control,
.stock-form .form-control,
.stock-form .form-select {
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  background: var(--kc-white);
  border: 1px solid #7e887f;
  border-radius: 0;
}

.contact-form textarea.form-control {
  min-height: 190px;
}

.contact-form .form-control:focus,
.stock-form .form-control:focus,
.stock-form .form-select:focus {
  border-color: var(--kc-green-deep);
  box-shadow: 0 0 0 3px rgba(10, 168, 63, 0.14);
}

.public-updates-banner {
  padding: 0.65rem 0;
  color: #113719;
  font-weight: 700;
  background: #dff5e4;
  border-bottom: 1px solid #88bd92;
}

.public-updates-banner.severity-warning {
  color: #513d00;
  background: #fff4c7;
  border-bottom-color: #d3ad35;
}

.public-updates-banner.severity-critical {
  color: #741111;
  background: #ffe2e2;
  border-bottom-color: #cf7b7b;
}

.public-updates-banner a {
  margin-left: 0.5rem;
  font-weight: 800;
}

.search-meta {
  color: var(--kc-muted);
  font-size: 1rem;
}

.search-results {
  display: grid;
  gap: 0;
}

.stock-result {
  padding: 1.5rem 0;
  background: transparent;
  border-top: 1px solid var(--kc-line);
}

.stock-result:first-child {
  margin-top: 1.5rem;
  border-top-color: var(--kc-ink);
}

.stock-result h3 {
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}

.stock-result .meta {
  margin-bottom: 0.7rem;
  color: var(--kc-muted);
  font-size: 1rem;
}

.stock-result .notes,
.stock-result .extra {
  margin-bottom: 0.6rem;
  color: #27452d;
  font-size: 0.98rem;
}

.stock-result .search-hit {
  padding: 0 0.08rem;
  color: inherit;
  font-weight: 800;
  background: #dbef74;
}

.stock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.stock-links a {
  padding: 0.34rem 0.8rem;
  color: var(--kc-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--kc-ink);
  border-radius: 999px;
}

.stock-links a:hover {
  color: var(--kc-white);
  background: var(--kc-ink);
}

.search-pagination .btn {
  border-radius: 999px;
}

.site-footer {
  margin: 0;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #edf5ee;
  background: #102318;
  border-top: 1px solid #24472e;
}

.site-footer h2 {
  margin-bottom: 1.1rem;
  color: var(--kc-white);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.site-footer p {
  color: #cdd9cf;
  font-size: 1rem;
  line-height: 1.55;
}

.site-footer a {
  color: #bde6c4;
}

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

.footer-brand-logo {
  display: block;
  width: min(100%, 250px);
  height: auto;
  margin-bottom: 1.5rem;
}

@media (max-width: 1199px) {
  .hero-banner-content h1 {
    font-size: clamp(3.3rem, 6.6vw, 5rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .site-header .navbar {
    min-height: 84px;
  }

  .navbar-collapse {
    margin: 0.9rem 0 0.3rem;
    padding: 0.7rem 0 1rem;
    border-top: 1px solid var(--kc-line);
  }

  .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .nav-link::after {
    right: auto;
    left: 0;
    width: 2rem;
  }

  .nav-link.nav-pill {
    display: inline-block;
    margin: 0.5rem 0 0;
    padding-right: 1.15rem !important;
    padding-left: 1.15rem !important;
  }

  .hero-banner {
    min-height: 760px;
  }

  .hero-banner > picture {
    inset: auto 0 0;
    height: 46%;
  }

  .hero-banner-content {
    padding-top: 4.5rem;
  }

  .hero-banner-content h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 10vw, 5.4rem);
  }

  .hero-banner-content p {
    max-width: 80%;
  }

  .intro-band-grid {
    grid-template-columns: 1fr;
  }

  .what-we-do-grid,
  .about-panel-layout {
    grid-template-columns: 1fr;
  }

  .what-we-do-grid img {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  p {
    font-size: 1.03rem;
    line-height: 1.58;
  }

  .brand-logo {
    width: 112px;
  }

  .hero-banner {
    min-height: 680px;
  }

  .hero-banner > picture {
    height: 43%;
  }

  .hero-banner-content {
    padding-top: 3.5rem;
  }

  .hero-banner-content h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .hero-banner-content p {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .hero-copy {
    padding: 3.5rem 0;
  }

  .hero-copy h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .hero-actions .btn,
  .download-store-button {
    width: 100%;
  }

  .hero-highlight {
    padding: 2rem 1.25rem;
  }

  .hero-story-image {
    min-height: 280px;
  }

  .section-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .service-card {
    padding-bottom: 2.5rem;
  }

  .what-we-do-grid p {
    padding: 2rem 1.25rem;
  }

  .what-we-do-grid img {
    min-height: 240px;
  }

  .page-header h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .about-panel-layout {
    gap: 2rem;
  }

  .about-photo-wrap img,
  .contact-photo-wrap img {
    height: 240px;
  }

  .about-panel-highlight {
    padding: 2.5rem 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap iframe {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
