:root {
  --ink: #111713;
  --ink-soft: #172019;
  --paper: #f3f6f1;
  --white: #ffffff;
  --muted: #a3ada5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(17, 19, 21, 0.16);
  --green: #72b856;
  --green-dark: #306539;
  --shell: min(1240px, calc(100vw - 48px));
  --header-h: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: var(--shell); margin-inline: auto; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.brand { display: inline-flex; align-items: center; gap: 14px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  overflow: hidden;
  background: transparent;
}

.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.brand-copy { display: flex; flex-direction: column; line-height: 1; }

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.brand-copy span {
  margin-top: 7px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
}

.site-nav { display: flex; align-items: center; gap: 36px; }

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--green);
  transition: right 0.25s ease;
}

.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }

.nav-cta { padding: 13px 18px; border: 1px solid rgba(255,255,255,0.65); }

.nav-cta:hover, .nav-cta:focus-visible { color: var(--ink); background: var(--white); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 810px;
  height: max(810px, 100svh);
  color: var(--white);
  background: #101612;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 24, 13, 0.94) 0%, rgba(11, 32, 17, 0.74) 34%, rgba(8, 25, 14, 0.16) 72%, rgba(7, 19, 11, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 21, 11, 0.78) 0%, transparent 40%),
    url("assets/hero-construction.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.015);
  animation: hero-in 1.6s cubic-bezier(.2,.75,.2,1) both;
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 67%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(190px, 24vh, 250px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 26px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.76); }

.eyebrow span { width: 34px; height: 3px; background: var(--green); }

.hero h1,
.section-heading h2,
.statement-grid h2,
.process-intro h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3.25rem, 6.5vw, 6.85rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 860;
  text-wrap: balance;
}

.hero h1 em { color: var(--green); font-style: normal; }

.hero-lede {
  max-width: 620px;
  margin: 34px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.77);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }

.button-primary { min-width: 244px; color: var(--white); background: var(--green); }
.button-primary:hover, .button-primary:focus-visible { background: var(--green-dark); }

.button-quiet { color: var(--white); border-color: rgba(255,255,255,0.42); background: rgba(17,19,21,0.18); backdrop-filter: blur(7px); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--white); background: rgba(17,19,21,0.55); }

.hero-foot {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.25);
}

.hero-foot div { display: flex; gap: 16px; padding: 26px 28px 27px 0; }
.hero-foot div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,0.25); }
.hero-foot span { color: var(--green); font: 800 0.72rem/1 monospace; }
.hero-foot strong { font-size: 0.82rem; letter-spacing: 0.09em; text-transform: uppercase; }

.section-dark { color: var(--white); background: var(--ink); }
.section-light { background: var(--paper); }

.intro { padding: 110px 0; }

.statement-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}

.section-kicker { color: var(--green); }

.statement-grid h2 { max-width: 930px; font-size: clamp(2.6rem, 5vw, 5.5rem); }

.statement-grid > div > p {
  max-width: 710px;
  margin: 34px 0 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.services { padding: 130px 0 140px; }

.section-heading {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading h2,
.process-intro h2,
.about-copy h2 { font-size: clamp(2.9rem, 5vw, 5.1rem); }

.section-heading > p {
  margin: 0 0 6px;
  padding-left: 28px;
  border-left: 2px solid var(--green);
  color: #5b5e60;
  font-size: 1.04rem;
}

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-light); }

.service-card {
  position: relative;
  min-height: 450px;
  padding: 42px;
  background: rgba(255,255,255,0.35);
  transition: background 0.25s ease, transform 0.25s ease;
}

.service-card:nth-child(even) { border-left: 1px solid var(--line-light); }
.service-card:nth-child(n+3) { border-top: 1px solid var(--line-light); }
.service-card:hover { z-index: 1; background: var(--white); transform: translateY(-4px); }

