/* Champlain Access Technologies — palette drawn from the logo */
:root {
  --forest: #1b4433;   /* dark center peak */
  --kelly:  #2fa36b;   /* mid peak / wave */
  --sage:   #7ed0a0;   /* light peak */
  --ink:    #16281f;
  --muted:  #4d5f56;
  --bg:     #ffffff;
  --bg-alt: #f3f8f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { line-height: 1.2; }

h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--forest); }

.section-lead {
  color: var(--muted);
  max-width: 46rem;
  margin: 0.75rem 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: var(--kelly); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--sage); color: var(--forest); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e3ece7;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--forest);
}
.brand-mark { height: 44px; width: auto; }
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--kelly);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav { margin-left: auto; display: flex; gap: 1.25rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.site-nav a:hover { color: var(--kelly); }

/* Hero */
.hero {
  background:
    linear-gradient(rgba(20, 48, 36, 0.55), rgba(20, 48, 36, 0.68)),
    url("assets/photos/hero-waterfront.jpg") center 65% / cover no-repeat;
  color: #fff;
  padding: clamp(5rem, 14vw, 9rem) 0;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  max-width: 46rem;
}
.hero-sub {
  margin: 1.25rem 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 38rem;
  color: #e8f3ec;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Services */
.services { padding: 4.5rem 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-alt);
  border: 1px solid #e3ece7;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
}
.card-icon {
  width: 42px;
  height: 42px;
  color: var(--kelly);
  margin-bottom: 0.9rem;
}
.card h3 { color: var(--forest); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* About */
.about { background: var(--bg-alt); padding: 4.5rem 0; }
.about-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}
.about-text p { margin: 1rem 0; color: var(--muted); }
.about-points { list-style: none; margin-top: 1.25rem; }
.about-points li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75em;
  height: 0.75em;
  background: var(--kelly);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); /* little mountain */
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Partners */
.partners { padding: 4rem 0; text-align: center; }
.partners-lead { margin-left: auto; margin-right: auto; }
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.partner-logos img { width: auto; }
.logo-amag { height: 68px; }
.logo-meraki { height: 34px; }

/* Contact */
.contact {
  background: var(--forest);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.contact h2 { color: #fff; }
.contact p { margin: 0.75rem auto 0; max-width: 38rem; color: #d7e8de; }
.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}
.contact-area {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Footer */
.site-footer {
  background: #123023;
  color: #cfe0d6;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer-inner { display: flex; align-items: center; gap: 1rem; }
.footer-mark { height: 40px; width: auto; }
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-call { margin-left: auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}
