:root {
  --cream: #f6f0e7;
  --warm-white: #fffaf2;
  --sand: #d8c7ad;
  --walnut: #5c3a27;
  --charcoal: #171615;
  --olive: #46503a;
  --gold: #b08a4a;
  --muted: #756d63;
  --line: rgba(23, 22, 21, 0.12);
  --shadow: 0 26px 60px rgba(23, 22, 21, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--warm-white);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: var(--warm-white);
  background: var(--walnut);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  width: 100%;
  min-height: 154px;
  margin: 0;
  padding: 16px max(20px, calc((100vw - 1240px) / 2));
  border: 0;
  background: var(--header-bg, rgba(23, 22, 21, 0.16));
  color: var(--header-text-color, var(--warm-white));
  -webkit-backdrop-filter: blur(9px) saturate(145%) contrast(106%);
  backdrop-filter: blur(9px) saturate(145%) contrast(106%);
  isolation: isolate;
  transform: translateY(0);
  filter: drop-shadow(0 14px 28px rgba(23, 22, 21, var(--header-shadow-alpha, 0)));
  transition: transform 240ms ease, opacity 180ms ease;
  will-change: transform, opacity, filter;
}

.site-header::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255, 250, 242, 0.12), transparent 52%),
    rgba(23, 22, 21, 0.16);
  -webkit-backdrop-filter: blur(9px) saturate(145%) contrast(106%);
  backdrop-filter: blur(9px) saturate(145%) contrast(106%);
  box-shadow: none;
  content: "";
  opacity: var(--header-dark-opacity, 1);
  will-change: opacity;
}

.site-header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255, 250, 242, 0.16), transparent 48%),
    rgba(255, 250, 242, 0.88);
  -webkit-backdrop-filter: blur(10px) saturate(130%) contrast(104%);
  backdrop-filter: blur(10px) saturate(130%) contrast(104%);
  box-shadow: none;
  opacity: var(--header-light-opacity, 0);
  pointer-events: none;
  content: "";
  will-change: opacity;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-112%);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 204px;
  width: 204px;
  height: 128px;
  overflow: visible;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.brand .brand__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 206px;
  transform: translate(-50%, -50%);
}

.brand__fallback {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(12px, 1.6vw, 24px);
  min-height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 600;
  text-shadow: var(--header-nav-shadow, 0 1px 2px rgba(0, 0, 0, 0.42), 0 8px 22px rgba(0, 0, 0, 0.26));
}

.site-nav a:not(.button) {
  position: relative;
  opacity: 0.92;
  transition: opacity 180ms ease;
}

.site-nav .language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 30px;
  margin-left: -4px;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav .language-link::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: currentColor;
  content: "";
  opacity: 0.32;
  transform: translateY(-50%);
}

.site-nav .language-link::after {
  display: none;
}

.site-nav .language-link:hover,
.site-nav .language-link:focus-visible {
  opacity: 1;
}

.site-nav a:not(.button)::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, background 220ms ease, border-color 220ms ease, color 40ms linear;
}

.button:hover,
.button:focus-visible {
  border-color: var(--olive);
  background: var(--olive);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  border-color: var(--header-button-border, rgba(255, 250, 242, 0.52));
  background: var(--header-button-bg, var(--warm-white));
  color: var(--header-button-color, var(--charcoal));
  text-shadow: none;
  transition: transform 180ms ease;
}

.button--outline {
  border-color: var(--walnut);
  background: transparent;
  color: var(--walnut);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--warm-white);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--header-toggle-border, rgba(255, 250, 242, 0.28));
  border-radius: 50%;
  background: var(--header-toggle-bg, rgba(23, 22, 21, 0.44));
  color: var(--header-toggle-color, inherit);
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  background: var(--charcoal);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 160px max(24px, calc((100vw - 1160px) / 2)) 112px;
  background-image: linear-gradient(90deg, rgba(23, 22, 21, 0.68), rgba(23, 22, 21, 0.2) 58%, rgba(23, 22, 21, 0.34)),
    var(--slide-image);
  background-position: var(--slide-position, center);
  background-repeat: no-repeat;
  background-size: var(--slide-size, cover);
  color: var(--warm-white);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-slide__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slide__content .eyebrow {
  color: #f0d08a;
  -webkit-text-stroke: 0.18px rgba(23, 22, 21, 0.56);
  paint-order: stroke fill;
  text-shadow:
    0 1px 1px rgba(23, 22, 21, 0.92),
    0 2px 8px rgba(23, 22, 21, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(4rem, 9vw, 8.2rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 250, 242, 0.44);
  border-radius: 50%;
  background: rgba(23, 22, 21, 0.32);
  color: var(--warm-white);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: rgba(23, 22, 21, 0.68);
  transform: translateY(-2px);
}

.slider-arrow--prev {
  left: 28px;
}

.slider-arrow--next {
  right: 28px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1160px) / 2));
  bottom: 48px;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 42px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.34);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--warm-white);
}

