:root {
  --forest: #1a2e1a;
  --forest-2: #243524;
  --bark: #2d1f11;
  --bark-2: #3d2c1a;
  --grass: #4caf50;
  --grass-2: #66bb6a;
  --leaf: #81c784;
  --sand: #f5f0e8;
  --sand-2: #ebe4d8;
  --cream: #faf8f4;
  --stone: #8d8478;
  --stone-2: #a69e94;
  --white: #ffffff;
  --black: #0f0f0f;
  --deep: #1a1a1a;
  --line: rgba(26, 46, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 64px rgba(15, 15, 15, 0.18);
  --shadow-lg: 0 32px 80px rgba(15, 15, 15, 0.22);
  --max: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--forest);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea { width: 100%; }
::selection { background: var(--grass); color: var(--white); }

.skip-link, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 0.9rem;
  margin: 0;
  clip: auto;
  background: var(--white);
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* ── Header ── */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.72rem;
  color: var(--forest);
  background: rgba(250, 248, 244, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(250, 248, 244, 0.96);
  border-color: rgba(76, 175, 80, 0.25);
  box-shadow: 0 16px 48px rgba(26, 46, 26, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: max-content;
  font-weight: 850;
}
.brand-name {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand-name .brand-accent {
  color: var(--grass);
}
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.site-nav a, .header-action {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0 0.7rem;
  color: rgba(26, 46, 26, 0.72);
  font-size: 0.88rem;
  font-weight: 760;
  transition: background 160ms ease, color 160ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(76, 175, 80, 0.1);
}
.header-action {
  color: var(--white);
  background: var(--grass);
  font-weight: 900;
}
.header-action:hover, .header-action:focus-visible { background: var(--forest); }
.nav-toggle {
  display: none;
  justify-self: end;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(76, 175, 80, 0.08);
  color: var(--forest);
}
.nav-toggle-line {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  padding: 9.4rem max(1rem, calc((100% - var(--max)) / 2)) 5.3rem;
  background: var(--forest);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.1);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 46, 26, 0.85) 0%, rgba(26, 46, 26, 0.55) 50%, rgba(26, 46, 26, 0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--grass-2);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-copy {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

/* ── Buttons ── */
.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.05rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button-primary {
  color: var(--white);
  background: var(--grass);
  box-shadow: 0 14px 36px rgba(76, 175, 80, 0.3);
}
.button-primary:hover, .button-primary:focus-visible { background: var(--forest); }
.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(255, 255, 255, 0.16); }

/* ── Signal Strip ── */
.signal-strip {
  width: min(var(--max), calc(100% - 2rem));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.signal-strip div {
  min-height: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
  background: var(--white);
}
.signal-kicker {
  margin-bottom: 0.35rem;
  color: var(--stone);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.signal-strip strong { font-size: 1.06rem; color: var(--forest); }

/* ── Sections ── */
.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}
.section-heading { margin-bottom: 2.5rem; }
.section-heading.narrow { max-width: 48rem; }
.section-heading h2, .page-hero h1 {
  margin: 0;
  font-size: 3.05rem;
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.section-heading p:last-child, .section-heading p {
  color: var(--stone);
  font-size: 1.05rem;
}
.dark-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--forest);
}
.dark-section .eyebrow { color: var(--grass-2); }
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255, 255, 255, 0.78); }

