@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Newsreader:ital,opsz,wght@1,6..72,500&family=Oswald:wght@500;600&display=swap");

:root {
  --ink: #191713;
  --paper: #eee9dc;
  --paper-dark: #ded6c4;
  --rust: #bc5b2d;
  --gold: #d09231;
  --line: rgba(25, 23, 19, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(25, 23, 19, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 5px;
  color: var(--ink);
  font-family: "DM Mono", monospace;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 48px), 1380px);
  margin-inline: auto;
}

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.66rem;
  text-transform: uppercase;
}

nav a {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
}

nav a:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  align-items: center;
  gap: 7vw;
  padding: 70px 0;
}

.overline,
.section-header > p,
.approach-title > p {
  margin: 0 0 30px;
  color: var(--rust);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 38px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: uppercase;
}

em {
  color: var(--rust);
  font-family: "Newsreader", serif;
  font-weight: 500;
  text-transform: none;
}

.intro {
  max-width: 660px;
  margin-bottom: 35px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.arrow-link {
  display: inline-flex;
  gap: 70px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.arrow-link:hover {
  color: var(--rust);
  border-color: var(--rust);
}

.hero-logo {
  position: relative;
  transform: rotate(1.5deg);
  border: 1px solid var(--line);
  background: #f7f4ed;
  padding: 18px 18px 13px;
  box-shadow: 13px 15px 0 var(--paper-dark);
}

.hero-logo::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 42%;
  width: 70px;
  height: 22px;
  transform: rotate(-3deg);
  background: rgba(210, 188, 142, 0.65);
}

.hero-logo img {
  display: block;
  width: 100%;
  filter: contrast(1.03);
}

.hero-logo p {
  margin: 12px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.hero-logo i {
  color: var(--gold);
  font-style: normal;
}

.shop-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  text-transform: uppercase;
}

.shop-note p {
  margin: 0;
}

.shop-note span {
  height: 1px;
  background: var(--rust);
}

.furniture {
  padding: 120px 0 40px;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 3fr;
  margin-bottom: 100px;
}

.section-header h2,
.approach h2,
.commission h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.piece {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7vw;
  border-top: 1px solid var(--line);
  padding: 75px 0;
}

.piece:nth-of-type(odd) .piece-art {
  order: 2;
}

.piece-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(25, 23, 19, 0.08) 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(25, 23, 19, 0.08) 39px),
    var(--paper-dark);
}

.piece-art small {
  position: absolute;
  right: 18px;
  bottom: 15px;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.piece-copy {
  align-self: center;
}

.piece-number {
  margin-bottom: 55px;
  color: var(--rust);
  font-size: 0.65rem;
}

.piece-copy h3 {
  margin-bottom: 24px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.piece-copy > p:not(.piece-number, .materials) {
  max-width: 500px;
  font-size: 0.8rem;
  line-height: 1.75;
}

.materials {
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: #6c655a;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.chair,
.table-drawing,
.cabinet-drawing {
  position: relative;
  width: 260px;
  height: 270px;
  transform: rotate(-2deg);
}

.chair span,
.table-drawing span {
  position: absolute;
  display: block;
  background: var(--rust);
  box-shadow: inset 0 0 0 1px rgba(25, 23, 19, 0.5);
}

.chair-back {
  top: 0;
  left: 55px;
  width: 150px;
  height: 145px;
  clip-path: polygon(12% 0, 88% 4%, 81% 100%, 19% 96%);
}

.chair-seat {
  top: 130px;
  left: 30px;
  width: 205px;
  height: 48px;
  transform: skew(-7deg);
}

.chair-leg {
  top: 165px;
  width: 27px;
  height: 105px;
}

.leg-one { left: 45px; transform: rotate(5deg); }
.leg-two { right: 40px; transform: rotate(-5deg); }

.table-top {
  top: 55px;
  left: 0;
  width: 260px;
  height: 55px;
}

.table-leg {
  top: 100px;
  width: 35px;
  height: 145px;
}

.table-leg.left { left: 32px; transform: skew(-8deg); }
.table-leg.right { right: 32px; transform: skew(8deg); }

.table-stretcher {
  top: 186px;
  left: 45px;
  width: 170px;
  height: 22px;
}

.cabinet-drawing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.6fr 1fr;
  gap: 8px;
  width: 280px;
  height: 260px;
  border: 13px solid var(--rust);
  background: var(--rust);
  transform: rotate(1deg);
}

.cabinet-drawing span {
  border: 1px solid var(--ink);
  background: var(--paper-dark);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  border-top: 1px solid var(--line);
  padding: 130px 0;
}

.approach-copy > p {
  margin-bottom: 35px;
  font-size: 0.86rem;
  line-height: 1.8;
}

blockquote {
  margin: 70px 0 0;
  border-left: 3px solid var(--rust);
  padding-left: 24px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-style: italic;
  line-height: 1.1;
}

.commission {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(50px, 8vw, 110px);
}

.commission h2 {
  margin-bottom: 100px;
}

.commission-bottom {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: end;
  gap: 7vw;
}

.commission-bottom p {
  margin: 0;
  color: #b6afa2;
  font-size: 0.72rem;
  line-height: 1.7;
}

.commission-bottom a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 13px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 3.7vw, 3.8rem);
  text-transform: uppercase;
}

.commission-bottom a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 35px 0 45px;
  color: #6c655a;
  font-size: 0.58rem;
  text-transform: uppercase;
}

footer img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), 1380px);
  }

  .site-header {
    min-height: 82px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .menu-button {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.6rem;
    padding: 9px 12px;
    text-transform: uppercase;
  }

  nav {
    position: absolute;
    z-index: 10;
    top: 82px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 10px;
    box-shadow: 8px 8px 0 var(--paper-dark);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 13px 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 65px;
    padding: 70px 0 90px;
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 7rem);
  }

  .hero-logo {
    width: min(85%, 430px);
    margin-inline: auto;
  }

  .shop-note {
    gap: 12px;
    font-size: 1.25rem;
  }

  .furniture {
    padding-top: 80px;
  }

  .section-header,
  .piece,
  .approach,
  .commission-bottom {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 18px;
    margin-bottom: 60px;
  }

  .piece {
    gap: 45px;
    padding: 60px 0;
  }

  .piece:nth-of-type(odd) .piece-art {
    order: initial;
  }

  .piece-art {
    min-height: 360px;
  }

  .piece-number {
    margin-bottom: 30px;
  }

  .approach {
    gap: 55px;
    padding: 90px 0;
  }

  .commission h2 {
    margin-bottom: 70px;
  }

  .commission-bottom {
    gap: 45px;
  }

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

  footer a {
    grid-column: 2;
  }
}

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