:root {
  --green: #1b5732;
  --green-deep: #123d24;
  --green-soft: #e8f3ec;
  --ink: #2c3338;
  --heading: #243038;
  --muted: #5c656c;
  --line: #e3e7e4;
  --paper: #f5f7f6;
  --white: #ffffff;
  --header: 5rem;
  --display: "Montserrat", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--heading);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection { background: #b7dcc4; color: var(--green-deep); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 80;
  background: var(--green);
  color: white;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.wrap {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink); max-width: 40rem; }

.rule {
  width: 46px;
  height: 4px;
  background: #1c2124;
  border: 0;
  margin: 1.15rem 0 1.25rem;
}

h2 .mute { font-weight: 600; color: var(--heading); }
h2 .em { font-weight: 800; color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.btn:hover { background: var(--green-deep); }

.btn-line {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green);
}

.btn-line:hover { background: var(--green); color: white; }

.btn-white {
  background: white;
  color: var(--green);
}

.btn-white:hover { background: var(--green-soft); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #8fbfa2;
}

.link:hover { border-bottom-color: var(--green); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-bar {
  height: var(--header);
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}
.logo-mark { width: 92px; height: auto; flex: none; }
.logo-word { height: 34px; width: auto; max-width: min(440px, 36vw); }

.nav { display: flex; align-items: center; gap: 1.25rem; }

.nav a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading);
}

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

.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 0.55rem 0.85rem;
  border-radius: 2px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover { background: var(--green-deep); color: white !important; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--heading);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
body.nav-open .nav-toggle-lines { background: transparent; }
body.nav-open .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: white;
}

.wedge {
  position: absolute;
  top: 0;
  right: 7vw;
  width: 150px;
  height: 96px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero-intro { max-width: 44rem; padding: 2.6rem 0 3.2rem; }

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.15rem);
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.hero h1 span { display: block; }

.hero .lede { margin-top: 1.2rem; max-width: 38rem; }

.hero-banner {
  margin: 0;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: clamp(200px, 38vw, 440px);
  object-fit: cover;
  object-position: center 42%;
}

.hero-banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.2rem 8vw 0.85rem;
  background: linear-gradient(transparent, rgba(8, 28, 16, 0.78));
  color: white;
  font-size: 0.95rem;
}

.page-hero {
  position: relative;
  padding: 3.4rem 0 2.6rem;
  background: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  max-width: 16ch;
}

.page-hero .lede { margin-top: 1rem; color: var(--ink); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.section { padding: 4.5rem 0; }
.section-tight { padding-top: 0; }

.on-green {
  background: var(--green);
  color: white;
}

.on-green h2,
.on-green h2 .mute,
.on-green h2 .em,
.on-green h3 { color: white; }

.on-green p { color: #e7f2eb; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.block-title {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comp-grid a,
.comp-grid li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0;
  color: white;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.comp-grid a:hover { color: #d7f0e1; }

.tri {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid white;
  flex: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cards.cols-2 { grid-template-columns: 1fr 1fr; }

.chapter-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.chapter .cards { margin-top: 0.4rem; }

.card {
  background: white;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div { padding: 1rem 1rem 1.15rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 1.02rem; }
.card:hover h3 { color: var(--green); }

.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients li {
  border: 1px solid var(--line);
  background: white;
  padding: 0.45rem 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--heading);
}

.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vm article {
  background: white;
  color: var(--ink);
  padding: 1.4rem 1.3rem 1.5rem;
}

.vm h3 {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  margin-bottom: 0.85rem;
}

.vm p { color: var(--ink); }

.contact-band { padding: 4.5rem 0; }

.contact-card {
  background: white;
  color: var(--ink);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.6rem;
  max-width: 640px;
}

.on-green .contact-card,
.on-green .contact-card li,
.on-green .contact-card p { color: var(--ink); }

.contact-card h2 { font-size: 1.6rem; color: var(--green); margin-bottom: 0.8rem; }

.contact-card a { color: var(--green); font-weight: 700; text-decoration: none; }
.contact-card a.btn { color: white; }
.contact-card a.btn-line { color: var(--green); background: white; }
.contact-card a.btn-line:hover { color: white; background: var(--green); }
.contact-card li { margin: 0.35rem 0; }

.subnav {
  position: sticky;
  top: var(--header);
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.subnav-inner {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar { display: none; }

.subnav-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

.subnav a {
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  color: var(--heading);
  border-bottom: 2px solid transparent;
  padding: 0.35rem 0;
}

.subnav a.is-active { color: var(--green); border-bottom-color: var(--green); }

.chapter {
  padding: 3.4rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 3.4rem);
}

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
  gap: 1.5rem 2.5rem;
}

.chapter h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--green); }
.chapter .index-no {
  font-family: var(--display);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.clean-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.clean-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1rem;
  border-top: 1px solid var(--line);
}
.clean-list li::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--green);
  position: absolute;
  left: 0;
  top: 0.95rem;
}

