/* Lamberth Waterproof Systems */

:root {
  --ink:      #14181C;
  --ink-2:    #232A31;
  --bone:     #F7F5F1;
  --bone-2:   #EFEBE4;
  --stone:    #6E6862;
  --body:     #4A4744;
  --rust:     #B4552D;
  --rust-dk:  #8E3F1F;
  --line:     #DDD7CE;
  --wrap:     1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.015em; }
p { margin: 0 0 1.15em; }
a { color: var(--rust); }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.measure { max-width: 64ch; }

section { padding: 108px 0; }
.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--rust); margin-bottom: 18px;
}
.lead { font-size: 1.24rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 17px 34px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em;
  text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: var(--rust-dk); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-line:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
header.site { position: absolute; top: 0; left: 0; right: 0; z-index: 60; padding: 26px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px;
  background: #fff; padding: 4px; box-sizing: border-box;
}
.brand-text { display: block; }
.brand-text strong {
  display: block; color: #fff; font-size: 1.12rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
}
.brand-text span {
  display: block; color: rgba(255,255,255,.62);
  font-size: .68rem; letter-spacing: .19em; text-transform: uppercase; margin-top: 3px;
}
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.main a:hover { color: #fff; }
nav.main .btn { padding: 12px 22px; font-size: .93rem; }
.navtoggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navtoggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; }

header.site.stuck {
  position: fixed; background: var(--ink); padding: 14px 0;
  animation: drop .3s ease;
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background: var(--ink); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,13,16,.94) 0%, rgba(10,13,16,.5) 45%, rgba(10,13,16,.72) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 84px; padding-top: 150px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero .lead { color: rgba(255,255,255,.84); max-width: 52ch; font-size: 1.3rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Stat strip ---------- */
.stats { background: var(--ink); color: #fff; padding: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 46px 30px 46px 0; }
.stat b {
  display: block; font-size: clamp(2.6rem, 5vw, 3.9rem); font-weight: 800;
  line-height: 1; letter-spacing: -.03em; color: #fff;
}
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.6); font-size: .95rem; }

/* ---------- Editorial rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 108px; }
.row:last-child { margin-bottom: 0; }
.row.flip .row-media { order: 2; }
.row-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.row h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: .45em; }

/* ---------- Full-bleed photo band ---------- */
.band { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(12,15,18,.68); }
.band .wrap { position: relative; z-index: 2; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.82); margin-left: auto; margin-right: auto; }

/* ---------- Service index ---------- */
.svc { border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: 60px 1fr 1.1fr; gap: 28px;
  padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.svc-num { font-weight: 700; color: var(--rust); font-size: .92rem; padding-top: 5px; }
.svc-item h3 { margin: 0; }
.svc-item p { margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 4px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--bone-2); aspect-ratio: 1/1; cursor: pointer; }
.gallery figure:nth-child(6n+1) { grid-column: span 2; aspect-ratio: 2/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.gallery figure:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,13,16,.96);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; color: #fff; border: 0;
  width: 56px; height: 56px; font-size: 1.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; opacity: .7;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; }
.step-n {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--rust);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--rust);
  display: inline-block;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 30px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { margin-bottom: .5em; }
.faq-item p { margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: rgba(255,255,255,.78); }
.contact h2, .contact h3 { color: #fff; }
.contact .eyebrow { color: var(--rust); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 76px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 0; font: inherit; font-size: 1.02rem;
  background: transparent; color: #fff; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--rust); }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.contact-line { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--rust); flex: 0 0 22px; margin-top: 5px; }
.contact-line small {
  display: block; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 4px;
}
.contact-line a, .contact-line b {
  color: #fff; font-size: 1.32rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em;
}
.contact-line a:hover { color: var(--rust); }

.formmsg { padding: 15px 18px; margin-bottom: 18px; display: none; font-size: .96rem; }
.formmsg.ok { display: block; background: rgba(120,180,120,.16); color: #A8E0A8; }
.formmsg.err { display: block; background: rgba(200,90,70,.18); color: #F0AE9A; }

/* ---------- Footer ---------- */
footer.site { background: #0C0F12; color: rgba(255,255,255,.5); padding: 54px 0; font-size: .92rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site a { color: rgba(255,255,255,.72); text-decoration: none; }
footer.site a:hover { color: var(--rust); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--rust); }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; color: #fff; font-weight: 700; font-size: 1.06rem; text-decoration: none;
}
.callbar svg { width: 19px; height: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 68px 0; }
  .row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 62px; }
  .row.flip .row-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .svc-item p { grid-column: 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(6n+1) { grid-column: span 2; }
  .stat { padding: 30px 20px 30px 0; }
  .hero { min-height: 88vh; }
  .hero .wrap { padding-bottom: 56px; padding-top: 120px; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 22px;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  nav.main .btn { margin-top: 14px; justify-content: center; }
  .navtoggle { display: block; }
  .callbar { display: block; }
  body { padding-bottom: 58px; }
}

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