/* Homepage and flooring collection pages. */
.oak-mobile-call, .oak-nav-toggle { display: none; }
@media (min-width: 801px) {
  body[data-home-layout] .site-header, .oak-catalogue > header {
    min-height: 78px;
    padding-block: 10px;
  }
  body[data-home-layout] .site-header .wordmark,
  body[data-home-layout] .site-header .wordmark img,
  .oak-catalogue > header .logo img { width: 64px; height: 64px; }
  body[data-home-layout=split] #hero {
    height: auto;
    min-height: clamp(430px, 56svh, 560px);
    max-height: none;
    padding: 14px clamp(24px, 3.6vw, 68px) 18px 0;
    background: #eee9df;
  }
  body[data-home-layout=split] #hero .hero-content { padding-block: 24px; }
}

body[data-home-layout=split] #hero .hero-content { padding-inline: clamp(30px, 5.4vw, 90px); }
body[data-home-layout=split] #hero .hero-actions .hero-samples {
  background: #ebe5da;
  border-color: transparent;
  color: #303e32;
}
body[data-home-layout=split] #hero .hero-samples:hover { background: #e0d8c9; }
body[data-home-layout=split] #hero .factory-promise { border: 0; padding: 0; margin-top: 12px; }
body[data-home-layout] #collection .collection-door,
body[data-home-layout] #collection .door-copy,
body[data-home-layout] #engineered .product-card,
body[data-home-layout] #engineered .card-title { border: 0; }
body[data-home-layout] #collection .door-copy {
  margin: 0; padding: clamp(17px, 2vw, 30px); background: #eee8dd;
}
body[data-home-layout] #collection .collection-door { background: #eee8dd; }
body[data-home-layout] #collection .door-copy h3 { margin-top: 0; }
body[data-home-layout] #engineered .product-grid { row-gap: clamp(24px, 3vw, 48px); }
body[data-home-layout] #engineered .card-title { padding-top: 12px; }
body[data-home-layout] .home-buying-guides { border: 0; background: #f5f1e9; padding: clamp(18px, 2.3vw, 32px); }
body[data-home-layout] .home-buying-guides a { border: 0; padding: 9px 0; }

/* Adjacent homepage sections share the space at their join. */
body[data-home-spacing=comfortable] .editorial-home > :is(#collection,#patterns,#engineered,#materials,#contact),
body[data-home-spacing=comfortable] #flooring-supply {
  padding-block: clamp(28px, 3vw, 46px);
}
body[data-home-spacing=comfortable] .editorial-home .section-head { margin-bottom: clamp(14px, 1.6vw, 24px); }
body[data-home-spacing=comfortable] #story { padding-block: clamp(30px, 3.5vw, 50px) 20px; }
body[data-home-spacing=comfortable] #story .story-route { margin-bottom: clamp(14px, 2vw, 28px); }
body[data-home-spacing=comfortable] #woodland { margin-bottom: clamp(24px, 3vw, 44px); }
body[data-home-spacing=comfortable] #factory-story,
body[data-home-spacing=comfortable] #story .material-chapter,
body[data-home-spacing=comfortable] #story .material-story-heading {
  padding-bottom: clamp(14px, 1.8vw, 28px);
  margin-bottom: clamp(16px, 2vw, 30px);
}
body[data-home-spacing=comfortable] #factory-story .factory-photo-grid { margin-block: clamp(20px, 2.5vw, 36px); }
body[data-home-spacing=comfortable] #room-scenes { margin-top: clamp(22px, 2.6vw, 38px); }
body[data-home-spacing=comfortable] #story .story-invitation {
  margin-top: clamp(18px, 2vw, 32px);
  padding-block: clamp(26px, 3vw, 46px);
}
.oak-catalogue > .guide-related { padding-block: clamp(20px, 2.4vw, 34px); }
body.oak-catalogue > footer.bw-site-footer,
body[data-home-layout] > footer.bw-site-footer { margin-top: clamp(14px, 1.8vw, 26px); }

