:root {
  --ink: #161514;
  --muted: #6f6a62;
  --line: rgba(22, 21, 20, 0.14);
  --paper: #f7f5f0;
  --ivory: #fffdf8;
  --charcoal: #11100f;
  --bronze: #9a6a3d;
  --moss: #4f5945;
  --stone: #ded8cc;
  --shadow: 0 24px 70px rgba(17, 16, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 64px);
  color: var(--ivory);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 40px rgba(17, 16, 15, 0.08);
  backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.brand small {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 78px) 46px;
  overflow: hidden;
  color: var(--ivory);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/hero-interior.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.74), rgba(17, 16, 15, 0.28) 52%, rgba(17, 16, 15, 0.5)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.7), rgba(17, 16, 15, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8cba8;
}

h1,
h2,
h3,
.quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 11rem);
  font-weight: 600;
}

.hero-subtitle {
  margin: 10px 0 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 550px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.btn-primary {
  color: var(--ivory);
  background: var(--bronze);
}

.btn-secondary {
  color: var(--ivory);
  border-color: rgba(255, 253, 248, 0.5);
}

.contact-panel .btn-primary {
  margin-top: 30px;
}

.hero-note {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(420px, 100%);
  margin-top: 42px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.34);
  color: rgba(255, 253, 248, 0.78);
}

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

.hero-note span {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  color: var(--ivory);
  font-size: 0.95rem;
}

.quote-band {
  display: grid;
  place-items: center;
  padding: clamp(70px, 9vw, 140px) 20px;
  text-align: center;
  background: var(--charcoal);
  color: var(--ivory);
}

.quote {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}

.quote-source {
  margin: 22px 0 0;
  color: #c8b99f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 9vw, 138px) clamp(20px, 5vw, 78px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.craft-copy h2,
.production-copy h2,
.contact-panel h2 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  font-weight: 600;
}

.section-copy p,
.section-heading p,
.craft-copy p,
.production-copy p,
.contact-panel p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1rem;
}

.image-pair {
  margin: 0;
}

.image-pair img,
.product-feature img,
.craft-image img,
.gallery-track img,
.production-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-pair img {
  aspect-ratio: 5 / 6;
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-section {
  background: var(--ivory);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p {
  margin: 0 0 12px;
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-feature {
  display: grid;
  align-content: start;
  gap: 20px;
}

.product-feature img {
  aspect-ratio: 1 / 1.15;
}

.product-feature h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 600;
}

.product-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.craft-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding: clamp(76px, 9vw, 138px) clamp(20px, 5vw, 78px);
  background: #ebe6dc;
}

.craft-image img {
  aspect-ratio: 4 / 5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.metrics div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-section {
  background: var(--charcoal);
}

.gallery-track {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.gallery-track figure {
  margin: 0;
}

.gallery-track img {
  aspect-ratio: 4 / 5;
}

.gallery-track figcaption {
  color: #c8b99f;
}

.production-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(76px, 9vw, 138px) clamp(20px, 5vw, 78px);
  background: var(--ivory);
}

.production-media img {
  aspect-ratio: 16 / 10;
}

.contact-section {
  padding: clamp(76px, 9vw, 138px) clamp(20px, 5vw, 78px);
  background:
    linear-gradient(rgba(17, 16, 15, 0.62), rgba(17, 16, 15, 0.62)),
    url("assets/images/wood-detail.jpg") center / cover;
}

.contact-panel {
  max-width: 1060px;
  padding: clamp(28px, 5vw, 64px);
  color: var(--ivory);
  background: rgba(17, 16, 15, 0.78);
  border: 1px solid rgba(255, 253, 248, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.contact-panel h2 {
  color: var(--ivory);
}

.contact-panel p {
  color: rgba(255, 253, 248, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

address {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  color: rgba(255, 253, 248, 0.76);
  font-style: normal;
}

address strong,
address span {
  display: block;
}

address strong {
  margin-bottom: 12px;
  color: var(--ivory);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 78px);
  color: rgba(255, 253, 248, 0.7);
  background: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    color: var(--ink);
    background: var(--ivory);
    box-shadow: 0 18px 55px rgba(17, 16, 15, 0.16);
  }

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

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .section-grid,
  .section-heading,
  .craft-section,
  .production-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-layout,
  .gallery-track,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero-note {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 122px 18px 34px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero-subtitle {
    letter-spacing: 0.1em;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