.service-number { position: absolute; top: 30px; right: 34px; color: #909497; font: 700 0.76rem/1 monospace; }

.service-icon { width: 54px; height: 54px; margin-bottom: 54px; color: var(--green); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: square; stroke-linejoin: miter; }

.service-card h3 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.service-card p { max-width: 500px; margin: 18px 0 24px; color: #64686b; }
.service-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 700; }
.service-card li::before { content: "—"; margin-right: 10px; color: var(--green); }

.service-card-accent { color: var(--white); background: var(--green-dark); }
.service-card-accent:hover { background: #234d2c; }
.service-card-accent .service-icon, .service-card-accent .service-number { color: var(--white); }
.service-card-accent p { color: rgba(255,255,255,0.79); }
.service-card-accent li::before { color: var(--ink); }

.projects { padding: 130px 0 120px; }
.section-heading-dark > p { color: var(--muted); }

.project-list { border-top: 1px solid var(--line-dark); }

.project-row {
  display: grid;
  grid-template-columns: 70px 1fr 34px;
  gap: 34px;
  align-items: center;
  min-height: 154px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.project-row:hover { padding-inline: 20px; color: var(--ink); background: var(--green); }
.project-index { color: var(--green); font: 700 0.76rem/1 monospace; }
.project-row:hover .project-index { color: var(--ink); }
.project-row h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.035em; }
.project-row p { margin: 10px 0 0; color: var(--muted); }
.project-row:hover p { color: rgba(17,19,21,0.72); }
.project-arrow { font-size: 1.35rem; }

.process { padding: 140px 0; }

.process-layout { display: grid; grid-template-columns: 0.9fr 1.35fr; gap: clamp(60px, 10vw, 150px); }
.process-intro { position: sticky; top: 50px; align-self: start; }
.process-intro p:last-child { max-width: 450px; margin-top: 28px; color: #65696c; font-size: 1.04rem; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 30px; padding: 35px 0; border-bottom: 1px solid var(--line-light); }
.process-list > li > span { padding-top: 5px; color: var(--green); font: 800 0.78rem/1 monospace; }
.process-list h3 { margin: 0; font-size: 1.55rem; letter-spacing: -0.03em; }
.process-list p { margin: 8px 0 0; color: #64686b; }

.section-concrete {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035) 25%, transparent 25%) 0 0 / 38px 38px,
    linear-gradient(315deg, rgba(255,255,255,0.022) 25%, transparent 25%) 0 0 / 38px 38px,
    #111a13;
}

.about { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 0.92fr 1.25fr; gap: clamp(70px, 12vw, 170px); align-items: center; }

.about-figure {
  position: relative;
  aspect-ratio: 0.86;
  border: 1px solid rgba(255,255,255,0.25);
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
}

.about-logo {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 78%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 35px rgba(4, 17, 7, 0.42));
}
.measure { position: absolute; z-index: 2; font: 700 0.66rem/1 monospace; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); writing-mode: vertical-rl; }
.measure-a { left: 17px; top: 19px; }
.measure-b { right: 17px; bottom: 19px; transform: rotate(180deg); }

