:root {
  --ink: #102421;
  --muted: #5d706c;
  --soft: #f4faf7;
  --soft-2: #eef6f1;
  --line: rgba(17, 74, 62, 0.16);
  --accent: #0d6b5f;
  --accent-2: #0a8754;
  --accent-3: #d6eadf;
  --gold: #c99a3d;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(12, 62, 53, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 46%, #ffffff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(13, 107, 95, 0.13), rgba(13, 107, 95, 0));
  pointer-events: none;
  z-index: -2;
}
body::before { top: -160px; right: -120px; }
body::after { bottom: -220px; left: -170px; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(13, 107, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 107, 95, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at top right, black, transparent 65%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.section-pad {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
  padding: 82px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 18px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(13, 107, 95, 0.12);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #0d6b5f, #0a8754);
  box-shadow: 0 14px 30px rgba(13, 107, 95, 0.24);
}
.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #24443e;
  font-size: 0.92rem;
  transition: 180ms ease;
}
.nav-links a:hover { background: rgba(13, 107, 95, 0.08); color: var(--accent); }
.nav-links .nav-cta {
  background: #123f37;
  color: #fff;
  padding: 11px 15px;
  box-shadow: 0 12px 28px rgba(18, 63, 55, 0.18);
}
.nav-links .nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 70px;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 {
  font-size: clamp(2.7rem, 6vw, 5.75rem);
  letter-spacing: -0.065em;
  max-width: 920px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  letter-spacing: -0.045em;
}
h3 { font-size: 1.18rem; letter-spacing: -0.02em; }
p { margin: 0; color: var(--muted); }
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  max-width: 640px;
  margin: 24px 0 0;
  color: #405c56;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(13, 107, 95, 0.22);
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, #0d6b5f, #0a8754);
  color: white;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(13, 107, 95, 0.22);
}
.btn.ghost { background: rgba(255, 255, 255, 0.72); color: var(--accent); }
.identity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.identity-strip span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: #31514b;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}
.hero-slider {
  position: relative;
  height: 610px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 107, 95, 0.14);
  background: #e8f2ee;
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 800ms ease, transform 1000ms ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(7, 50, 43, 0.28));
}
.glass-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}
.slide-caption {
  position: absolute;
  z-index: 4;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(13, 52, 45, 0.16);
}
.slide-caption strong { display: block; color: var(--ink); font-size: 1.08rem; }
.slide-caption span { color: #46645e; font-size: 0.95rem; }
.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(13, 107, 95, 0.24);
  cursor: pointer;
}
.slider-dots button.active { width: 30px; background: var(--accent); }

.metric-band {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.metric-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f6fbf8);
  border: 1px solid rgba(13, 107, 95, 0.12);
  min-height: 158px;
}
.metric-number,
.metric-suffix {
  color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.metric-card p { margin-top: 16px; color: #38524c; font-weight: 650; }

.section-heading { max-width: 840px; margin-bottom: 36px; }
.section-heading.narrow { max-width: 720px; text-align: center; margin: 0 auto 42px; }
.section-heading p:not(.eyebrow) { margin-top: 16px; font-size: 1.05rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: start;
}
.service-tabs {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(18px);
}
.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--soft-2);
  padding: 8px;
  border-radius: 18px;
}
.tab-btn {
  border: 0;
  border-radius: 13px;
  padding: 12px 10px;
  background: transparent;
  color: #46645e;
  font-weight: 800;
  cursor: pointer;
}
.tab-btn.active { background: #fff; color: var(--accent); box-shadow: 0 8px 22px rgba(13, 107, 95, 0.10); }
.tab-panel { display: none; padding: 28px; }
.tab-panel.active { display: block; animation: panelIn 320ms ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #e5f5ef, #fff);
  color: var(--accent);
  border: 1px solid rgba(13, 107, 95, 0.15);
  font-weight: 900;
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.tab-panel p { margin: 14px 0 18px; }
.clean-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.clean-list li {
  padding-left: 28px;
  position: relative;
  color: #34544e;
  font-weight: 640;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(10, 135, 84, 0.12);
}

.visual-practice { padding-top: 50px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(13, 107, 95, 0.08);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.process-step::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 24px solid rgba(13, 107, 95, 0.06);
}
.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #e9f6ef;
  font-weight: 900;
  margin-bottom: 18px;
}
.process-step p { margin-top: 12px; }
.toolkit-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}
.toolkit-strip div {
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.toolkit-strip div:last-child { border-right: 0; }
.toolkit-strip strong { display: block; color: var(--accent); }
.toolkit-strip span { color: var(--muted); font-size: 0.85rem; }

.project-lab { padding-top: 50px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: #31514b;
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
}
.filter-btn.active { background: var(--accent); color: white; border-color: transparent; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px rgba(13, 107, 95, 0.09);
  transition: opacity 220ms ease, transform 220ms ease;
}
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 28px 68px rgba(13, 107, 95, 0.14); }
.project-card img { width: 100%; height: 230px; object-fit: cover; }
.project-content { padding: 22px; }
.tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f6ef;
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  margin-bottom: 12px;
}
.project-content p { margin-top: 12px; }
.project-content ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-content li {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(13, 107, 95, 0.07);
  color: #355852;
  font-size: 0.82rem;
  font-weight: 700;
}

