:root {
  --green: #36a02d;
  --deep-green: #0f512b;
  --ink: #111111;
  --muted: #666666;
  --soft: #f6f8f5;
  --line: #e6e8e3;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Raleway, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(16px);
}
.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1.25rem;
  min-height: 76px;
}
.brand img { width: 150px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  color: #202020;
}
.site-nav a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: .7rem .95rem;
  border-radius: 4px;
}
.nav-dropdown { position: relative; padding: 1.5rem 0; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 240px;
  display: none;
  padding: .75rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dropdown-menu a {
  display: block;
  padding: .55rem .65rem;
  border-radius: 4px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.hero-compact { min-height: 43vh; }
.hero-video, .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.38));
}
.hero-content {
  position: relative;
  width: min(920px, calc(100% - 2rem));
  padding: 4rem 0;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: .96;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-compact h1 { font-size: clamp(2.1rem, 5vw, 4.5rem); }
.hero p {
  max-width: 760px;
  margin: 1.1rem auto 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1.15rem;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--white);
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .78rem;
}
.button:hover { background: var(--deep-green); border-color: var(--deep-green); }
.button-outline { background: transparent; border-color: var(--white); }
.button-light { background: var(--white); border-color: var(--white); color: var(--deep-green); }
.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}
.section-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-heading h2, .rich-content h1, .rich-content h2 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
}
.section-heading p, .rich-content h4 {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}
.skyline {
  margin: 0 auto 3rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card a { text-decoration: none; }
.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.service-card-body {
  display: grid;
  gap: .45rem;
  padding: 1.1rem;
}
.service-card strong {
  font-size: 1.15rem;
  text-transform: uppercase;
}
.service-card span span {
  color: var(--muted);
}
.service-card em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}
.attention-band {
  width: 100%;
  max-width: none;
  padding: 5.5rem max(1rem, calc((100vw - 1180px) / 2));
  background: var(--deep-green);
  color: var(--white);
}
.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}
.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}
.result-panel {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  padding: 2rem;
  background: rgba(255,255,255,.08);
}
.result-panel span {
  color: #b9e7c5;
  font-weight: 900;
  text-transform: uppercase;
}
.result-panel strong {
  display: block;
  margin-top: .6rem;
  font-size: 1.45rem;
  line-height: 1.25;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}
.logo-strip img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.testimonials {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - 1180px) / 2));
  padding-right: max(1rem, calc((100vw - 1180px) / 2));
  background: var(--soft);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testimonial-grid figure {
  margin: 0;
  padding: 1.4rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}
.testimonial-grid blockquote {
  margin: 0;
  color: #333;
}
.testimonial-grid figcaption {
  margin-top: 1rem;
  color: var(--green);
  font-weight: 900;
}
.content-section {
  max-width: 980px;
}
.rich-content {
  font-size: 1.03rem;
}
.rich-content > *:first-child { margin-top: 0; }
.rich-content h3, .rich-content h5 {
  margin: 1.6rem 0 .35rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.rich-content h5 {
  color: var(--deep-green);
  font-size: 1rem;
}
.rich-content p { color: #3f3f3f; }
.rich-content a:not(.button) {
  color: var(--deep-green);
  font-weight: 800;
}
.rich-content img {
  margin: 1.5rem auto;
  border-radius: 8px;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 2rem;
}
.feature-list h5,
.feature-list p {
  margin: 0;
}
.feature-list h5 {
  align-self: end;
}
.feature-list p {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.work-preview {
  border-top: 1px solid var(--line);
}
.filter-bar {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: .65rem .9rem;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .75rem;
}
.filter-bar button.active,
.filter-bar button:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.portfolio-grid-full {
  grid-template-columns: repeat(4, 1fr);
}
.portfolio-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.portfolio-card[hidden] { display: none; }
.portfolio-card a {
  display: grid;
  height: 100%;
  text-decoration: none;
}
.portfolio-image {
  background: #eeeeee;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-meta {
  display: grid;
  gap: .3rem;
  padding: .95rem;
}
.portfolio-meta strong {
  line-height: 1.2;
  font-size: .98rem;
}
.portfolio-meta em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
  font-size: .75rem;
}
.center-actions, .center-copy { text-align: center; }
.center-actions { margin-top: 2rem; }
.portfolio-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}
.back-link, .text-link {
  color: var(--deep-green);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}
.chip-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.chip-row span {
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: .35rem .65rem;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.portfolio-media-grid {
  display: grid;
  gap: 1.25rem;
}
.portfolio-media-grid figure {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.portfolio-media-grid img {
  width: 100%;
  max-height: 900px;
  object-fit: contain;
  margin: 0 auto;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.inline-video {
  width: 100%;
  border-radius: 8px;
  background: #000;
}
.case-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.case-nav a {
  color: var(--deep-green);
  font-weight: 800;
  text-decoration: none;
}
.post-list {
  display: grid;
  gap: 1rem;
  max-width: 900px;
}
.post-list article {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.post-list h2 {
  margin: .2rem 0;
  line-height: 1.15;
}
.post-list h2 a { text-decoration: none; }
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .85rem;
  font: inherit;
  text-transform: none;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer {
  background: #111;
  color: var(--white);
  padding: 4rem max(1rem, calc((100vw - 1180px) / 2)) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
}
.site-footer h2 {
  margin: 0 0 1rem;
  font-size: .9rem;
  text-transform: uppercase;
}
.site-footer a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin: .35rem 0;
}
.site-footer a:hover { color: #b9e7c5; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #bbbbbb;
  font-size: .85rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    align-items: stretch;
    flex-direction: column;
  }
  .site-nav.open { display: flex; }
  .nav-dropdown { padding: 0; }
  .dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: .4rem 0 0 1rem;
  }
  .service-grid, .testimonial-grid, .portfolio-grid, .portfolio-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
  .split, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand img { width: 126px; }
  .hero { min-height: 62vh; }
  .hero-compact { min-height: 34vh; }
  .section { padding: 3.5rem 0; }
  .service-grid, .testimonial-grid, .portfolio-grid, .portfolio-grid-full, .logo-strip {
    grid-template-columns: 1fr;
  }
  .portfolio-detail-head, .case-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
