:root {
  --anchor-offset: 132px;
  --cream: #f7f0e2;
  --cream-deep: #eadcc7;
  --ink: #090b0c;
  --charcoal: #17191a;
  --rust: #96400e;
  --rust-dark: #6f2a08;
  --rust-light: #c96b22;
  --line: rgba(9, 11, 12, 0.16);
  --muted: #655e55;
  --panel: rgba(255, 250, 240, 0.94);
  --shadow: 0 22px 58px rgba(20, 14, 8, 0.2);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  position: relative;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

html::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    radial-gradient(var(--rust) 0.65px, transparent 0.65px),
    radial-gradient(var(--ink) 0.45px, transparent 0.45px);
  background-position: 2px 4px, 13px 15px;
  background-size: 18px 18px, 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(150, 64, 14, 0.08), transparent 23%),
    radial-gradient(circle at 85% 28%, rgba(9, 11, 12, 0.08), transparent 18%),
    linear-gradient(180deg, var(--cream), #fffaf0 34%, var(--cream-deep));
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(var(--rust) 1.1px, transparent 1.1px),
    radial-gradient(var(--ink) 0.8px, transparent 0.8px);
  background-position: 0 0, 11px 12px;
  background-size: 30px 30px, 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

body::before {
  opacity: 0.22;
}

body::after {
  position: absolute;
  bottom: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    radial-gradient(var(--rust) 1.8px, transparent 1.8px),
    radial-gradient(var(--ink) 1.2px, transparent 1.2px);
  background-position: 6px 8px, 23px 27px;
  background-size: 72px 72px, 52px 52px;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 240, 226, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 8px 18px;
  color: #fff7ea;
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar a {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 15px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 268px;
  text-decoration: none;
}

.brand__badge {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--cream);
  background:
    linear-gradient(135deg, transparent 12%, rgba(255, 255, 255, 0.16) 12% 18%, transparent 18%),
    var(--rust);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  color: var(--rust);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(9, 11, 12, 0.12);
}

.brand small {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 28px;
}

.nav__links a {
  color: var(--charcoal);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: #fff8ed;
  background: var(--rust);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--rust-dark);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
}

.button--ghost {
  color: var(--cream);
  background: rgba(9, 11, 12, 0.28);
  border-color: var(--cream);
  box-shadow: 5px 5px 0 rgba(255, 248, 237, 0.26);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 570px);
  gap: 44px;
  min-height: 640px;
  padding: clamp(48px, 5vw, 76px) max(22px, calc((100vw - 1220px) / 2)) 66px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(9, 11, 12, 0.92), rgba(9, 11, 12, 0.74) 48%, rgba(111, 42, 8, 0.3)),
    repeating-linear-gradient(155deg, rgba(255, 248, 237, 0.08) 0 3px, transparent 3px 28px);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 80px;
  border: 24px solid rgba(201, 107, 34, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(255, 248, 237, 0.06);
}

.hero::after {
  left: -90px;
  bottom: 52px;
  width: 62vw;
  height: 92px;
  background:
    linear-gradient(90deg, transparent, rgba(201, 107, 34, 0.86) 15%, rgba(150, 64, 14, 0.94) 82%, transparent),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(9, 11, 12, 0.22) 8px 11px);
  transform: rotate(-2deg);
}

.hero__copy {
  align-self: center;
  color: var(--cream);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust-light);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.85rem);
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(150, 64, 14, 0.74), 7px 7px 0 rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  display: block;
  color: var(--rust-light);
}

.tagline {
  display: inline-block;
  margin: 28px 0 0;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--rust);
  box-shadow: 5px 5px 0 rgba(150, 64, 14, 0.85);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-2deg);
}

.hero__text {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 248, 237, 0.84);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  align-self: center;
  overflow: hidden;
  margin: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), var(--panel) 72%);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow), 9px 9px 0 var(--rust);
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.hero-card__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  background: var(--cream);
}

.hero-card__strip span {
  display: grid;
  min-height: 66px;
  padding: 10px;
  place-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.hero-card__strip span + span {
  border-left: 2px solid var(--line);
}

.service-grid article,
.quote-card,
.about__panel {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(150, 64, 14, 0.9);
}

.service-grid h3,
.contact-stack a,
.contact-stack span {
  text-transform: uppercase;
}

.section p,
.footer p,
.footer span {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px 22px 0;
}

.finish-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(340px, 1fr) minmax(220px, 0.58fr);
  gap: 34px;
  align-items: center;
}

.finish-showcase h2,
.section__heading h2,
.quote-section h2,
.about h2 {
  margin: 0;
  color: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.85rem);
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.split__copy {
  text-align: center;
}

