@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

:root {
  --black: #0c0c0d;
  --charcoal: #17181a;
  --charcoal-2: #202224;
  --red: #d81e2c;
  --red-dark: #a0141f;
  --white: #f4f4f4;
  --gray: #9a9ea3;
  --border: #2c2e31;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

/* Grain texture, laid over the whole page so flat dark panels read as
   garage/industrial instead of flat corporate-dark-theme black. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 0.98;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,13,0.94);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(6px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(216,30,44,0.35));
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.nav-cta:hover { background: var(--red-dark); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .logo-img { height: 72px; }
}

/* Angled divider bar used between sections instead of a flat seam */
.rip {
  position: relative;
  height: 46px;
  background: var(--red);
  transform: skewY(-1.6deg);
  margin: -30px 0;
  z-index: 3;
}
.rip.alt { background: var(--black); }

/* Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10,0,2,0.88) 0%, rgba(10,0,2,0.55) 35%, rgba(216,30,44,0.28) 70%, rgba(10,0,2,0.75) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-mascot {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 46%;
  max-width: 620px;
  min-width: 320px;
  opacity: 0.16;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(0,0,0,0.6));
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px 96px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.stencil-tag {
  display: inline-block;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 15px;
  padding: 7px 16px 7px 14px;
  margin-bottom: 18px;
  transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.hero h1 {
  font-size: clamp(52px, 9.5vw, 118px);
  max-width: 900px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
.hero h1 .cut { color: var(--red); }
.hero p {
  font-size: 23px;
  color: var(--white);
  opacity: 0.85;
  max-width: 560px;
  margin-top: 18px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 17px 34px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); }

/* Sections */
section { padding: 96px 0; position: relative; z-index: 2; }
.section-alt { background: var(--charcoal); }
.eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 5.5vw, 58px); }
.section-head p { color: var(--gray); font-size: 20px; margin-top: 14px; }

/* Services grid — staggered, not a flat uniform row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--black);
  padding: 40px 26px 34px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.2s;
}
.service-card:nth-child(even) { transform: translateY(22px); }
.service-card:hover { background: var(--charcoal-2); }
.service-card .num {
  position: absolute;
  top: -6px;
  right: 10px;
  color: var(--red);
  font-family: 'Anton', sans-serif;
  font-size: 76px;
  opacity: 0.14;
  line-height: 1;
}
.service-card h3 { font-size: 26px; margin: 8px 0 10px; position: relative; }
.service-card p { color: var(--gray); font-size: 17px; position: relative; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(even) { transform: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Gallery grid — collage rhythm, not a uniform tile wall */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  position: relative;
}
.gallery-grid.masonry a:nth-child(5n+1) { grid-row: span 2; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--red);
  padding-left: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-grid a:hover figcaption { opacity: 1; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* Before / after — the transformation story, given real visual weight */
.ba-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.ba-media { position: relative; }
.ba-media img {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  filter: brightness(1.1) contrast(1.03);
}
.ba-label {
  position: absolute;
  top: 18px;
  left: -14px;
  background: var(--red);
  color: var(--white);
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  padding: 10px 22px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}
@media (max-width: 800px) {
  .ba-wrap { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--black);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 30px;
}
.testimonial .stars { color: var(--red); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p.quote { font-size: 19px; margin-bottom: 18px; }
.testimonial .who { color: var(--gray); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* Financing band */
.financing {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  padding: 68px 0;
  clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%);
  margin: -26px 0;
  position: relative;
  z-index: 4;
}
.financing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.financing h2 { font-size: clamp(30px, 4.5vw, 46px); }
.financing p { font-size: 20px; margin-top: 8px; opacity: 0.9; }
.financing .btn-outline { border-color: var(--white); }

/* Footer */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid p, .footer-grid a { color: var(--gray); font-size: 17px; margin-bottom: 6px; display: block; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: #5a5d61;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Page header (non-home pages) */
.page-header {
  position: relative;
  padding: 76px 0 52px;
  background: var(--charcoal);
  border-bottom: 2px solid var(--red);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}
.page-header .eyebrow { margin-bottom: 8px; }
.page-header h1 { font-size: clamp(40px, 6.5vw, 66px); }
.page-header p { color: var(--gray); font-size: 20px; max-width: 640px; margin-top: 14px; }
.page-header-mascot {
  position: absolute;
  right: -4%;
  top: -18%;
  width: 30%;
  max-width: 320px;
  min-width: 180px;
  opacity: 0.08;
  pointer-events: none;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
label {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
  margin-top: 20px;
}
input, select, textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  border-radius: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 14px; color: #5a5d61; margin-top: 24px; }

.info-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 32px;
}
.info-card h3 { font-size: 24px; margin-bottom: 20px; }
.info-row { margin-bottom: 18px; }
.info-row .label { color: var(--gray); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.info-row .value { font-size: 22px; font-weight: 600; }
.info-row .value a:hover { color: var(--red); }

/* Form honeypot + submit feedback */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-weight: 700; font-size: 16px; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: #3fae63; }
