/* ============================================================
   FirstCarpentry — Main Stylesheet
   Theme: Dark redwood timber
   Background #120C08  Panel #1E150D  Border #2A1C0E
   Accent #B0572F  Accent deep #8A4A28
   Text #F4EDE4  Muted #C4B3A0
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #F4EDE4;
  background-color: #120C08;
  overflow-x: hidden;
}

a {
  color: #B0572F;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  color: #F4EDE4;
  font-weight: 700;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 8px;
  transition: background-color .25s ease, border-color .25s ease, transform .2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #B0572F;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #8A4A28;
}

.btn-secondary {
  background-color: transparent;
  color: #B0572F;
  border: 1px solid #B0572F;
}

.btn-secondary:hover {
  background-color: #B0572F;
  color: #FFFFFF;
}

.btn-cta {
  background-color: #120C08;
  color: #FFFFFF;
}

.btn-cta:hover {
  background-color: #1E150D;
}

/* ---------- Header / Centered Wordmark Nav ---------- */

.center-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: #120C08;
  border-bottom: 1px solid #2A1C0E;
  padding: 0 32px;
  min-height: 72px;
  transition: box-shadow .25s ease;
}

.center-nav.scrolled {
  box-shadow: 0 4px 18px 0 #0A0603;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

.nav-side a {
  font-size: 13px;
  letter-spacing: .06em;
  color: #C4B3A0;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.nav-side a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #B0572F;
  margin-right: 8px;
  transform: scale(0);
  transition: transform .2s ease;
}

.nav-side a:hover {
  color: #F4EDE4;
}

.nav-side a:hover::before {
  transform: scale(1);
}

.nav-side a.active {
  color: #F4EDE4;
  border-bottom: 2px solid #B0572F;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #F4EDE4;
  padding: 8px 12px;
}

.brand:hover {
  color: #F4EDE4;
}

.nav-toggle {
  display: none;
  justify-self: start;
  background: none;
  border: 1px solid #2A1C0E;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #F4EDE4;
}

.mobile-menu {
  display: none;
  grid-column: 1 / -1;
  flex-direction: column;
  background-color: #120C08;
  border-top: 1px solid #2A1C0E;
  padding: 12px 16px 18px;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 600;
  color: #C4B3A0;
  padding: 12px 8px;
  border-bottom: 1px solid #1E150D;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #F4EDE4;
}

/* ---------- Hero (full-bleed color block) ---------- */

.block-hero {
  background-color: #1E150D;
  padding: 112px 0 96px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  background-color: #B0572F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
}

.block-hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin: 26px 0 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.hero-sub {
  color: #C4B3A0;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.timber-stack {
  position: relative;
  width: 180px;
  height: 150px;
  flex-shrink: 0;
}

.timber-stack .plank {
  position: absolute;
  width: 140px;
  height: 26px;
  border-radius: 6px;
}

.plank-top {
  background-color: #B0572F;
  top: 0;
  left: 16px;
}

.plank-mid {
  background-color: #F4EDE4;
  top: 42px;
  left: 30px;
}

.plank-base {
  background-color: #8A4A28;
  top: 84px;
  left: 4px;
}

/* ---------- Card Grid ---------- */

.card-grid {
  padding: 110px 0 120px;
  background-color: #120C08;
}

.section-head {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-kicker {
  display: inline-block;
  color: #B0572F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.card-grid h2 {
  font-size: 40px;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

.section-intro {
  color: #C4B3A0;
  font-size: 18px;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background-color: #1E150D;
  border: 1px solid #2A1C0E;
  border-radius: 14px;
  padding: 38px 34px;
  transition: border-color .25s ease, transform .25s ease;
}

.card:hover {
  border-color: #B0572F;
  transform: translateY(-4px);
}

.card-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-color: #B0572F;
  border-radius: 5px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.card p {
  color: #C4B3A0;
  line-height: 1.75;
}

/* ---------- Metric Band ---------- */

.metric-band {
  background-color: #B0572F;
  padding: 74px 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  text-align: center;
  color: #FFFFFF;
  padding: 10px 16px;
}

.metric + .metric {
  border-left: 1px solid #120C08;
}

.metric .value {
  display: block;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
}

.metric .label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #FFFFFF;
}

/* ---------- Statement Band ---------- */

.statement-band {
  padding: 120px 0;
  background-color: #120C08;
}

.statement {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.32;
  color: #F4EDE4;
  max-width: 900px;
  border-left: 4px solid #B0572F;
  padding-left: 32px;
}

.statement-sub {
  margin-top: 28px;
  color: #C4B3A0;
  font-size: 17px;
  line-height: 1.8;
  max-width: 820px;
  padding-left: 36px;
}

/* ---------- CTA Band ---------- */

.cta-band {
  background-color: #B0572F;
  padding: 92px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-copy h2 {
  font-size: 36px;
  color: #FFFFFF;
  margin-bottom: 14px;
  max-width: 640px;
}

.cta-copy p {
  color: #FFFFFF;
  font-size: 17px;
  max-width: 560px;
}

/* ---------- Footer (two-column wide) ---------- */

.two-col-footer {
  background-color: #120C08;
  border-top: 1px solid #2A1C0E;
  padding: 72px 0 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
}

.footer-col-left {
  padding-right: 64px;
}

.footer-col-right {
  border-left: 1px solid #2A1C0E;
  padding-left: 64px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #F4EDE4;
}

.footer-blurb {
  color: #C4B3A0;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 520px;
}

.footer-copy {
  color: #C4B3A0;
  font-size: 14px;
  margin-top: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: #F4EDE4;
  font-size: 15px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #B0572F;
}

.footer-contact {
  color: #C4B3A0;
  font-size: 15px;
  margin-top: 24px;
}

.footer-legal {
  border-top: 1px solid #2A1C0E;
  margin-top: 56px;
  padding: 24px 0 28px;
  text-align: center;
  font-size: 13px;
  color: #C4B3A0;
}

.footer-legal a {
  color: #C4B3A0;
}

.footer-legal a:hover {
  color: #B0572F;
}

/* ============================================================
   Services Page
   ============================================================ */

.services-hero {
  background-color: #1E150D;
  padding: 104px 0 88px;
  border-bottom: 1px solid #2A1C0E;
}

.services-hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin: 26px 0 22px;
  max-width: 880px;
  letter-spacing: -.01em;
}

.services-intro {
  color: #C4B3A0;
  font-size: 18px;
  line-height: 1.78;
  max-width: 860px;
}

.service-list {
  padding: 40px 0 40px;
  background-color: #120C08;
}

.service-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 44px;
  padding: 52px 0;
  border-bottom: 1px solid #2A1C0E;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-num {
  font-size: 44px;
  font-weight: 800;
  color: #B0572F;
  line-height: 1;
  padding-top: 4px;
}

.service-body h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-body p {
  color: #C4B3A0;
  line-height: 1.78;
  margin-bottom: 16px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Process overview ---------- */

.process-band {
  background-color: #1E150D;
  padding: 104px 0 110px;
}

.process-head {
  margin-bottom: 56px;
}

.process-band h2 {
  font-size: 36px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.process-step {
  background-color: #120C08;
  border: 1px solid #2A1C0E;
  border-radius: 12px;
  padding: 30px 26px;
}

.step-num {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background-color: #B0572F;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  color: #C4B3A0;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   Contact Page
   ============================================================ */

.contact-hero {
  background-color: #1E150D;
  padding: 96px 0 76px;
  border-bottom: 1px solid #2A1C0E;
}

.contact-hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin: 26px 0 22px;
  letter-spacing: -.01em;
}

.contact-intro {
  color: #C4B3A0;
  font-size: 18px;
  line-height: 1.78;
  max-width: 820px;
}

.contact-grid {
  padding: 90px 0;
  background-color: #120C08;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2,
.contact-form-panel h2 {
  font-size: 28px;
  margin-bottom: 28px;
}

.info-block {
  padding: 24px 0;
  border-bottom: 1px solid #2A1C0E;
}

.info-block h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #B0572F;
  margin-bottom: 12px;
}

.info-block p {
  color: #C4B3A0;
  line-height: 1.7;
  margin-bottom: 8px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-block a {
  color: #F4EDE4;
  font-weight: 600;
}

.info-block a:hover {
  color: #B0572F;
}

.contact-form-panel {
  background-color: #1E150D;
  border: 1px solid #2A1C0E;
  border-radius: 14px;
  padding: 40px 38px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #F4EDE4;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.field input,
.field textarea {
  width: 100%;
  background-color: #120C08;
  border: 1px solid #2A1C0E;
  border-radius: 8px;
  color: #F4EDE4;
  font-size: 16px;
  font-family: inherit;
  padding: 14px 16px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: #B0572F;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 6px;
}

.form-status {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
}

.form-status.error {
  color: #E08A6A;
}

.form-status.success {
  color: #F4EDE4;
}

.form-status.info {
  color: #C4B3A0;
}

.form-note {
  margin-top: 18px;
  font-size: 13px;
  color: #C4B3A0;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq-band {
  padding: 90px 0 110px;
  background-color: #120C08;
}

.faq-list {
  max-width: 860px;
}

.faq-item {
  background-color: #1E150D;
  border: 1px solid #2A1C0E;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #F4EDE4;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question::after {
  content: "+";
  color: #B0572F;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer p {
  color: #C4B3A0;
  line-height: 1.78;
  padding: 0 28px 26px;
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-col-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #2A1C0E;
    padding-top: 40px;
  }

  .block-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 820px) {
  .center-nav {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 20px;
  }

  .nav-side {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .brand {
    justify-self: center;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .timber-stack {
    margin-top: 16px;
    align-self: center;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .metric + .metric {
    border-left: none;
  }

  .metric:nth-child(odd) {
    border-right: 1px solid #120C08;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .block-hero {
    padding: 84px 0 76px;
  }
}

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .block-hero h1 {
    font-size: 36px;
  }

  .services-hero h1,
  .contact-hero h1 {
    font-size: 34px;
  }

  .card-grid h2,
  .process-band h2 {
    font-size: 30px;
  }

  .statement {
    font-size: 25px;
    padding-left: 20px;
  }

  .statement-sub {
    padding-left: 20px;
  }

  .metric .value {
    font-size: 42px;
  }

  .cta-copy h2 {
    font-size: 28px;
  }

  .footer-col-left {
    padding-right: 0;
  }

  .contact-form-panel {
    padding: 30px 24px;
  }

  .service-detail {
    padding: 38px 0;
  }
}
