@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #172724;
  --paper: #faf9f6;
  --orange: #d46a31;
  --line: #dbded9
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif
}

a {
  -webkit-tap-highlight-color: transparent
}

.skip {
  position: fixed;
  top: -80px;
  left: 1rem;
  background: white;
  padding: 1rem;
  z-index: 10
}

.skip:focus {
  top: 1rem
}

.topbar {
  padding: 25px 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 1rem
}

.wordmark {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 1rem
}

.wordmark span {
  font-weight: 500
}

.topbar p {
  font-size: .875rem;
  margin: 0;
  color: #65706b
}

.intro {
  text-align: center;
  padding: 30px 20px 27px
}

.intro h1 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0 0 8px
}

.intro p {
  font-size: 1rem;
  color: #67716d;
  margin: 0
}

.departments {
  position: relative;
  display: flex;
  min-height: 660px;
  height: calc(100svh - 265px);
  max-height: 1020px;
  margin: 0 22px;
  isolation: isolate;
  overflow: hidden;
  background: #172724
}

.department {
  position: relative;
  text-decoration: none;
  color: #fff;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  outline-offset: -7px;
  transition: flex .65s ease
}

.department:focus-visible {
  outline: 3px solid white;
  z-index: 4
}

.shop {
  margin-right: -4%;
  flex-basis: 4%;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  z-index: 2
}

.wood {
  margin-left: -4%;
  flex-basis: 4%
}

.scene {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  transition: transform 1s ease;
  object-position: 50% 43%
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 19, .06) 0%, rgba(13, 18, 19, .12) 20%, rgba(13, 18, 19, .69) 51%, rgba(13, 18, 19, .93) 100%)
}

.wood .shade {
  background: linear-gradient(180deg, rgba(18, 29, 26, .05), rgba(14, 26, 22, .13) 20%, rgba(14, 26, 22, .77) 56%, rgba(14, 26, 22, .96))
}

.department-content {
  position: relative;
  width: 100%;
  padding: 34px 12% 26px 9%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1
}

.wood .department-content {
  padding-left: 18%;
  padding-right: 8%
}

.brand {
  background: #fffefbef;
  padding: 17px 23px 13px;
  width: 230px;
  max-width: 95%;
  box-shadow: 0 3px 25px #0000000a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px
}

.brand img {
  width: 100%;
  height: 67px;
  object-fit: contain
}

.wood .brand img {
  object-fit: contain;
  object-position: center;
  width: 192px;
  max-width: 100%;
  height: 67px
}

.brand span {
  font-size: .63rem;
  letter-spacing: .14em;
  color: #293d37;
  font-weight: 700;
  white-space: nowrap;
}

.wood .brand span {
  font-size: .72rem;
  letter-spacing: .4em;
  padding-left: .4em
}

.copy {
  margin-top: auto;
  padding-top: 90px;
  max-width: 450px
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .17em;
  font-weight: 600;
  color: #f1d2b1
}

.wood .eyebrow {
  color: #d8dcbf
}

h2 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 4.35vw, 4.7rem);
  line-height: 1.07;
  letter-spacing: -.05em;
  margin: 19px 0 19px
}

.copy p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 360px;
  color: #f0eee8;
  margin: 0
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 20px 0 26px;
  font-size: .8rem;
  color: #d7d6ce
}

.tags span {
  border-bottom: 1px solid #ffffff40;
  padding-bottom: 7px
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 16px 29px;
  background: #f7f5ee;
  color: #24352d;
  font-size: .92rem;
  font-weight: 700;
  transition: background .25s, color .25s;
  letter-spacing: .01em
}

.shop .cta {
  background: #d66831;
  color: white
}

.footnote {
  font-size: .76rem;
  color: #d0d1c8;
  margin-top: 30px;
  line-height: 1.5
}

