/* The active division alone owns the application and material layers. */
main.dghw-home [data-home-material] .bu-carousel > .bu-slide[hidden] { display:none; }
.dghw-home [data-home-material] .home-material-detail,
.dghw-home [data-home-material] .home-material-caption { display: none; }
.dghw-home [data-home-material] [data-home-toggle][hidden] { display:none; }

.dghw-home [data-home-motion-ready] .home-material-detail {
  display:block;
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:#eae6d9;
  clip-path:inset(0 0 0 100%);
}
.dghw-home [data-home-motion-ready] .bu-slide .home-material-detail img {
  position:absolute;
  inset-inline-end:0;
  top:0;
  width:61%;
  height:100%;
  object-fit:contain;
  object-position:center;
  mix-blend-mode:multiply;
}
.dghw-home [data-home-motion-ready] .bu-slide[data-home-family="moulding-compounds"] .home-material-detail { background:#47443c; }
.dghw-home [data-home-motion-ready] .bu-slide[data-home-family="moulding-compounds"] .home-material-detail img {object-fit:cover;mix-blend-mode:normal;object-position:50% 48%;}
.dghw-home [data-home-motion-ready]:not([data-home-timeline]) [data-home-detail-visible="true"] .home-material-detail {clip-path:none;}

main.dghw-home [data-home-motion-ready] .bu-controls {
  display:grid;
  grid-template-columns:minmax(85px,1fr) 44px auto 44px;
  align-items:stretch;
  gap:0;
  padding:0;
  border:1px solid #f6f6e75e;
  border-radius:3px;
  width:fit-content;
  min-width:clamp(230px,22vw,310px);
  max-width:min(36vw,440px);
  color:#fffaf1;
  background:#122e2beF;
  box-shadow:0 3px 15px #15231f26;
  text-align:start;
}
main.dghw-home [data-home-motion-ready] .home-material-caption {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:4px 9px;
  grid-column:1/-1;
  padding:8px 13px;
  border-bottom:1px solid #f1efdc47;
  line-height:1.3;
  text-align:start;
}
main.dghw-home [data-home-motion-ready] .home-material-family {font-size:11px; color:#ddeddf; font-weight:500;}
main.dghw-home [data-home-motion-ready] .home-material-subject {font-size:14px; color:inherit; font-weight:650;}
main.dghw-home [data-home-motion-ready] .bu-controls button {
  border:0;
  border-radius:0;
  margin:0;
  min-height:44px;
  min-width:0;
  padding:0 7px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:18px;
}
main.dghw-home [data-home-motion-ready] .bu-controls [data-home-toggle] {
  justify-self:stretch;
  padding:7px 11px;
  text-align:start;
  font-size:12px;
  font-weight:650;
  line-height:1.28;
  border-inline-end:1px solid #f1efdc47;
}
main.dghw-home [data-home-motion-ready] .bu-controls [data-home-toggle]::before {content:"+"; margin-inline-end:.55em; color:#e9c48e;}
main.dghw-home [data-home-motion-ready] .bu-controls [data-home-toggle][aria-pressed=true]::before {content:"−";}
main.dghw-home [data-home-motion-ready] .bu-controls [data-home-toggle][aria-pressed=true] {background:#e6ede2; color:#14332d;}
main.dghw-home [data-home-motion-ready] .bu-controls [data-home-toggle][aria-pressed=true]::before {color:inherit;}
main.dghw-home [data-home-motion-ready] .bu-controls [data-slide-count] {align-self:center; font-size:11px; color:inherit; line-height:1; white-space:nowrap; direction:ltr;}
main.dghw-home [data-home-motion-ready] .bu-controls button:focus-visible {outline:3px solid #f7b96a; outline-offset:-3px;}
@media(hover:hover) {
  main.dghw-home [data-home-motion-ready] .bu-controls button:hover {background:#f6f1d91f;}
}
@media(max-width:760px) {
  main.dghw-home [data-home-motion-ready] .bu-controls {width:fit-content;min-width:0;max-width:calc(100% - 8vw); grid-template-columns:minmax(100px,1fr) 44px auto 44px;}
  main.dghw-home [data-home-motion-ready] .home-material-caption {padding:6px 10px; gap:2px 8px;}
  main.dghw-home [data-home-motion-ready] .home-material-subject {font-size:12px;}
  .dghw-home [data-home-motion-ready] .bu-slide .home-material-detail img {width:100%;height:67%;top:0;object-position:50% 40%;}
  .dghw-home [data-home-motion-ready] .bu-slide[data-home-family="moulding-compounds"] .home-material-detail img {height:75%;object-position:50% 44%;}
}

/* Type and photographs share a full-bleed field. The veil stays still while a
   material is revealed, including on light sample photos or mirrored layouts. */
main.dghw-home .bu-hero[data-home-material] {
  --home-veil-angle:90deg;
  padding:clamp(45px,6vw,96px) clamp(26px,6vw,100px) clamp(42px,5vw,80px);
  min-height:clamp(480px,66svh,720px);
  align-items:end;
}
[dir="rtl"] main.dghw-home .bu-hero[data-home-material] {--home-veil-angle:270deg;}
main.dghw-home [data-home-material] .bu-carousel::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(var(--home-veil-angle),rgba(23,26,22,.95) 0%,rgba(33,31,24,.84) 28%,rgba(34,31,25,.65) 45%,rgba(34,31,25,.13) 68%,transparent 86%),
    linear-gradient(0deg,rgba(27,26,20,.30),transparent 26%);
}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy {
  padding:0;
  width:min(56%,49rem);
  max-width:100%;
  background:transparent;
  color:#fff9e9;
  box-shadow:none;
}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy h1 {
  max-width:100%;
  margin:0;
  color:#fff9e9;
  font-family:Georgia,"Songti SC","Yu Mincho","Noto Serif CJK SC","Nanum Myeongjo",serif;
  font-size:clamp(46px,4.9vw,84px)!important;
  font-weight:500;
  line-height:1.02;
  letter-spacing:-.05em;
  text-wrap:balance;
}
html:lang(ar) main.dghw-home .bu-hero[data-home-material] .bu-hero-copy h1 {letter-spacing:0; line-height:1.25;}
html:is(:lang(zh),:lang(ja),:lang(ko)) main.dghw-home .bu-hero[data-home-material] .bu-hero-copy h1 {font-weight:650; line-height:1.13; letter-spacing:-.045em;}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy p {
  margin:18px 0 22px;
  max-width:min(100%,34rem);
  color:#f3eee1;
  font-size:clamp(15px,1.2vw,19px);
  line-height:1.48;
}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy .button {
  background:#fbf5e6;
  border:1px solid #f7eedb;
  color:#203630;
  border-radius:2px;
  min-height:44px;
  align-items:center;
  font-weight:620;
  padding:10px 16px;
}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy .button:is(:hover,:focus-visible) {background:#fffdf7;color:#163b32;}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy .home-secondary {
  color:#fff8e9;
  text-decoration:underline;
  text-decoration-color:#d9d5c1;
  text-underline-offset:4px;
  margin-inline-start:4px;
}
main.dghw-home .bu-hero[data-home-material] .bu-hero-copy a:focus-visible {outline:3px solid #f6bc70;outline-offset:3px;}
@media(max-width:760px) {
  main.dghw-home .bu-hero[data-home-material] {
    min-height:clamp(470px,61svh,625px);
    padding:clamp(156px,22svh,208px) 5vw 24px;
  }
  main.dghw-home [data-home-material] .bu-carousel::after {
    background:linear-gradient(0deg,rgba(23,25,21,.97) 0%,rgba(32,30,24,.91) 27%,rgba(38,33,25,.78) 43%,rgba(35,30,22,.30) 62%,transparent 82%);
  }
  main.dghw-home .bu-hero[data-home-material] .bu-hero-copy {width:100%;max-width:36rem;}
  main.dghw-home .bu-hero[data-home-material] .bu-hero-copy h1 {font-size:clamp(35px,9.9vw,54px)!important;line-height:1.05;}
  main.dghw-home .bu-hero[data-home-material] .bu-hero-copy p {margin:10px 0 14px;font-size:15px;line-height:1.43;}
  main.dghw-home .bu-hero[data-home-material] .bu-hero-copy .home-secondary {padding:11px 5px; min-height:44px;}
  main.dghw-home [data-home-material] .bu-slide > img {object-position:67% 48%;}
}
/* Keep the Chinese wood-adhesives term together at the hero's large type size. */
html:lang(zh) main.dghw-home .bu-hero[data-home-material] .bu-hero-copy h1 {max-width:min(100%,8.1em);text-wrap:wrap;}
main.dghw-home .bu-hero[data-home-material] .bu-slide img {max-height:none;}
