:root {
  --cream: #f4eadb;
  --cream-2: #fff8ec;
  --ink: #24180f;
  --muted: #725f4b;
  --wood: #120b06;
  --wood-2: #24150b;
  --green: #263d22;
  --green-2: #3e7442;
  --copper: #c99856;
  --line: rgba(65, 42, 25, .18);
  --shadow: 0 18px 50px rgba(22, 15, 10, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  background: var(--cream-2);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 99;
}

.skip-link:focus { top: 12px; }

.site-header {
  background:
    linear-gradient(rgba(10, 6, 3, .9), rgba(10, 6, 3, .9)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #24150b, #070403);
  color: var(--cream-2);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand img {
  width: 118px;
  height: 58px;
  object-fit: contain;
}

.brand-word {
  display: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .95rem;
  letter-spacing: .02em;
}

.nav a {
  opacity: .92;
  padding: 22px 0;
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: #e7bf7c;
  border-bottom-color: var(--green-2);
  opacity: 1;
}

.call-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 4px;
  padding: 14px 22px;
  background: var(--green);
  color: #fff7e8;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.call-btn {
  padding: 13px 20px;
  white-space: nowrap;
  background: var(--green-2);
}

.btn.secondary {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: none;
}

.btn.light-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
}

.mobile-toggle { display: none; }

/* Homepage hero - CODED, not a flattened screenshot */
.home-hero {
  position: relative;
  min-height: clamp(650px, 51vw, 860px);
  overflow: hidden;
  color: #fff8ec;
  background: #070504;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/double-chair.jpeg');
  background-size: cover;
  background-position: center center;
  filter: saturate(1.08) contrast(1.06) brightness(.82);
  transform: scale(1.02);
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 43% 20%, rgba(255, 185, 74, .18), transparent 18%),
    linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.92) 20%, rgba(0,0,0,.7) 40%, rgba(0,0,0,.27) 63%, rgba(0,0,0,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 66%, rgba(0,0,0,.46) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(1672px, calc(100% - 88px));
  margin: 0 auto;
  padding: clamp(70px, 6vw, 110px) 0 70px;
}

.home-hero-logo {
  width: clamp(250px, 21vw, 390px);
  margin-bottom: clamp(26px, 3.2vw, 48px);
  filter: drop-shadow(0 15px 26px rgba(0,0,0,.72));
}

.home-hero h1 {
  margin: 0;
  max-width: 680px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4.2rem, 7.1vw, 8.2rem);
  line-height: .9;
  letter-spacing: -.045em;
  text-shadow: 0 6px 22px rgba(0,0,0,.76);
}

.home-hero-subtitle {
  margin: 24px 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  color: #f2c782;
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0,0,0,.72);
}

.home-hero-copy {
  margin: 0;
  max-width: 600px;
  color: #f1e4d0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.8;
  text-shadow: 0 3px 12px rgba(0,0,0,.7);
}

.home-hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.home-hero-actions .btn {
  min-width: 210px;
  min-height: 66px;
  font-size: 1rem;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.05;
}

.section { padding: 78px 0; }

.section.tight { padding: 52px 0; }

.section.dark {
  background: #160f0a;
  color: #fff8ec;
}