.section,
.split-section,
.about-section,
.contact-section {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 118px 0;
}

.section--soft {
  position: relative;
  width: 100%;
  padding: 118px max(20px, calc((100vw - 1160px) / 2));
  background: var(--cream);
}

.section__intro {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 780px);
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.section__intro .eyebrow {
  margin-top: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding-bottom: 64px;
  transition:
    grid-template-columns 860ms cubic-bezier(0.16, 1, 0.3, 1),
    gap 860ms cubic-bezier(0.16, 1, 0.3, 1),
    padding-bottom 860ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: grid-template-columns;
}

.project-grid.has-active {
  grid-template-columns: minmax(90px, 1fr) minmax(90px, 1fr) minmax(90px, 1fr) minmax(90px, 1fr);
  padding-bottom: 0;
}

.project-grid.has-active[data-active="0"] {
  grid-template-columns: minmax(0, 2.7fr) minmax(90px, 0.66fr) minmax(90px, 0.66fr) minmax(90px, 0.66fr);
}

.project-grid.has-active[data-active="1"] {
  grid-template-columns: minmax(90px, 0.66fr) minmax(0, 2.7fr) minmax(90px, 0.66fr) minmax(90px, 0.66fr);
}

.project-grid.has-active[data-active="2"] {
  grid-template-columns: minmax(90px, 0.66fr) minmax(90px, 0.66fr) minmax(0, 2.7fr) minmax(90px, 0.66fr);
}

.project-grid.has-active[data-active="3"] {
  grid-template-columns: minmax(90px, 0.66fr) minmax(90px, 0.66fr) minmax(90px, 0.66fr) minmax(0, 2.7fr);
}

.project-card {
  position: relative;
  display: block;
  min-height: 470px;
  translate: 0 0;
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--warm-white);
  transition:
    min-height 860ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 860ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 860ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 560ms ease,
    filter 560ms ease,
    transform 650ms ease;
  will-change: min-height, margin-top, translate, opacity, filter, transform;
}

.project-card:nth-child(even) {
  translate: 0 64px;
}

.project-grid.has-active .project-card {
  min-height: 500px;
  margin-top: 0;
  translate: 0 0;
}

.project-card.is-expanded {
  min-height: 560px;
}

.project-grid.has-active .project-card.is-expanded {
  min-height: 560px;
}

.project-card.is-condensed {
  opacity: 0.72;
  filter: saturate(0.82) contrast(0.96);
}

.project-card.is-condensed:hover,
.project-card.is-condensed:focus-within {
  opacity: 0.92;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.01);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease;
}

.project-card__select {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 22, 21, 0) 0%,
    rgba(23, 22, 21, 0) 46%,
    rgba(23, 22, 21, 0.62) 100%
  );
  content: "";
  pointer-events: none;
  transition: background 680ms ease;
}

.project-card.is-expanded::after {
  background: linear-gradient(
    180deg,
    rgba(23, 22, 21, 0) 0%,
    rgba(23, 22, 21, 0) 62%,
    rgba(23, 22, 21, 0.5) 100%
  );
}

.project-card__body {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 24px;
  pointer-events: none;
  transition:
    left 700ms cubic-bezier(0.16, 1, 0.3, 1),
    right 700ms cubic-bezier(0.16, 1, 0.3, 1),
    bottom 700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease;
}

.project-card.is-expanded .project-card__body {
  right: 220px;
}

.project-card.is-condensed .project-card__body {
  left: 16px;
  right: 16px;
  bottom: 18px;
}

.project-card span {
  display: block;
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow: hidden;
  max-height: 72px;
  transition: max-height 520ms ease, opacity 420ms ease;
}

