/* =========================================================
   BAUMONT TROCKENBAU — Design Tokens
   Ink black + safety-orange hazard motif, stencil display type,
   mono "work-order" labels on the reference photos.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --ink: #141414;
  --ink-soft: #1e1e1e;
  --steel: #363c3f;
  --paper: #f1efe9;
  --paper-dim: #e7e4db;
  --concrete: #86847c;
  --orange: #ff6a13;
  --orange-dim: #d95c10;
  --white: #ffffff;
  --line-dark: rgba(255,255,255,0.14);
  --line-light: rgba(20,20,20,0.14);

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Work Sans', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; line-height:1.05; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

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

:focus-visible{
  outline:3px solid var(--orange);
  outline-offset:3px;
}

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

/* -------- Hazard stripe divider (signature motif) -------- */
.hazard{
  height:10px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 18px,
    var(--ink) 18px 36px
  );
}
.hazard--thin{ height:6px; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--orange);
}
.eyebrow::before{
  content:"";
  width:20px;
  height:2px;
  background:var(--orange);
  display:inline-block;
}

/* -------------------- Header / Nav -------------------- */
.site-header{
  background:var(--ink);
  color:var(--white);
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--line-dark);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 28px;
  max-width:var(--container);
  margin:0 auto;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--display);
  font-size:20px;
  letter-spacing:0.01em;
}
.brand img{
  height:44px;
  width:auto;
}
.brand small{
  display:block;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:0.12em;
  color:var(--concrete);
  font-weight:500;
  margin-top:2px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14.5px;
  font-weight:600;
}
.nav-links a{
  position:relative;
  padding:6px 0;
  color:#d8d6cf;
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:3px;
  background:var(--orange);
}
.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--orange);
  color:var(--ink);
  font-family:var(--mono);
  font-weight:600;
  font-size:13.5px;
  letter-spacing:0.03em;
  padding:10px 16px;
  border-radius:2px;
  white-space:nowrap;
  transition:background .15s ease;
}
.nav-cta:hover{ background:var(--white); }
.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line-dark);
  color:var(--white);
  padding:8px 10px;
  border-radius:2px;
}

@media (max-width:880px){
  .nav-links{
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--ink);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:6px 28px 18px;
    border-bottom:1px solid var(--line-dark);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 0; width:100%; border-bottom:1px solid var(--line-dark); }
  .nav-toggle{ display:inline-flex; }
  .nav-cta{ display:none; }
  .nav-links .nav-cta-mobile{ display:inline-flex; margin-top:14px; }
}

/* -------------------- Buttons -------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--mono);
  font-weight:600;
  font-size:14px;
  letter-spacing:0.03em;
  padding:15px 26px;
  border-radius:2px;
  border:2px solid transparent;
  cursor:pointer;
}
.btn--orange{
  background:var(--orange);
  color:var(--ink);
}
.btn--orange:hover{ background:var(--white); }
.btn--outline{
  border-color:currentColor;
  background:transparent;
}
.btn--outline:hover{ background:rgba(255,255,255,0.08); }
.btn--dark{
  background:var(--ink);
  color:var(--white);
}
.btn--dark:hover{ background:var(--steel); }

/* -------------------- Hero -------------------- */
.hero{
  background:var(--ink);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.hero-grid{
  max-width:var(--container);
  margin:0 auto;
  padding:64px 28px 0;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:40px;
  align-items:end;
}
.hero-copy h1{
  font-size:clamp(34px, 5vw, 58px);
  margin-top:18px;
  text-transform:uppercase;
}
.hero-copy h1 .accent{ color:var(--orange); }
.hero-copy p.lead{
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  color:#cfcdc5;
  max-width:46ch;
  margin-top:20px;
}
.hero-actions{
  display:flex;
  gap:14px;
  margin-top:32px;
  flex-wrap:wrap;
}
.hero-figure{
  position:relative;
  align-self:stretch;
}
.hero-figure img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  border-radius:2px;
}
.hero-tag{
  position:absolute;
  bottom:16px;
  left:16px;
  background:var(--ink);
  border:1px solid var(--orange);
  color:var(--white);
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:0.1em;
  padding:8px 12px;
  text-transform:uppercase;
}
.hero-stats{
  display:flex;
  gap:0;
  border-top:1px solid var(--line-dark);
  margin-top:56px;
}
.hero-stats .stat{
  flex:1;
  padding:22px 28px;
  border-right:1px solid var(--line-dark);
}
.hero-stats .stat:last-child{ border-right:none; }
.hero-stats .num{
  font-family:var(--display);
  font-size:30px;
  color:var(--orange);
}
.hero-stats .label{
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#b9b7ae;
  margin-top:6px;
}