.finish-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 10px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--rust);
}

.finish-photo div {
  min-height: 275px;
  background-color: #fff8ea;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(9, 11, 12, 0.22);
  filter: contrast(1.04) saturate(1.05);
}

.finish-photo--before div {
  background-image: url("assets/before-wheel.png");
}

.finish-photo--after div {
  background-image: url("assets/after-wheel.png");
}

.finish-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: -18px;
  padding: 7px 18px;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--rust);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-4deg);
}

.section__heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-grid article {
  min-height: 260px;
  padding: 26px;
}

.service-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--cream);
  background: var(--ink);
  border: 3px solid var(--rust);
  font-weight: 950;
}

.service-grid h3 {
  margin: 0 0 10px;
  color: var(--rust);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  letter-spacing: 0;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 58px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-stack a,
.contact-stack span {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  color: var(--ink);
  background: #fff9ed;
  border-left: 5px solid var(--rust);
  font-family: system-ui, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.quote-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf1;
  border: 2px solid rgba(9, 11, 12, 0.24);
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 30px;
  align-items: stretch;
  padding-bottom: 92px;
}

.about__panel {
  padding: 34px;
}

.badge-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.badge-list span {
  padding: 18px 22px;
  color: var(--cream);
  background:
    linear-gradient(90deg, var(--rust), var(--rust-dark)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 3px, transparent 3px 12px);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 1.5rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 38px;
  padding: 54px max(22px, calc((100vw - 1220px) / 2));
  color: var(--cream);
  background: var(--ink);
  border-top: 8px solid var(--rust);
}

.brand--footer strong {
  color: var(--rust-light);
}

.brand--footer small,
.footer p,
.footer span {
  color: rgba(255, 248, 237, 0.72);
}

.footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rust-light);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.footer a {
  color: var(--cream);
  font-family: system-ui, sans-serif;
  text-decoration: none;
}

.gallery-hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 76px 22px 34px;
}

.gallery-hero h1,
.gallery-cta h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.75rem, 4.6vw, 5rem);
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.gallery-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.65;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 320px;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px 76px;
}

.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--rust);
  text-decoration: none;
}

.gallery-tile--wide {
  grid-column: span 1;
}

.gallery-tile--tall {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-tile:hover img {
  filter: contrast(1.06) saturate(1.08);
  transform: scale(1.025);
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto 92px;
  padding: 34px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--rust);
}

.gallery-cta h2 {
  max-width: 680px;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 62px 22px 28px;
  background: rgba(9, 11, 12, 0.92);
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  background: var(--cream);
  border: 3px solid var(--cream);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.lightbox__close {
  position: fixed;
  right: 22px;
  top: 18px;
  padding: 9px 14px;
  color: var(--cream);
  background: var(--rust);
  border: 2px solid var(--cream);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 52px;
  padding: 0 14px;
  color: var(--cream);
  background: var(--rust);
  border: 2px solid var(--cream);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

@media (max-width: 980px) {
  :root {
    --anchor-offset: 172px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav__links {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .quote-section,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 680px;
  }

  .service-grid,
  .finish-showcase,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
  }

  .gallery-tile--wide,
  .gallery-tile--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .split__copy {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (max-width: 660px) {
  :root {
    --anchor-offset: 0px;
  }

  .site-header {
    position: static;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 7px 14px;
    font-size: 0.82rem;
    text-align: center;
  }

  .nav {
    gap: 12px;
    padding: 12px 16px;
  }

  .nav__links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .brand__badge {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero__actions .button {
    width: 100%;
  }

  .nav .button {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 0;
    padding: 46px 16px 64px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .tagline {
    font-size: 2rem;
  }

  .finish-showcase h2,
  .section__heading h2,
  .quote-section h2,
  .about h2 {
    font-size: 2.15rem;
    line-height: 1.04;
  }

  .hero-card__strip,
  .service-grid,
  .finish-showcase,
  .footer {
    grid-template-columns: 1fr;
  }

  .gallery-hero {
    padding: 62px 16px 30px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    padding: 0 16px 70px;
  }

  .gallery-cta {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 16px 70px;
    padding: 24px;
  }

  .lightbox {
    padding-inline: 12px;
  }

  .lightbox img {
    max-width: 96vw;
    max-height: 78vh;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    min-width: 92px;
    transform: none;
  }

  .hero-card__strip span + span {
    border-top: 2px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 52px 16px 0;
  }

  .finish-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .finish-photo div {
    min-height: 240px;
  }

  .about {
    padding-bottom: 70px;
  }
}
