/*
Theme Name:  Groundwork
Description: Editorial industrial theme — alternating dark and cream, horizontal service rows, large type.
Version:     3.0
Author:      Your Name
Text Domain: groundwork
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --ink:    #141410;
  --dark:   #1c1c18;
  --panel:  #222220;
  --mid:    #2a2820;
  --wire:   #3d3b30;
  --muted:  #9a9280;
  --text:   #c8bfaa;
  --cream:  #f0ead8;
  --c2:     #e6dfc9;
  --c3:     #d8d0b8;
  --amber:  #e07c00;
  --am2:    #ff9520;
  --white:  #faf6ec;
  --H: 'Bebas Neue', sans-serif;
  --B: 'DM Sans', sans-serif;
  --M: 'DM Mono', monospace;
  --max: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--B);
  background: var(--ink);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; transition: color .2s; }
img { display: block; max-width: 100%; height: auto; }

/* ── LAYOUT ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 56px; }
.site-main { min-height: 60vh; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--M); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 36px; transition: all .2s;
}
.btn-am    { background: var(--amber); color: var(--ink); }
.btn-am:hover    { background: var(--am2); color: var(--ink); transform: translateY(-2px); }
.btn-dk    { background: var(--ink); color: var(--white); }
.btn-dk:hover    { background: var(--dark); transform: translateY(-2px); }
.btn-ol-d  { border: 1px solid var(--wire); color: var(--muted); }
.btn-ol-d:hover  { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn-ol-l  { border: 1px solid var(--c3); color: #666; }
.btn-ol-l:hover  { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* ── EYEBROWS ── */
.ey-d {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.ey-d::before { content: ''; width: 24px; height: 1px; background: var(--amber); }
.ey-l {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.ey-l::before { content: ''; width: 24px; height: 1px; background: var(--amber); }

/* ── SECTION HEADINGS ── */
.sh-d {
  font-family: var(--H);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: .92; text-transform: uppercase; color: var(--white);
}
.sh-d .ghost { color: transparent; -webkit-text-stroke: 1.5px var(--wire); }
.sh-d .am    { color: var(--amber); }

.sh-l {
  font-family: var(--H);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: .92; text-transform: uppercase; color: var(--ink);
}
.sh-l .ghost { color: transparent; -webkit-text-stroke: 1.5px var(--c3); }
.sh-l .am    { color: var(--amber); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink); border-bottom: 1px solid var(--mid);
  height: 62px; display: flex; align-items: center;
  padding: 0 56px; justify-content: space-between;
}
.site-logo {
  font-family: var(--H); font-size: 22px;
  letter-spacing: .06em; color: var(--white); text-decoration: none;
}
.site-logo span { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-menu li a {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.nav-menu li a:hover { color: var(--white); }
.nav-menu li.menu-cta a {
  background: var(--amber); color: var(--ink);
  padding: 9px 22px;
}
.nav-menu li.menu-cta a:hover { background: var(--am2); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ── HERO ── */
.hero {
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
  overflow: hidden;
}
.hero-body {
  max-width: var(--max); margin: 0 auto; padding: 80px 56px 64px;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 60px; align-items: end;
}
.hero-kicker {
  font-family: var(--M); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.hero-kicker::before { content: ''; width: 36px; height: 1px; background: var(--amber); }
.hero-h1 {
  font-family: var(--H);
  font-size: clamp(88px, 13vw, 160px);
  line-height: .84; text-transform: uppercase; color: var(--white);
  margin-bottom: 32px;
}
.hero-h1 .ghost { color: transparent; -webkit-text-stroke: 2px var(--amber); display: block; }
.hero-p {
  font-size: 18px; font-weight: 300; color: var(--text);
  line-height: 1.8; max-width: 520px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-aside { display: flex; flex-direction: column; gap: 2px; }
.stat-box {
  background: var(--dark); border: 1px solid var(--mid);
  padding: 26px 28px; transition: background .2s;
}
.stat-box:hover { background: var(--mid); }
.stat-big { font-family: var(--H); font-size: 54px; color: var(--amber); line-height: 1; margin-bottom: 5px; }
.stat-lbl { font-family: var(--M); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* Bottom strip */
.hero-strip {
  border-top: 1px solid var(--mid);
  padding: 22px 56px;
}
.strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}
.strip-quote {
  font-family: var(--H); font-size: 21px;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--white); flex: 1;
}
.strip-quote em { font-style: normal; color: var(--amber); }
.strip-div { width: 1px; height: 32px; background: var(--wire); flex-shrink: 0; }

/* ── INTRO (cream) ── */
.intro-section { background: var(--cream); border-bottom: 1px solid var(--c3); }
.intro-inner {
  max-width: var(--max); margin: 0 auto; padding: 80px 56px;
  display: grid; grid-template-columns: 220px 1fr;
  gap: 64px; align-items: start;
}
.intro-label h2 {
  font-family: var(--H); font-size: 52px;
  text-transform: uppercase; color: var(--ink); line-height: 1;
}
.intro-label h2 em { font-style: normal; color: var(--amber); }
.intro-label p {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: #999; margin-top: 12px;
}
.intro-rows { display: flex; flex-direction: column; }
.intro-row {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 28px; align-items: flex-start;
  padding: 32px 0; border-top: 1px solid var(--c3);
  transition: background .15s;
}
.intro-row:last-child { border-bottom: 1px solid var(--c3); }
.intro-n {
  font-family: var(--H); font-size: 44px;
  color: var(--c3); line-height: 1; transition: color .3s;
}
.intro-row:hover .intro-n { color: var(--amber); }
.intro-row h3 {
  font-family: var(--H); font-size: 26px;
  text-transform: uppercase; color: var(--ink); margin-bottom: 8px;
}
.intro-row p { font-size: 16px; font-weight: 300; color: #555; line-height: 1.75; }

/* ── SERVICES (dark) — 2-col card grid, stacks to 1 col on mobile ── */
.services-section { background: var(--ink); border-bottom: 1px solid var(--mid); }
.services-top {
  max-width: var(--max); margin: 0 auto; padding: 72px 56px 48px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.svc-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 0 56px 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--mid);
  border: 1px solid var(--mid);
}
.svc-card {
  background: var(--dark);
  padding: 40px 40px 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background .2s;
}
.svc-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.svc-card:hover { background: var(--panel); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .sc-num { color: var(--amber); }
.sc-num {
  font-family: var(--H); font-size: 52px;
  color: var(--wire); line-height: 1;
  margin-bottom: 16px; transition: color .3s;
}
.sc-name {
  font-family: var(--H); font-size: 24px;
  text-transform: uppercase; color: var(--white);
  line-height: 1.1; margin-bottom: 12px;
}
.sc-desc {
  font-size: 16px; font-weight: 300;
  color: var(--text); line-height: 1.7;
  flex: 1; margin-bottom: 20px;
}
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sc-tag {
  font-family: var(--M); font-size: 9px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(224,124,0,.35);
  padding: 4px 10px;
}

/* ── BID LEVELING (cream) ── */
.bid-section { background: var(--cream); border-bottom: 1px solid var(--c3); }
.bid-inner {
  max-width: var(--max); margin: 0 auto; padding: 80px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.bid-left .pull {
  font-family: var(--H); font-size: clamp(40px, 4.5vw, 60px);
  text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 24px;
}
.bid-left .pull em { font-style: normal; color: var(--amber); }
.bid-left p { font-size: 17px; font-weight: 300; color: #555; line-height: 1.8; margin-bottom: 28px; }
.bid-right { border-left: 3px solid var(--amber); padding-left: 40px; }
.bid-right h3 {
  font-family: var(--M); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 24px;
}
.bid-pt { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.bid-pt-n {
  font-family: var(--H); font-size: 32px;
  color: var(--c3); line-height: 1; flex-shrink: 0; width: 36px;
}
.bid-pt p { font-size: 16px; font-weight: 300; color: #444; line-height: 1.7; }

/* ── PROCESS (dark) ── */
.process-section { background: var(--dark); border-top: 1px solid var(--mid); border-bottom: 1px solid var(--mid); padding: 80px 56px; }
.process-inner { max-width: var(--max); margin: 0 auto; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 56px;
  background: var(--mid); border: 1px solid var(--mid);
}
.process-step { background: var(--dark); padding: 44px 36px; transition: background .2s; }
.process-step:hover { background: var(--ink); }
.process-step:hover .step-n { color: var(--amber); }
.step-n {
  font-family: var(--H); font-size: 80px;
  color: var(--mid); line-height: 1; margin-bottom: 20px; transition: color .3s;
}
.step-h {
  font-family: var(--H); font-size: 22px;
  text-transform: uppercase; color: var(--white); margin-bottom: 10px;
}
.step-p { font-size: 16px; font-weight: 300; color: var(--text); line-height: 1.75; }

/* ── WHO WE SERVE (cream) ── */
.serve-section { background: var(--c2); border-bottom: 1px solid var(--c3); padding: 80px 56px; }
.serve-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.serve-copy h2 {
  font-family: var(--H); font-size: clamp(40px, 4.5vw, 60px);
  text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 20px;
}
.serve-copy h2 em { font-style: normal; color: var(--amber); }
.serve-copy p { font-size: 17px; font-weight: 300; color: #555; line-height: 1.8; margin-bottom: 28px; }
.serve-rows { display: flex; flex-direction: column; }
.serve-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--c3);
}
.serve-row:first-child { border-top: 1px solid var(--c3); }
.serve-dot { width: 8px; height: 8px; background: var(--amber); flex-shrink: 0; margin-top: 8px; }
.serve-row p { font-size: 17px; font-weight: 300; color: #444; line-height: 1.65; }

/* ── CTA (amber) ── */
.cta-section { background: var(--amber); padding: 100px 56px; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(0,0,0,.04) 22px, rgba(0,0,0,.04) 23px);
  pointer-events: none;
}
.cta-inner {
  max-width: var(--max); margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 56px; align-items: center;
}
.cta-h {
  font-family: var(--H); font-size: clamp(56px, 7vw, 96px);
  line-height: .88; text-transform: uppercase; color: var(--ink);
}
.cta-h .ghost { color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,.28); }
.cta-p { font-size: 18px; font-weight: 300; color: rgba(0,0,0,.65); margin-top: 16px; max-width: 420px; }
.cta-side { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.cta-phone {
  font-family: var(--M); font-size: 12px; letter-spacing: .1em;
  color: rgba(0,0,0,.5); text-align: center; padding: 10px; transition: color .2s;
}
.cta-phone:hover { color: var(--ink); }

/* ── FOOTER (dark) ── */
.site-footer { background: var(--ink); border-top: 1px solid var(--mid); padding: 60px 56px 32px; }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid var(--mid); margin-bottom: 28px;
}
.footer-logo {
  font-family: var(--H); font-size: 20px; letter-spacing: .06em;
  color: var(--white); display: block; margin-bottom: 12px; text-decoration: none;
}
.footer-logo span { color: var(--amber); }
.footer-tagline { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.75; }
.footer-col-title {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links li a { font-size: 15px; font-weight: 300; color: var(--muted); transition: color .2s; }
.footer-links li a:hover { color: var(--white); }
.footer-contact-line { font-size: 15px; font-weight: 300; color: var(--muted); margin-bottom: 7px; }
.footer-contact-line a { color: var(--muted); transition: color .2s; }
.footer-contact-line a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy {
  font-family: var(--M); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--wire);
}

/* ── GENERIC PAGES (cream bg) ── */
.page-hero-bar { height: 3px; background: var(--amber); }
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 96px 56px 80px; }
.page-title {
  font-family: var(--H); font-size: clamp(52px, 7vw, 96px);
  line-height: .9; text-transform: uppercase; color: var(--ink); margin-bottom: 40px;
}
.page-content { font-size: 17px; font-weight: 300; color: #555; line-height: 1.85; max-width: 720px; }
.page-content h2 { font-family: var(--H); font-size: clamp(30px, 3vw, 44px); color: var(--ink); text-transform: uppercase; margin: 40px 0 16px; }
.page-content h3 { font-family: var(--H); font-size: 26px; color: var(--ink); text-transform: uppercase; margin: 32px 0 12px; }
.page-content p  { margin-bottom: 20px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; }
.page-content a  { color: var(--amber); }
.page-content a:hover { color: var(--am2); }

/* ── 404 ── */
.not-found-wrap { max-width: var(--max); margin: 0 auto; padding: 180px 56px 80px; }
.not-found-num  { font-family: var(--H); font-size: clamp(120px, 18vw, 200px); color: var(--c3); line-height: 1; }
.not-found-h    { font-family: var(--H); font-size: clamp(32px, 4vw, 52px); color: var(--ink); text-transform: uppercase; margin-bottom: 18px; }
.not-found-sub  { font-size: 17px; font-weight: 300; color: #666; margin-bottom: 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-body      { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside     { flex-direction: row; }
  .stat-box       { flex: 1; }
  .intro-inner    { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid       { grid-template-columns: repeat(2, 1fr); padding: 0 40px 56px; }
  .bid-inner      { grid-template-columns: 1fr; gap: 48px; }
  .process-grid   { grid-template-columns: repeat(2, 1fr); }
  .serve-inner    { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner      { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .strip-inner    { gap: 24px; }
  .strip-quote    { font-size: 17px; }
}
@media (max-width: 768px) {
  .site-nav       { padding: 0 24px; }
  .nav-menu       { display: none; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: var(--dark); padding: 24px; gap: 20px; border-bottom: 1px solid var(--mid); z-index: 199; }
  .nav-menu.open  { display: flex; }
  .nav-toggle     { display: flex; }
  .hero-body, .hero-strip  { padding-left: 24px; padding-right: 24px; }
  .intro-inner    { padding: 56px 24px; }
  .services-top   { padding: 56px 24px 36px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .svc-grid       { padding: 0 24px 56px; grid-template-columns: 1fr; }
  .bid-inner      { padding: 56px 24px; }
  .process-section { padding: 56px 24px; }
  .process-grid   { grid-template-columns: 1fr; }
  .serve-section  { padding: 56px 24px; }
  .cta-section    { padding: 72px 24px; }
  .site-footer    { padding: 48px 24px 28px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .page-wrap, .not-found-wrap { padding-left: 24px; padding-right: 24px; }
  .hero-aside     { flex-direction: column; }
  .strip-inner    { flex-direction: column; gap: 16px; align-items: flex-start; }
  .strip-div      { display: none; }
}


