/* Golden State Marble & Construction — built from the Figma prototype
   (file zU9kuwGG2ndSo4viXAHTva, pages /, /services-2, /gallery)
   Theme tokens from the file's style set:
   Background 1 #1b1b1d · Background 2 #cad2cb · Accent 1 #4a6353
   Paragraph 1 #ffffff · Paragraph 2 #dce1e7 · Paragraph 3 #f2f1d7 */

@font-face {
  font-family: "Geist";
  font-weight: 100 900;
  src: url("../assets/fonts/Geist-english.woff2") format("woff2");
  unicode-range: U+0000-00A0, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  font-weight: 100 900;
  src: url("../assets/fonts/Geist-rest-latin.woff2") format("woff2");
  unicode-range: U+00A1-00FF, U+0131, U+0152-0153, U+02B0-02FF;
  font-display: swap;
}
@font-face { font-family: "Inter"; font-weight: 500; src: url("../assets/fonts/inter-500.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("../assets/fonts/inter-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; font-weight: 400; src: url("../assets/fonts/manrope-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; font-weight: 400; src: url("../assets/fonts/dmsans-400.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #1b1b1d;
  --sage: #cad2cb;
  --olive: #b0b191;
  --green: #4a6353;
  --pale: #cad2cb;
  --white: #ffffff;
  --para2: #dce1e7;
  --cream: #f2f1d7;
  --max: 1500px;
  --gallery-max: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--para2);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.3;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-size: inherit; font-weight: inherit; }
figure { margin: 0; }
img { display: block; max-width: 100%; }

.content { max-width: var(--max); margin: 0 auto; }

/* ---------- navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.nav-logo {
  font-family: "Manrope", "Geist", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.09;
  letter-spacing: 0;
  color: var(--white);
  max-width: 793px;
}
.nav-links { display: flex; flex-direction: column; align-items: flex-end; }
.nav-links a {
  padding: 8px 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--para2);
  text-align: right;
}
.nav-links a:hover { color: var(--white); }

.menu-btn {
  display: none;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.menu-btn::before, .menu-btn::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 1px;
  background: var(--para2);
}
.menu-btn::before { top: 50%; transform: translateY(-50%); }
.menu-btn::after { top: 50%; transform: translateY(-50%) rotate(90deg); }
.menu-btn[aria-expanded="true"]::before { transform: translateY(-50%) rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 799px) {
  .site-nav { min-height: 85px; }
  .nav-logo { font-family: "Geist", sans-serif; font-size: 14px; line-height: 1; max-width: 210px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    align-items: stretch;
    background: var(--bg);
    padding: 0 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--para2);
    font-size: 18px;
    text-align: left;
  }
  .nav-links a:last-child { border-bottom: 1px solid var(--para2); }
  .menu-btn { display: block; }
}
@media (min-width: 800px) and (max-width: 1279px) {
  .nav-logo { font-family: "Geist", sans-serif; font-size: 24px; line-height: 1.1; max-width: 191px; }
  .nav-links a { font-size: 24px; line-height: 1.1; padding: 8px 0; }
}

main { padding-top: 144px; }
@media (max-width: 799px) { main { padding-top: 84px; } }

/* ---------- shared ---------- */

/* sage information card overlaid on photos */
.info-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  background: var(--olive);
  color: var(--white);
  font-size: 16px;
  line-height: 1.3;
}
.info-card.tl { top: 0; left: 0; }
.info-card.bl { bottom: 0; left: 0; }
.info-card .details { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; letter-spacing: 0; }

.figure { position: relative; overflow: clip; }
.figure > img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--olive);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.3;
  cursor: pointer;
  border-radius: 2px;
  transition: filter 0.2s ease-in-out;
}
.btn:hover { filter: brightness(1.08); }
.btn.r2 { border-radius: 2px; padding: 11px 14px; line-height: 1; }

/* ---------- home ---------- */

.tagline {
  padding: 33px 10px 10px;
  font-size: 16px;
  color: var(--olive);
}

.hero { height: 800px; }
.hero .info-card { width: 320px; height: 250px; }