.oak-catalogue .collection-head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: ". photos" "label photos" "title photos" "intro photos" "quote photos" ". photos";
  grid-template-rows: minmax(0,1fr) repeat(4,auto) minmax(0,1fr);
  align-content: center;
  column-gap: clamp(30px, 5vw, 80px);
  padding: clamp(22px, 2.5vw, 38px) max(5%, calc((100vw - 1400px) / 2));
  background: #f4f0e7;
  border: 0;
}
.oak-catalogue .collection-head > .eyebrow { grid-area: label; margin: 0; align-self: end; }
.oak-catalogue .collection-head h1 {
  grid-area: title; font: 400 clamp(38px, 4.3vw, 70px)/1.05 Georgia, serif;
  letter-spacing: -.035em; text-wrap: balance; margin: 13px 0 14px;
}
.oak-catalogue .collection-head > p:not(.eyebrow):not(.bw-quote-intro) {
  grid-area: intro; margin: 0; line-height: 1.65; color: #51584f; font-size: 16px;
}
.oak-catalogue .collection-head > .bw-quote-intro { grid-area: quote; margin: 16px 0 0; }
.oak-catalogue .oak-formats {
  grid-area: photos; align-self: center; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(10px, 1.5vw, 24px); padding: 0; margin: 0; background: none; border: 0;
}
.oak-formats a { display: block; text-decoration: none; min-width: 0; color: #29392d; }
.oak-formats img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 65%; }
.oak-format-label { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; margin: 12px 0 3px; }
.oak-format-label strong { font: 400 clamp(21px, 2.1vw, 31px)/1.15 Georgia, serif; }
.oak-format-label > span { font-size: 15px; }
.oak-formats small { font-size: 13px; color: #565f52; }
.oak-formats a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.oak-catalogue .engineered-straight-head { padding: clamp(24px, 2.4vw, 36px) 5% 6px; align-items: end; border: 0; }
.oak-catalogue .engineered-straight-head .eyebrow { margin: 0; }
.oak-catalogue .engineered-straight-head h2 { margin: 8px 0; font-size: clamp(32px, 3.8vw, 54px); }
.oak-catalogue .engineered-straight-head > strong { padding: 7px 10px; border: 0; background: #ece7da; color: #454d40; }
.oak-catalogue .cards {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px clamp(14px, 2vw, 30px);
  background: transparent; padding: 12px 5% clamp(24px, 2.8vw, 42px);
}
.oak-catalogue .cards article { display: flex; flex-direction: column; min-width: 0; background: #ede8de; border: 0; }
.oak-catalogue .cards article > a { display: block; flex: 1; }
.oak-catalogue .cards article img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.oak-catalogue .cards article div { margin: 0; border: 0; padding: 16px 18px 8px; }
.oak-catalogue .cards h3 { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.08; margin: 7px 0; }
.oak-catalogue .cards article div > span { font-size: 13px; }
.oak-catalogue .cards .bw-quote-row { margin: 0; padding: 0 18px 10px; }
.oak-catalogue .cards .bw-flooring-quote { padding-inline: 0; background: transparent; color: #324332; border: 0; }
.oak-catalogue .herringbone-preview, .oak-catalogue .herringbone-finish,
.oak-catalogue .collection-buying, .oak-catalogue .collection-buying-faq details { border: 0; }
.oak-catalogue .herringbone-preview { background: #eae5da; padding: clamp(22px, 2.6vw, 42px); }
.oak-catalogue .collection-buying { padding-block: clamp(26px, 3vw, 46px); }
.oak-catalogue .herringbone-preview-spec { border: 0; background: #f7f3ea; padding: 18px; }
.oak-catalogue .collection-buying-faq details { margin: 8px 0; padding-inline: 14px; background: #f4f0e6; }
.oak-catalogue a:focus-visible, .oak-nav-toggle:focus-visible, .oak-mobile-call:focus-visible {
  outline: 3px solid #76613c; outline-offset: 3px;
}
@media (max-width: 800px) {
  /* The phone link stays in the header while people browse the photos. */
  body[data-home-layout] .site-header, body.oak-catalogue > header {
    position: sticky; top: 0; z-index: 60; align-items: center;
    padding: 8px max(14px, 4vw); min-height: 62px; height: auto;
    background: #f6f2e9; border: 0; gap: 10px;
  }
  body[data-home-layout] .site-header .wordmark img, body.oak-catalogue > header .logo img {
    width: 46px; height: 46px;
  }
  body[data-home-layout] .site-header .wordmark, body.oak-catalogue > header .logo {
    width: 46px; min-width: 0; flex: 0 0 46px;
  }
  body[data-home-layout] .site-header .header-actions { display: flex; gap: 8px; align-items: center; }
  .site-header .oak-mobile-call, .oak-catalogue > header .oak-mobile-call {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 6px 12px; background: #344639; color: #fff; border-radius: 4px;
    text-decoration: none; white-space: nowrap; font: 600 13px/1.2 Arial, sans-serif;
  }
  .site-header .menu-button, .oak-catalogue .oak-nav-toggle:not([hidden]) {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 5px; border: 0; background: transparent; color: #354432; font: 500 14px/1.2 Arial,sans-serif;
  }
  body.oak-catalogue > header { flex-wrap: wrap; }
  .oak-catalogue > header .logo { margin-right: auto; }
  .oak-catalogue > header .language { order: 2; margin: 0; }
  .oak-catalogue > header .language select { padding: 6px; min-height: 44px; border: 0; background: transparent; }
  .oak-catalogue .oak-nav-toggle { order: 3; }
  .oak-catalogue > header #oak-navigation.oak-nav-ready { display: none; }
  .oak-catalogue > header #oak-navigation.oak-nav-open {
    position: absolute; display: grid; inset: 100% 0 auto;
    background: #f6f2e9; padding: 8px 5% 14px; border: 0;
    box-shadow: 0 10px 16px #332d2115;
  }
  body[data-home-layout] .bw-floating-call, .oak-catalogue .bw-floating-call { display: none; }
  body[data-home-layout] main [id], .oak-catalogue main [id] { scroll-margin-top: 75px; }
  .oak-catalogue .collection-head {
    grid-template-columns: minmax(0,1fr); grid-template-areas: "label" "title" "photos" "intro" "quote";
    grid-template-rows: none;
    padding: 16px 5% 18px;
  }
  .oak-catalogue .collection-head h1 { font-size: clamp(31px, 6.8vw, 46px); margin: 7px 0 15px; max-width: 22ch; }
  .oak-catalogue .collection-head .eyebrow { font-size: 10px; }
  .oak-catalogue .oak-formats { margin-bottom: 10px; }
  .oak-formats img { aspect-ratio: 1.15; }
  .oak-format-label { margin-top: 8px; }
  .oak-catalogue .collection-head > p:not(.eyebrow):not(.bw-quote-intro) { font-size: 15px; }
  .oak-catalogue .engineered-straight-head {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "label label" "title size" "description description";
    gap: 5px 10px;
    align-items: center;
    padding: 18px 5% 0;
  }
  .oak-catalogue .engineered-straight-head > div { display: contents; }
  .oak-catalogue .engineered-straight-head .eyebrow { grid-area: label; }
  .oak-catalogue .engineered-straight-head h2 { grid-area: title; margin: 0; }
  .oak-catalogue .engineered-straight-head p:not(.eyebrow) { grid-area: description; }
  .oak-catalogue .engineered-straight-head > strong { grid-area: size; margin: 0; }
  .oak-catalogue .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 10px; }
  .oak-catalogue .cards article div { padding: 10px 10px 0; }
  .oak-catalogue .cards .bw-quote-row { padding: 0 10px 4px; }
  .oak-catalogue .cards h3 { font-size: clamp(20px, 4.8vw, 28px); }
  .oak-catalogue .cards .bw-flooring-quote { font-size: 13px; text-align: left; }
  .oak-catalogue .herringbone-preview { padding: 24px 14px; }
}
@media (max-width: 760px) {
  body[data-home-layout=split][data-home-trade=true] #hero .hero-slideshow { order: 0; height: clamp(196px, 58vw, 350px); }
  body[data-home-layout=split][data-home-trade=true] #hero .hero-content { order: 1; padding: 18px 5% 22px; }
  body[data-home-layout=split] #hero .factory-eyebrow { margin-bottom: 6px; }
  body[data-home-layout=split] #hero h1 { font-size: clamp(32px, 8vw, 46px); margin-block: 0; }
  body[data-home-layout=split] #hero .hero-content > p { margin: 10px 0; font-size: 15px; }
  body[data-home-layout=split] #hero .hero-actions { flex-flow: row wrap; gap: 8px; margin-top: 12px; }
  body[data-home-layout=split] #hero .hero-actions .button { flex: 1 1 125px; padding: 9px; min-height: 44px; }
  body[data-home-layout=split] #hero .hero-collections { min-height: 44px; margin: 0; padding-block: 11px; }
  body[data-home-layout=split] #hero .factory-promise { display: none; }
  body[data-home-layout] #collection { padding-block: 24px; }
  body[data-home-spacing=comfortable] .editorial-home .section-head > p { margin-top: 10px; }
  body[data-home-layout] #collection .section-head { margin-bottom: 16px; }
  body[data-home-layout] #collection .door-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  body[data-home-layout] #collection .door-image { aspect-ratio: 1.1; height: auto; min-height: 0; }
  body[data-home-layout] #collection .door-copy { padding: 12px; }
  body[data-home-layout] #collection .door-copy h3 { font-size: clamp(20px, 4.8vw, 28px); line-height: 1.12; }
  body[data-home-layout] #collection .door-copy > p { font-size: 13px; line-height: 1.45; margin: 6px 0; }
  body[data-home-layout] #collection .door-copy .text-link { font-size: 12px; }
}
@media (max-width: 360px) {
  body[data-home-layout] .site-header, body.oak-catalogue > header { padding-inline: 8px; gap: 4px; }
  body[data-home-layout] .site-header .header-actions { gap: 4px; }
  .site-header .oak-mobile-call, .oak-catalogue > header .oak-mobile-call { padding-inline: 7px; font-size: 12px; }
  body[data-home-layout] .site-header .menu-button, .oak-catalogue .oak-nav-toggle:not([hidden]) { min-width: 40px; padding-inline: 3px; }
  body[data-home-layout] .site-header .menu-button span[aria-hidden] { display: none; }
  .oak-catalogue > header .language select { width: 53px; padding-inline: 2px; }
}

.oak-solid .collection-head {
  grid-template-areas: ". patterns" "label patterns" "title patterns" "intro patterns" "quote patterns" "finish patterns" ". patterns";
  grid-template-rows: minmax(0,1fr) repeat(5,auto) minmax(0,1fr);
}
.oak-solid .collection-head > p.finish-choice:not(.bw-quote-intro) {
  grid-area: finish; margin: 12px 0 0; padding: 0; border: 0;
  font-size: 14px; line-height: 1.5;
}
.oak-solid .solid-pattern-nav {
  grid-area: patterns; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(10px,1.5vw,24px); align-self: center; margin: 0; background: none; border: 0;
}
.oak-solid .solid-pattern-nav a { display: block; padding: 0; background: transparent; }
.oak-solid .solid-pattern-nav img {
  display: block; width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: center 66%;
}
.oak-solid .solid-pattern-nav strong { display: block; margin: 8px 0 3px; font-size: clamp(20px,2vw,30px); }
.oak-solid .solid-pattern-nav a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.oak-solid section.cards { grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: clamp(18px,2.2vw,30px); }
.oak-solid .cards article img { aspect-ratio: 1.9; }
.oak-solid .cards h2 { font-size: clamp(24px,2.5vw,36px); line-height: 1.1; margin: 6px 0; }
.oak-solid .cards article div p { line-height: 1.55; margin: 8px 0; }
.oak-solid .solid-buying,
.oak-herringbone .pattern-buying { padding-block: clamp(24px,2.8vw,40px); }
.oak-solid :is(.solid-buying-quote,.solid-buying-faq,.solid-buying-guides),
.oak-herringbone :is(.pattern-buying-quote,.pattern-buying-faq,.pattern-buying-guides) {
  margin-top: clamp(18px,2vw,30px); padding-top: 16px;
}
.oak-herringbone .herringbone-landing { padding-bottom: clamp(12px,1.5vw,24px); }
.oak-herringbone .herringbone-intro { padding-block: clamp(18px,2.5vw,40px); gap: clamp(20px,4vw,64px); border: 0; }
.oak-herringbone .herringbone-cover img { aspect-ratio: 1.6; object-position: center 62%; }
.oak-herringbone .herringbone-cover span { border: 0; min-height: 34px; }
.oak-herringbone .herringbone-preview { padding: clamp(18px,2.2vw,32px); }
.oak-herringbone .herringbone-preview-head { gap: clamp(14px,3vw,44px); margin-bottom: 18px; }
.oak-herringbone .herringbone-preview-head p, .oak-herringbone .herringbone-solid-head p { margin: 0; }
.oak-herringbone :is(.herringbone-preview-head,.herringbone-solid-head) h2 {
  margin: 7px 0 10px; font-size: clamp(30px,3.5vw,54px);
}
.oak-herringbone .herringbone-preview-spec { gap: 6px 12px; padding: 12px 14px; }
.oak-herringbone .herringbone-finish-copy { border: 0; margin: 0; padding-top: 8px; }
.oak-herringbone .herringbone-finish-copy h3 { margin: 2px 0 4px; }
.oak-herringbone .herringbone-tone { margin-bottom: 6px; }
.oak-herringbone .herringbone-solid { padding: clamp(22px,2.5vw,40px) 0 20px; border: 0; }
.oak-herringbone .herringbone-solid-grid { margin-top: 16px; }
.oak-herringbone .herringbone-solid + .pattern-buying { margin-top: 0; }

@media (max-width: 800px) {
  .oak-solid .collection-head {
    grid-template-areas: "label" "title" "patterns" "intro" "quote" "finish";
    grid-template-rows: auto; padding-block: 16px;
  }
  .oak-solid .solid-pattern-nav { margin: 0 0 12px; }
  .oak-solid .solid-pattern-nav strong { font-size: clamp(18px,4.5vw,23px); }
  .oak-solid .solid-pattern-nav span { line-height: 1.45; display: block; }
  .oak-solid .cards article img { aspect-ratio: 1.3; }
  .oak-solid .cards h2 { font-size: clamp(20px,4.8vw,28px); overflow-wrap: anywhere; }
  .oak-solid .cards article div p { font-size: 14px; }
  .oak-herringbone .herringbone-intro {
    display: grid; grid-template-columns: minmax(0,1fr);
    grid-template-areas: "label" "title" "anchors" "photo" "intro" "quote";
    gap: 0; padding: 16px 0 20px;
  }
  .oak-herringbone .herringbone-intro-copy { display: contents; }
  .oak-herringbone .herringbone-intro-copy > .eyebrow { grid-area: label; }
  .oak-herringbone .herringbone-intro h1 { grid-area: title; font-size: clamp(31px,6.6vw,46px); margin: 7px 0 4px; }
  .oak-herringbone .herringbone-anchors { grid-area: anchors; column-gap: 16px; }
  .oak-herringbone .herringbone-cover { grid-area: photo; margin-top: 4px; }
  .oak-herringbone .herringbone-cover img { aspect-ratio: 1.95; }
  .oak-herringbone .herringbone-intro-copy > p:not(.eyebrow) { grid-area: intro; margin: 7px 0 12px; font-size: 15px; line-height: 1.6; }
  .oak-herringbone .herringbone-intro-copy .bw-quote-intro { grid-area: quote; margin: 0; }
  .oak-herringbone .herringbone-preview { padding: 16px 12px; }
  .oak-herringbone .herringbone-preview-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
  .oak-herringbone .herringbone-preview-head p:not(.eyebrow) { font-size: 15px; line-height: 1.55; }
  .oak-herringbone .herringbone-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 10px; }
  .oak-herringbone .herringbone-finish-image { aspect-ratio: 1.05; }
  .oak-herringbone .herringbone-finish h3 { font-size: clamp(20px,4.7vw,25px); }
  .oak-herringbone .herringbone-finish-copy a { min-height: 44px; padding-block: 4px; border: 0; }
  .oak-herringbone .herringbone-finish-copy .bw-quote-row { margin-top: 2px; }
  .oak-herringbone .herringbone-finish-copy .bw-flooring-quote { padding-inline: 8px; font-size: 13px; }
  .oak-herringbone .herringbone-solid-head > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; }
}
