/* ============================================================
   DENVER VAPOR BLASTING — "SWISS GRID"
   International Typographic Style. Strict visible 12-col grid,
   black/white/red, Archivo grotesk + JetBrains Mono. Rational,
   ordered, catalog logic.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --paper: #f4f4f2;
  --ink: #111113;
  --ink-2: #3a3a3e;
  --gray: #6b6b70;
  --line: #111113;
  --line-2: #d6d6d2;
  --red: #e2231a;
  --red-ink: #fff;
  --pad: 40px;
  --rule: 2px;
  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--red);
  color: #fff;
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}
h1,
h2 {
  /* Tames one-word-per-line wraps and hero/side-panel overlap at display scale;
     unsupported browsers just keep default wrapping. */
  text-wrap: balance;
}
h1 {
  font-size: clamp(52px, 8vw, 116px);
}
h2 {
  font-size: clamp(34px, 5vw, 72px);
}
h3 {
  font-size: clamp(19px, 1.6vw, 23px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tab {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
strong {
  font-weight: 700;
}
.muted {
  color: var(--gray);
}
.red {
  color: var(--red);
}
a.link {
  border-bottom: 2px solid var(--red);
  color: var(--ink);
  font-weight: 600;
}
a.link:hover {
  background: var(--red);
  color: #fff;
}

/* ---------- shell / grid ---------- */
.shell {
  max-width: 1440px;
  margin: 0 auto;
  border-left: var(--rule) solid var(--line);
  border-right: var(--rule) solid var(--line);
  min-height: 100vh;
  background: var(--paper);
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.cell {
  border-right: var(--rule) solid var(--line);
  border-bottom: var(--rule) solid var(--line);
  padding: var(--pad);
}
.cell:last-child {
  border-right: none;
}
.nobb {
  border-bottom: none;
}
.nobr {
  border-right: none;
}

/* spans */
.s1 {
  grid-column: span 1;
}
.s2 {
  grid-column: span 2;
}
.s3 {
  grid-column: span 3;
}
.s4 {
  grid-column: span 4;
}
.s5 {
  grid-column: span 5;
}
.s6 {
  grid-column: span 6;
}
.s7 {
  grid-column: span 7;
}
.s8 {
  grid-column: span 8;
}
.s9 {
  grid-column: span 9;
}
.s12 {
  grid-column: span 12;
}

/* ---------- utility bar ---------- */
.util {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px var(--pad);
  border-bottom: var(--rule) solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  flex-wrap: wrap;
  gap: 8px;
}
.util b {
  color: var(--red);
  font-weight: 500;
}

/* ---------- nav ---------- */
.nav {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-bottom: var(--rule) solid var(--line);
  align-items: stretch;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
}
.nav .brand {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px var(--pad);
  border-right: var(--rule) solid var(--line);
}
.nav .brand .mk {
  width: 34px;
  height: 34px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  flex: none;
}
.nav .brand .nm {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.nav .brand .nm span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
  font-weight: 400;
  margin-top: 4px;
}
.nav nav {
  grid-column: span 8;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}
.nav nav a {
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-left: 1px solid var(--line-2);
  transition: 0.15s;
}
.nav nav a:first-child {
  border-left: none;
}
.nav nav a:hover {
  background: var(--ink);
  color: var(--paper);
}
.nav nav a.active {
  background: var(--red);
  color: #fff;
}
.nav .burger {
  display: none;
}
@media (max-width: 900px) {
  .nav .brand {
    grid-column: span 9;
  }
  .nav nav {
    display: none;
  }
  .nav nav.open {
    display: flex;
    grid-column: span 12;
    flex-direction: column;
    align-items: stretch;
    border-top: var(--rule) solid var(--line);
  }
  .nav nav.open a {
    border-left: none;
    border-bottom: 1px solid var(--line-2);
    padding: 16px var(--pad);
  }
  .nav .burger {
    grid-column: span 3;
    display: grid;
    place-items: center;
    border-left: var(--rule) solid var(--line);
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  padding: 16px 24px;
  cursor: pointer;
  border: var(--rule) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: 0.15s;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn .ar {
  transition: transform 0.15s;
}
.btn:hover .ar {
  transform: translateX(4px);
}

/* ---------- section header cell ---------- */
.sechead .no {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 500;
}
.sechead h2 {
  margin-top: 16px;
}

/* red block */
.redblock {
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.redblock .lab {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.redblock .big {
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: auto;
  text-transform: uppercase;
}
.redblock a.rb-cta {
  margin-top: 22px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  padding-top: 16px;
  display: inline-flex;
  justify-content: space-between;
}
.redblock a.rb-cta:hover {
  opacity: 0.8;
}
.inkblock {
  background: var(--ink);
  color: var(--paper);
}
.inkblock .tab {
  color: var(--red);
}

/* hero headline */
.hl h1 .r {
  color: var(--red);
}
.hero-fig {
  overflow: hidden;
  padding: 0;
}
.hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  min-height: 220px;
}

/* lede */
.lede {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}

/* catalog items */
.cat .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.cat h3 {
  margin: 16px 0 10px;
}
.cat p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* stat cells */
.statc .num {
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.statc .lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.5;
}

/* process step cell */
.stepc .n {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.stepc h3 {
  margin: 18px 0 10px;
}
.stepc p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* check list */
.checks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0;
}
.checks li {
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.checks li::before {
  content: "—";
  color: var(--red);
  font-weight: 700;
}

/* image utility */
.imgcell {
  padding: 0;
  overflow: hidden;
}
.imgcell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  display: block;
  min-height: 260px;
}
.imgcell.duo img {
  filter: grayscale(1) contrast(1.05);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gitem {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-right: var(--rule) solid var(--line);
  border-bottom: var(--rule) solid var(--line);
  aspect-ratio: 4 / 3;
  background: #000;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: 0.4s;
}
.gitem:hover img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.03);
}
.gitem figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-top: var(--rule) solid var(--line);
  border-right: var(--rule) solid var(--line);
}
.gitem .idx {
  position: absolute;
  right: 12px;
  top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
  z-index: 2;
  mix-blend-mode: difference;
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* before/after */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: #000;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba .after {
  clip-path: inset(0 0 0 var(--split, 50%));
  filter: grayscale(0);
}
.ba .before {
  filter: grayscale(1) brightness(0.7) contrast(1.1);
}
.ba .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 3px;
  background: var(--red);
  z-index: 3;
  transform: translateX(-1.5px);
}
.ba .handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.ba .lab {
  position: absolute;
  bottom: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 9px;
}
.ba .lab.l {
  left: 12px;
}
.ba .lab.r {
  right: 12px;
  background: var(--red);
}

/* ---------- faq ---------- */
.faq-item {
  border-bottom: 1px solid var(--line-2);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.faq-q .qn {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  flex: none;
}
.faq-q .qi {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--red);
  transition: 0.25s;
}
.faq-item.open .qi {
  transform: rotate(45deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-a-in {
  padding: 0 0 26px 42px;
  max-width: 70ch;
}
.faq-a p {
  font-size: 15px;
  color: var(--ink-2);
}
.faq-a p:last-child {
  margin-bottom: 0;
}
.faq-ul {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-ul li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.faq-ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}
.faq-ul strong {
  color: var(--ink);
}

/* ---------- form ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: #fff;
  border: var(--rule) solid var(--ink);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  padding: 14px 15px;
  width: 100%;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--red);
  outline-offset: -2px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9a9a9a;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}
.field-group-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 10px;
}
.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 2px;
}
.field-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  opacity: 0.7;
}
.field-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.radio-group input[type="radio"] {
  width: auto;
  flex-shrink: 0;
  margin: 0;
}
.file-drop {
  display: block;
  border: var(--rule) dashed var(--line-2);
  padding: 22px;
  cursor: pointer;
  text-align: center;
  background: #fff;
  transition: border-color 0.2s;
}
.file-drop:hover,
.file-drop:focus-within,
.file-drop.drag-over {
  border-color: var(--red);
}
.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.file-cta {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.file-sub {
  display: block;
  font-size: 13px;
  color: var(--gray);
}
.photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.photo-previews:not(:empty) {
  padding-top: 4px;
}
.photo-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
}
.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--rule) solid var(--line);
  display: block;
}
.photo-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  padding: 0;
}
.form-error {
  color: var(--red);
  font-size: 14px;
  margin-top: 12px;
}
.thanks {
  border: var(--rule) solid var(--red);
  padding: 40px;
}

/* ---------- footer ---------- */
.foot .fx {
  border-right: var(--rule) solid var(--line);
  border-top: var(--rule) solid var(--line);
  padding: var(--pad);
}
.foot .fx:last-child {
  border-right: none;
}
.foot h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  margin: 0 0 16px;
}
.foot a.fl {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.foot a.fl:hover {
  color: var(--red);
}
.foot .big {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
}
/* An email (not a display-friendly phone number) renders smaller so it doesn't overflow/wrap. */
.foot .big.is-email {
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0;
}
.foot-meta {
  display: flex;
  justify-content: space-between;
  padding: 16px var(--pad);
  border-top: var(--rule) solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 19, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: var(--rule) solid var(--paper);
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--red);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  font-size: 18px;
  cursor: pointer;
  font-family: var(--mono);
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--paper);
  font-size: 46px;
  cursor: pointer;
  padding: 0 16px;
  opacity: 0.7;
}
.lb-nav:hover {
  opacity: 1;
  color: var(--red);
}
.lb-prev {
  left: 1vw;
}
.lb-next {
  right: 1vw;
}
.lb-cap {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 26px;
  }
  .s4,
  .s5,
  .s6,
  .s7,
  .s8,
  .s9 {
    grid-column: span 12;
  }
  .s3 {
    grid-column: span 6;
  }
  .hero-fig {
    display: none;
  }
  .checks {
    grid-template-columns: 1fr;
  }
}