@media (max-width:880px){
  .hero-grid{ grid-template-columns:1fr; padding-top:40px; }
  .hero-stats{ flex-wrap:wrap; }
  .hero-stats .stat{ flex:1 1 50%; border-bottom:1px solid var(--line-dark); }
}

/* -------------------- Section basics -------------------- */
.section{ padding:84px 0; }
.section--tight{ padding:64px 0; }
.section--dark{ background:var(--ink); color:var(--white); }
.section--steel{ background:var(--steel); color:var(--white); }
.section-head{
  max-width:640px;
  margin-bottom:44px;
}
.section-head h2{
  font-size:clamp(26px, 3.4vw, 40px);
  text-transform:uppercase;
  margin-top:14px;
}
.section-head p{
  font-size:16px;
  line-height:1.65;
  color:var(--concrete);
  margin-top:16px;
}
.section--dark .section-head p,
.section--steel .section-head p{ color:#c9c7bf; }

/* -------------------- Services -------------------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:1px;
  background:var(--line-light);
  border:1px solid var(--line-light);
}
.service-card{
  background:var(--paper);
  padding:30px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:210px;
}
.service-card .index{
  font-family:var(--mono);
  font-size:12px;
  color:var(--orange);
  letter-spacing:0.08em;
}
.service-card h3{
  font-family:var(--body);
  font-weight:700;
  font-size:17px;
  text-transform:uppercase;
  letter-spacing:0.01em;
}
.service-card p{
  font-size:14px;
  line-height:1.55;
  color:var(--concrete);
  margin-top:auto;
}
@media (max-width:980px){
  .services-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:560px){
  .services-grid{ grid-template-columns:1fr; }
}

/* -------------------- Reference / work-order cards -------------------- */
.ref-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.ref-grid--wide{ grid-template-columns:repeat(2, 1fr); }
@media (max-width:920px){
  .ref-grid, .ref-grid--wide{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:600px){
  .ref-grid, .ref-grid--wide{ grid-template-columns:1fr; }
}

.ref-card{
  background:var(--white);
  border:1px solid var(--line-light);
  position:relative;
}
.ref-card .photo{
  aspect-ratio:4/3;
  overflow:hidden;
  position:relative;
}
.ref-card .photo img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .35s ease;
}
.ref-card:hover .photo img{ transform:scale(1.04); }
.ref-tag{
  position:absolute;
  top:12px;
  left:12px;
  background:var(--ink);
  color:var(--white);
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding:6px 10px;
  border-left:3px solid var(--orange);
}
.ref-card .caption{
  padding:16px 18px 20px;
}
.ref-card .caption .job{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.08em;
  color:var(--orange-dim);
  text-transform:uppercase;
}
.ref-card .caption h4{
  font-family:var(--body);
  font-weight:700;
  font-size:16px;
  margin-top:6px;
}
.ref-card .caption p{
  font-size:13.5px;
  color:var(--concrete);
  margin-top:6px;
  line-height:1.5;
}

/* -------------------- CTA band -------------------- */
.cta-band{
  background:var(--orange);
  color:var(--ink);
}
.cta-band .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:44px 28px;
}
.cta-band h3{
  font-size:clamp(22px, 3vw, 32px);
  text-transform:uppercase;
}
.cta-band p{
  font-family:var(--mono);
  font-size:14px;
  margin-top:8px;
}
.cta-band .btn--dark:hover{ background:#000; }
@media (max-width:700px){
  .cta-band .wrap{ flex-direction:column; align-items:flex-start; }
}

/* -------------------- Footer -------------------- */
.site-footer{
  background:var(--ink);
  color:#cfcdc5;
  padding:52px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
}
.footer-col h5{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:16px;
}
.footer-col p, .footer-col a{
  font-size:14.5px;
  line-height:1.8;
  color:#c9c7bf;
}
.footer-col a:hover{ color:var(--white); }
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.footer-brand img{ height:38px; }
.footer-brand span{ font-family:var(--display); font-size:18px; color:var(--white); }
.footer-bottom{
  border-top:1px solid var(--line-dark);
  margin-top:40px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-family:var(--mono);
  font-size:12px;
  color:var(--concrete);
}
@media (max-width:820px){
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
}

/* -------------------- Utility -------------------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.phone-link{
  font-family:var(--mono);
  font-weight:600;
}
