/* Elk Industries — elkindustries.co
   Recreated from design_handoff_elkindustries_site (high fidelity: values are final). */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0d0e10;
  color: #c9ccd1;
  font-family: 'Barlow', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #d8dbdf; text-decoration: none; }
a:hover { color: #c9995f; }
::selection { background: #c9995f; color: #0d0e10; }
input::placeholder, textarea::placeholder { color: #565b62; }
img { max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px; box-sizing: border-box; }

/* Italic accent words: sentence-case, no letter-spacing */
em.accent, em.grad {
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
em.accent { color: #c9995f; }
em.grad {
  background: linear-gradient(100deg, #e7c491, #c9995f 60%, #9a7040);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #c9995f;
  font-weight: 600;
}
.eyebrow--dim { color: #565b62; letter-spacing: 3px; }

.btn {
  display: inline-block;
  background: #c9995f;
  color: #0d0e10;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 2px;
}
.btn:hover { filter: brightness(1.12); color: #0d0e10; }

.arrow-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9995f;
  border-bottom: 1px solid #c9995f;
  padding-bottom: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 48px;
  background: rgba(13, 14, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #232529;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 42px; width: auto; display: block; mix-blend-mode: screen; }
.nav-brand-text { display: flex; align-items: baseline; gap: 10px; }
.nav-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 3px;
  color: #e8eaed;
}
.nav-tagline { font-size: 11px; letter-spacing: 2.5px; color: #7b8087; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #a7abb1; }
.nav-links > a:hover { color: #c9995f; }
.nav-links > a.current { color: #c9995f; }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d0e10;
  background: #c9995f;
  padding: 9px 22px;
  border-radius: 2px;
  white-space: nowrap;
}
.nav-links > a.nav-cta { font-size: 17px; color: #0d0e10; }
.nav-links > a.nav-cta:hover { filter: brightness(1.12); color: #0d0e10; }

/* ---------- Page headers (sub-pages) ---------- */
.page-header { border-bottom: 1px solid #232529; background: #101114; }
.page-header .wrap { padding-top: 96px; padding-bottom: 72px; }
.page-header h1 {
  margin: 0 0 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
  max-width: 900px;
  text-wrap: pretty;
}
.page-header p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.7; color: #9ba0a7; text-wrap: pretty; }
.page-header p.wide { max-width: 580px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.35) 0%, rgba(13,14,16,0.55) 50%, rgba(13,14,16,0.97) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: 88px; }
.hero h1 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
  max-width: 1000px;
  text-wrap: pretty;
}

/* ---------- Sections ---------- */
section { border-bottom: 1px solid #232529; }
.alt { background: #101114; }

.intro-grid {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}
.lede {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #b9bec5;
  text-wrap: pretty;
}
.lede .hl { color: #e8eaed; }
.body-copy { margin: 0 0 28px; font-size: 17px; line-height: 1.75; color: #9ba0a7; text-wrap: pretty; }

.chips-block { padding-bottom: 72px; }
.chips-block .eyebrow--dim { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8dbdf;
  border: 1px solid #33363c;
  padding: 12px 26px;
  border-radius: 999px;
}
.chip:hover { border-color: #c9995f; color: #c9995f; }

/* Materials */
.materials { padding-top: 88px; padding-bottom: 88px; }
.materials .eyebrow { margin-bottom: 36px; }
.material-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #232529;
}
.material-row:last-child { border-bottom: none; }
.material-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8eaed;
}
.material-note { font-size: 14px; letter-spacing: 1px; color: #7b8087; text-align: right; }

/* Story / two-column feature */
.feature-grid {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid > img { width: 100%; height: 460px; object-fit: cover; border: 1px solid #232529; box-sizing: border-box; }
.h2-lg {
  margin: 0 0 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
  text-wrap: pretty;
}
.body-copy--tight { margin-bottom: 16px; }

/* Projects strip (home) */
.strip-head {
  padding-top: 88px;
  padding-bottom: 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-head h2 { margin: 0; }
.strip {
  padding-bottom: 88px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
}
.strip figure { margin: 0; flex: 0 0 340px; background: #141519; border: 1px solid #232529; }
.strip img { display: block; width: 100%; height: 380px; object-fit: cover; }
.strip figcaption {
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8d929a;
}

/* Contact band (home) */
.band-grid {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.h2-band {
  margin: 0 0 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
}
.band-grid .body-copy { max-width: 440px; margin-bottom: 32px; }

.contact-stack { display: flex; flex-direction: column; gap: 28px; }
.contact-stack .eyebrow--dim { margin-bottom: 6px; }
.big-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 1px;
  color: #e8eaed;
}
.big-link:hover { color: #c9995f; }

/* ---------- Services page ---------- */
.service-grid {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-grid > img { width: 100%; height: 400px; object-fit: cover; border: 1px solid #232529; box-sizing: border-box; }
.service-num {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #565b62;
  font-weight: 600;
}
.h2-svc {
  margin: 0 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
}
.service-materials { margin: 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #c9995f; }

/* CTA band (services / projects) */
.cta-band {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.h2-cta {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 44px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8eaed;
  max-width: 560px;
}
.h2-cta--wide { max-width: 620px; }

/* ---------- Projects gallery ---------- */
.gallery {
  padding-top: 72px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 300px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border: 1px solid #232529; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8dbdf;
  background: linear-gradient(180deg, transparent, rgba(13,14,16,0.9));
}

/* ---------- Contact page ---------- */
.contact-grid {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
}
.quote-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8d929a;
  font-weight: 600;
}
.field input,
.field textarea {
  background: #141519;
  border: 1px solid #33363c;
  color: #e8eaed;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 2px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.field textarea { line-height: 1.6; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: #c9995f; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: #565b62; }
.form-note a { color: #8d929a; border-bottom: 1px solid #33363c; }
.form-note a:hover { color: #c9995f; border-color: #c9995f; }
.form-ok { font-size: 17px; line-height: 1.75; color: #c9ccd1; }
.form-ok b { color: #e8eaed; }
.form-err { margin: 0; font-size: 14px; line-height: 1.6; color: #d08770; }
.form-err a { color: #c9995f; border-bottom: 1px solid #c9995f; }
/* Honeypot — visually gone, still in the DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-aside > img { width: 220px; height: 220px; object-fit: cover; mix-blend-mode: screen; }
.contact-aside .big-link { font-size: 28px; }

/* ---------- Footer ---------- */
footer { background: #0a0b0d; }
.footer-bar {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; width: auto; display: block; mix-blend-mode: screen; }
.footer-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  color: #e8eaed;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #7b8087; }
.footer-copy { font-size: 12px; letter-spacing: 1px; color: #565b62; }

/* ---------- 404 ---------- */
.notfound { border-bottom: 1px solid #232529; }
.notfound .wrap { padding-top: 140px; padding-bottom: 140px; }

/* ---------- Responsive (prototype is desktop-first; stack below ~800px) ---------- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 14px 24px; }
  .nav-links { gap: 18px 20px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 800px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .page-header .wrap { padding-top: 64px; padding-bottom: 52px; }
  .hero .wrap { padding-top: 120px; padding-bottom: 64px; }

  .intro-grid,
  .feature-grid,
  .band-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .feature-grid > img { height: 340px; }
  .service-grid > img { height: 300px; }
  /* Keep text above image when the design puts the image first (services 02/04) */
  .service-grid > img { order: 2; }

  .materials { padding-top: 64px; padding-bottom: 64px; }
  .material-row { flex-wrap: wrap; gap: 8px; }
  .material-note { text-align: left; }

  .strip-head { padding-top: 64px; }
  .strip { padding-bottom: 64px; }
  .strip figure { flex-basis: 280px; }
  .strip img { height: 320px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; padding-top: 52px; padding-bottom: 64px; }
  .gallery figure.tall { grid-row: auto; }

  .cta-band { padding-top: 64px; padding-bottom: 64px; }
  .lede { font-size: 28px; }
  .contact-aside > img { width: 180px; height: 180px; }
}
@media (max-width: 700px) {
  .nav-tagline { display: none; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .big-link { font-size: 26px; }
  .contact-aside .big-link { font-size: 24px; }
}
