/* ============================================================
   TEN TWO BUILDERS — Design tokens
   ============================================================ */
:root {
  --ink: #0D0F0D;
  --ink-soft: #161915;
  --green: #4C7A32;
  --green-bright: #7CB342;
  --steel: #6E756F;
  --steel-light: #A7ACA6;
  --white: #F3F2ED;
  --concrete: #DBD9D1;
  --concrete-dark: #C7C4B9;
  --line: rgba(243,242,237,0.14);

  --display: 'Big Shoulders Display', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Type scale ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--green-bright);
  display: inline-block;
}

p { margin: 0 0 1em; color: var(--steel-light); }
.lede { font-size: 1.15rem; color: var(--concrete); max-width: 46ch; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  background: transparent;
  color: var(--white);
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.btn-solid:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--ink); }
.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(13,15,13,0.9), rgba(13,15,13,0));
  transition: background 0.3s ease, padding 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(13,15,13,0.96);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: flex; align-items: baseline; gap: 3px; font-family: var(--display); font-size: 1.5rem; }
.brand-mark .n { color: var(--steel-light); font-weight: 700; }
.brand-mark .bar { color: var(--green-bright); font-weight: 300; }
.brand-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--concrete);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--green-bright);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-call {
  font-family: var(--mono);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  padding: 9px 16px;
  color: var(--white);
}
.nav-call:hover { border-color: var(--green-bright); color: var(--green-bright); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0; top: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 28px; transform: translateY(-100%); transition: transform 0.35s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle {
    display: block; background: none; border: none; color: var(--white);
    font-family: var(--mono); font-size: 1.6rem; cursor: pointer; z-index: 110;
  }
  .nav-call { display: none; }
}

/* ---------- Plumb line signature ---------- */
.plumb {
  width: 1px;
  background: var(--green-bright);
  margin: 0 auto;
  position: relative;
}
.plumb::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  background: var(--green-bright);
  transform: translate(-50%, -50%) rotate(45deg);
}
.plumb-hero {
  height: 90px;
  animation: dropIn 1.1s cubic-bezier(.2,.9,.25,1) both;
  animation-delay: 0.15s;
}
@keyframes dropIn {
  0% { height: 0; opacity: 0; }
  60% { opacity: 1; }
  100% { height: 90px; opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,15,13,0.55) 0%, rgba(13,15,13,0.35) 40%, rgba(13,15,13,0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
  padding-top: 160px;
}
.hero-plumb-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.hero h1 { text-align: center; }
.hero .lede { margin: 22px auto 0; text-align: center; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-sub { text-align: center; margin-top: 14px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.section-dark { background: var(--ink); }
.section-light { background: var(--white); color: var(--ink); }
.section-light p { color: #3E4640; }
.section-concrete { background: var(--concrete); color: var(--ink); }
.section-concrete p { color: #4A4F49; }
.section-green { background: var(--green); color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { margin-top: 14px; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 28px;
  transition: background 0.25s ease;
}
.service-card:hover { background: var(--ink-soft); }
.service-num { font-family: var(--mono); color: var(--green-bright); font-size: 0.8rem; }
.service-card h3 { margin: 18px 0 12px; }
.service-card p { font-size: 0.94rem; margin: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step { flex: 1; position: relative; padding-right: 24px; }
.process-step .step-num {
  font-family: var(--display);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-bright);
  line-height: 1;
}
.process-connector {
  height: 1px;
  background: var(--line);
  flex: 0 0 40px;
  margin-top: 26px;
  position: relative;
  top: 0;
}
.process-step h3 { margin: 16px 0 10px; font-size: 1.15rem; }
.process-step p { font-size: 0.92rem; }
@media (max-width: 900px) {
  .process { flex-direction: column; gap: 36px; }
  .process-connector { display: none; }
}

/* ---------- Project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.project-card {
  background: var(--ink);
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(13,15,13,0.92), rgba(13,15,13,0));
}
.project-card-info .eyebrow { color: var(--green-bright); margin-bottom: 8px; }
.project-card-info h3 { font-size: 1.2rem; }
.project-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, var(--ink-soft), var(--ink-soft) 12px, var(--ink) 12px, var(--ink) 24px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.project-placeholder span {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--steel-light); text-transform: uppercase; padding: 0 20px;
}
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.25);
}
.stat { padding: 30px 24px 0; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); }
.stat .label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* ---------- Contact strip ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-card { background: var(--ink); padding: 40px; }
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card .name { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; }
.contact-card .role { font-family: var(--mono); font-size: 0.78rem; color: var(--steel-light); letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 20px; }
.contact-card .phone { font-family: var(--mono); font-size: 1.3rem; color: var(--green-bright); display: inline-block; }
.contact-card .phone:hover { text-decoration: underline; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 0 34px;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-light); }
.footer-nav a:hover { color: var(--green-bright); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--steel); letter-spacing: 0.04em;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 190px 0 90px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-top: 16px; }

/* ---------- About page specifics ---------- */
.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.principal-card { border-top: 1px solid var(--line); padding-top: 28px; }
.principal-card .name { font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; }
.principal-card .role { font-family: var(--mono); font-size: 0.78rem; color: var(--green-bright); letter-spacing: 0.1em; text-transform: uppercase; margin: 6px 0 18px; }
@media (max-width: 800px) { .principal-grid { grid-template-columns: 1fr; gap: 40px; } }

.values-list { border-top: 1px solid var(--line); }
.value-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.value-row .vnum { font-family: var(--mono); color: var(--green-bright); font-size: 0.85rem; padding-top: 4px; }
.value-row h3 { margin-bottom: 8px; }
.value-row p { margin: 0; max-width: 56ch; }