.project-card.is-condensed span {
  max-height: 0;
  opacity: 0;
}

.project-carousel {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 999px;
  background: rgba(23, 22, 21, 0.34);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 420ms ease 140ms, transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.project-card.is-expanded .project-carousel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-card.has-single-image .project-carousel {
  display: none;
}

.project-carousel__arrow,
.project-carousel__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--warm-white);
  cursor: pointer;
}

.project-carousel__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.14);
  transition: background 180ms ease, transform 180ms ease;
}

.project-carousel__arrow:hover,
.project-carousel__arrow:focus-visible {
  background: rgba(255, 250, 242, 0.26);
  transform: translateY(-1px);
}

.project-carousel__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.38);
  transition: background 180ms ease, transform 180ms ease;
}

.project-carousel__dot.is-active {
  background: var(--warm-white);
  transform: scale(1.35);
}

.project-card:hover img,
.project-card:focus-visible img {
  opacity: 1;
  transform: scale(1.06);
}

.project-card.is-expanded img {
  opacity: 1;
  transform: scale(1.025);
}

.split-section,
.about-section,
.contact-section {
  display: grid;
  gap: 70px;
  align-items: center;
  padding: 118px 0;
}

.split-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.split-section--dual {
  grid-template-columns: minmax(190px, 0.72fr) minmax(300px, 0.86fr) minmax(190px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
}

.split-section__image,
.split-section__carousel,
.about-section__image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sand);
}

.split-section__image,
.split-section__carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: clamp(320px, 28vw, 420px);
  min-height: 0;
}

.split-section__carousel {
  justify-self: stretch;
  height: auto;
  aspect-ratio: 700 / 1318;
}

.split-section__image img,
.split-section__carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section__image img.split-section__slide,
.split-section__carousel img.split-section__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1200ms ease, transform 3000ms ease;
}

.split-section__image img.split-section__slide.is-active,
.split-section__carousel img.split-section__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.split-section__content {
  min-width: 0;
}

.split-section--dual .split-section__content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.split-section__content p:not(.eyebrow),
.contact-section__content p {
  max-width: 470px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.split-section--dual .split-section__content p:not(.eyebrow) {
  max-width: 360px;
}

.split-section__content p.split-section__lead {
  margin: 24px auto 0;
}

.split-section--dual .split-section__content .split-section__detail {
  max-width: 470px;
  margin: 18px auto 0;
  font-size: clamp(0.94rem, 0.9vw, 1rem);
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.wood-species {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: -20px;
}

.wood-species__intro {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto 18px;
  text-align: center;
}

.wood-species__intro h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.wood-species__intro p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.wood-species__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.wood-species__item {
  position: relative;
  min-width: 0;
  margin: 0;
  isolation: isolate;
}

.wood-species__item::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 250, 242, 0.3) 48%, transparent 72%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-34%);
  transition: opacity 280ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wood-species__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(23, 22, 21, 0.1);
  filter: saturate(0.96) contrast(0.99);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, filter 320ms ease;
}

.wood-species__item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, transform 260ms ease;
}

.wood-species__item:hover::after,
.wood-species__item:focus-within::after {
  opacity: 1;
  transform: translateX(34%);
}

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

.product-card {
  position: relative;
  top: 0;
  display: grid;
  gap: 20px;
  padding: 14px 14px 22px;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: top 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(92, 58, 39, 0.12);
  border-radius: 8px;
  background: var(--warm-white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  content: "";
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover,
.product-card:focus-visible {
  z-index: 2;
  top: -3px;
}

.product-card:hover::before,
.product-card:focus-visible::before {
  border-color: rgba(92, 58, 39, 0.2);
  box-shadow: var(--shadow);
  transform: scale(1.035);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  border-radius: 8px;
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms ease;
}

.product-card:hover img,
.product-card:focus-visible img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.025);
}

.product-card h3 {
  font-size: 1.24rem;
}

.product-card p {
  margin: 0;
  color: var(--olive);
  font-size: 0.92rem;
  font-weight: 700;
}

.section__action {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.about-section {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
}

.about-section__content h2 {
  max-width: 740px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.about-section__content p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-section__image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 34%;
}

.contact-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.74fr);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 10px;
  color: var(--walnut);
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 8px;
  background: var(--cream);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-form input,
.quote-form textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(92, 58, 39, 0.18);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--charcoal);
  outline: none;
}