.section-fireplace {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 136px 16px;
}
.section-fireplace .col { width: 640px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.section-fireplace .figure { height: 662px; }
.section-fireplace .info-card { width: 320px; height: 149px; }
.section-fireplace .gallery-info { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 10px; }
.section-fireplace .gallery-info p { font-size: 24px; line-height: 1.1; letter-spacing: 0; color: var(--para2); max-width: 626px; }

.section-bar { display: flex; padding-bottom: 144px; }
.section-bar .half { width: 50%; }
.section-bar .figure.bar { height: 662px; }
.section-bar .figure.bar .info-card { width: 320px; height: 250px; }
.section-bar .side { display: flex; justify-content: flex-end; align-items: flex-start; }
.section-bar .side .figure { width: 325px; height: 331px; }

.section-doors .figure { height: 662px; }
.section-doors .info-card { width: 320px; min-height: 76px; }

.section-services-cta {
  display: flex;
  flex-direction: column;
  padding: 112px 0;
}
.section-services-cta .figure { width: 315px; height: 325px; }
.section-services-cta .info-card { width: 100%; min-height: 61px; }
.section-services-cta .cta {
  align-self: flex-end;
  max-width: 654px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0 16px;
}
.section-services-cta .cta p { font-size: 24px; line-height: 1.1; letter-spacing: 0; color: var(--para2); max-width: 626px; }

@media (max-width: 799px) {
  .hero { height: 800px; }
  .hero .info-card { width: 320px; height: 97px; }
  .section-fireplace { padding: 136px 0; }
  .section-fireplace .figure { height: 375px; }
  .section-fireplace .info-card { width: 100%; height: 100px; }
  .section-fireplace .gallery-info { padding: 0 10px; }
  .section-bar { flex-direction: column; gap: 136px; }
  .section-bar .half { width: 100%; }
  .section-bar .side { justify-content: flex-end; padding-right: 0; }
  .section-doors { padding-bottom: 100px; }
  .section-doors .figure { height: 375px; }
  .section-services-cta .figure { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .section-services-cta .cta { align-self: flex-start; padding: 0 16px; }
}
@media (min-width: 800px) and (max-width: 1279px) {
  .section-fireplace .col { width: 400px; }
  .section-fireplace .figure { height: 409px; }
  .section-fireplace .info-card { width: 218px; height: 108px; }
  .section-bar .figure.bar { height: 662px; }
  .section-doors .figure { height: 409px; }
  .section-services-cta .figure { width: 400px; height: 409px; }
}

/* ---------- gallery ---------- */

.page-title {
  margin: 0 10px;
  padding: 76px 16px 20px;
  border-top: 1px solid var(--cream);
  color: var(--cream);
  font-size: 16px;
}

.gallery { display: flex; flex-direction: column; }
.g-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 8px 0 100px;
}
.g-row.bottom { align-items: flex-end; }
.g-row.middle { align-items: center; }
.g-row.middle > .g-item:first-child { margin: 0 auto; }

.g-item { display: flex; gap: 10px; align-items: flex-start; }
.g-item.stack { flex-direction: column; }
.g-item img { object-fit: cover; }

.g-cap { display: flex; flex-direction: column; gap: 6px; max-width: 244px; }
.g-cap .t { color: var(--cream); font-size: 16px; line-height: 1.3; }
.g-cap .t.lg { font-size: 18px; line-height: 1.25; }
.g-cap .t.manrope { font-family: "Manrope", "Geist", sans-serif; font-size: 32px; line-height: 1.1; }
.g-cap .t.dmsans { font-family: "DM Sans", "Geist", sans-serif; font-size: 32px; line-height: 1.1; }
.g-cap .d { display: flex; flex-direction: column; gap: 2px; }
.g-cap .d span { color: var(--pale); font-family: "Geist", sans-serif; font-weight: 500; font-size: 12px; line-height: 1.25; letter-spacing: 0; }
.g-cap .d span.sm { font-size: 10px; line-height: 1.2; letter-spacing: 0; }

.g-pair { display: flex; gap: 24px; align-items: center; }

@media (min-width: 800px) and (max-width: 999px) {
  .page-title { margin: 0 10px; padding-left: 16px; padding-right: 16px; font-size: 14px; line-height: 1.3; }
  .gallery { width: 100%; padding: 0; }
  .g-row { flex-direction: column; gap: 0; padding: 8px 0 100px; }
  .g-row.middle, .g-row.bottom { align-items: flex-start; }
  .g-row.middle > .g-item:first-child { margin: 0; }
  .g-pair { width: 100%; padding-top: 100px; gap: 0; align-items: flex-start; }
  .g-item { max-width: 100%; gap: 10px; }
  .g-item.stack { gap: 10px; }
  .g-item img { width: 400px; max-width: 100%; height: auto; object-fit: cover; }
  .g-item img[width="539"] { width: 100%; height: auto; }
  .g-item img[width="201"], .g-item img[width="212"] { width: 400px; height: 400px; }
  .g-item img[width="247"] { width: 353px; height: 272px; }
  .g-cap { padding: 0 10px; }
  .g-cap .t { font-size: 14px; line-height: 1.3; }
  .g-cap .t.lg, .g-cap .t.manrope, .g-cap .t.dmsans { font-family: "Geist", sans-serif; font-size: 18px; line-height: 1.1; }
}

@media (max-width: 799px) {
  .page-title { margin: 0 10px; padding: 76px 16px 20px; font-size: 14px; line-height: 1.3; }
  .gallery { width: 100%; padding: 0; }
  .g-row, .g-row.middle, .g-row.bottom { flex-direction: column; align-items: flex-start; gap: 20px; padding: 8px 0 20px; }
  .g-row.middle > .g-item:first-child { margin: 0; }
  .g-pair { width: 100%; flex-direction: column; gap: 20px; align-items: flex-start; }
  .g-item, .g-item.stack { width: 100%; flex-direction: column; gap: 10px; }

  .g-item { display: flex; }
  .g-item > img,
  .g-item > .figure-img,
  .g-item > picture { order: 2; }
  .g-item > .g-cap { order: 1; }
  .g-pair .g-item > img { order: 2; }
  .g-pair .g-item > .g-cap { order: 1; }
  .g-item img, .g-item img[width] { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
  .g-cap { width: 100%; max-width: 100%; padding: 0 10px; }
  .g-cap .t { font-size: 14px; line-height: 1.3; }
  .g-cap .t.lg, .g-cap .t.manrope, .g-cap .t.dmsans { font-family: "Geist", sans-serif; font-size: 16px; line-height: 1.1; }
  .g-cap .d span { font-size: 12px; line-height: 1.1; }
}

/* ---------- contact ---------- */

.rule-block { margin: 0 10px; }
.services-intro {
  margin: 0 24px;
  padding: 132px 0;
  border-top: 1px solid var(--olive);
}
.services-intro p {
  max-width: 650px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--white);
  white-space: pre-line;
}
.services-list {
  margin: 0 24px 100px;
  padding: 20px 0;
  border-top: 1px solid var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.services-list .label { width: 50%; color: var(--para2); font-size: 16px; }
.services-list .rows { width: 616px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; }
.svc-row { display: flex; justify-content: space-between; gap: 121px; }
.svc-row h2 { width: 275px; flex-shrink: 0; color: var(--para2); font-size: 16px; line-height: 1.3; }
.svc-row .items { width: 341px; color: var(--cream); font-size: 16px; line-height: 1.3; white-space: pre-line; }

@media (max-width: 999px) {
  .services-list { flex-direction: column; gap: 40px; }
  .services-list .label, .services-list .rows { width: 100%; }
  .svc-row { flex-direction: column; gap: 20px; }
  .svc-row h2, .svc-row .items { width: 100%; }
}

/* ---------- footer ---------- */

.site-footer { background: var(--olive); color: var(--bg); margin-top: 0; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 241px;
}
.footer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer-logo {
  font-family: "Manrope", "Geist", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.09;
  letter-spacing: 0;
  color: var(--bg);
  max-width: 531px;
}
.footer-cols { display: flex; gap: 58px; flex-wrap: wrap; justify-content: space-between; min-width: min(557px, 100%); }
.footer-links { display: flex; flex-direction: column; gap: 2px; width: 297px; font-size: 16px; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 40px; font-size: 16px; }
.footer-contact p { line-height: 1.3; }
.footer-bottom { padding: 40px 0; }
.footer-bottom p { color: var(--white); font-size: 14px; line-height: 1; letter-spacing: 0; }

@media (max-width: 799px) {
  .footer-inner { padding: 20px 20px 0; gap: 33px; }
  .footer-logo { font-family: "Geist", sans-serif; font-size: 24px; line-height: 1.1; max-width: 335px; }
  .footer-links, .footer-contact { font-size: 16px; line-height: 1.3; }
  .footer-head { flex-direction: column; gap: 0; }
  .footer-cols { flex-direction: column; gap: 58px; }
}

@media (min-width: 800px) and (max-width: 1279px) {
  .footer-inner { padding: 40px 40px 0; gap: 82px; }
  .footer-head { flex-direction: column; gap: 0; }
  .footer-logo { font-family: "Geist", sans-serif; font-size: 24px; line-height: 1.1; max-width: 531px; }
  .footer-cols { width: 100%; min-width: 0; }
}


/* ---------- contact page ---------- */
.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-intro,
.contact-section {
  width: 100%;
  max-width: var(--max);
  padding: 0 24px;
}
.contact-intro {
  border-top: 1px solid var(--olive);
}
.contact-intro-inner {
  max-width: 650px;
  padding: 132px 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}
.contact-intro-inner p + p { margin-top: 0; }
.contact-section { padding-bottom: 20px; }
.contact-content {
  border-top: 1px solid var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 0;
}
.contact-label {
  flex: 1 1 0;
  min-width: 0;
  color: var(--para2);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}
.contact-form {
  width: min(858px, 100%);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--para2);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(220, 225, 231, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  padding: 8px 0;
  outline: none;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--cream);
}
.contact-form .btn {
  align-self: flex-start;
  border: 0;
}

/* ---------- image reveal ---------- */
img.fade-image {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 2600ms cubic-bezier(0.22, 1, 0.36, 1), transform 2600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
img.fade-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  img.fade-image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 799px) {
  .contact-intro,
  .contact-section { padding-left: 24px; padding-right: 24px; }
  .contact-intro-inner { min-height: 228px; padding-top: 132px; padding-bottom: 132px; }
  .contact-section { padding-bottom: 100px; }
  .contact-content { min-height: 892px; flex-direction: column; justify-content: flex-start; gap: 40px; }
  .contact-form { gap: 40px; }
}
@media (min-width: 800px) and (max-width: 1279px) {
  .contact-intro { margin-bottom: -73px; }
  .contact-section { padding-bottom: 100px; }
  .contact-content { align-items: flex-start; }
  .contact-form { width: 522px; }
}
