
/* Our Work portfolio: curated flooring / organization, no garage-door promotion. */
.work-gallery-page {overflow:hidden;}
.work-gallery-hero {position:relative;min-height:660px;background:#181b1c;color:#fff;display:flex;align-items:flex-end;isolation:isolate;}
.work-gallery-hero-media,.work-gallery-hero-overlay {position:absolute;inset:0;z-index:-2;}
.work-gallery-hero-media {background-position:center 55%;background-size:cover;}
.work-gallery-hero-media video {width:100%;height:100%;object-fit:cover;object-position:50% 52%;display:block;}
.work-gallery-hero-overlay {z-index:-1;background:linear-gradient(90deg,rgba(15,17,21,.92) 0%,rgba(15,17,21,.71) 45%,rgba(15,17,21,.20) 100%),linear-gradient(0deg,rgba(13,14,16,.58),transparent 45%);}
.work-gallery-hero-inner {padding-top:125px;padding-bottom:105px;}
.work-gallery-hero h1 {font-family:var(--heading);font-size:clamp(56px,7vw,104px);line-height:.94;letter-spacing:-1px;max-width:970px;color:#fff;margin:21px 0 23px;}
.work-gallery-hero h1 em {font-style:normal;color:var(--gold);}
.work-gallery-hero-lead {font-size:20px;line-height:1.62;max-width:665px;color:#f0eeee;}
.work-gallery-hero-actions {display:flex;gap:16px;flex-wrap:wrap;margin:29px 0 0;}
.work-gallery-hero .market-context-badge {display:flex;max-width:max-content;margin:21px 0 0;background:rgba(19,24,27,.84);color:#fff;border:1px solid rgba(255,255,255,.38);}
.work-gallery-hero .market-context-badge span {color:#fff;}
.work-gallery-hero .market-context-badge a {color:#f7d080;}
.work-gallery-scroll {position:absolute;right:max(26px,calc((100vw - 1250px) / 2));bottom:30px;color:#fff;font-weight:700;letter-spacing:1.4px;font-size:12px;display:flex;gap:12px;align-items:center;}
.work-gallery-scroll span {color:var(--gold);font-size:22px;}
.work-gallery-intro {background:#faf9f6;padding:100px 0;}
.work-gallery-intro-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:85px;align-items:center;}
.work-gallery-intro h2,.work-gallery-section-head h2,.work-gallery-bottom h2 {font-size:clamp(45px,4.5vw,69px);line-height:1.03;letter-spacing:-.3px;margin:12px 0 0;}
.work-gallery-intro h2 em,.work-gallery-section-head h2 em,.work-gallery-bottom h2 em {font-style:normal;color:var(--red);}
.work-gallery-intro p:not(.eyebrow) {font-size:18px;line-height:1.75;color:#50545b;margin-bottom:15px;}
.work-gallery-intro .large-copy {font-weight:600;font-size:21px!important;color:#24272a!important;line-height:1.6!important;}
.work-gallery-portfolio {background:#fff;padding:96px 0 115px;}
.work-gallery-section-head {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:50px;align-items:end;margin-bottom:36px;}
.work-gallery-section-head>p {font-size:18px;line-height:1.65;color:#52555b;max-width:565px;margin:0 0 6px;}
.work-gallery-filters {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:29px;}
.work-filter {appearance:none;border:1px solid #d8d9da;border-radius:4px;padding:13px 20px;background:#f7f7f5;color:#292d30;font:700 15px/1.2 'DM Sans',sans-serif;cursor:pointer;transition:background .15s,color .15s,border-color .15s;}
.work-filter:hover,.work-filter:focus-visible {border-color:#ac2030;}
.work-filter.is-active {background:var(--red);color:white;border-color:var(--red);}
.work-gallery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;}
.work-project-card {min-width:0;margin:0;position:relative;display:flex;flex-direction:column;background:#f8f8f7;overflow:hidden;}
.work-project-card[hidden]{display:none!important;}
.work-project-card img {width:100%;height:255px;object-fit:cover;display:block;transition:transform .3s ease;}
.work-project-card:hover img {transform:scale(1.035);}
.work-project-card figcaption {display:flex;flex-direction:column;gap:5px;padding:21px 22px 23px;min-height:115px;}
.work-project-card figcaption span {font-size:11px;color:#a21d2c;font-weight:800;letter-spacing:1.2px;}
.work-project-card figcaption strong {font-family:var(--heading);font-size:27px;line-height:1.1;color:#1c2023;}
.work-project-card figcaption small {font-size:14px;color:#5b5f64;line-height:1.5;margin-top:3px;}
.work-project-feature {grid-column:span 2;grid-row:span 2;}
.work-project-feature img {height:calc(100% - 132px);min-height:510px;object-position:center 50%;}
.work-project-feature figcaption {min-height:132px;padding:25px 29px 25px;}
.work-project-feature figcaption strong {font-size:37px;}
.work-gallery-disclaimer {font-size:14px;line-height:1.65;color:#666b70;margin:26px 0 0;max-width:930px;}
.work-gallery-link-row {display:flex;align-items:center;flex-wrap:wrap;gap:26px;margin-top:30px;}
.work-gallery-link-row .btn {min-height:52px;}
.work-journey {padding:98px 0;background:#25282c;color:#fff;}
.work-journey .eyebrow {color:var(--gold);}
.work-journey .work-gallery-section-head h2 {color:#fff;}
.work-journey .work-gallery-section-head h2 em {color:var(--gold);}
.work-journey .work-gallery-section-head>p {color:#d6d6d7;}
.work-journey-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:43px;}
.work-journey-step {border-top:3px solid #c89c45;padding-top:23px;}
.work-journey-step>span {font-family:var(--heading);font-size:42px;font-weight:800;color:#d5ad5e;line-height:1;}
.work-journey-step h3 {font-family:var(--heading);font-size:28px;line-height:1.08;color:#fff;margin:18px 0 12px;}
.work-journey-step p {font-size:16px;line-height:1.65;color:#d8d9dd;margin:0;}
.work-gallery-bottom {padding:95px 0;background:#f5f2ec;}
.work-gallery-bottom-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:70px;align-items:center;}
.work-gallery-bottom p:not(.eyebrow) {font-size:18px;line-height:1.7;max-width:590px;color:#54565c;}
.work-gallery-bottom .market-context-badge {margin:24px 0;max-width:max-content;}
.work-bottom-cta {margin-top:24px;}
.work-bottom-image {min-height:390px;background-size:cover;background-position:center;border-radius:4px;box-shadow:0 20px 50px rgba(0,0,0,.13);}
@media(max-width:1100px) {
 .work-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .work-project-feature {grid-column:span 2;grid-row:auto;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;}
 .work-project-feature img {height:410px;min-height:0;}
 .work-project-feature figcaption {min-height:0;justify-content:center;}
 .work-journey-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
}
@media(max-width:760px) {
 .work-gallery-hero {min-height:670px;}
 .work-gallery-hero-inner {padding-top:165px;padding-bottom:100px;}
 .work-gallery-hero h1 {font-size:clamp(54px,9vw,70px);}
 .work-gallery-hero-overlay {background:linear-gradient(0deg,rgba(12,15,19,.94) 0%,rgba(12,15,19,.85) 38%,rgba(12,15,19,.32) 100%);}
 .work-gallery-hero-media {background-position:center 40%;}
 .work-gallery-intro-grid,.work-gallery-section-head,.work-gallery-bottom-grid {grid-template-columns:minmax(0,1fr);gap:22px;}
 .work-gallery-intro,.work-gallery-portfolio,.work-journey,.work-gallery-bottom {padding:67px 0;}
 .work-gallery-grid {gap:14px;}
 .work-project-feature {grid-column:span 2;grid-row:auto;grid-template-columns:minmax(0,1fr);}
 .work-project-feature img {height:420px;}
 .work-gallery-bottom-grid {gap:30px;}
 .work-bottom-image {min-height:290px;}
}
@media(max-width:550px) {
 .work-gallery-hero {min-height:655px;}
 .work-gallery-hero-inner {padding-top:175px;padding-bottom:92px;}
 .work-gallery-hero h1 {font-size:clamp(48px,11vw,60px);line-height:.99;}
 .work-gallery-hero-lead {font-size:17px;line-height:1.55;}
 .work-gallery-hero-actions {flex-direction:column;align-items:stretch;gap:10px;}
 .work-gallery-hero-actions .btn {min-height:50px;font-size:14px;}
 .work-gallery-scroll {bottom:14px;right:22px;font-size:10px;}
 .work-gallery-intro h2,.work-gallery-section-head h2,.work-gallery-bottom h2 {font-size:clamp(39px,10vw,52px);}
 .work-gallery-intro .large-copy {font-size:18px!important;}
 .work-gallery-intro p:not(.eyebrow) {font-size:16px;}
 .work-gallery-section-head>p {font-size:16px;}
 .work-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
 .work-project-feature {grid-column:span 2;}
 .work-project-feature img {height:295px;}
 .work-project-feature figcaption {padding:23px;}
 .work-project-feature figcaption strong {font-size:32px;}
 .work-project-card:not(.work-project-feature) img {height:152px;}
 .work-project-card:not(.work-project-feature) figcaption {padding:13px 11px;min-height:95px;}
 .work-project-card:not(.work-project-feature) figcaption span {font-size:9px;line-height:1.25;}
 .work-project-card:not(.work-project-feature) figcaption strong {font-size:21px;}
 .work-gallery-filters {gap:7px;}
 .work-filter {font-size:12px;padding:10px 12px;}
 .work-journey-grid {gap:24px 17px;}
 .work-journey-step h3 {font-size:24px;}
 .work-journey-step p {font-size:14px;}
 .work-gallery-link-row {gap:17px;}
 .work-gallery-link-row .btn {font-size:14px;}
}
@media(prefers-reduced-motion:reduce) {
 .work-gallery-hero-media video {display:none;}
 .work-project-card img {transition:none;}
}

/* Corporate Our Work film: video stays behind a real photo, only revealed on confirmed playback. */
.work-hero-youtube {position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;opacity:0;transition:opacity .65s ease;}
.work-hero-youtube.is-playing {opacity:1;}
.work-hero-youtube-frame {position:absolute;top:50%;left:50%;width:max(100%,177.78vh);height:max(100%,56.25vw);min-width:100%;min-height:100%;border:0;transform:translate(-50%,-50%);pointer-events:none;}
.work-gallery-hero-media video {position:absolute;inset:0;}












@media(max-width:760px) {
 .work-hero-youtube {display:none!important;}




}
@media(prefers-reduced-motion: reduce) {
 .work-hero-youtube,.work-gallery-hero-media video {display:none!important;}
 .work-hero-youtube {transition:none;}
}

/* On smaller screens the fixed booking bar replaces the hero's duplicate CTA. */
@media(max-width:1120px) {
  .work-gallery-hero-actions .btn-red {display:none;}
}
@media(max-width:550px) {
  .work-gallery-hero-inner {padding-top:126px;padding-bottom:100px;}
}

/* Expanded photo collections: curated All Projects, complete category filters. */
.work-filter-count {display:inline-flex;align-items:center;justify-content:center;min-width:25px;margin-left:5px;padding:3px 6px;border-radius:10px;background:rgba(0,0,0,.075);font-size:11px;line-height:1;color:inherit;}
.work-filter.is-active .work-filter-count {background:rgba(255,255,255,.22);}
.work-gallery-toolbar {display:flex;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;align-items:center;margin:0 0 23px;}
.work-gallery-status {font-size:14px;line-height:1.5;color:#565b60;margin:0;}
.work-show-floor-gallery {appearance:none;background:none;border:0;padding:3px 0;font:700 14px/1.4 'DM Sans',sans-serif;color:var(--red);text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.work-show-floor-gallery:hover,.work-show-floor-gallery:focus-visible {color:#75131f;}
.work-show-floor-gallery[hidden] {display:none;}
.work-gallery-grid {scroll-margin-top:105px;}
.work-project-open {display:block;position:relative;overflow:hidden;flex:0 0 auto;}
.work-project-open img {width:100%;height:255px;object-fit:cover;display:block;}
.work-project-open:focus-visible {outline:4px solid var(--red);outline-offset:-4px;z-index:2;}
.work-project-enlarge {position:absolute;bottom:13px;right:13px;display:flex;gap:9px;align-items:center;padding:8px 12px;background:rgba(18,22,25,.87);color:#fff;font-weight:700;font-size:12px;letter-spacing:.1px;border-radius:2px;opacity:0;transform:translateY(5px);transition:opacity .15s ease,transform .15s ease;pointer-events:none;}
.work-project-enlarge span {font-size:16px;}
.work-project-open:hover .work-project-enlarge,.work-project-open:focus-visible .work-project-enlarge {opacity:1;transform:none;}
.work-project-feature .work-project-open {flex:1 1 auto;min-height:0;}
.work-project-feature .work-project-open img {height:100%;min-height:510px;object-position:50% 48%;}
.work-project-card figcaption {min-height:115px;}
.work-project-feature figcaption {min-height:132px;}
.work-photo-dialog {width:min(1170px,calc(100% - 32px));max-width:1170px;max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid #42454a;border-radius:6px;background:#181b1e;color:#fff;box-shadow:0 22px 80px rgba(0,0,0,.3);overflow:auto;}
.work-photo-dialog::backdrop {background:rgba(8,10,12,.88);}
.work-photo-dialog-inner {position:relative;padding:15px 15px 14px;}
.work-photo-close {position:absolute;right:23px;top:23px;z-index:2;width:38px;height:38px;border:1px solid rgba(255,255,255,.45);border-radius:40px;color:#fff;background:rgba(17,17,17,.78);font-size:19px;cursor:pointer;}
.work-photo-viewer {margin:0;}
.work-photo-viewer img {width:100%;max-height:70dvh;object-fit:contain;display:block;background:#101215;}
.work-photo-caption {display:flex;flex-wrap:wrap;gap:4px 17px;align-items:baseline;padding:14px 6px 9px;color:#fff;}
.work-photo-caption span {color:#d0aa6c;font:800 12px/1.5 'DM Sans',sans-serif;letter-spacing:1px;text-transform:uppercase;}
.work-photo-caption strong {font:700 25px/1.2 var(--heading);}
.work-photo-caption small {color:#c1c4c8;font-size:13px;line-height:1.45;}
.work-photo-controls {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 6px 1px;border-top:1px solid #393b40;}
.work-photo-controls button {padding:9px 13px;background:#30343a;border:1px solid #63666c;border-radius:3px;color:#fff;font:700 14px/1.3 'DM Sans',sans-serif;cursor:pointer;}
.work-photo-controls button:hover,.work-photo-controls button:focus-visible {border-color:#e0c08a;background:#474c52;}
.work-photo-controls>span {color:#b5b8bc;font-size:12px;}
@media(max-width:1100px) {
 .work-project-feature .work-project-open img {height:410px;min-height:0;}
}
@media(max-width:760px) {
 .work-project-feature .work-project-open img {height:420px;min-height:0;}
 .work-photo-viewer img {max-height:64dvh;}
}
@media(max-width:550px) {
 .work-gallery-toolbar {margin-bottom:16px;}
 .work-gallery-status {font-size:12px;}
 .work-show-floor-gallery {font-size:13px;}
 .work-project-card:not(.work-project-feature) .work-project-open img {height:152px;}
 .work-project-feature .work-project-open img {height:295px;}
 .work-project-enlarge {opacity:1;transform:none;bottom:7px;right:7px;padding:6px 8px;font-size:10px;}
 .work-photo-dialog {width:calc(100% - 14px);max-height:calc(100dvh - 14px);}
 .work-photo-dialog-inner {padding:8px;}
 .work-photo-close {right:14px;top:14px;}
 .work-photo-viewer img {max-height:62dvh;}
 .work-photo-caption {gap:4px 10px;}
 .work-photo-caption strong {font-size:20px;}
 .work-photo-caption small {width:100%;}
 .work-photo-controls>span {display:none;}
}
@media(hover:none) {
 .work-project-enlarge {opacity:1;transform:none;}
}
@media(prefers-reduced-motion:reduce) {
 .work-project-enlarge {transition:none;}
}
