:root {
  --ink: #17201e;
  --muted: #5d6964;
  --line: #dce4df;
  --paper: #f7f9f6;
  --panel: #ffffff;
  --forest: #17352d;
  --moss: #486b4e;
  --amber: #c9872e;
  --aqua: #74b7aa;
  --charcoal: #101514;
  --shadow: 0 20px 70px rgba(16, 21, 20, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.plain-page {
  background: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 249, 246, 0.94);
  box-shadow: 0 1px 0 rgba(23, 32, 30, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 0.88rem;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  color: #ffffff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.92) 0%, rgba(12, 18, 16, 0.72) 34%, rgba(12, 18, 16, 0.22) 68%, rgba(12, 18, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 18, 16, 0.58) 0%, rgba(12, 18, 16, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 90px;
  padding-bottom: 160px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--forest);
  border-color: var(--forest);
}

.button-primary:hover {
  background: #21483e;
  border-color: #21483e;
}

.button-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.contact-section .button-secondary,
.layer-section .button-secondary {
  color: var(--forest);
  background: transparent;
  border-color: var(--line);
}

.hero-facts {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(22px, 5vw, 54px);
  left: clamp(18px, 7vw, 96px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  padding: 18px;
}

.hero-facts dt {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 56px);
}

.intro-grid,
.section-heading,
.layer-panel,
.contact-section,
.site-footer {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
}

p {
  margin: 0;
}

.copy-stack {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.projects-section {
  background: #ffffff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.project-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: clamp(34px, 5vw, 58px) auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(23, 32, 30, 0.03);
}

.project-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--moss);
  font-weight: 900;
}

.project-card p {
  color: var(--muted);
}

.layer-section {
  background:
    linear-gradient(90deg, rgba(23, 53, 45, 0.06), rgba(116, 183, 170, 0.16)),
    var(--paper);
}

.layer-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(23, 53, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.layer-content {
  display: grid;
  gap: 22px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.contact-copy p {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.contact-panel {
  display: grid;
  min-width: min(420px, 100%);
  gap: 18px;
}

.business-details {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.business-details div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 15px;
  background: #ffffff;
}

.business-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.business-details dd {
  min-width: 0;
  margin: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.business-details a {
  color: var(--forest);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 56px) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--forest);
  font-weight: 800;
}

.plain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
  color: var(--ink);
}

.plain-brand .brand-mark {
  color: var(--forest);
}

.plain-main {
  padding: clamp(42px, 8vw, 86px) 18px clamp(70px, 10vw, 120px);
  border-top: 1px solid var(--line);
}

.plain-content {
  width: min(860px, 100%);
  margin: 0 auto;
}

.plain-content h1 {
  margin: 0 0 28px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.plain-content h2 {
  margin: 42px 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.plain-content p {
  color: var(--muted);
  font-size: 1.06rem;
}

.plain-content a {
  color: var(--forest);
  font-weight: 800;
}

.plain-details {
  margin-top: 18px;
}

.plain-updated {
  margin-top: 28px;
  font-size: 0.92rem;
}

.plain-footer {
  width: min(var(--max), calc(100% - 36px));
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding-top: 14px;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    margin-inline: 18px;
    padding-bottom: 210px;
  }

  .hero-facts {
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 12px 14px;
  }

  .intro-grid,
  .section-heading,
  .layer-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    min-width: 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    display: grid;
    gap: 14px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 18, 16, 0.92) 0%, rgba(12, 18, 16, 0.76) 70%, rgba(12, 18, 16, 0.48) 100%),
      linear-gradient(0deg, rgba(12, 18, 16, 0.64) 0%, rgba(12, 18, 16, 0) 58%);
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-content {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    min-width: 0;
    margin-inline: 18px;
    padding-top: 150px;
    padding-bottom: 245px;
  }

  .eyebrow,
  .section-label,
  .hero h1,
  .hero-lead,
  h2,
  h3,
  .section-heading p,
  .copy-stack,
  .contact-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    max-width: 30ch;
    line-height: 1.45;
  }

  .hero-lead {
    max-width: 30ch;
  }

  .hero-facts dd {
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: min(100%, 15ch);
    font-size: clamp(1.8rem, 7.4vw, 2.15rem);
    line-height: 1.08;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 245px;
  }

  .business-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .layer-panel {
    padding: 24px;
  }

  .site-footer {
    display: grid;
  }

  .plain-content h1 {
    overflow-wrap: anywhere;
  }
}




