:root {
  --bg: #17181a;
  --surface: #1f2124;
  --surface-2: #282b2f;
  --line: #34373c;
  --text: #ecebe8;
  --muted: #a1a4a9;
  --orange: #f47b20;
  --orange-light: #ff9a4d;
  --orange-tint: rgba(244, 123, 32, 0.12);
  --radius: 10px;
  --header-h: 76px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---- Base ---- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h2 span { color: var(--orange); }

p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font: 600 0.95rem var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }

/* Dark text on orange because white fails contrast at this shade. */
.btn-primary { background: var(--orange); color: var(--bg); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 24, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }

.logo { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }

.logo-mark {
  width: 44px;
  height: 30px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark-inner { stroke: var(--muted); stroke-width: 2.5; }

.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-text small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.site-nav { display: flex; gap: 1.75rem; }

.site-nav a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--orange); }

.nav-toggle { display: none; }

/* ---- Hero ---- */

.hero, .page-hero { position: relative; overflow: hidden; }

.hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: radial-gradient(ellipse 60% 70% at 85% 40%, rgba(244, 123, 32, 0.13), transparent 70%), var(--bg);
}

.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.25rem; }
.hero h1 span { display: block; color: var(--orange); }

.lead { max-width: 34rem; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-art { width: 100%; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .base { stroke: #5d6168; stroke-width: 2; }
.hero-art .ridge { stroke: var(--orange); stroke-width: 4; }
.hero-art .plan { stroke: #4b4f55; stroke-width: 1.5; stroke-dasharray: 6 6; }
.hero-art .scaffold { stroke: #4b4f55; stroke-width: 1.5; }
.hero-art .dim { stroke: var(--orange); stroke-width: 1.25; opacity: 0.8; }
.hero-art text { fill: var(--orange); stroke: none; font: 500 13px var(--font-head); letter-spacing: 0.1em; }

/* ---- Page header ---- */

.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 45% 90% at 90% 50%, rgba(244, 123, 32, 0.12), transparent 70%), var(--bg);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -2px;
  width: min(460px, 40vw);
  aspect-ratio: 2 / 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 100 100 14l92 86' stroke='%23f47b20' stroke-width='3'/%3E%3Cpath d='M52 100l48-45 48 45' stroke='%235d6168' stroke-width='2'/%3E%3C/svg%3E") center bottom / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 { max-width: 14em; margin-bottom: 0.75rem; font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 700; }
.page-hero h1 span { color: var(--orange); }

.page-hero .lead { margin-bottom: 0; }

/* ---- Trust strip ---- */

.trust { background: var(--surface); border-block: 1px solid var(--line); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.trust-item { display: flex; align-items: center; gap: 0.9rem; padding: 1.6rem 1.25rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }

.trust-item svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-item span { font-size: 0.9rem; color: var(--muted); }

/* ---- Sections ---- */

.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); }

.section h2 { font-size: clamp(2rem, 4.2vw, 3rem); }

.section-foot { margin-top: 2.5rem; }

/* ---- Services ---- */

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-4px); background: var(--surface-2); border-color: #4a4d53; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: var(--orange-tint);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2, .service-card h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: 0.03em; }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.services-grid-wide { grid-template-columns: repeat(2, 1fr); }
.services-grid-wide .service-card { padding: 2rem; }
.services-grid-wide .service-card h2 { font-size: 1.5rem; }
.services-grid-wide .check-list { margin: 1.25rem 0 0; font-size: 0.95rem; gap: 0.6rem; }

/* ---- About ---- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.about-photo { position: relative; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.about-badge {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--bg);
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1.1;
}

.about-badge strong { display: block; font-size: 1.8rem; font-weight: 700; }
.about-badge span { font-size: 0.9rem; letter-spacing: 0.08em; }

.about-copy > p:not(.eyebrow) { color: var(--muted); }

.check-list { display: grid; gap: 0.85rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; }

.check-list li { position: relative; padding-left: 2rem; }

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---- Work ---- */

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1.25rem; }

.work-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.work-tile:first-child { grid-column: span 2; grid-row: span 2; }

.work-tile img { width: 100%; height: 100%; object-fit: cover; }

.work-tile figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.work-tile figcaption span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

.work-tile figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Before & after ---- */

.ba-list { display: grid; gap: 3rem; }

.ba-item h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: 0.03em; }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.ba-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }

/* Biased upwards so portrait shots keep the roofline in frame. */
.ba-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ba-photo img.focus-low { object-position: 50% 75%; }

.ba-photo figcaption {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  background: rgba(23, 24, 26, 0.85);
  font: 500 0.8rem var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ba-photo + .ba-photo figcaption { background: var(--orange); color: var(--bg); }

/* ---- Process ---- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step { position: relative; padding: 2rem 0.5rem 0 0; border-top: 3px solid var(--line); }

.step::after { content: ""; position: absolute; top: -3px; left: 0; width: 48px; height: 3px; background: var(--orange); }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.step h3 { font-size: 1.2rem; font-weight: 500; }
.step p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---- Reviews ---- */

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stars { margin-bottom: 1rem; font-size: 1.05rem; letter-spacing: 0.15em; color: var(--orange); }

.section-alt .review { background: var(--bg); }

.review blockquote { flex: 1; margin: 0 0 1.5rem; }

.review figcaption { font-size: 0.9rem; color: var(--muted); }
.review figcaption strong { display: block; font-weight: 600; color: var(--text); }

/* ---- Call to action band ---- */

.cta-band {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='2'%3E%3Cpath d='M0 24 24 4l24 20'/%3E%3C/svg%3E"),
    var(--orange);
  color: var(--bg);
}

.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; }

.cta-band h2 { margin: 0 0 0.25rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.cta-band p { margin: 0; font-weight: 500; }

/* ---- Contact ---- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

.contact-info > p:not(.eyebrow) { color: var(--muted); }

.contact-list { display: grid; gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }

.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--orange-tint);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list span { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.contact-list a { font-size: 1.1rem; font-weight: 600; transition: color 0.2s; }
.contact-list a:hover { color: var(--orange); }

.quote-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.quote-form label { display: grid; gap: 0.45rem; font-size: 0.9rem; font-weight: 500; }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: 400 1rem var(--font-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.2);
}

.quote-form select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f47b20' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 18px no-repeat;
}

.quote-form textarea { min-height: 130px; resize: vertical; }

.form-note { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* ---- Footer ---- */

.site-footer { padding: 3.5rem 0 1.5rem; background: #111214; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-blurb { max-width: 22rem; margin-top: 1.25rem; }

.site-footer h3 { margin-bottom: 1rem; font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text); }

.site-footer ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }

.site-footer ul a { transition: color 0.2s; }
.site-footer ul a:hover { color: var(--orange); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .header-inner { gap: 0.75rem; }

  .header-call { padding: 0.6rem; }
  .header-call span { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--text); }

  .hero-inner, .about-grid, .contact-grid, .services-grid-wide { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .about-photo { aspect-ratio: 4 / 3; }
  .about-badge { right: 1rem; bottom: 1rem; }

  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .work-tile:first-child { grid-row: span 1; }

  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .logo-text { font-size: 1.15rem; }
  .logo-text small { font-size: 0.6rem; }

  .page-hero::after { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }

  .work-grid { grid-template-columns: 1fr; }
  .work-tile:first-child { grid-column: auto; }

  .process-grid, .form-row, .footer-grid, .ba-pair { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
