:root {
  --brand-red: #e70707;
  --brand-red-dark: #bd0000;
  --brand-blue: #0e519e;
  --brand-blue-dark: #071f3f;
  --ink: #101827;
  --ink-soft: #14243a;
  --paper: #f5f7fa;
  --white: #ffffff;
  --copper: var(--brand-red);
  --copper-light: #ff8585;
  --line: rgba(16, 24, 39, 0.18);
  --sans: "DM Sans", sans-serif;
  --display: "Barlow Condensed", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; color: var(--white); background: var(--brand-blue-dark); font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; box-shadow: 0 0 0 6px var(--brand-blue); }
#main-content:focus { outline: none; box-shadow: none; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: auto; padding: 1.5rem clamp(1.2rem, 4vw, 4rem); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; text-transform: uppercase; }
.brand-logo { width: 3rem; height: 3rem; padding: .12rem; object-fit: contain; background: var(--white); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 800 1.35rem/1 var(--display); letter-spacing: .055em; }
.brand-copy small { margin-top: .2rem; font-size: .875rem; font-weight: 600; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.45); }
.menu-button { display: none; color: inherit; background: none; border: 1px solid rgba(255,255,255,.4); padding: .5rem .7rem; }

.hero { position: relative; min-height: 860px; height: 100vh; overflow: hidden; color: var(--white); background: var(--brand-blue-dark); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(0,0,0,.42)); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-content { position: relative; z-index: 2; width: 74%; max-width: 1050px; padding: clamp(9rem, 17vh, 11.5rem) clamp(1.2rem, 7vw, 7.5rem) 8rem; }
.eyebrow, .section-kicker, .card-label { margin: 0 0 1rem; color: var(--copper-light); font-size: .875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .92; }
h1 { max-width: 800px; font-size: clamp(4.6rem, 9vw, 8rem); letter-spacing: -.035em; }
h1 span { color: var(--copper); }
.hero-lede { max-width: 600px; margin: 2rem 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .8rem 1.35rem; border: 0; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--brand-red-dark); }
.button-primary:hover { background: #990000; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: .3rem; }
.hero-slab { position: absolute; z-index: 1; top: 15%; right: -5%; width: min(42vw, 600px); height: 68%; transform: rotate(7deg); }
.slab-face { position: absolute; inset: 0 7% 5% 0; display: grid; place-items: center; overflow: hidden; color: rgba(23,23,22,.15); background: #d8d4ca; border-radius: 48% 52% 42% 58% / 38% 45% 55% 62%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); font: 800 7rem/1 var(--display); }
.slab-face::before, .slab-face::after { content: ""; position: absolute; width: 160%; height: 4px; background: rgba(70,66,61,.22); transform: rotate(-35deg); box-shadow: 0 36px rgba(70,66,61,.13), 0 82px rgba(70,66,61,.18), 0 155px rgba(70,66,61,.12); }
.slab-face::after { transform: rotate(-14deg); box-shadow: 0 52px rgba(70,66,61,.12), 0 138px rgba(70,66,61,.13); }
.slab-shadow { position: absolute; inset: 6% 0 0 8%; z-index: -1; background: var(--brand-red); border-radius: 48% 52% 42% 58% / 38% 45% 55% 62%; }
.hero-proof { position: absolute; z-index: 3; right: clamp(1.2rem, 5vw, 5rem); bottom: 2.2rem; left: clamp(1.2rem, 5vw, 5rem); display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.82); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 7.5rem); }
.intro { background: var(--white); }
.intro .section-kicker, .projects .section-kicker, .process .section-kicker, .coverage .section-kicker, .estimate .section-kicker { color: var(--copper); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
h2 { font-size: clamp(3.2rem, 7vw, 6.4rem); letter-spacing: -.025em; }
.intro-grid p { max-width: 620px; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.32rem); }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding-top: 0; background: var(--white); }
.service-card { min-height: 530px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; color: var(--white); background: var(--ink-soft); }
.service-featured { grid-row: span 2; min-height: 1080px; }
.service-visual { position: relative; min-height: 300px; overflow: hidden; background: #373633; }
.service-copy { padding: clamp(1.5rem, 3vw, 3rem); }
.service-copy h3 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.service-copy p:last-child { max-width: 570px; color: rgba(255,255,255,.72); }
.stone-visual { background: radial-gradient(circle at 20% 20%, #faf9f4 0 4%, transparent 4.5%), linear-gradient(120deg, #c7c4bd, #f4f2ec 48%, #afada7); }
.stone-visual::before, .stone-visual::after { content: ""; position: absolute; width: 120%; height: 5px; top: 26%; left: -10%; background: rgba(44,42,40,.25); transform: rotate(-28deg); box-shadow: 0 90px rgba(44,42,40,.13), 0 210px rgba(44,42,40,.17), 0 370px rgba(44,42,40,.12); }
.stone-visual::after { top: 4%; transform: rotate(-5deg); box-shadow: 0 135px rgba(44,42,40,.1), 0 290px rgba(44,42,40,.14); }
.stone-visual span { position: absolute; right: -15%; bottom: -10%; width: 70%; aspect-ratio: 1.6; background: var(--brand-blue); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.remodel-visual { background: linear-gradient(130deg, #456f9e, #152b45); }
.remodel-visual::before { content: ""; position: absolute; inset: 12% 10% 0 23%; border: 18px solid #d8d0c3; border-bottom: 0; box-shadow: inset 0 0 0 5px rgba(23,23,22,.2); }
.remodel-visual span { position: absolute; inset: 35% 18% 0 0; background: linear-gradient(90deg, #2e2e2b 0 28%, transparent 28% 34%, #2e2e2b 34% 62%, transparent 62% 68%, #2e2e2b 68%); border-top: 12px solid #e1ddd5; }
.build-visual { background: linear-gradient(155deg, #383834 0 50%, #464641 50%); }
.build-visual::before { content: ""; position: absolute; width: 82%; height: 70%; left: 8%; bottom: 0; background: linear-gradient(90deg, transparent 0 12%, #b35a31 12% 16%, transparent 16% 44%, #b35a31 44% 48%, transparent 48% 76%, #b35a31 76% 80%, transparent 80%), linear-gradient(#aaa69c 0 7%, transparent 7% 47%, #aaa69c 47% 54%, transparent 54%); }
.build-visual span { position: absolute; width: 60%; height: 7px; left: 20%; top: 20%; background: var(--brand-red); transform: rotate(-17deg); }

.projects { background: #e9edf2; }
.projects-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.projects-heading > p { max-width: 620px; margin: 0 0 .5rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.project-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 310px; gap: 1rem; }
.project-photo { position: relative; min-height: 0; margin: 0; overflow: hidden; background: var(--ink-soft); }
.project-photo-featured { grid-column: span 2; grid-row: span 2; }
.project-photo-wide { grid-column: span 2; }
.project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-photo:hover img { transform: scale(1.025); }
.project-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 2.8rem 1.2rem 1.1rem; color: var(--white); background: linear-gradient(transparent, rgba(7, 19, 35, .9)); }
.project-photo figcaption strong { font: 700 1.45rem/1 var(--display); letter-spacing: .025em; text-transform: uppercase; }
.project-photo figcaption span { margin-top: .35rem; color: rgba(255,255,255,.78); font-size: .84rem; }
.project-photo-process::after { content: "Process"; position: absolute; top: 1rem; left: 1rem; padding: .35rem .6rem; color: var(--white); background: var(--brand-red-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.process { color: var(--white); background: var(--brand-blue-dark); }
.process-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 3rem; align-items: start; }
.process-heading h2 { max-width: 900px; }
.process-list { margin: 5rem 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.process-list li > span { color: var(--copper-light); font: 700 1.25rem/1 var(--display); }
.process-list h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.process-list p { max-width: 620px; margin: .7rem 0 0; color: rgba(255,255,255,.65); }

.coverage { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; overflow: hidden; }
.coverage-map { position: relative; min-height: 520px; border: 1px solid var(--line); background: linear-gradient(35deg, transparent 48%, rgba(215,107,55,.08) 49% 51%, transparent 52%), linear-gradient(125deg, transparent 48%, rgba(23,23,22,.06) 49% 51%, transparent 52%); background-size: 80px 80px; }
.map-line { position: absolute; display: block; height: 3px; background: var(--ink); transform-origin: left center; }
.line-a { width: 56%; top: 69%; left: 17%; transform: rotate(-32deg); }
.line-b { width: 39%; top: 42%; left: 43%; transform: rotate(38deg); }
.line-c { width: 35%; top: 31%; left: 25%; transform: rotate(14deg); }
.map-dot { position: absolute; width: 16px; height: 16px; border: 4px solid var(--paper); border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 2px var(--copper); }
.dot-a { left: 16%; top: 67%; }.dot-b { left: 42%; top: 40%; }.dot-c { right: 17%; top: 65%; }.dot-d { left: 58%; top: 35%; }
.coverage-copy p:not(.section-kicker) { max-width: 570px; font-size: 1.1rem; }
.coverage-note { padding-left: 1rem; border-left: 3px solid var(--copper); color: #62615c; }

.estimate { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); color: var(--white); background: var(--ink-soft); }
.estimate-heading { position: sticky; top: 2rem; align-self: start; }
.estimate-heading > p:last-of-type { max-width: 480px; color: rgba(255,255,255,.72); }
.contact-options { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-options a { display: flex; flex-direction: column; align-items: flex-start; min-height: 44px; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.3); text-decoration: none; overflow-wrap: anywhere; }
.contact-options a:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.contact-options span { color: var(--copper-light); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-options strong { font-size: 1rem; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: flex; flex-direction: column; gap: .45rem; font-size: .9rem; font-weight: 600; letter-spacing: .04em; }
input, select, textarea { width: 100%; color: var(--white); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.24); border-radius: 0; outline: 0; padding: .9rem; }
input:focus, select:focus, textarea:focus { border-color: var(--white); box-shadow: 0 0 0 3px var(--brand-red); }
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { color: var(--ink); }
.full-width { grid-column: 1 / -1; }
.form-status { min-height: 1.5rem; margin: 0; color: var(--copper-light); }
.form-instructions { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.4rem clamp(1.2rem, 7vw, 7.5rem); color: rgba(255,255,255,.82); background: #0d0d0c; font-size: .875rem; }
footer p { overflow-wrap: anywhere; }
.footer-brand { color: white; }
.footer-brand, footer p a { min-height: 44px; }
footer p a { display: inline-flex; align-items: center; }
.accessibility-note { padding: 3rem clamp(1.2rem, 7vw, 7.5rem); color: var(--white); background: var(--brand-blue-dark); }
.accessibility-note h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.accessibility-note p { max-width: 760px; }
.accessibility-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 700; text-underline-offset: .25rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { position: absolute; top: 5.5rem; right: 1.2rem; left: 1.2rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; color: var(--ink); background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,.3); }
  nav.open { display: flex; }
  nav a { padding: .6rem; }
  .hero { min-height: 820px; height: auto; }
  .hero-content { width: 100%; padding-top: 10rem; padding-bottom: 22rem; }
  .hero-slab { top: auto; right: -13%; bottom: 4%; width: 72vw; height: 40%; opacity: .7; }
  .hero-proof { display: none; }
  .intro-grid, .projects-heading, .process-heading, .coverage, .estimate { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service-featured { min-height: 690px; grid-row: auto; }
  .service-card { min-height: 540px; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .estimate-heading { position: static; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .site-header { padding-top: 1rem; }
  .brand-copy strong { font-size: 1.12rem; }
  h1 { font-size: clamp(4.2rem, 21vw, 6rem); }
  .hero-content { padding-bottom: 18rem; }
  .hero-slab { width: 95vw; height: 32%; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .process-list li { grid-template-columns: 50px 1fr; }
  .coverage-map { min-height: 360px; }
  .project-gallery { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .project-photo-featured, .project-photo-wide { grid-column: auto; grid-row: auto; }
  form { grid-template-columns: 1fr; }
  form > * { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
