.brand-row .row-name{position:relative;left:15px}
.concept-page .brand-hero>.hero-copy{margin-left:17px}
.studio-title>div h1 em{font-family:Georgia,serif;font-weight:400;color:#167958;letter-spacing:-.055em}
.collection-home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0}
.collection-home-heading h2{margin:0;font-size:30px}
.collection-tools{display:flex;gap:12px;align-items:center}
.collection-tools input{width:190px;border:0;border-bottom:1px solid #bac9be;background:transparent;padding:11px 0;font-size:13px}
.collection-tools details{position:relative}.collection-tools summary{cursor:pointer;font-size:13px;padding:10px 15px;border:1px solid #cbd7cb;border-radius:5px;list-style:none}
.collection-tools select{position:absolute;right:0;top:45px;z-index:3;padding:12px;background:#fff;border:1px solid #ccd7cc;min-width:200px}
#brand-intro{display:grid;grid-template-columns:1fr 1.4fr;gap:55px;align-items:center;margin:28px 0 40px;padding-bottom:36px;border-bottom:1px solid #dce3da}
#brand-intro h2{font-size:48px;margin-bottom:18px}#brand-intro .text-link{display:inline-block}
.brand-gallery{min-width:0}.brand-gallery>img{display:block;width:100%;height:340px;object-fit:contain;background:#eef1e9}
.gallery-controls{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:12px;font-size:12px;color:#63756b}
.gallery-controls button{background:transparent;border:1px solid #cbd7cd;border-radius:50%;width:34px;height:34px;font-size:18px}
.brand-gallery-modal{width:min(1000px,94vw);max-height:92vh;padding:24px;border-radius:8px}
.brand-gallery-modal .brand-gallery>img{height:min(60vh,600px)}
.brand-gallery-modal .dialog-head h2{font-size:24px}.brand-gallery-modal .dialog-head button{border:0;background:none;font-size:26px}
.row-heading{position:relative;padding-right:115px}.directory-gallery{position:absolute;right:48px;top:50%;transform:translateY(-50%);background:none;border:0;border-bottom:1px solid #a7b7ab;padding:5px 0;font-size:12px}
.row-heading .row-sign{position:absolute;right:0}
.catalog-heading{font-size:28px;margin:0 0 20px}.room-product{transition:background .2s}.room-product:hover{background:#edf2e9}
@media(max-width:760px){.collection-home-heading{align-items:flex-start;flex-direction:column}.collection-tools{width:100%}.collection-tools input{flex:1;min-width:0}#brand-intro{grid-template-columns:1fr;gap:24px}#brand-intro h2{font-size:36px}.brand-gallery>img{height:260px}.row-heading{padding-right:105px}.directory-gallery{right:30px;font-size:11px}}

/* Brand catalogs keep browsing and project actions within easy reach. */
.browsing-brand .studio-title>div{display:none}
.browsing-brand .studio-title{position:relative;min-height:44px;margin-bottom:-44px;pointer-events:none;z-index:2}
.browsing-brand .studio-title .studio-project{pointer-events:auto;margin-left:auto}
#back-collections{border:0;background:transparent;padding:12px 0;font-size:13px}
.browsing-brand .studio-toolbar{display:none}
.browsing-brand #brand-intro{display:block;padding:30px 0 24px;margin:22px 0 28px}
.browsing-brand #brand-intro>div:last-child{display:none}
.browsing-brand #brand-intro h2{font-size:clamp(32px,4vw,48px);margin-bottom:12px}
.browsing-brand .brand-intro-copy{max-width:720px}
.browsing-brand .brand-intro-copy p{margin-bottom:6px}
.browsing-brand .brand-intro-copy .text-link{margin-top:8px}
.room-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px}
.room-product{border-radius:4px;padding-bottom:14px;overflow:hidden}
.room-product strong,.room-product>span:last-child{padding:0 8px}
.room-product-photo{background:#eef1e9}
.room-product-photo img{mix-blend-mode:multiply}
.room-product strong{font-size:17px}
.browsing-brand [hidden]{display:none!important}
@media(max-width:900px){.room-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.room-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.browsing-brand .studio-title .studio-project{font-size:11px;padding:10px}.room-product strong{font-size:15px}}

.brand-gallery-open{margin-left:20px;padding:8px 12px;font-size:12px}

.collection-preview{position:relative;margin-bottom:16px;overflow:hidden;background:#fff}
.collection-open{display:block;width:100%;border:0;background:none;padding:0;cursor:pointer}
.collection-preview .collection-open img{margin:0;width:100%;aspect-ratio:1.6;object-fit:cover;background:#fff}
.collection-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:1px solid #203b3220;border-radius:50%;background:#f7f9f5ed;color:#203b32;font-size:18px;box-shadow:0 2px 8px #203b320b}
.collection-photo-arrow.previous{left:10px}.collection-photo-arrow.next{right:10px}.collection-photo-arrow:hover{background:white}
.collection-title{display:block;text-align:left;font-size:21px;font-weight:500;border:0;background:none;padding:0;cursor:pointer}
.collection-photo-arrow[hidden]{display:none}
.collection-photo-arrow{opacity:0;pointer-events:none;transition:opacity .18s ease}
.collection-preview:hover .collection-photo-arrow,.collection-preview:focus-within .collection-photo-arrow{opacity:1;pointer-events:auto}
@media(hover:none){.collection-preview:active .collection-photo-arrow{opacity:1;pointer-events:auto}}

/* Compact, brand-specific catalog headers. */
.browsing-brand #brand-intro{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin:22px 0 26px;padding:0 0 26px}
.browsing-brand #brand-intro>img.brand-catalog-cover{display:block;width:100%;height:220px;object-fit:cover;background:#fff}
.brand-catalog-logo{display:block;max-width:150px;max-height:44px;object-fit:contain;object-position:left center;margin-bottom:14px;mix-blend-mode:multiply}
.browsing-brand #brand-intro h2{font-size:32px;margin-bottom:8px}
.browsing-brand .brand-intro-copy p{font-size:13px;line-height:1.6;margin-bottom:8px}
@media(max-width:650px){.browsing-brand #brand-intro{gap:18px;grid-template-columns:1fr}.browsing-brand #brand-intro>img.brand-catalog-cover{height:150px}.brand-catalog-logo{max-height:34px}.browsing-brand #brand-intro h2{font-size:28px}}

/* Room to explore, with a compact brand identity. */
.browsing-brand #brand-intro{gap:48px;margin:30px 0 32px;padding:0 0 34px;min-height:280px}
.browsing-brand #brand-intro>img.brand-catalog-cover{height:280px}
.brand-catalog-logo{max-width:205px;max-height:68px;margin-bottom:22px}
.browsing-brand #brand-intro h2{font-size:36px;margin-bottom:14px}
.brand-site-link{text-decoration:none}.brand-site-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.browsing-brand .brand-intro-copy p{margin-bottom:20px;max-width:440px}
.brand-gallery-open{margin:0;padding:9px 17px}
.studio-title{position:relative;overflow:hidden;padding:32px 0 36px;min-height:270px}
.studio-title h1{font-size:clamp(44px,5.5vw,74px);line-height:1.12}
.studio-title>div h1 em{font-size:1.13em;line-height:.9;display:inline-block;min-width:3.5ch}
.creative-intro{margin:18px 0 0;font-size:15px!important}
.creative-swatches{position:absolute;right:6%;bottom:40px;display:flex;gap:12px;pointer-events:none}
.creative-swatches i{display:block;width:48px;height:68px;border-radius:3px;background:#b4bea2;box-shadow:0 7px 15px #203b3210;animation:swatch-arrive 1s cubic-bezier(.2,.7,.2,1) both,swatch-float 6s ease-in-out 1s infinite;transform:rotate(-9deg)}
.creative-swatches i:nth-child(2){background:#d6c7b3;animation-delay:.12s,1.12s}.creative-swatches i:nth-child(3){background:#779398;animation-delay:.24s,1.24s}.creative-swatches i:nth-child(4){background:#bb8068;animation-delay:.36s,1.36s}.creative-swatches i:nth-child(5){background:#234f40;animation-delay:.48s,1.48s}
@keyframes swatch-arrive{from{opacity:0;translate:0 35px;rotate:12deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes swatch-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
#creative-word.typing::after{content:'';display:inline-block;width:2px;height:.7em;background:currentColor;margin-left:5px;animation:creative-caret .7s steps(1) infinite}
@keyframes creative-caret{50%{opacity:0}}
.browsing-brand .studio-title{padding:0;min-height:44px;overflow:visible}
@media(max-width:760px){.creative-swatches{right:0;bottom:20px;opacity:.65}.creative-swatches i{width:25px;height:38px}.studio-title{padding-top:32px;padding-bottom:80px}.browsing-brand #brand-intro{gap:24px}.browsing-brand #brand-intro>img.brand-catalog-cover{height:210px}}
@media(prefers-reduced-motion:reduce){.creative-swatches i{animation:none}#creative-word.typing::after{display:none}}
body.concept-page:not(.browsing-brand) .studio-title h1{font-size:clamp(44px,5.2vw,70px);letter-spacing:-.055em;margin-bottom:20px}
body.concept-page:not(.browsing-brand) .studio-title>div{max-width:75%}
@media(max-width:700px){body.concept-page:not(.browsing-brand) .studio-title>div{max-width:100%}.creative-swatches{bottom:16px}}

/* A living design board for the studio entrance. */
body.concept-page:not(.browsing-brand) .studio-title{min-height:480px;padding:60px 0 70px;isolation:isolate}
body.concept-page:not(.browsing-brand) .studio-title>div{max-width:52%;z-index:1}
body.concept-page:not(.browsing-brand) .studio-title h1{font-size:clamp(45px,4.7vw,68px)}
.creative-board{position:absolute;right:0;top:95px;width:43%;height:300px;pointer-events:none}
.board-outline{position:absolute;inset:10px 20px 0 20px;border:1px solid #cbd9ca;border-radius:50% 45% 48% 42%;transform:rotate(-12deg)}
.board-room{position:absolute;top:5px;right:12%;width:76%;margin:0;padding:10px 10px 0;background:#fff;box-shadow:0 14px 35px #203b3210;transform:rotate(-5deg);animation:board-enter 1.1s ease both,board-drift 9s ease-in-out 1.1s infinite}
.board-room img{display:block;width:100%;height:170px;object-fit:cover}.board-room figcaption{padding:10px 0;font-size:10px;color:#526b5f;letter-spacing:.04em}
.board-plan{position:absolute;right:0;bottom:-5px;width:150px;background:#f9faf5;padding:12px;box-shadow:0 8px 25px #203b3212;transform:rotate(7deg);animation:board-enter 1.3s .2s both}
.board-plan svg{width:100%;stroke-dasharray:500;animation:plan-draw 3s 1s both}.board-plan span{font-size:9px;color:#5e7767}
.board-note{position:absolute;left:0;bottom:15px;background:#e2e9d8;padding:18px 22px;font:italic 23px/1.15 Georgia,serif;color:#245e45;transform:rotate(-7deg);animation:board-enter 1s .4s both}
body.concept-page:not(.browsing-brand) .studio-title .creative-swatches{right:13%;bottom:32px;max-width:none}
.creative-swatches i{width:38px;height:54px}
@keyframes board-enter{from{opacity:0;translate:0 25px}to{opacity:1;translate:0 0}}
@keyframes board-drift{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -8px;rotate:1deg}}
@keyframes plan-draw{from{stroke-dashoffset:500}to{stroke-dashoffset:0}}
@media(max-width:800px){body.concept-page:not(.browsing-brand) .studio-title{min-height:650px;align-items:flex-start;padding-top:60px}body.concept-page:not(.browsing-brand) .studio-title>div{max-width:100%}.creative-board{top:300px;width:min(430px,95%);height:260px;right:2%}body.concept-page:not(.browsing-brand) .studio-title .creative-swatches{bottom:20px;right:25%}.board-room img{height:140px}}
@media(prefers-reduced-motion:reduce){.board-room,.board-plan,.board-note,.board-plan svg{animation:none}}

/* Gallery dimensions and controls never depend on an incoming image. */
.collection-preview{aspect-ratio:1.6;width:100%}
.collection-preview .collection-open{position:absolute;inset:0;height:100%}
.collection-preview .collection-open img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.collection-preview .collection-photo-arrow,.collection-preview .collection-photo-arrow:hover,.collection-preview .collection-photo-arrow:active,.collection-preview .collection-photo-arrow:focus{top:50%;transform:translateY(-50%)!important;translate:none!important;scale:1!important;margin:0;animation:none;z-index:3}
/* Bring the shared project/back actions nearer the navigation. */
.concept-page .studio-title .studio-project{transform:translateY(-24px)}
.concept-page #back-collections{transform:translateY(-24px);min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px){.concept-page .studio-title .studio-project,.concept-page #back-collections{transform:translateY(-16px)}}
.concept-page .studio-title .studio-project{top:0}

/* Keep shared actions inside their own unclipped row. */
.concept-page .studio{padding-top:16px}
.concept-page .studio-title{overflow:visible}
.concept-page .studio-title .studio-project,.concept-page #back-collections{transform:none!important}
.concept-page .studio-title .studio-project{top:0;right:0}
.browsing-brand .studio-title{height:44px;min-height:44px;margin-bottom:-44px}
.room-product{display:flex;flex-direction:column;justify-content:flex-start;align-self:stretch;min-width:0}
.room-product-photo{width:100%;flex:none;aspect-ratio:1}
.room-product strong{line-height:1.45;margin:0;overflow-wrap:anywhere}
.room-product>span:last-child{margin-top:8px}

@media(min-width:651px){.browsing-brand #brand-intro{grid-template-columns:minmax(220px, .74fr) minmax(0,1.26fr);gap:clamp(20px,2.8vw,40px)}}
.room-product{transition:transform 160ms ease,box-shadow 160ms ease;background:transparent;border-radius:5px}
@media(hover:hover){.room-product:hover{background:transparent;transform:translateY(-3px);box-shadow:0 5px 18px #173d2917}}
.room-product:focus-visible{outline:2px solid #187956;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.room-product:hover{transform:none}}

.brand-row:is([data-brand="MedViron"], [data-brand="Cramer"]) .row-photo,
.brand-row:is([data-brand="MedViron"], [data-brand="Cramer"]) .row-photo img {
  background: white;
}
.brand-row:is([data-brand="MedViron"], [data-brand="Cramer"]) .row-photo img {
  object-fit: contain;
  object-position: center;
}

.brand-row:is([data-brand="MedViron"], [data-brand="Cramer"]) .row-photo {aspect-ratio:auto;align-self:center;height:auto}
.brand-row:is([data-brand="MedViron"], [data-brand="Cramer"]) .row-photo img {width:100%;height:auto;transform:none}

.room-product .room-product-photo{display:block;aspect-ratio:3 / 2;overflow:hidden;padding:0}
.room-product .room-product-photo img{display:block;width:100%;height:100%;object-fit:cover;margin:0}

/* Allow each collection photograph to keep its original composition. */
.browsing-brand #brand-intro > img.brand-catalog-cover {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(320px, 48svh, 460px);
  justify-self: center;
  object-fit: contain;
  background: transparent;
}
@media (max-width: 650px) {
  .browsing-brand #brand-intro > img.brand-catalog-cover {
    max-height: min(42svh, 320px);
  }
}

.row-photo{position:relative}
.row-photo-control{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:1px solid #ccd6ca;border-radius:50%;background:#fffffff0;color:#203b32;font:24px/1 Manrope,Arial,sans-serif;cursor:pointer}
.row-photo-control.previous{left:10px}
.row-photo-control.next{right:10px}
.row-photo-control:focus-visible{outline:2px solid #167853;outline-offset:2px}
#brands{scroll-margin-top:100px}
@media(hover:hover) and (pointer:fine){
 .row-photo .row-photo-control{opacity:0;pointer-events:none}
 .row-photo:hover .row-photo-control,.row-photo:focus-within .row-photo-control{opacity:1;pointer-events:auto}
}
.brand-row .row-photo .row-photo-control,
.brand-row .row-photo .row-photo-control:is(:active,:focus,:hover){
 top:calc(50% - 20px);transform:none;translate:none;scale:none;transition:none;
}
.brand-row:is([data-brand="MedViron"],[data-brand="Cramer"]) .row-photo{width:100%;aspect-ratio:1.65}
.brand-row:is([data-brand="MedViron"],[data-brand="Cramer"]) .row-photo img{height:100%;object-fit:contain}
.brand-gallery-modal .gallery-controls button,.brand-gallery-modal .dialog-head button{width:32px;height:32px;min-width:0;min-height:0;padding:0;line-height:1;border-radius:50%}

/* Fit the directory to the photograph itself, including portrait slides. */
#brand-grid .brand-row .row-photo{display:grid;justify-self:center;align-self:center;width:fit-content;max-width:100%;height:auto;aspect-ratio:auto;background:transparent;border:0}
#brand-grid .brand-row .row-photo img{display:block;width:auto;max-width:100%;height:auto;max-height:min(54svh,490px);object-fit:contain;background:transparent;transform:none}

/* Give both compact marks and wide wordmarks a readable size. */
.brand-intro-copy .brand-catalog-logo {
  width: min(100%, clamp(210px, 23vw, 310px));
  height: clamp(84px, 9vw, 120px);
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

/* Keep the sign anchored to the heading while the trigger is pressed. */
.brand-row-trigger,.brand-row-trigger:active{transform:none}

/* Gallery is independent of the accordion and keeps its anchored position on press. */
.row-heading .directory-gallery,.row-heading .directory-gallery:hover,.row-heading .directory-gallery:active,.row-heading .directory-gallery:focus{transform:translateY(-50%);transition:color .15s,border-color .15s;z-index:2}
html{scrollbar-gutter:stable}