/* ── Page Hero ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 10.5rem max(1rem, calc((100% - var(--max)) / 2)) 5rem;
  background: var(--forest);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 46, 26, 0.88) 0%, rgba(26, 46, 26, 0.65) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}
.page-hero h1 {
  color: var(--white);
  max-width: 15ch;
}
.page-hero p {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}
.page-hero .hero-actions { margin-top: 2rem; }

/* ── Service Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.5rem;
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.service-card p {
  margin: 0;
  color: var(--stone);
  font-size: 0.96rem;
  line-height: 1.55;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--grass);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.portfolio-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.portfolio-card a {
  display: block;
}
.portfolio-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 300ms ease;
}
.portfolio-card:hover .portfolio-card-img {
  transform: scale(1.03);
}
.portfolio-card-body {
  padding: 1.3rem 1.5rem;
}
.portfolio-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

/* ── Portfolio Detail ── */
.portfolio-detail-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
}
.portfolio-detail-header h1 {
  font-size: 2.8rem;
  line-height: 1.05;
  margin: 0;
}
.portfolio-detail-header p {
  margin: 1rem 0 0;
  color: var(--stone);
  font-size: 1.1rem;
  max-width: 44rem;
}
.portfolio-gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.8rem;
}
.portfolio-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.portfolio-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.portfolio-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: flex;
  gap: 1rem;
}

/* ── Testimonials ── */
.testimonial-section {
  position: relative;
  overflow: hidden;
  padding: 6rem max(1rem, calc((100% - var(--max)) / 2));
  background: var(--forest);
  color: var(--white);
}
.testimonial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.testimonial-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 46, 26, 0.92), rgba(26, 46, 26, 0.7));
}
.testimonial-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}
.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  color: var(--grass-2);
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
}

/* ── About ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.value-card p {
  margin: 0;
  color: var(--stone);
  font-size: 0.94rem;
}

/* ── Contact ── */
.contact-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--forest);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  margin: 0 0 1rem;
  font-size: 2.8rem;
  line-height: 1.05;
}
.contact-info p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}
.contact-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}
.contact-point-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(76, 175, 80, 0.15);
  color: var(--grass-2);
  flex-shrink: 0;
}
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: background 160ms ease;
}
.social-link:hover { background: rgba(76, 175, 80, 0.2); }

/* ── Form ── */
.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--forest);
}
.lead-form label {
  display: grid;
  gap: 0.42rem;
}
.lead-form label span {
  color: var(--forest-2);
  font-size: 0.86rem;
  font-weight: 900;
}
.lead-form input, .lead-form select, .lead-form textarea {
  min-height: 3rem;
  padding: 0.75rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--forest);
  outline: none;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}
.form-button { width: 100%; margin-top: 0.25rem; border: 0; }
.form-status, .form-note {
  margin: 0;
  color: var(--stone);
  font-size: 0.88rem;
}

/* ── CTA Band ── */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 2.3rem; margin: 0; }
.cta-band .eyebrow { margin-bottom: 0.5rem; }

/* ── Footer ── */
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.site-footer p {
  margin: 0.65rem 0 0;
  color: var(--stone);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--stone);
  font-weight: 850;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--grass); }
.chromagora-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--stone-2);
  font-size: 0.8rem;
}
.chromagora-credit img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 160ms ease;
}
.chromagora-credit a:hover img { opacity: 1; }

/* ── Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero h1, .page-hero h1 { font-size: 3.3rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .service-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .site-header {
    grid-template-columns: auto auto;
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }
  .nav-toggle { display: block; }
  .header-action { display: none; }
  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-top: 0.75rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    justify-content: flex-start;
    min-height: 2.8rem;
  }
  .hero { min-height: auto; padding-top: 8rem; }
  .hero h1, .page-hero h1 { font-size: 2.45rem; line-height: 1.04; }
  .hero-copy, .page-hero p { font-size: 1rem; }
  .signal-strip, .about-intro, .contact-grid {
    grid-template-columns: 1fr;
  }
  .signal-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .section, .dark-section, .contact-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .about-intro, .contact-grid { gap: 2rem; }
  .section-heading h2 { max-width: 17ch; font-size: 2.08rem; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .portfolio-nav { flex-direction: column; }
}
@media (max-width: 640px) {
  .hero-actions, .button { width: 100%; }
  .signal-strip, .service-grid, .portfolio-grid, .testimonial-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  .signal-strip div { min-height: 5.4rem; }
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  .portfolio-gallery img { height: 220px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