.note { margin-top: 1rem; color: var(--muted); }

.photo-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.photo-split img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.work-block + .work-block { margin-top: 2.4rem; }
.work-block h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.4rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 70vh;
}

.contact-aside,
.contact-main { padding: 3rem 5vw 3.2rem; }

.contact-aside { background: var(--green); color: white; }
.contact-aside h1 { color: white; font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 800; margin: 0.2rem 0 0.8rem; }
.contact-aside p { color: #e7f2eb; }
.contact-aside a { color: white; }

.visit { margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1rem; }
.visit h2 { color: white; font-size: 1.2rem; margin-bottom: 0.55rem; }
address { font-style: normal; }
.visit a { display: inline-block; margin-top: 0.35rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.45); }

.contact-main { background: var(--paper); }
.contact-main h2 { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800; margin-bottom: 0.45rem; }
.form-panel { max-width: 40rem; margin-top: 1.3rem; }

.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c5cdc8;
  border-radius: 0;
  padding: 0.65rem 0;
  font: inherit;
  color: var(--ink);
}

.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-bottom-color: var(--green); }

.field select {
  appearance: none;
  padding-right: 1.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.inquiry-copy {
  white-space: pre-wrap;
  background: white;
  border: 1px solid var(--line);
  padding: 1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  margin: 1rem 0;
}

#quote { scroll-margin-top: calc(var(--header) + 0.5rem); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 0.85rem; }

.site-footer {
  background: var(--green-deep);
  color: #e7f2eb;
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1.1fr;
  gap: 1.8rem;
}

.site-footer img { width: 132px; margin-bottom: 0.8rem; }
.footer-name { color: white; font-family: var(--display); font-weight: 700; margin-bottom: 0.4rem; }
.footer-label {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7dcc4;
}

.site-footer a { display: block; text-decoration: none; color: #e7f2eb; padding: 0.15rem 0; }
.site-footer a:hover { color: white; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
}

.missing {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  background: var(--paper);
}

.missing h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; color: var(--green); margin-bottom: 0.6rem; }

html.js .reveal {
  transform: translateY(12px);
  transition: transform 0.45s ease;
}

html.js .reveal.in { transform: none; }

@media (max-width: 980px) {
  .page-hero-grid,
  .split,
  .chapter-grid,
  .photo-split,
  .contact-layout,
  .footer-grid,
  .vm { grid-template-columns: 1fr; }
  .wedge { right: 1rem; width: 90px; height: 58px; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html.js .nav-toggle { display: inline-flex; }
  html.js .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.3rem 0 0.55rem;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(18, 40, 24, 0.12);
    visibility: hidden;
    pointer-events: none;
  }
  html.js body.nav-open .nav { visibility: visible; pointer-events: auto; }
  html.js .nav a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    padding: 0.72rem 1.25rem;
  }
  html.js .nav a.nav-cta {
    align-self: flex-start;
    font-size: 0.95rem;
    color: white !important;
    margin: 0.35rem 1.25rem 0.4rem;
  }
  html:not(.js) .header-bar { height: auto; flex-wrap: wrap; padding: 0.7rem 0; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .wrap { width: min(1140px, calc(100% - 1.4rem)); }
  .section { padding: 3.2rem 0; }
  .cards,
  .cards.cols-2,
  .comp-grid,
  .field-row { grid-template-columns: 1fr; }
  .contact-aside,
  .contact-main { padding: 2.2rem 1.15rem 2.4rem; }
  .logo-mark { width: 72px; }
  .logo-word { height: 22px; max-width: 42vw; }
  .hero-intro { padding: 1.8rem 0 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transform: none; }
}

@media (min-width: 981px) {
  .chapter-index { position: sticky; top: calc(var(--header) + 4rem); align-self: start; }
}