.seam-label {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--paper);
  z-index: 3;
  display: grid;
  place-items: center;
  font-family: Manrope, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: -.1em;
  font-weight: 800;
  border: 5px solid #ffffff35;
  background-clip: padding-box;
  pointer-events: none
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 23px 4.2%;
  font-size: .76rem;
  color: #70766f;
  line-height: 1.5
}

footer span:first-child {
  color: #33463b
}

footer span:nth-child(2) {
  color: #7b8179
}

@media(hover:hover) {
  .department:hover .scene {
    transform: scale(1.035)
  }

  .shop:hover .cta {
    background: #ea7b42
  }

  .wood:hover .cta {
    background: #dbd9c5
  }

  .department:hover {
    flex-grow: 1.05
  }
}

@media(min-width:1700px) {
  .department-content {
    padding-top: 45px;
    padding-bottom: 40px
  }

  .copy {
    max-width: 540px
  }

  .copy p {
    max-width: 420px;
    font-size: 1.15rem
  }
}

@media(max-width:800px) {
  .topbar {
    padding: 20px 24px
  }

  .topbar p {
    font-size: .75rem
  }

  .departments {
    margin: 0 12px;
    min-height: 630px
  }

  .department-content {
    padding: 25px 14% 25px 7%
  }

  .wood .department-content {
    padding-left: 17%;
    padding-right: 7%
  }

  .brand {
    width: 195px;
    padding: 14px 17px
  }

  .brand img,
  .wood .brand img {
    height: 55px
  }

  .eyebrow {
    font-size: .63rem;
    letter-spacing: .12em
  }

  h2 {
    font-size: 2.9rem
  }

  .copy p {
    font-size: 1rem
  }

  .tags {
    font-size: .75rem
  }

  .cta {
    padding: 15px 20px;
    font-size: .85rem
  }

  footer span:nth-child(2) {
    display: none
  }
}

@media(max-width:600px) {
  .topbar {
    padding: 19px 20px
  }

  .wordmark {
    font-size: .85rem
  }

  .topbar p {
    display: none
  }

  .intro {
    padding: 27px 18px 25px
  }

  .intro h1 {
    font-size: 1.8rem
  }

  .intro p {
    font-size: .9rem
  }

  .departments {
    display: block;
    height: auto;
    max-height: none;
    min-height: 0;
    margin: 0 10px;
    overflow: visible;
    background: transparent
  }

  .department {
    min-height: 610px
  }

  .shop {
    clip-path: none;
    margin: 0 0 10px
  }

  .wood {
    margin: 0
  }

  .department-content,
  .wood .department-content {
    padding: 26px 27px
  }

  .brand {
    width: 196px
  }

  .brand img,
  .wood .brand img {
    height: 57px
  }

  .copy {
    padding-top: 100px;
    max-width: 100%
  }

  h2 {
    font-size: 3.25rem;
    margin: 16px 0
  }

  .copy p {
    max-width: 340px
  }

  .eyebrow {
    font-size: .72rem
  }

  .tags {
    font-size: .78rem;
    margin: 18px 0 24px
  }

  .cta {
    font-size: .9rem;
    padding: 16px 25px
  }

  .footnote {
    margin-top: 25px
  }

  .seam-label {
    display: none
  }

  footer {
    padding: 23px 23px;
    flex-direction: column;
    gap: 5px;
    font-size: .75rem
  }

  .scene {
    object-position: center 36%
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* A single translucent band joins the two departments. */
.departments {
  margin-inline: 0
}

.brand-strip {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  height: var(--brand-height, 124px)
}

.brand-strip .brand {
  justify-self: center;
  background: none;
  box-shadow: none;
  text-decoration: none;
  padding: 8px 0;
  width: 240px;
  max-width: 80%;
  gap: 7px
}

.brand-strip .brand:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px
}

.brand-strip .brand img {
  height: 72px;
  object-fit: contain
}

.brand-strip .xiloteca-brand img {
  height: 72px;
  object-fit: contain;
  width: 215px;
  max-width: 100%
}

.brand-strip .xiloteca-brand span {
  font-size: .72rem;
  letter-spacing: .4em;
  padding-left: .4em
}

.department-content>.brand {
  display: none
}

@media(min-width:761px) {
  body {
    height: 100svh;
    display: flex;
    flex-direction: column
  }

  .topbar {
    flex: none;
    padding-block: clamp(12px, 2.2svh, 25px)
  }

  main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column
  }

  .intro {
    flex: none;
    padding-block: clamp(14px, 2.7svh, 30px)
  }

  .intro h1 {
    font-size: clamp(1.7rem, 3.7svh, 2.35rem)
  }

  .departments {
    flex: 1;
    min-height: 0;
    height: auto;
    max-height: none;
    --brand-height: clamp(88px, 15svh, 140px)
  }

  .brand-strip .brand img,
  .brand-strip .xiloteca-brand img {
    height: clamp(50px, 8svh, 78px)
  }

  .brand-strip .brand {
    width: clamp(195px, 27svh, 260px)
  }

  .department-content,
  .wood .department-content {
    padding-top: calc(var(--brand-height) + 16px);
    padding-bottom: clamp(15px, 2.5svh, 32px)
  }

  .copy {
    padding-top: 0
  }

  h2 {
    font-size: clamp(2.4rem, 6.5svh, 4.7rem);
    margin-block: clamp(10px, 1.8svh, 19px)
  }

  .copy p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 390px
  }

  .tags {
    margin-block: clamp(10px, 1.8svh, 20px);
    gap: 8px 18px
  }

  .footnote {
    margin-top: clamp(12px, 2svh, 25px)
  }

  footer {
    flex: none;
    padding-block: clamp(10px, 1.8svh, 23px)
  }
}

