:root {
  --ink: #173235;
  --evergreen: #276749;
  --moss: #6a8a42;
  --water: #2c7da0;
  --field: #f5f8f3;
  --paper: #ffffff;
  --line: #d7e2d7;
  --muted: #5f7169;
  --shadow: 0 18px 48px rgba(23, 50, 53, 0.14);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--field); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px); background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--evergreen); border-radius: 8px; font-weight: 800; letter-spacing: 0; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 0.82rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-nav a { padding: 9px 13px; border-radius: 8px; color: var(--muted); font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--evergreen); background: #e8f1e7; }

.hero { position: relative; min-height: 640px; display: grid; align-items: end; padding: clamp(36px, 7vw, 88px); overflow: hidden; color: #fff; background: var(--ink); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 50, 53, 0.92), rgba(23, 50, 53, 0.56) 48%, rgba(39, 103, 73, 0.22)); }
.hero-media { position: absolute; inset: 0; background-image: url("assets/site-plan.svg"); background-position: center; background-size: cover; opacity: 0.84; }
.hero-content { position: relative; z-index: 1; max-width: 730px; }
.eyebrow { margin: 0 0 10px; color: var(--moss); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero .eyebrow { color: #b9d98d; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.15rem; }
.hero-copy { max-width: 640px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.88); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-note { max-width: 580px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.hero-actions, .portfolio-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--evergreen); }
.button.primary:hover { background: #1f553b; }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.hero .button.secondary { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }

.section, .page-hero { padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 56px); }
.section { max-width: 1240px; margin: 0 auto; }
.two-column { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(28px, 5vw, 68px); }
.prose p { margin: 0 0 18px; color: var(--muted); font-size: 1.08rem; }
.feature-band { max-width: none; background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-intro { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.process-grid, .project-grid, .service-list, .package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.process-card, .service-item, .project-card, .contact-card, .detail-block, .contact-panel, .package-item { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.process-card, .service-item, .package-item { padding: 22px; }
.process-card span { display: inline-block; margin-bottom: 18px; color: var(--water); font-weight: 900; }
.process-card p, .service-item p, .package-item p, .detail-block p { margin: 12px 0 0; color: var(--muted); }
.services .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.package-section {
  max-width: none;
  background: #f9fbf7;
}

.package-item {
  border-left: 5px solid var(--water);
}


.page-hero { display: grid; gap: 22px; min-height: 350px; align-content: end; background: linear-gradient(135deg, #e8f1e7 0%, #f5f8f3 45%, #dfeef2 100%); }
.page-hero.compact { min-height: 320px; }
.page-hero p { max-width: 790px; margin: 16px 0 0; color: var(--muted); font-size: 1.13rem; }
.portfolio-toolbar { justify-content: space-between; margin-top: 0; margin-bottom: 24px; }
.portfolio-toolbar .button.secondary { box-shadow: none; }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card { overflow: hidden; box-shadow: var(--shadow); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfeef2; }
.project-card-body { padding: 20px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--evergreen); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.project-card p { margin: 10px 0 0; color: var(--muted); }
.project-card ul { display: grid; gap: 7px; margin: 16px 0 0; padding-left: 18px; color: var(--ink); }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); background: #fff; }

.contact-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); align-items: end; }
.contact-card { padding: 24px; box-shadow: var(--shadow); }
.contact-card a { display: inline-block; margin-top: 12px; color: var(--evergreen); font-weight: 800; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 24px; align-items: start; }
.contact-panel { display: grid; align-content: start; gap: 14px; padding: 28px; box-shadow: var(--shadow); }
.contact-panel p { margin: 0; color: var(--muted); }
.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}

.contact-panel .email-display {
  display: inline-flex;
  min-height: 46px;
  flex: 1 1 280px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: #e8f1e7;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.copy-email-button {
  flex: 0 0 auto;
}

.copy-status {
  min-height: 1.4em;
  color: var(--evergreen) !important;
  font-weight: 800;
}
.contact-details { display: grid; gap: 16px; }
.detail-block { padding: 22px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(18px, 4vw, 56px); color: rgba(255, 255, 255, 0.78); background: var(--ink); }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; font-weight: 800; }

@media (max-width: 900px) {
  .site-header, .two-column, .contact-hero, .contact-layout { grid-template-columns: 1fr; }
  .site-header { display: grid; }
  .process-grid, .project-grid, .package-grid, .services .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 580px; }
}

@media (max-width: 620px) {
  .brand { align-items: flex-start; }
  .site-nav { width: 100%; }
  .site-nav a { flex: 1; text-align: center; }
  .hero { min-height: 560px; }
  .process-grid, .project-grid, .package-grid, .services .service-list { grid-template-columns: 1fr; }
}
