@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-light: #F4EFE7;
  --bg-dark: #181512;
  --wood-dark: #4A2F20;
  --wood-medium: #8A5A35;
  --accent-brass: #C49A5A;
  --text-dark: #201A16;
  --text-muted: #75685F;
  --line-soft: #D8CBBE;
  --paper: #fffaf1;
  --shadow: 0 24px 60px rgba(32, 26, 22, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 231, .92);
  border-bottom: 1px solid rgba(216, 203, 190, .86);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--bg-light);
  background: var(--wood-dark);
  font-family: "Lora", serif;
  font-size: 1.1rem;
}

.brand-name {
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: .94rem;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--accent-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
  content: "";
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text-dark);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 16px !important;
  color: var(--bg-light) !important;
  background: var(--wood-dark);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--text-dark);
}

.hero {
  padding: 54px 0 54px;
}

.hero-grid,
.split-grid,
.contact-grid,
.workshop-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.hero-copy {
  padding: 26px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--wood-medium);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--accent-brass);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5.2vw, 5.15rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.15rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

p {
  margin: 0;
  color: var(--text-muted);
}

.lead {
  max-width: 660px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.15rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid var(--wood-dark);
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

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

.btn-primary {
  color: var(--bg-light);
  background: var(--wood-dark);
}

.btn-secondary {
  color: var(--text-dark);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--accent-brass);
  color: var(--wood-dark);
}

.hero-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media::after,
.image-panel::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 250, 241, .34);
  pointer-events: none;
  content: "";
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  padding: 18px;
  color: var(--paper);
  background: rgba(24, 21, 18, .78);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 6px;
  color: rgba(255, 250, 241, .72);
}

.section {
  padding: clamp(70px, 9vw, 126px) 0;
}

.section.dark {
  color: var(--bg-light);
  background: var(--bg-dark);
}

.section.dark p,
.section.dark .section-head p {
  color: rgba(244, 239, 231, .72);
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--text-muted);
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.service-tile,
.process-step,
.info-card,
.material-card,
.project-card,
.contact-card {
  background: rgba(255, 250, 241, .38);
  border: 1px solid var(--line-soft);
}

.service-tile {
  min-height: 230px;
  padding: 28px;
  border-top: 0;
  border-left: 0;
}

.number {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-brass);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-tile h3,
.process-step h3,
.info-card h3 {
  margin-bottom: 14px;
}

.material-preview {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.material-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.swatch {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.swatch span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(24, 21, 18, .72);
  font-size: .86rem;
}

.image-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.project-card {
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-image {
  height: 360px;
  overflow: hidden;
}

.project-image img {
  transition: transform .55s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.055);
}

.project-body {
  padding: 23px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--wood-medium);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-body p {
  margin-top: 12px;
}

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

.process-step {
  min-height: 250px;
  padding: 26px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  color: var(--bg-light);
  background: var(--wood-dark);
}

.cta-band p {
  max-width: 650px;
  color: rgba(244, 239, 231, .76);
}

.cta-band .btn {
  border-color: var(--accent-brass);
  color: var(--bg-light);
}

.page-hero {
  padding: 46px 0 34px;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .lead {
  margin-top: 22px;
}

.service-detail-grid {
  display: grid;
  gap: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 250, 241, .34);
}

.service-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.service-row:nth-child(even) .service-media {
  order: 2;
}

.service-media {
  min-height: 280px;
  overflow: hidden;
}

.service-copy ul,
.workshop-list,
.contact-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-copy li,
.workshop-list li,
.contact-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(74, 47, 32, .24);
  color: var(--wood-dark);
  background: rgba(255, 250, 241, .64);
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: var(--wood-dark);
  color: var(--bg-light);
  background: var(--wood-dark);
  box-shadow: 0 10px 24px rgba(74, 47, 32, .16);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.material-card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
}

.material-card[hidden] {
  display: none;
}

.material-image {
  height: 238px;
  padding: 10px;
  background: #eadfd2;
}

.material-image img {
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(74, 47, 32, .14);
}

.material-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.material-specs {
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
}

.material-specs div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding-top: 12px;
  color: var(--text-muted);
  font-size: .92rem;
}

.material-specs strong {
  color: var(--text-dark);
  font-weight: 600;
}

.workshop-grid {
  align-items: start;
}

.workshop-steps {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line-soft);
  background: rgba(255, 250, 241, .42);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--wood-dark);
  font-size: .85rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--text-dark);
  background: var(--paper);
}

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

.form-message {
  min-height: 24px;
  color: var(--wood-medium);
}

.contact-card {
  padding: 28px;
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.contact-visual {
  height: 280px;
  margin-top: 22px;
  overflow: hidden;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(244, 239, 231, .76);
  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 14px;
  color: var(--bg-light);
  font-size: 1.2rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 6px 0;
  color: rgba(244, 239, 231, .68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 231, .16);
  font-size: .9rem;
}

@media (max-width: 1040px) {
  .services-strip,
  .process-grid,
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-grid,
  .split-grid,
  .contact-grid,
  .workshop-grid,
  .material-preview,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 500px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-soft);
    background: var(--bg-light);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-media,
  .image-panel {
    min-height: 360px;
  }

  .services-strip,
  .process-grid,
  .project-grid,
  .material-grid,
  .footer-grid,
  .form-row,
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-media {
    order: 0;
  }

  .material-stack {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.6rem);
  }
}
