/* Homepage (home-layout.php). Moved out of the template's inline <style>
   so browsers keep it between visits instead of receiving ~38KB with every
   page view; printed into <head> by rk_home_render_styles(). */

/* Fonts */
@font-face { font-family: 'AGaramondPro'; src: url('/wp-content/uploads/fonts/agaramondpro/AGaramondPro-Regular.otf') format('opentype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Blair'; src: url('/wp-content/uploads/fonts/blair/BlairMdITC.otf') format('opentype'); font-weight: normal; font-style: normal; }

html { scroll-behavior: smooth; }
body { background: #fbf7ef; }

@keyframes pulse { 0% { opacity: 0.15; } 50% { opacity: 0.6; } 100% { opacity: 0.15; } }
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes slideUp { from { transform: translateX(10px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Slideshow Container */
.hero-banner-fade-slideshow { position: relative; width: 100vh; height: 100vw; margin: auto; }
.hero-banner-fade-slideshow .fade-image { position: absolute; width: 100%; height: 100%; }
.fade-image img { min-height: 600px; height: 100%; width: 100%; object-fit: cover; }

.hero-section .container { max-width: 100%; position: relative; }

#Top_bar { padding: 0 15px; }

.hero-copy {  max-width: 1440px; font-family: 'Futura Light BT', serif; font-size: 25px; color: #756667; text-align: center; line-height: 1.2em; letter-spacing: 0.6px; word-spacing: 0px; margin-bottom: 3em; margin-bottom: -4em !important; padding: 0 1em; margin: 3em auto;}

.explore-section-title { margin: auto; max-width: 1880px; font-family: 'Futura Light BT', serif; font-size: 3em; font-weight: 100; font-style: italic; color: #756667; text-align: center; line-height: 1.2em; letter-spacing: -0.4px; word-spacing: -2px; margin-bottom: 2em; margin-top: 2em; }

/* Collection header: title + copy */
.collection-header { max-width: 1880px; margin: 0 auto; padding: 0 1.5em; display: flex; align-items: flex-start; gap: 2em; margin-bottom: 0.8em; }
.collection-header > div:first-child { flex-shrink: 0; }
.collection-title { font-family: 'Futura Light BT', sans-serif; font-size: 2.6em; font-weight: 100; line-height: 1.1; color: #444; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: #999; margin: 0; }
.collection-title a { color: inherit; text-decoration: none; }
.collection-copy-wrap { flex: 1; min-width: 0; padding-top: 0.4em; max-width: 1400px;}
.collection-copy { font-family: 'Futura Light BT', sans-serif; font-size: 20px; font-weight: 300; color: #545455; line-height: 1.35; margin: 0; display: inline; }
.collection-copy.collapsed { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.collection-read-more { font-family: 'Futura Light BT', sans-serif; font-size: 14px; font-weight: 600; color: #333; cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.collection-count { font-family: 'Blair', sans-serif; font-size: 9px; letter-spacing: 2px; color: #545455; text-transform: uppercase; margin-top: 0.3em; }

/* Collection view toggle (Featured / New Arrivals) */
.collection-view-toggle {
    flex-shrink: 0;
    align-self: center;
}
.collection-view-select {
    box-shadow: none!important;
    font-family: 'Futura Light BT', sans-serif;
    font-size: 16px;
    color: #444;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #a6a6a6;
    border-radius: 0;
    padding: 0.3rem 2rem 0.3rem 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 10px 6px;
    cursor: pointer;
    outline: none;
    min-width: 140px;
    max-width: 200px;
}
.collection-view-select:focus {
    border-bottom-color: #555;
}
.collection-slider-set.is-loading { opacity: .55; transition: opacity .2s; pointer-events: none; }

/* CTA tile */
.collection-slide--cta { background: #f2ece1; }
.cta-flex { display: flex; flex-direction: column; height: 100%; justify-content:space-between; box-sizing: border-box; padding: 10px; }
.cta-row--images { display: flex; gap: 6px; height: 290px; }
.cta-row--images img { width: calc(50% - 3px)!important; height: 200px; object-fit: contain; mix-blend-mode: multiply; }
.cta-row--link { height: unset; display: flex; align-items: center; justify-content: center; }
.cta-flex .cta-link { font-family: 'Futura Light BT', sans-serif; font-size: 22px; color: #444; text-decoration: none; line-height: 1.3; }
.cta-flex .cta-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Our Point of View */
.pov-section { border-top: 3px solid #d5d0c9; padding: 1em; max-width: 1440px; margin: 4em auto; box-sizing: border-box;}
.pov-row { display: flex; gap: 4em; margin-bottom: 3em; }
.pov-row:last-child { margin-bottom: 0; }
.pov-row--top .pov-col--title { flex: 1; }
.pov-row--top .pov-col--text { flex: 1; padding-top: 0.5em; }
.pov-title { font-family: 'Futura Light BT', sans-serif; font-size: 4em; font-weight: bold; color: #5d5d5d; margin: 0; line-height: 1.15; }
.pov-section p { font-family: 'Futura Light BT', sans-serif; font-size: 20px; font-style: italic; color: #545455; line-height: 1.65; margin: 0; }
.pov-row--bottom .pov-col--text { flex: 1; }
.pov-row--bottom .pov-col--image { flex: 1; }
.pov-row--bottom .pov-col--image img { width: 100%; height: auto; max-height: 300px; display: block; object-fit: cover; object-position: bottom; }

/* Relationships images */
.relationships-images { display: flex; gap: 15px; margin-top: 2.5em; }
.relationships-images img { flex: 1; width: 0; height: 350px; object-fit: cover; display: block; }

.cover-section { background-position: bottom; background-size: cover; width: 100%; height: 100%; position: relative; background:none; }
.featured-project-copy { width:100%; display:flex; justify-content:space-between; position:absolute; bottom:.5em; z-index:1000; padding:1em 2em; align-items:end; font-size:18px; }
.featured-project-name, .featured-projects-title { color: white; font-family: 'Futura Light BT', serif; }
.featured-project-name { font-size: 18px; font-style: italic; }
.featured-projects-title { font-size: 5em; }
.hero-section .featured-projects-title { display: none; }

/* Footer */
#Footer { background: #fbf7ef; border-top: 1px solid #e6e0d5; }
#Footer h6 { color: #756667!important; font-weight: 600; font-family: 'Futura Light BT', serif; }
#Footer p, #Footer p a, #Footer a { color: #756667!important; font-family: 'Futura Light BT', serif; }
#Footer .button { color: white !important; background: transparent; color: #756667 !important; border: 1px solid #756667!important; font-size: 9px; font-family: 'Blair', sans-serif; letter-spacing: 2px; padding: 1em 1.5em; }
#Footer .button:hover { background:#756667; color:white!important; }
.textwidget.custom-html-widget > div:has(> h6) { border-left: none!important; }
.mfn-footer a:not(.button,.icon_bar,.mfn-btn,.mfn-option-btn):hover { color: #474747; }

/* Swiffy overrides */
.swiffy-slider .button:hover, .swiffy-slider .widget a.button:hover, .swiffy-slider .wp-block-button__link:hover, .swiffy-slider button:hover, .swiffy-slider input[type=button]:hover, .swiffy-slider input[type=reset]:hover { background-color: initial !important; border-color: initial !important; color: initial !important; }
.slider-nav-dark .slider-nav::after { background-color: #ffffff!important; }

.scroll-down-btn { text-align: center; margin-bottom: 3em; font-weight: 600; opacity: 0.35; font-family: "Blair", sans-serif; font-size: 10px; letter-spacing: 2px; animation: pulse 2s infinite ease-in-out; }
.scroll-down-btn a { color: black; text-decoration:none; }
#Header .container { max-width: 1880px; }
/* Collection containers — bare minimum */
.explore-collection-container { margin: 6em 0; max-width: 1880px; margin-left: auto; margin-right: auto; }
.collection-slider { display: flex; gap: 15px; overflow-x: auto; padding: 1em 0; scrollbar-width: none; -ms-overflow-style: none; position: relative; }
.collection-slider::-webkit-scrollbar { display: none; }
.collection-slide { flex: 0 0 calc(33.333% - 10px); }
.collection-slide:not(.collection-slide--cta) a { display: block; height: 650px; background: #f2ece1; }
.collection-slide img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: multiply; }

/* Slider nav arrows */
.collection-slider-wrap { position: relative; max-width: 1880px; margin: 0 auto; padding: 0 1.5em; }
.collection-slider-wrap .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px; border: 1px solid rgba(100,100,100,0.25); border-radius: 50%; background: rgba(251,247,239,0.9); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); cursor: pointer; opacity: 0; transition: opacity 0.3s ease, border-color 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 0; }
.collection-slider-wrap:hover .slider-arrow { opacity: 1; }
.collection-slider-wrap .slider-arrow:hover { border-color: rgba(100,100,100,0.5); }
.collection-slider-wrap .slider-arrow svg { width: 14px; height: 14px; stroke: #756667; stroke-width: 1.5; fill: none; }
.collection-slider-wrap .slider-arrow--prev { left: 12px; }
.collection-slider-wrap .slider-arrow--next { right: 12px; }

.featured-project-logo { position: absolute; top:2em; left:2em; }
.featured-project-logo img { max-height: 65px!important; max-width:380px; object-fit: contain!important; opacity: 50%; mix-blend-mode: multiply; }

/* Hero Swiffy */
.hero-section .swiffy-slider { position: relative; width: 100%; height: 100%; overflow: hidden; max-width: 1880px; min-height: 650px; margin: 4em auto; margin-bottom: 2em; }
.hero-section .swiffy-slider .slider-container { display: flex; transition: transform 0.5s ease-in-out; }
.hero-section .slider-item .featured-project-content { display: none; }
.hero-section .swiffy-slider .slider-item { flex: 0 0 100%; position: relative; cursor: pointer; }
.hero-section .swiffy-slider .slider-item img { width: 100%; height: 600px; object-fit: cover; }
.hero-section .swiffy-slider .featured-project-copy { position: absolute; bottom: 1em; left: 0; right: 0; padding: 1em 2em; color: white; font-family: 'Futura Light BT', serif; display: flex; justify-content: space-between; align-items: baseline; }
.hero-section .swiffy-slider .featured-project-name { font-size: 18px; font-style: italic; }
.hero-section .swiffy-slider .featured-projects-title { font-size: 5em; }
.hero-section .swiffy-slider .slider-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; border: none; padding: 10px; cursor: pointer; z-index: 1000; }
.hero-section .swiffy-slider .slider-nav-prev { left: 0; }
.hero-section .swiffy-slider .slider-nav-next { right: 0; }

#explore-collections { scroll-margin-top: 210px; }
.flex-container { display: flex; justify-content: space-between; gap: 10px; max-width: 1880px; margin: 0 auto; }
.max-width-1440 { max-width: 1880px; margin: 0 auto; }

.button:hover, .widget a.button:hover, .wp-block-button__link:hover, button:hover, input[type=button]:hover, input[type=reset]:hover { background-color: none!important; border-color: none!important; color: none!important; }
:root { --mfn-button-bg-hover: #fff; --mfn-button-border-color-hover: #fff; }

/* Header */
#Header_wrapper { background-image: linear-gradient(0deg, transparent, #0b071fC0); z-index: 100; }
#Header_wrapper, #Top_bar:not(.is-sticky) { background-color: transparent !important; }
#Top_bar:not(.is-sticky) #logo img, #Top_bar:not(.is-sticky) span { color: #FFF; filter: brightness(200); }

.hero-section { top: -156px!important; position: relative; z-index: 1; }
.hero-section > .container { position: relative; }
.hero-section, .hero-section .swiffy-slider { max-width: 100vw !important; width: 100vw !important; margin-top: 0; }
.hero-section .swiffy-slider .slider-item img { width: 100vw !important; height: 100vh !important; object-fit: cover; object-position: bottom; }

/* Slider CTA overlay */
.slider-cta-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; pointer-events: none; }
.slider-cta-overlay .cta-button { pointer-events: auto; display: inline-block; padding: 16px 38px; white-space: nowrap; box-sizing: border-box; background-color: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #fff; font-family: 'Blair', sans-serif; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; text-decoration: none; text-align: center; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); text-shadow: 0 0 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.7); }
/* Hover only where there is a pointer: on phones a tap left the button stuck
   white and lifted. */
@media (hover: hover) and (pointer: fine) {
    .slider-cta-overlay .cta-button:hover { background-color: #fff; color: #000; border-color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); text-shadow: none; }
}

/* Caption */
.hero-section .swiffy-slider .slider-item { position: relative; }
.hero-image-caption-container { position: absolute; bottom: 0; left: 0; width: 100%; height: 250px; z-index: 5; pointer-events: none; display: flex; align-items: flex-end; padding: 0 0 60px 40px; background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.62) 35%, rgba(0, 0, 0, 0.32) 60%, rgba(0, 0, 0, 0) 100%); }
.hero-image-caption-text { color: #ffffff; font-family: 'Futura Light BT', serif; font-size: 15px; font-style: italic; letter-spacing: 0.03em; text-shadow: 0 0 15px rgba(0,0,0,0.3); }
.caption-flex-wrapper { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; padding-right: 40px; }
.hero-image-cta-link { pointer-events: auto; color: #ffffff; font-family: 'Futura Light BT', serif; font-size: 15px; font-style: italic; letter-spacing: 0.03em; text-decoration: none; padding-bottom: 2px; text-decoration: underline; text-underline-offset: 7px; transition: all 0.3s ease; text-shadow: 0 0 15px rgba(0,0,0,0.3); white-space: nowrap; margin-right: 6em; }
.hero-image-cta-link:hover { color: #ffffff; opacity: 0.8; }
.hero-image-caption-container span, .hero-image-caption-container a { pointer-events: auto; cursor: pointer; }

/* Scroll indicator */
.scroll-indicator-wrapper { position: absolute; bottom: 240px; left: 50%; transform: translateX(-50%); z-index: 20; text-align: center; pointer-events: none; }
.scroll-down-link { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Blair', sans-serif; font-size: 9px; letter-spacing: 5px; text-transform: uppercase; transition: all 0.3s ease; text-shadow: 0 0 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8); }
.scroll-down-link:hover { color: #fff; text-decoration: none; transform: translateY(3px); }
.scroll-caret { display: block; animation: scroll-bounce 5s infinite ease-in-out; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); }

.hero-slider--mobile { display: none; }

/* Make an Offer banner */
.make-an-offer-banner-title { font-style: italic; font-size: 2em; line-height: 1em; max-width: 100%; text-align: left; position: absolute; top: 0.5em; left: 0; padding-left: 0.5em; color: white !important; font-size: 5em; text-align: right; }
.make-an-offer-banner-title-an { margin-right: -65px; }
.make-an-offer-top-right-copy { font-style:normal; font-size: 1.4em; line-height: 1em; max-width: 100%; text-align: left; position: absolute; top:1em; right:0; padding-left: 1.5em; max-width: 300px; text-align: right; padding-right: 2em; color: white; }
.make-an-offer-bottom-right-copy { font-style:italic; font-size: 2em; line-height: 1em; max-width: 100%; text-align: right; max-width: 500px; color: white; }

/* Modal */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; max-height: 100vh; overflow: hidden; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(1px); justify-content: center; align-items: center; }
#modalTitle { font-family: 'Futura Light BT', sans-serif; font-size: 23px; line-height: 30px; text-align: left; margin: 1em 0; margin-top: 1em; color: black; }
#modalLogo { position: absolute; top: 1.5em; left: 1.5em; max-height: 40px; max-width: 100px; mix-blend-mode: multiply; opacity: 50%; }
#modalImage { aspect-ratio: 12 / 5; object-fit: cover; width: 100%; }
.modal-content { background-color: #fbf7ef; width: 80%; font-family: 'Futura Light BT', serif; max-width: 700px; text-align: left; position: relative; overflow-y: auto; max-height: 90vh; box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px; animation: slideUp 0.3s ease-out; }
.modalCopy { padding: 1em 6em; padding-bottom: 1em; }
.close { position: absolute; right: 20px; top: 20px; color: #ffffff; font-size: 60px; font-weight: bold; cursor: pointer; font-weight: 100; font-family: 'Futura Light BT', sans-serif; }
.close:hover { color:black; }

/* Advanced Search */
.rk-adv-search { --muted:#cfcfcf; --ink:#222; --hint:#717171; --chip:#5f5f5f; width: 100%; height: 100%; overflow: hidden; max-width: 1880px; margin: 0 auto; margin-bottom: 3em;}
.rk-adv-search * { box-sizing:border-box; }
.rk-adv-search .row { display:flex; gap:32px; flex-wrap:wrap; }
.rk-adv-search .col { flex:1; }
.rk-adv-search h5 { font-family:'Blair'; text-transform:uppercase; letter-spacing:2px; font-size:10px; margin:0 0 6px; color:#000; text-align: center; }
.rk-adv-search input { width:100%; padding:.8em; font-size:12px; border:1px solid #cdcdcd; border-radius:4px; background:none; box-shadow:none; max-width: 200px; margin: 0 auto; }
#rk-price-min, #rk-price-max { max-width: 90px; margin: 0; }
.rk-adv-search input::placeholder { color:#666; font-style:italic; opacity:.7; font-family:'Futura Light BT'; }
.rk-adv-search .grid-2 { display: flex; gap: 15px; justify-content: center; }
.rk-adv-search .to { display:flex; align-items:center; justify-content:center; color:var(--hint); font-family:'Blair'; letter-spacing:2px; font-size:9px; }
.rk-adv-search .feet-in { display:grid; grid-template-columns:1fr 1fr 24px 1fr 1fr; gap:10px; }
.rk-adv-search .chips { display:flex; flex-wrap:wrap; gap:16px; padding-top:10px; justify-content: center; }
.rk-adv-search .chip { font-family:'Futura Light BT'; color:var(--chip); text-decoration:underline; text-underline-offset:2px; cursor:pointer; user-select:none; font-size:17px; }
.rk-adv-search .chip.is-active { color:#000; text-decoration-thickness:2px; }
.rk-adv-search .actions { display:flex; gap:12px; justify-content:center; margin-top:18px; flex-wrap:wrap; }
.rk-adv-search .btn { font-family: 'Blair'; text-transform: uppercase; letter-spacing: 2px; font-size: 9px !important; width: 300px; background: none !important; border-radius: 5px; border: 1px solid #999; color: black; max-height: 30px; }
.rk-submit { line-height: 0px !important; padding: 15px !important; height: 44px !important; margin-top: 3em; }
.rk-submit:hover { background: #666!important; }
.rk-adv-search .btn:hover { background:#444; color:#fff; border-color:#444; }
.rk-adv-search .btn.reset { background:#000; color:#fff; border-color:#c3c1bb; }

/* ── Shop Our Edits ── */
.edits-section { max-width: 1440px; margin: 0 auto; padding: 0 1.5em; overflow: hidden; }
.edits-heading { font-family: 'Futura Light BT', sans-serif; font-size: 2.6em; font-weight: 100; color: #444; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: #999; margin: 0 0 0.8em; line-height: 1.1; }
.edits-heading a { color: inherit; text-decoration: none; }

/* Unified grid: 4 columns, 2 rows */
.edits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.edits-btn { aspect-ratio: 6 / 3.3; border: 1px solid #d5d0c9; background: #fbf7ef; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 18px 24px; transition: border-color 0.3s ease, background-color 0.3s ease; }
.edits-btn img { object-fit: contain; opacity: 0.55; mix-blend-mode: multiply; transition: opacity 0.3s ease; }
.edits-btn:hover { border-color: #999; }
.edits-btn:hover img { opacity: 0.75; }
.edits-btn.is-active { border-color: #555; background: #f5f0e6; }
.edits-btn:hover { border-color: #555; background: #f5f0e6; }
.edits-btn.is-active img { opacity: 0.85; }

/* Row 2: hero spans first 3 columns, banner takes column 4 */
.edits-hero { grid-column: 1 / 4; overflow: hidden; min-height: 480px; height: 620px;}
.edits-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.35s ease; object-position: bottom;}
.edits-banner { border: 4px solid #5c5c5c; grid-column: 4 / 5; background: #fbf7ef; display: flex; align-items: stretch; }
.edits-banner-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5em 2em; text-align: center; width: 100%; margin: 4px;
    border: 1px solid #5c5c5c;}
.edits-badge { max-width: 160px; max-height: 310px; object-fit: contain; mix-blend-mode: multiply; opacity: 0.7; margin-bottom: 1.8em; transition: opacity 0.35s ease; }
.edits-copy { text-align:left; font-family: 'Futura Light BT', sans-serif; font-size: 16px; color: #545455; line-height: 1.45; margin: 0 0 1.5em; }
.edits-link { align-self: baseline; font-family: 'Futura Light BT', sans-serif; font-size: 20px; color: #444; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #999; transition: color 0.3s ease; }
.edits-link:hover { color: #111; text-decoration-color: #444; }

/* Fade transition */
.edits-hero img.is-fading,
.edits-badge.is-fading,
.edits-copy.is-fading,
.edits-link.is-fading { opacity: 0; }

/* Edits hero caption overlay */
.edits-hero { position: relative; }
.edits-hero-caption {
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 18px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.edits-hero-caption.is-fading { opacity: 0; }
.edits-hero-credit {
    font-family: 'Futura Light BT', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
    text-shadow: 0 0 10px rgba(0,0,0,0.4);
    line-height: 1;
    border-bottom: 1px solid #ffffffa6;
    padding-bottom: 5px;
}
.edits-hero-credit:empty { display: none; }

/* Mobile slider + dots — hidden by default, shown at ≤768px */
.edits-mobile-slider { display: none; }
.edits-dots          { display: none; }

/* ── Home Testimonials — one quote, randomly chosen on page load ── */
.home-testimonials {
    max-width: 860px;
    margin: 5em auto 3.5em;
    padding: 0 3em;
    text-align: center;
}
.home-testimonial-slide {
    display: none;
}
.home-testimonial-slide.is-active {
    display: block;
}
.home-testimonial-quote {
    font-family: 'Futura Light BT', serif;
    font-size: 22px;
    font-style: italic;
    color: #444;
    line-height: 1.65;
    margin: 0 0 1.2em;
    padding: 0;
    border: none;
    quotes: none;
    font-weight: bold;
}
.home-testimonial-author {
    font-family: 'Futura Light BT', serif;
    font-size: 18px;
    font-style: italic;
    color: #888;
    display: block;
    text-align: right;
    font-weight: normal;
    letter-spacing: 0.02em;
}

/* ============ TABLET 1100 ============ */
@media (max-width: 1100px) {
    .edits-section { padding: 0 1em; }
    .edits-grid { gap: 10px; }
    .edits-btn { padding: 12px 16px; aspect-ratio: 6 / 3.5; }
    .edits-hero { min-height: 360px; height: 480px; }
    .edits-badge { max-width: 120px; max-height: 220px; }
    .edits-copy { font-size: 14px; }
    .edits-link { font-size: 17px; }
    .edits-banner-inner { padding: 1.8em 1.2em; }
}

/* ============ TABLET 1024 ============ */
@media (max-width: 1024px) {
    .featured-project-copy { position: relative; }
    .hero-section .swiffy-slider .featured-projects-title { position: absolute; bottom: 10px; right: 10px; font-size: 1.5em!important; text-align: right; max-width: 45%; line-height: 1.2; }
    .hero-section .swiffy-slider .featured-project-name { position: absolute; bottom: 10px; left: 10px; font-size: 12px!important; }
    .make-an-offer-banner-title { font-size: 7vw; }
    .make-an-offer-banner-title-an { margin-right: -7vw; }
    .make-an-offer-bottom-right-copy { font-size: 3vw; max-width: 40vw; }
    .make-an-offer-top-right-copy { font-size: 3vw; max-width: 36vw; }
    /* Prevent edits overflow on tablet */
    .edits-section { overflow: hidden; }
    .edits-grid { grid-template-columns: repeat(4, 1fr); }
    .edits-hero { min-height: 300px; height: 400px; }
}

/* ============ MOBILE 768 ============ */
@media (max-width: 768px) {
    .slide-sku,  .slide-dims {
        font-size: 8px!important;
        letter-spacing: 0px;
    }

    .sticky-tb-color #Top_bar.is-sticky { padding: 0; }
    .collection-header > div:first-child {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .collection-copy { font-size: 13px; margin-bottom: 5px;}
    .collection-read-more { font-size: 13px; }
    .hero-section { top: -80px!important; }
    .explore-collection-container, .explore-section-title { padding: 0 10px; }
    .hero-section .swiffy-slider .featured-projects-title { bottom: 5px; right: 5px; font-size: 35px!important; max-width: 50%; line-height: 1.1; }
    .hero-section .swiffy-slider .featured-project-name { bottom: 6px; left: 11px; font-size: 15px !important; }
    .hero-section .swiffy-slider .slider-item .featured-project-logo img { max-height: 50px !important; max-width: 100px!important; object-fit: contain !important; opacity: 50%; }
    .featured-project-logo { top: 1em!important; left: 1em!important; }
    .fade-image img { min-height: 450px!important; height: 100%; width: 100%; object-fit: cover; }
    .hero-section .swiffy-slider .slider-item img { width: 100%; height: 450px!important; object-fit: cover; }
    .hero-section .swiffy-slider { min-height: 475px!important; margin-bottom: 0!important; }
    .hero-copy { font-size: 19px; color: #756667; text-align: center; line-height: 28px; margin-bottom: 0em!important; margin-top: 2em; padding: 0 1em; }
    #search-our-collection-btn { margin-top: 0!important; }
    .hero-copy br { display: none!important; }
    .modalCopy { padding: 1em 22px!important; padding-bottom: 1em; background: #fbf7ef; font-family: 'Futura Light BT', serif; }
    .slider-cta-overlay .cta-button { padding: 12px 20px; font-size: 8px; letter-spacing: 2px; }
    .hero-image-caption-container { padding: 0 20px 30px 20px; height: 150px; }
    .hero-image-caption-text { font-size: 12px; }
    .container { max-width: unset!important; }
    .hero-image-cta-link { display: block; text-align: center; font-size: 12px; margin-right: 0; }
    .caption-flex-wrapper { display: block; padding-right: 0; padding-bottom: 3em; text-align: center; }
    .scroll-indicator-wrapper { bottom: 426px; display: none; }
    .scroll-down-link { font-size: 8px; letter-spacing: 3px; gap: 6px; }
    .hero-section .swiffy-slider .slider-item img { height: 100svh !important; }
    .hero-banner-fade-slideshow { height: 100svh !important; }
    .hero-slider--desktop { display: none; }
    .hero-slider--mobile { display: block; }
    .explore-section-copy.collapsed { max-height: 100px; }
    .read-more { display: block; }
    .collection-header { flex-direction: column; gap: 0.5em; }
    .collection-title { font-size: 1.8em; }
    .pov-row { flex-direction: column; gap: 2em; margin-bottom: 2em; }
    .pov-title { font-size: 2.2em; }
    .relationships-images { flex-direction: column; }
    .relationships-images img { width: 100%; height: 250px; }
    .marketing-banner-copy { position: absolute!important; padding: 10px !important; }
    .marketing-banner-subtitle { display: none!important; }
    .marketing-banner-title { font-size: 1.15em!important; width: 100%!important; }
    .collection-slide { flex: 0 0 80%; }
    .collection-slide:not(.collection-slide--cta) a { height: 350px; }
    .collection-slide--cta { height: auto; }
    .cta-flex { height: 350px; }
    .cta-row--images { height: 130px; }
    .cta-row--images img { height: 130px; }
    .cta-flex .cta-link { font-size: 18px; }

    /* Collection view toggle mobile */
    .collection-view-select { font-size: 14px; max-width: 120px!important; }

    /* ── Shop Our Edits — mobile layout ── */
    .edits-section { padding: 0; overflow: hidden; margin: 1.5em; margin-top: -4em;}
    .edits-heading { font-size: 1.8em; padding: 0; }

    /* Hide desktop grid entirely on mobile */
    .edits-grid { display: none !important; }

    /* Scroll-snap slider */
    .edits-mobile-slider {
        display: flex;
        gap: 20px;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .edits-mobile-slider::-webkit-scrollbar { display: none; }

    .edits-mob-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
    }

    /* Hero image within each slide */
    .edits-mob-hero {
        position: relative;
        aspect-ratio: 4 / 2;
        overflow: hidden;
        flex-shrink: 0;
    }
    .edits-mob-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        object-position: bottom;
    }
    .edits-mob-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 14px 12px;
        background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0) 100%);
        pointer-events: none;
    }
    .edits-mob-credit {
        font-family: 'Futura Light BT', sans-serif;
        font-size: 12px;
        font-style: italic;
        color: rgba(255,255,255,0.85);
        border-bottom: 1px solid rgba(255,255,255,0.6);
        padding-bottom: 4px;
        display: inline-block;
    }

    /* Banner card within each slide */
    .edits-banner--mob {
        border-left: 3px solid #5c5c5c;
        border-right: 3px solid #5c5c5c;
        border-bottom: 3px solid #5c5c5c;
        border-top: none;
    }
    .edits-banner--mob .edits-banner-inner {
        border-left: 1px solid #5c5c5c;
        border-right: 1px solid #5c5c5c;
        border-bottom: 1px solid #5c5c5c;
        border-top: none;
        padding: 1.8em 1.5em;
        margin: 0 4px 4px;
    }
    .edits-badge { max-width: 110px; max-height: 140px; margin-bottom: 1.2em; }
    .edits-copy { font-size: 15px; }
    .edits-link { font-size: 18px; }

    /* Dot navigation */
    .edits-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 18px 0 8px;
    }
    .edits-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #d5d0c9;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.3s ease, transform 0.3s ease;
        flex-shrink: 0;
    }
    .edits-dot.is-active {
        background: #545455;
        transform: scale(1.4);
    }

    /* Home testimonials mobile */
    .home-testimonials { padding: 0 1.2em; margin: 3em auto 2.5em; }
    .home-testimonial-quote { font-size: 16px; }
    .home-testimonial-author { font-size: 14px; }
}

@media only screen and (max-width: 767px) {
    #Top_bar { background-color: #fbf7ef !important; }
}

/* ============ SMALL MOBILE 600 ============ */
@media (max-width:600px) {
    .rk-adv-search { padding: 0 15px; box-sizing: border-box; }
    .rk-adv-search .feet-in { grid-template-columns:1fr 1fr 24px 1fr 1fr; }
    .rk-adv-search .row { display: flex; flex-direction: column; }
    #rk-price-min, #rk-price-max, .rk-adv-search input { max-width: none; }
    .rk-submit { width: 100%; }
    .rk-adv-search .row { gap: 10px; }
    .explore-section-title { margin-bottom: .5em; }
    .rk-adv-search .btn { max-width: 100px; margin-top: 0; margin-bottom: 2em; }
    .explore-section-title { font-size: 2em!important; }
    .rk-adv-search h5 { font-size: 9px; }
    .rk-adv-search .chip { font-size: 15px; }
}
/* Slide hover info */
.collection-slide:not(.collection-slide--cta) a {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;
}
.collection-slide:not(.collection-slide--cta) a img {
    flex: 1;
    min-height: 0;
    transition: transform 0.3s ease;
    transform-origin: center center;
}
.collection-slide:not(.collection-slide--cta):hover a img {
    transform: scale(0.96);
}
.slide-hover-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 14px 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    flex-shrink: 0;
}
.collection-slide:hover .slide-hover-info {
    opacity: 1;
    transform: translateY(0);
}
.slide-sku {
    font-family: 'Blair', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    color: #545455;
    text-transform: uppercase;
}
.slide-dims {
    font-family: 'Blair', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #545455;
    text-transform: uppercase;
}

/* ============ MOBILE 768: slider caption ============
   The slide is ~250px wide on mobile, too narrow for the SKU and the
   dimensions to sit side by side - both wrapped mid-value. Stack them;
   desktop keeps the space-between row above.

   This block MUST stay after the base .slide-hover-info rule. A media
   query adds no specificity, so the @media at the top of this
   stylesheet was losing to the base rule declared below it - which is
   why the earlier attempt at this had no effect (and why the existing
   letter-spacing override up there never applied either). */
@media (max-width: 768px) {
    .slide-hover-info {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0 10px 6px;
    }
    .slide-sku,
    .slide-dims {
        font-size: 8px !important;
        letter-spacing: 1px;
        line-height: 13px;
        white-space: nowrap;
    }
}