.section-title {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 760px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-title p { margin: 0; color: var(--muted); }

.dark .section-title p { color: #d1bfaa; }

.eyebrow {
  margin: 0 0 12px;
  color: #2f5c33;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 700;
}

.dark .eyebrow,
.page-hero.dark-photo .eyebrow {
  color: #d6aa70;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.build-card {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.build-card:last-child { border-right: 0; }

.build-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #efe2cf;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 2rem;
}

.build-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.build-card p {
  margin: 0;
  font-size: .94rem;
  color: #4e4033;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  background: #fff6e9;
  border: 1px solid rgba(65,42,25,.2);
  box-shadow: 0 10px 25px rgba(33, 22, 12, .08);
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-card .card-body { padding: 16px; }

.project-card h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.project-card p {
  margin: 0;
  color: #5c4a39;
  font-size: .94rem;
}

.dark .project-card {
  background: #24160d;
  border-color: rgba(255,255,255,.14);
}

.dark .project-card p { color: #d1bfaa; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.split img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.split h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  margin: 8px 0 18px;
}

.split p { color: #4c3e31; }

.dark .split p { color: #d1bfaa; }

.cta-band {
  background:
    linear-gradient(rgba(18, 10, 5, .76), rgba(18, 10, 5, .76)),
    url('./images/picnic-table.png') center / cover no-repeat;
  color: #fff8ec;
  text-align: center;
  padding: 90px 0;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 620px;
  color: #eadfcd;
}

.footer {
  background: #120b06;
  color: #eadfcd;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 38px;
}

.footer img {
  width: 150px;
  margin-bottom: 12px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #fff8ec;
}

.footer p,
.footer li {
  color: #cdb99f;
  font-size: .94rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .86rem;
  color: #bfa990;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(244,234,219,.95), rgba(244,234,219,.75)),
    url('./images/double-chair.jpeg') center/cover no-repeat;
  padding: 95px 0;
}

.page-hero.dark-photo {
  background:
    linear-gradient(90deg, rgba(18,10,5,.86), rgba(18,10,5,.45)),
    url('./images/log-swing.jpeg') center/cover no-repeat;
  color: #fff8ec;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero p {
  max-width: 650px;
  color: #5c4a39;
}

.page-hero.dark-photo p { color: #eadfcd; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  background: #fff6e9;
  border: 1px solid rgba(65,42,25,.25);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.filter-btn.active {
  background: var(--green);
  color: #fff8ec;
}

.review-box,
.contact-card {
  background: #fff6e9;
  border: 1px solid rgba(65,42,25,.2);
  padding: 28px;
  border-radius: 8px;
}

.review-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-grid { grid-template-columns: .9fr 1.1fr; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong { display: block; }

.notice {
  background: #eadcc8;
  border-left: 5px solid var(--copper);
  padding: 18px;
  border-radius: 6px;
}

/* About page longform */
.narrow { max-width: 880px; }

.about-longform .longform-card {
  background: #fff;
  border: 1px solid #e5d7c5;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
  text-align: left;
}

.about-longform h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.about-longform p {
  margin: 0 0 18px;
  font-size: 1.03rem;
  line-height: 1.78;
  color: #2a211b;
}

.about-longform .signature {
  margin-top: 28px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

/* Lightbox */
.clickable-photo { cursor: zoom-in; }

.project-card img.clickable-photo:hover,
.split img.clickable-photo:hover {
  filter: brightness(.94) contrast(1.04);
}

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 6, 3, .88);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  margin: 0;
  border: 1px solid rgba(240, 220, 184, .32);
  border-radius: 10px;
  overflow: hidden;
  background: #120b06;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #090603;
}

.lightbox-caption {
  padding: 13px 16px;
  color: #f8ead5;
  background: #120b06;
  font-size: .95rem;
  line-height: 1.45;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(18, 11, 6, .88);
  color: #fff8ec;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .header-inner { min-height: 74px; }

  .brand img {
    width: 96px;
    height: 56px;
  }

  .mobile-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff8ec;
    padding: 10px 12px;
    border-radius: 4px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #130c07;
    padding: 18px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .nav.open { display: flex; }

  .header-call { display: none; }

  .home-hero { min-height: auto; }

  .home-hero-bg { background-position: 62% center; }

  .home-hero-shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 58%, rgba(0,0,0,.28) 100%),
      linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.5));
  }

  .home-hero-content {
    width: min(100% - 32px, 1140px);
    padding: 52px 0;
  }

  .home-hero-logo {
    width: 220px;
    margin-bottom: 30px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .build-grid,
  .photo-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1140px); }

  .build-grid,
  .photo-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .build-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .build-card:last-child { border-bottom: 0; }

  .section { padding: 54px 0; }

  .project-card img { height: 235px; }

  .home-hero-copy { font-size: .96rem; }
}


/* Smaller homepage hero override */
.home-hero {
  min-height: clamp(470px, 38vw, 620px);
}

.home-hero-content {
  padding: clamp(38px, 4.2vw, 64px) 0 46px;
}

.home-hero-logo {
  width: clamp(175px, 14vw, 265px);
  margin-bottom: clamp(18px, 2.1vw, 30px);
}

.home-hero h1 {
  max-width: 520px;
  font-size: clamp(3.25rem, 5.15vw, 5.85rem);
}

.home-hero-subtitle {
  margin: 16px 0 12px;
  font-size: clamp(1.2rem, 1.65vw, 1.95rem);
}

.home-hero-copy {
  max-width: 505px;
  font-size: clamp(.9rem, .95vw, 1.05rem);
  line-height: 1.62;
}

.home-hero-actions {
  margin-top: 26px;
}

.home-hero-actions .btn {
  min-width: 170px;
  min-height: 52px;
  padding: 12px 18px;
}

@media (max-width: 920px) {
  .home-hero-content {
    padding: 42px 0;
  }
}