.quote-form input,
.newsletter-form input {
  height: 50px;
  padding: 0 14px;
}

.quote-form textarea {
  resize: vertical;
  min-height: 136px;
  padding: 14px;
}

.quote-form input:focus,
.quote-form textarea:focus,
.newsletter-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 74, 0.16);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 10px max(20px, calc((100vw - 1160px) / 2));
  background: var(--charcoal);
  color: var(--warm-white);
}

.site-footer__content {
  display: grid;
  gap: 12px;
  justify-items: end;
  color: rgba(255, 250, 242, 0.78);
}

.site-footer__copy {
  justify-self: center;
  margin: 0;
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.84rem;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 50%;
  color: var(--warm-white);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-link svg path {
  fill: currentColor;
  stroke: none;
}

.social-link__facebook {
  transform: translateY(-0.5px);
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: auto;
  height: 208px;
  overflow: visible;
  padding: 0;
  background: transparent;
}

.site-footer__brand .brand__logo {
  width: auto;
  height: 208px;
  max-width: none;
  max-height: none;
  transform: none;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-form input {
  border-color: rgba(255, 250, 242, 0.2);
  background: rgba(255, 250, 242, 0.06);
  color: var(--warm-white);
}

.newsletter-form button {
  min-width: 116px;
  border: 0;
  background: var(--sand);
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 242, 0.3);
  border-radius: 50%;
  background: rgba(23, 22, 21, 0.62);
  color: var(--warm-white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(23, 22, 21, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.reveal.is-visible {
  transition:
    opacity 650ms ease,
    top 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card.reveal.is-visible:hover,
.product-card.reveal.is-visible:focus-visible {
  z-index: 2;
  transform: translateY(0);
}

.project-grid .project-card.reveal {
  transition:
    min-height 860ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 860ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 650ms ease,
    filter 560ms ease,
    transform 650ms ease;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

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

  .project-grid {
    padding-bottom: 0;
  }

  .project-grid.has-active,
  .project-grid.has-active[data-active] {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card:nth-child(even) {
    margin-top: 0;
    translate: 0 0;
  }

  .project-card {
    min-height: 390px;
  }

  .project-grid.has-active .project-card {
    min-height: 300px;
  }

  .project-card.is-expanded {
    grid-column: span 2;
    min-height: 520px;
  }

  .project-grid.has-active .project-card.is-expanded {
    min-height: 520px;
  }

  .project-card.is-expanded .project-card__body {
    right: 22px;
    bottom: 86px;
  }

  .project-card.is-condensed .project-card__body {
    bottom: 20px;
  }

  .project-carousel {
    right: auto;
    left: 22px;
  }

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

  .split-section__image {
    height: clamp(320px, 55vw, 460px);
  }

  .split-section--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .split-section--dual .split-section__content {
    order: -1;
    grid-column: 1 / -1;
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .split-section__carousel {
    height: auto;
  }

  .split-section--dual .split-section__content h2 {
    font-size: clamp(2.35rem, 6vw, 4.4rem);
  }

  .split-section--dual .split-section__content h2,
  .split-section--dual .split-section__content p.split-section__lead,
  .split-section--dual .split-section__content p.split-section__detail {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .split-section--dual .split-section__content p.split-section__detail {
    text-align: left;
    text-align-last: auto;
  }

  .wood-species {
    margin-top: 0;
  }

  .about-section__content,
  .about-section__content h2,
  .about-section__content p:not(.eyebrow) {
    width: 100%;
    max-width: none;
  }

  .about-section__image {
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    justify-self: center;
  }

  .about-section__image img {
    height: 100%;
    object-position: center 14%;
  }

  .section__intro {
    gap: 14px;
  }

  .about-section__image {
    order: -1;
  }

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

  .newsletter-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: 100%;
    min-height: 128px;
    margin-top: 0;
    padding: 12px 18px;
  }

  .brand__logo {
    height: auto;
  }

  .brand .brand__logo {
    height: 156px;
    transform: translate(-50%, -50%);
  }

  .brand {
    flex-basis: 146px;
    width: 146px;
    height: 98px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 128px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 250, 242, 0.36);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.82), rgba(255, 250, 242, 0.68)),
      rgba(255, 250, 242, 0.72);
    color: var(--charcoal);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 22px 50px rgba(23, 22, 21, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    text-shadow: none;
  }

  .site-nav .language-link {
    justify-content: flex-start;
    min-height: auto;
    margin-left: 0;
    padding: 14px 12px;
  }

  .site-nav .language-link::before {
    display: none;
  }

  .site-nav .button {
    width: 100%;
    margin-top: 8px;
    background: var(--charcoal);
    color: var(--warm-white);
  }

  .hero-slide {
    padding: 132px 24px 104px;
  }

  h1 {
    font-size: clamp(3.7rem, 16vw, 6rem);
  }

  .slider-arrow {
    top: auto;
    bottom: 38px;
  }

  .slider-arrow--prev {
    left: 24px;
  }

  .slider-arrow--next {
    left: 82px;
    right: auto;
  }

  .slider-dots {
    right: 24px;
    bottom: 60px;
  }

  .section,
  .split-section,
  .about-section,
  .contact-section {
    padding: 82px 0;
  }

  .section--soft {
    padding: 82px 20px;
  }

  .split-section,
  .about-section,
  .contact-section {
    gap: 34px;
  }

  .split-section__image {
    height: clamp(230px, 58vw, 430px);
    min-height: 0;
  }

  .split-section--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .split-section--dual .split-section__content {
    order: -1;
    grid-column: 1 / -1;
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .split-section--dual .split-section__content h2,
  .split-section--dual .split-section__content p.split-section__lead,
  .split-section--dual .split-section__content p.split-section__detail {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .split-section--dual .split-section__content p.split-section__detail {
    text-align: left;
    text-align-last: auto;
  }

  .split-section__carousel {
    height: auto;
  }

  .split-section__image img,
  .split-section__carousel img {
    height: 100%;
  }

  .about-section__image img {
    height: 100%;
  }
}

@media (max-width: 620px) {
  .about-section__image {
    width: min(100%, 390px);
    aspect-ratio: 4 / 5;
  }

  .about-section__image img {
    height: 100%;
    object-position: center 12%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-section__image img.split-section__slide,
  .split-section__carousel img.split-section__slide {
    transition: none;
    transform: none;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-slider {
    min-height: 92vh;
  }

  .hero-slide {
    align-items: center;
    padding: 118px 20px 112px;
    background-image: linear-gradient(180deg, rgba(23, 22, 21, 0.52), rgba(23, 22, 21, 0.36)),
      var(--slide-image);
    background-size: cover;
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.35rem);
  }

  .project-grid,
  .product-grid,
  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 20px 18px;
  }

  .wood-species {
    display: grid;
    grid-template-columns: repeat(7, 104px);
    column-gap: 12px;
    row-gap: 18px;
    width: 100%;
    margin-left: 0;
    padding: 10px 14px 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .wood-species__intro {
    grid-column: 1 / -1;
    width: calc(100vw - 28px);
    margin: 0 0 8px;
    text-align: left;
  }

  .wood-species__intro p:not(.eyebrow) {
    max-width: 34rem;
    margin-left: 0;
  }

  .wood-species__item {
    min-width: 0;
    scroll-snap-align: start;
  }

  .wood-species__item figcaption {
    font-size: 0.68rem;
  }

  .project-grid.has-active,
  .project-grid.has-active[data-active] {
    grid-template-columns: 1fr;
  }

  .site-footer__brand,
  .site-footer__copy,
  .site-footer__content {
    justify-self: center;
    justify-items: center;
    text-align: center;
  }

  .site-footer__copy {
    order: 3;
  }

  .site-footer__brand .brand__logo {
    height: 160px;
  }

  .site-footer__brand {
    height: 160px;
  }

  .project-card {
    min-height: 360px;
  }

  .project-grid.has-active .project-card {
    min-height: 190px;
  }

  .project-card.is-expanded {
    grid-column: auto;
    min-height: 420px;
  }

  .project-grid.has-active .project-card.is-expanded {
    min-height: 420px;
  }

  .project-card.is-expanded .project-card__body {
    right: 18px;
    bottom: 86px;
  }

  .project-card.is-condensed .project-card__body {
    left: 18px;
    right: 18px;
  }

  .project-carousel {
    left: 18px;
    right: 18px;
    justify-content: center;
  }

  .quote-form {
    padding: 24px;
  }

  .newsletter-form div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter-form button {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