.about-copy > p:not(.section-kicker) { max-width: 650px; margin: 30px 0 0; color: #b4b7b9; font-size: 1.07rem; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid var(--line-dark); }
.about-principles div { display: flex; flex-direction: column; gap: 12px; padding: 24px 15px 0 0; }
.about-principles div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.about-principles span { color: var(--green); font: 700 0.72rem/1 monospace; }
.about-principles strong { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }

.contact { position: relative; padding: 140px 0 150px; color: var(--white); background: var(--green-dark); overflow: hidden; }
.contact-grid { opacity: 0.28; mask-image: linear-gradient(90deg, transparent, black); }
.contact-inner { position: relative; z-index: 1; }
.contact .section-kicker { color: #a8df8d; }
.contact h2 { max-width: 1020px; font-size: clamp(3.2rem, 7vw, 7.1rem); }
.contact-inner > p:not(.section-kicker) { max-width: 620px; margin: 34px 0 0; font-size: 1.18rem; color: rgba(255,255,255,0.82); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; margin-top: 46px; }
.button-white { min-width: 300px; color: var(--ink); background: var(--white); }
.button-white:hover, .button-white:focus-visible { color: var(--white); background: var(--ink); }
.contact-note { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.72); }

.site-footer { padding: 38px 0; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 46px; align-items: center; }
.brand-footer .brand-copy span { color: var(--muted); }
.footer-grid > p { margin: 0; font-size: 0.78rem; color: var(--muted); }

:focus-visible { outline: 3px solid #ffb09c; outline-offset: 4px; }

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 920px) {
  :root { --shell: min(100% - 36px, 760px); --header-h: 76px; }

  .site-header { position: absolute; }
  .menu-toggle {
    display: grid;
    gap: 7px;
    place-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 110px 30px 40px;
    color: var(--white);
    background: rgba(17,19,21,0.98);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .site-nav.open { visibility: visible; opacity: 1; }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.25rem; }
  .site-nav .nav-cta { margin-top: 22px; padding: 16px; text-align: center; border: 1px solid rgba(255,255,255,0.5); }

  .hero { min-height: 760px; height: 100svh; }
  .hero-content { padding-top: clamp(160px, 22vh, 210px); }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .hero-foot { grid-template-columns: 1fr; padding-block: 14px; }
  .hero-foot div { display: none; }
  .hero-foot div:first-child { display: flex; padding: 14px 0; }

  .statement-grid,
  .section-heading,
  .process-layout,
  .about-grid { grid-template-columns: 1fr; }
  .statement-grid { gap: 20px; }
  .statement-grid > div > p { margin-left: 0; }
  .section-heading { gap: 30px; }
  .section-heading > p { max-width: 580px; }
  .process-intro { position: static; }
  .about-figure { width: min(76vw, 520px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p:first-of-type { display: none; }
  .footer-grid > p:last-child { text-align: right; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .brand-copy span { display: none; }

  .hero { min-height: 720px; }
  .hero-media {
    background-image:
      linear-gradient(90deg, rgba(8,24,13,0.9), rgba(7,25,13,0.42)),
      linear-gradient(0deg, rgba(7,24,12,0.84), transparent 58%),
      url("assets/hero-construction.png");
    background-position: 61% center;
  }
  .hero-grid { background-size: 48px 48px; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.12em; }
  .hero h1 { font-size: clamp(2.78rem, 13.2vw, 4.2rem); line-height: 0.94; }
  .hero-lede { margin-top: 26px; font-size: 1rem; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .button { width: 100%; }

  .intro, .services, .projects, .process, .about { padding: 88px 0; }
  .contact { padding: 92px 0 102px; }
  .statement-grid h2,
  .section-heading h2,
  .process-intro h2,
  .about-copy h2 { font-size: clamp(2.45rem, 11vw, 3.5rem); }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 34px 26px 38px; }
  .service-card:nth-child(even) { border-left: 0; }
  .service-card:nth-child(n+2) { border-top: 1px solid var(--line-light); }
  .service-icon { margin-bottom: 36px; }

  .project-row { grid-template-columns: 40px 1fr 24px; gap: 15px; min-height: 146px; }
  .project-row p { font-size: 0.86rem; line-height: 1.5; }
  .project-row:hover { padding-inline: 8px; }

  .process-layout, .about-grid { gap: 55px; }
  .process-list li { grid-template-columns: 40px 1fr; gap: 14px; }
  .about-figure { width: 100%; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles div { flex-direction: row; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .about-principles div + div { padding-left: 0; border-left: 0; }

  .contact h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .button-white { width: 100%; min-width: 0; font-size: 0.76rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid > p:last-child { text-align: left; }
}

@media (max-height: 740px) and (min-width: 641px) {
  .hero { min-height: 740px; }
  .hero-content { padding-top: 150px; }
  .hero h1 { font-size: clamp(3.3rem, 6vw, 5.5rem); }
  .hero-lede { margin-top: 25px; }
  .hero-actions { margin-top: 28px; }
}