.evidence-panel {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 36px;
  align-items: stretch;
}
.evidence-image,
.evidence-copy {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.evidence-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.evidence-copy { padding: 34px; }
.evidence-copy .eyebrow { margin-bottom: 10px; }
.evidence-copy h2 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); }
.timeline { margin-top: 28px; display: grid; gap: 14px; }
.timeline div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 12px 18px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(244, 250, 247, 0.84);
  border: 1px solid rgba(13, 107, 95, 0.1);
}
.timeline span { color: var(--accent); font-weight: 900; }
.timeline strong { display: block; }
.timeline p { grid-column: 2; margin-top: -8px; font-size: 0.94rem; }

.deliverables-zone { padding-top: 46px; }
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.deliverable-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(245,250,247,0.86));
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(13, 107, 95, 0.08);
  min-height: 210px;
}
.deliverable-card span {
  display: inline-flex;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 16px;
}
.deliverable-card p { margin-top: 12px; }

.gallery-section { padding-top: 48px; }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #e8f2ee;
  box-shadow: 0 18px 44px rgba(13, 107, 95, 0.10);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.38));
}
.gallery-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  text-align: left;
  font-weight: 800;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.contact-section { padding-top: 58px; }
.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 20%, rgba(10, 135, 84, 0.15), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238,246,241,0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.contact-card p:not(.eyebrow) { margin-top: 16px; font-size: 1.03rem; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

.site-footer {
  width: min(var(--max), calc(100% - 42px));
  margin: 20px auto 34px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #37534d;
}
.site-footer strong { display: block; }
.site-footer span { color: var(--muted); }
.site-footer a { color: var(--accent); font-weight: 800; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 28, 24, 0.76);
  backdrop-filter: blur(12px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-height: 88vh;
  max-width: min(1180px, 96vw);
  border-radius: 24px;
  box-shadow: 0 28px 100px rgba(0,0,0,0.35);
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.16);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }

@media (max-width: 1060px) {
  .hero, .intro-grid, .evidence-panel, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-visual { min-height: auto; }
  .hero-slider { height: 540px; }
  .metric-band, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .deliverable-grid { grid-template-columns: repeat(2, 1fr); }
  .toolkit-strip { grid-template-columns: repeat(3, 1fr); }
  .toolkit-strip div { border-bottom: 1px solid var(--line); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .site-header { padding: 10px 14px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: white;
    color: var(--accent);
    padding: 10px 13px;
    border-radius: 999px;
    font-weight: 800;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 14px; }
  .section-pad { width: min(100% - 28px, var(--max)); padding: 60px 0; }
  .hero-slider { height: 440px; border-radius: 30px; }
  .slide-caption { left: 18px; right: 18px; bottom: 18px; }
  .metric-band, .process-grid, .project-grid, .deliverable-grid, .toolkit-strip { grid-template-columns: 1fr; }
  .tab-buttons { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 185px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .timeline div { grid-template-columns: 1fr; }
  .timeline p { grid-column: 1; margin-top: 0; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-actions, .identity-strip { flex-direction: column; }
  .btn { width: 100%; }
  .hero-slider { height: 360px; }
  .metric-card { min-height: 132px; }
  .tab-buttons, .gallery-masonry { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .contact-card { padding: 26px; border-radius: 26px; }
}

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