@media(min-width:761px) and (max-height:740px) {
  .topbar {
    padding-block: 10px
  }

  .intro {
    padding-block: 12px
  }

  .intro h1 {
    font-size: 1.7rem;
    margin-bottom: 4px
  }

  .intro p {
    font-size: .9rem
  }

  .departments {
    --brand-height: 88px
  }

  .brand-strip .brand img,
  .brand-strip .xiloteca-brand img {
    height: 50px
  }

  .department-content,
  .wood .department-content {
    padding-top: 100px;
    padding-bottom: 14px
  }

  h2 {
    font-size: 2.5rem;
    margin-block: 9px
  }

  .copy p {
    line-height: 1.4
  }

  .eyebrow {
    font-size: .7rem
  }

  .tags {
    margin-block: 10px;
    font-size: .75rem
  }

  .tags span {
    padding-bottom: 4px
  }

  .cta {
    min-height: 44px;
    padding-block: 12px
  }

  .footnote {
    margin-top: 12px
  }

  footer {
    padding-block: 10px
  }
}

@media(max-width:760px) {
  .brand-strip {
    display: none
  }

  .departments {
    display: block;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    margin: 0;
    background: transparent
  }

  .department {
    min-height: 610px
  }

  .shop {
    clip-path: none;
    margin: 0 0 10px
  }

  .wood {
    margin: 0
  }

  .department-content,
  .wood .department-content {
    padding: 140px 27px 26px
  }

  .department-content>.brand {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    width: 100%;
    max-width: none;
    height: 115px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
    justify-content: center;
    padding: 14px
  }

  .department-content>.brand img {
    width: 196px;
    height: 62px
  }

  .wood .department-content>.brand img {
    width: 196px;
    height: 62px;
    object-fit: contain
  }

  .copy {
    padding-top: 80px;
    max-width: 100%
  }

  .copy p {
    max-width: 400px
  }

  .seam-label {
    display: none
  }
}

/* Preserve access to content in unusually short windows and at high zoom. */
@media(min-width:761px) and (max-height:540px) {
  body {
    height: auto;
    min-height: 100svh
  }

  .departments {
    min-height: 410px
  }
}