:root {
  --ink: #11100e;
  --coal: #1b1917;
  --stone: #e9dec4;
  --paper: #f3ecda;
  --rust: #b95527;
  --rust-bright: #d4672f;
  --muted: #9c9384;
  --line: rgba(233, 222, 196, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem clamp(1.2rem, 4vw, 4.5rem);
  color: var(--stone);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1; }
.brand-mark {
  width: 58px;
  height: 53px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.3));
}
.brand strong, .brand small { display: block; letter-spacing: .14em; }
.brand strong { font: 700 1.05rem/1 "Barlow Condensed", sans-serif; }
.brand small { margin-top: .25rem; color: var(--rust-bright); font: 600 .72rem/1 "Barlow Condensed", sans-serif; }
nav { display: flex; gap: 2rem; }
nav a { font: 600 .92rem/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
nav a:hover { color: var(--rust-bright); }
.header-call { justify-self: end; padding: .7rem 1rem; border: 1px solid var(--stone); font: 600 .9rem/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }

.hero { position: relative; min-height: 780px; height: 94vh; display: flex; align-items: center; overflow: hidden; color: white; background: var(--ink); }
.hero-image { position: absolute; inset: 0; background: url("assets/stone-wall.jpg") center/cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.95) 0%, rgba(10,9,8,.78) 42%, rgba(10,9,8,.18) 76%), linear-gradient(0deg, rgba(10,9,8,.55), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 90%); margin-left: clamp(1.4rem, 8vw, 8rem); padding-top: 5rem; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--rust-bright); font: 700 .9rem/1 "Barlow Condensed", sans-serif; letter-spacing: .24em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 1.5rem; max-width: 780px; font: 400 clamp(3.8rem, 8vw, 7.6rem)/.92 "Alfa Slab One", Georgia, serif; letter-spacing: .005em; text-transform: uppercase; text-shadow: 0 4px 28px rgba(0,0,0,.34); }
h1 span { color: var(--stone); }
.hero-copy { max-width: 590px; margin-bottom: 2rem; color: #f1eadb; font-size: 1.2rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .85rem 1.3rem; font: 700 .94rem/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rust); color: white; }
.button-primary:hover { background: var(--rust-bright); }
.button-ghost { border: 1px solid rgba(255,255,255,.65); color: white; }
.button-light { border: 1px solid var(--stone); color: var(--stone); }
.hero-badge { position: absolute; z-index: 2; right: clamp(1.4rem, 5vw, 5rem); bottom: 2.4rem; display: flex; flex-direction: column; align-items: flex-end; padding-left: 2rem; border-left: 3px solid var(--rust); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-badge span { font: 400 1.35rem/1 "Alfa Slab One", serif; color: var(--stone); }
.hero-badge strong { margin: .3rem 0 .45rem; font: 400 2rem/1 "Alfa Slab One", serif; }
.hero-badge small { font: 600 .76rem/1 "Barlow Condensed", sans-serif; letter-spacing: .13em; color: var(--stone); }

.intro { padding: clamp(4rem, 9vw, 8rem) max(1.4rem, calc((100vw - 1120px)/2)); display: grid; grid-template-columns: .7fr 1.4fr 1fr; gap: 3rem; align-items: start; background: var(--paper); }
.intro h2, .section-heading h2, .about h2, .contact h2 { font: 400 clamp(2.2rem, 4.5vw, 4.4rem)/1.03 "Alfa Slab One", serif; text-transform: uppercase; }
.intro h2 { margin-bottom: 0; }
.intro > p:last-child { margin-top: .25rem; font-size: 1.07rem; color: #514b43; }

.services { padding: clamp(4rem, 8vw, 7rem) clamp(1.4rem, 5vw, 5rem); background: #d8ccb0; }
.section-heading { max-width: 1120px; margin: 0 auto 2.5rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading h2 { margin: 0; max-width: 720px; }
.service-grid { max-width: 1220px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: white; background: var(--coal); }
.service-photo { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform .55s ease; }
.service-card:hover .service-photo { transform: scale(1.035); }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.96) 0%, rgba(10,9,8,.52) 38%, rgba(10,9,8,.08) 68%); }
.stone .service-photo { background-image: url("assets/large-stone-site.jpg"); }
.masonry .service-photo { background-image: url("assets/cmu-wall-clean.jpg"); }
.concrete .service-photo { background-image: url("assets/concrete-walk.jpg"); }
.service-number { position: absolute; z-index: 1; top: 1.2rem; left: 1.2rem; color: var(--stone); font: 600 .8rem/1 "Barlow Condensed", sans-serif; letter-spacing: .15em; }
.service-body { position: relative; z-index: 1; padding: 2rem; }
.service-body h3 { margin-bottom: .6rem; color: var(--stone); font: 400 2.2rem/1 "Alfa Slab One", serif; text-transform: uppercase; }
.service-body p { margin: 0; color: #eae4d7; }

.work { padding: clamp(4rem, 8vw, 7rem) clamp(1.4rem, 5vw, 5rem); color: white; background: var(--ink); }
.section-heading.light h2 { color: var(--stone); }
.gallery { max-width: 1220px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 320px; gap: .75rem; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: #25211d; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 3rem 1.2rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.gallery figcaption strong { font: 700 1.05rem/1.15 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.gallery figcaption span { color: var(--rust-bright); font: 600 .78rem/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.work-note { max-width: 1220px; margin: 1.2rem auto 0; color: var(--muted); font-size: .83rem; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; background: var(--paper); }
.about-portrait { min-height: 520px; background: url("assets/antonio-working.jpg") center 40%/cover no-repeat; }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.about-copy p:not(.section-kicker) { max-width: 580px; color: #514b43; font-size: 1.08rem; }
.signature { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #b9ac90; }
.signature strong, .signature span { display: block; }
.signature strong { font: 700 1.2rem/1.2 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.signature span { margin-top: .4rem; color: var(--rust); font: 600 .86rem/1 "Barlow Condensed", sans-serif; letter-spacing: .15em; text-transform: uppercase; }

.contact { padding: clamp(4rem, 7vw, 6.5rem) clamp(1.4rem, 8vw, 8rem); display: flex; justify-content: space-between; align-items: end; gap: 3rem; background: var(--rust); color: white; }
.contact .section-kicker { color: var(--stone); }
.contact h2 { margin-bottom: 1rem; }
.contact p:not(.section-kicker) { max-width: 680px; margin-bottom: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: 0 0 auto; }
.contact .button-primary { background: var(--ink); }

footer { padding: 3.2rem 1.4rem; text-align: center; color: var(--stone); background: var(--ink); }
.footer-brand { font: 400 1.7rem/1 "Alfa Slab One", serif; letter-spacing: .05em; }
.footer-brand span { color: var(--rust-bright); }
footer > p { margin: .7rem 0 0; font: 600 .86rem/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
footer .copyright { margin-top: 1.6rem; color: var(--muted); font-size: .72rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 720px; }
  .hero-badge { display: none; }
  .intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 460px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .about { grid-template-columns: 1fr; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { padding: .95rem 1rem; }
  .brand-mark { width: 50px; height: 46px; }
  .header-call { padding: .65rem .75rem; font-size: .78rem; }
  .hero { min-height: 700px; height: 100svh; align-items: end; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,9,8,.96) 0%, rgba(10,9,8,.68) 58%, rgba(10,9,8,.22)); }
  .hero-content { width: auto; margin: 0; padding: 7rem 1.2rem 3rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-copy { font-size: 1.05rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .section-heading { align-items: start; flex-direction: column; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
  .about-copy { padding: 3.5rem 1.4rem; }
  .contact-actions { width: 100%; flex-direction: column; }
}
