:root {
  --gold-text: #755616;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid #9a6d16;
  outline-offset: 5px;
}

.eyebrow:not(.light) {
  color: var(--gold-text);
}

.site-header nav {
  gap: clamp(1.1rem, 2.4vw, 2.5rem);
}

.hero {
  min-height: clamp(620px, calc(100svh - 90px), 790px);
  background-image: url("assets/natural-shaker.webp");
  background-position: 58% 54%;
}

.hero-shade {
  background: linear-gradient(90deg, #102116e8, #102116b8 38%, #10211636 76%, #10211610);
}

.hero-content {
  padding-block: 3rem;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.5rem, 6.7vw, 7.3rem);
  text-wrap: balance;
}

.hero h1 em,
.film h2 em {
  color: #e2c47e;
}

.brand-intro {
  padding-block: clamp(4rem, 8vw, 7.2rem);
}

.brand-intro .section-head,
.inspiration .section-head,
.craft .section-head,
.story-practices .section-head {
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.brand-intro .section-head > p {
  max-width: 410px;
  font-size: 1.06rem;
}

.brand-values {
  margin-bottom: 1.7rem;
}

.brand-values article,
.brand-values article + article {
  padding-block: 1.6rem 2rem;
}

.brand-values h3 {
  margin: 0 0 .75rem;
}

.inspiration {
  background: #e7dfce;
}

.inspiration .section-head > p,
.craft .section-head > p {
  max-width: 395px;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.85rem, 1.7vw, 1.5rem);
}

.room-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 36vw, 505px);
  overflow: hidden;
  margin: 0;
  background: #364735;
  color: white;
}

.room-card--kitchen,
.room-card--bath {
  grid-column: span 7;
}

.room-card--outdoor,
.room-card--office {
  grid-column: span 5;
}

.room-card--office,
.room-card--bath {
  min-height: clamp(290px, 29vw, 410px);
}

.room-card img,
.room-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.room-card img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.room-card::after {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #111f16f7 0, #111f1690 28%, #111f1600 66%);
}

.room-card--bath img {
  object-position: center 55%;
}

.room-card figcaption {
  padding: clamp(1.25rem, 3vw, 2.3rem);
}

.room-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  letter-spacing: -.035em;
}

.room-card p {
  max-width: 31rem;
  margin: .55rem 0 0;
  color: #f8f3e9;
}

.craft {
  background: var(--paper);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
}

.craft-grid figure {
  margin: 0;
  background: white;
}

.craft-grid img {
  width: 100%;
  height: clamp(210px, 22vw, 310px);
  object-fit: contain;
  background: #fff;
}

.craft-grid figure:last-child img {
  object-fit: cover;
}

.craft-grid figcaption {
  padding: 1.2rem 1.3rem 1.45rem;
}

.craft-grid h3 {
  color: var(--green);
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  margin: 0 0 .55rem;
}

.craft-grid p {
  margin: 0;
  color: var(--body);
}

.about .about-closer {
  margin-top: 0;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.about-closer img {
  height: clamp(290px, 35vw, 450px);
  object-position: 50% 55%;
}

.about-closer p.eyebrow {
  margin: 0 0 1.15rem;
  font: 700 .72rem/1.4 "DM Sans", Arial, sans-serif;
}

.about-closer h2 + p {
  max-width: 500px;
  margin: 1.3rem 0;
  color: var(--body);
  font: 400 1.04rem/1.65 "DM Sans", Arial, sans-serif;
}

.design-photo {
  height: clamp(360px, 47vw, 640px);
}

.design-inspiration-link {
  margin-inline-start: 1rem;
}

.story-hero {
  background: var(--dark);
  color: var(--paper);
}

.story-hero h1 {
  max-width: 980px;
  margin: 0;
  font: 400 clamp(3.5rem, 8vw, 8rem)/1.05 "Playfair Display", Georgia, serif;
  letter-spacing: -.05em;
}

.story-hero h1 em {
  color: #e2c47e;
}

.story-hero p:last-child {
  max-width: 34rem;
  font-size: 1.2rem;
  color: #e2eadf;
}

@media (max-width: 900px) {
  .hero {
    min-height: min(680px, max(520px, calc(100svh - 74px)));
  }

  .about .about-closer {
    grid-template-columns: 1fr;
  }

  .brand-values article:last-child {
    border-bottom: 0;
  }

  .design-photo {
    height: 410px;
  }
}

@media (max-width: 620px) {
  .hero {
    background-image: url("assets/natural-shaker-mobile.webp");
    background-position: center;
  }

  .hero-shade {
    background: linear-gradient(90deg, #102116e0, #10211698 66%, #10211658);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 10.8vw, 4.7rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .room-gallery,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    grid-column: auto;
  }

  .design-photo {
    height: 340px;
  }

  .design-inspiration-link {
    display: table;
    margin: 1.05rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
