﻿
:root {
    --ink: #24231f;
    --warm: #f4f1eb;
    --paper: #fbfaf7;
    --gold: #a57642;
    --gold-light: #c69b64;
    --teal: #35c2d1;
    --teal-light: #71d8e1;
    --muted: #6d6a63;
    --line: rgba(36,35,31,.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans",sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    height: 82px;
    padding: 0 clamp(20px,6vw,92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.16);
    transition: background .25s,box-shadow .25s,height .25s;
}

    .site-nav.scrolled {
        height: 70px;
        background: rgba(31,30,27,.96);
        box-shadow: 0 8px 24px rgba(0,0,0,.18);
    }

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.22));
}

.brand-name {
    color: var(--teal);
    font-family: "Over the Rainbow",cursive;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.05;
    white-space: nowrap;
    text-shadow: .4px 0 currentColor, -.4px 0 currentColor, 0 .4px currentColor, 0 -.4px currentColor;
}

    .brand-name small {
        display: block;
        color: #dfd4c3;
        font: 500 9px/1.2 "DM Sans",sans-serif;
        letter-spacing: .17em;
        margin-top: 4px;
        text-transform: uppercase;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px,2.5vw,37px);
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .1em;
        text-decoration: none;
        text-transform: uppercase;
        transition: color .2s,border-color .2s;
    }

        .nav-links a:hover {
            color: var(--teal);
        }

        .nav-links a[aria-current="page"] {
            color: var(--teal);
        }

.nav-cta {
    padding: 10px 16px;
    border: 1px solid #fff;
    color: #fff !important;
    white-space: nowrap;
}

    .nav-cta:hover {
        border-color: var(--teal);
        color: var(--teal) !important;
    }

.menu-button {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

    .menu-button:hover {
        color: var(--teal);
    }

    .menu-button span {
        display: block;
        width: 24px;
        height: 1px;
        margin: 5px;
        background: currentColor;
    }

.hero {
    min-height: 730px;
    height: 100svh;
    display: grid;
    align-items: end;
    color: #fff;
    background: linear-gradient(90deg,rgba(22,20,16,.75) 0%,rgba(22,20,16,.46) 47%,rgba(22,20,16,.18) 100%),url("assets/site/home-hero.jpg") center/cover;
}

.hero-content {
    width: min(1180px,100% - 40px);
    margin: 0 auto;
    padding: 0 0 clamp(88px,13vh,145px);
}

.page-hero {
    /* Grows past this when the copy needs more room (e.g. longer intros on phones). */
    min-height: max(420px,52vh);
    height: auto;
    align-items: start;
    background: #4a4842;
}

    .page-hero .hero-content {
        padding: clamp(140px,20vh,180px) 0 0;
    }

    .page-hero h1 {
        font-size: clamp(30px,4.2vw,48px);
    }

/* Trade & Collaborate: floor plan render beside the header copy. */
.trade-hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    column-gap: clamp(32px,5vw,72px);
    align-content: start;
    padding-bottom: clamp(40px,6vh,64px);
}

    .trade-hero .hero-content > :not(.trade-hero-plan) {
        grid-column: 1;
    }

.trade-hero-plan {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    margin-top: -48px;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

@media (max-width:820px) {
    .trade-hero .hero-content {
        grid-template-columns: 1fr;
    }

    .trade-hero-plan {
        grid-column: 1;
        grid-row: auto;
        margin-top: 8px;
    }
}

.eyebrow {
    margin: 0 0 16px;
    color: #e7c79c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.hero .eyebrow {
    font-size: 16px;
}

h1, h2, h3 {
    margin: 0;
    font-family: "Playfair Display",serif;
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    max-width: 720px;
    font-size: clamp(47px,6.25vw,86px);
    letter-spacing: -.04em;
}

.hero-text {
    max-width: 545px;
    margin: 23px 0 31px;
    font-size: clamp(16px,1.5vw,19px);
    color: rgba(255,255,255,.9);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 13px 23px;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s,transform .2s;
}

    .button:hover {
        background: #865b2d;
        border-color: #865b2d;
        transform: translateY(-2px);
    }

section {
    padding: clamp(72px,9vw,128px) clamp(20px,8vw,132px);
}

/* Window Treatments: tighten the gap left above "Styles We Love" now that
   #window-options ends right after its intro copy (no more bullet list). */
#window-options {
    padding-bottom: clamp(24px,3vw,40px);
}

#window-styles {
    padding-top: clamp(16px,2vw,24px);
}

.section-intro {
    max-width: 650px;
    margin: 0 auto clamp(38px,5vw,68px);
    text-align: center;
}

    .section-intro h2 {
        font-size: clamp(36px,4vw,55px);
        letter-spacing: -.035em;
    }

    .section-intro .signature-heading {
        color: #cdcdcd;
        font-family: "Vivaldi",cursive;
        font-size: clamp(72px,8vw,128px);
        font-weight: 400;
        letter-spacing: 0;
        line-height: .9;
    }

.signature-intro {
    margin: clamp(56px,8vw,104px) auto 0;
}

.section-intro p {
    margin: 16px 0 0;
    color: var(--muted);
}

    /* Portfolio descriptions: block stays centered, longer copy reads left-aligned. */
    .portfolio-project .section-intro p:not(.eyebrow) {
        text-align: left;
    }

.about {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr);
    gap: clamp(38px,7vw,108px);
    align-items: center;
    max-width: 1260px;
    margin: auto;
}

.about-image {
    width: 100%;
    min-height: 470px;
    object-fit: cover;
}

.about-copy h2 {
    margin-bottom: 21px;
    font-size: clamp(36px,3.8vw,51px);
    letter-spacing: -.035em;
}

.about-copy > p {
    color: var(--muted);
}

.collections {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin: 28px 0 0;
}

    .collections h3 {
        font-size: 20px;
        color: var(--gold);
    }

    .collections p {
        margin: 8px 0 0;
        color: var(--muted);
        font-size: 14px;
    }

/* Cabinetry page: each collection column has its maker, description, and logo
   (logos pinned to the bottom so they line up across columns). */
.collection-details {
    max-width: 1180px;
    margin: 0 auto;
    gap: clamp(32px,4vw,56px);
}

    .collection-details > div {
        display: flex;
        flex-direction: column;
    }

    .collection-details h4 {
        margin: 0 0 4px;
        color: var(--gold);
        font-family: "Playfair Display",serif;
        font-weight: 400;
        font-size: 24px;
        line-height: 1.25;
    }

        .collection-details h4 span {
            display: block;
            margin-top: 4px;
            color: var(--muted);
            font-size: 16px;
            font-family: "DM Sans",sans-serif;
            font-style: italic;
        }

    .collection-details p {
        line-height: 1.75;
    }

    .collection-details .collection-logo {
        display: block;
        height: 56px;
        width: auto;
        max-width: 100%;
        mix-blend-mode: multiply;
        margin: auto auto 0;
    }

    /* Per-logo heights for the three tightly cropped logos (KithOne's bold wordmark gets
       the least height). */
    .collection-details .logo-legend {
        height: 26px;
    }

    .collection-details .logo-kithone {
        height: 17px;
    }

    .collection-details .logo-woodland {
        height: 30px;
    }

    .collection-details > div > p:last-of-type {
        margin-bottom: 32px;
    }

/* Cabinetry: the full, uncropped flat lay sits beside Our Collections and stays in view
   while the three collections (stacked, one per row) scroll past it. */
.collections-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: clamp(36px,5vw,80px);
    align-items: start;
}

    .collections-layout .collections-photo {
        position: sticky;
        top: 100px;
        display: block;
        width: 100%;
        height: auto;
    }

    .collections-layout .section-intro {
        margin-left: 0;
        text-align: left;
    }

    .collections-layout .collection-details {
        grid-template-columns: 1fr;
        gap: 0;
    }

        .collections-layout .collection-details > div + div {
            margin-top: 36px;
            padding-top: 36px;
            border-top: 1px solid var(--line);
        }

        .collections-layout .collection-details .collection-logo {
            margin: 0;
            align-self: flex-start;
        }

        .collections-layout .collection-details > div > p:last-of-type {
            margin-bottom: 22px;
        }

@media (max-width:820px) {
    .collections-layout {
        grid-template-columns: 1fr;
    }

        .collections-layout .collections-photo {
            position: static;
            max-width: 480px;
            margin: 0 auto;
        }
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 25px;
    margin: 31px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

    .features li {
        padding-left: 1.4em;
        text-indent: -1.4em;
    }

    .features li::before {
        content: "—";
        color: var(--gold);
        margin-right: 8px;
    }

    /* Trade & Collaborate: all four items in one row, lined up with the How It Works steps. */
    #trade-services .features {
        grid-template-columns: repeat(4,1fr);
        gap: clamp(20px,3vw,32px);
        max-width: 1260px;
        margin: 31px auto 0;
    }

    /* Trade & Collaborate page only: diamond bullets instead of dashes. */
    #trade-services .features li::before {
        content: "◆";
        font-size: 10px;
    }

    /* Trade & Collaborate intro copy: block stays centered, copy reads left-aligned. */
    #trade-professionals .section-intro p,
    #who-its-for .section-intro p {
        text-align: left;
    }

    /* Window Treatments intro copy: smaller than the default section-intro paragraph size;
       block stays centered, copy reads left-aligned (as on Portfolio). */
    #window-options .section-intro p {
        font-size: 14px;
        text-align: left;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: clamp(20px,3vw,32px);
    max-width: 1260px;
    margin: auto;
}

    .steps h3 {
        font-size: 22px;
    }

    .steps p {
        margin: 10px 0 0;
        color: var(--muted);
        font-size: 14px;
    }

#services {
    background: var(--warm);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    max-width: 1370px;
    margin: auto;
}

#specialties .cards {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

#gallery-grid .cards {
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 1180px;
}

.portfolio-project .cards {
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 1180px;
}

#window-styles .cards {
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 1180px;
}

#posts .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
    max-width: 900px;
}

.card {
    background: #fff;
    box-shadow: 0 12px 30px rgba(46,39,27,.05);
}

    .card img {
        width: 100%;
        height: 260px;
        display: block;
        object-fit: cover;
    }

#cabinetry img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 24px 24px 28px;
}

.card h3 {
    font-size: 25px;
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.card-img-link {
    display: block;
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(20px,5vw,64px);
    background: rgba(15,14,12,.92);
}

    .lightbox.open {
        display: flex;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        box-shadow: 0 24px 70px rgba(0,0,0,.5);
        cursor: zoom-in;
        touch-action: none;
        user-select: none;
        -webkit-user-drag: none;
        transition: transform .15s ease-out;
    }

    .lightbox.zoomed img {
        cursor: grab;
        transition: none;
    }

        .lightbox.zoomed img:active {
            cursor: grabbing;
        }

    .lightbox.fullscreen {
        padding: 0;
    }

        .lightbox.fullscreen img {
            box-shadow: none;
        }

.lightbox-tools {
    position: absolute;
    top: clamp(14px,3vw,28px);
    right: clamp(14px,3vw,28px);
    z-index: 1;
    display: flex;
    gap: 8px;
}

    .lightbox-tools button {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,255,255,.4);
        background: rgba(15,14,12,.55);
        color: #fff;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        transition: border-color .2s,color .2s,opacity .2s;
    }

        .lightbox-tools button:hover:not(:disabled) {
            border-color: var(--teal);
            color: var(--teal);
        }

        .lightbox-tools button:disabled {
            opacity: .35;
            cursor: default;
        }

        .lightbox-tools button[hidden] {
            display: none;
        }

    .lightbox-tools svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

.lightbox .icon-exit,
.lightbox.fullscreen .icon-enter {
    display: none;
}

.lightbox.fullscreen .icon-exit {
    display: block;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color .2s,color .2s;
    z-index: 1;
}

    .lightbox-arrow:hover {
        border-color: var(--teal);
        color: var(--teal);
    }

.lightbox-prev {
    left: clamp(10px,3vw,28px);
}

.lightbox-next {
    right: clamp(10px,3vw,28px);
}

@media (max-width:600px) {
    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
}

.gallery {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    gap: 17px;
    max-width: 1370px;
    margin: auto;
}

    .gallery img, .gallery img:first-child {
        width: 100%;
        height: 410px;
        display: block;
        object-fit: cover;
    }

.contact {
    background: #24231f;
    color: #fff;
    text-align: center;
}

    .contact h2 {
        font-size: clamp(38px,4.5vw,58px);
        letter-spacing: -.035em;
    }

    .contact > p {
        margin: 14px 0 0;
        color: #ded9d0;
    }

form {
    max-width: 710px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 13px;
    margin: 38px auto 0;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 0;
    outline: 0;
    background: rgba(255,255,255,.07);
    color: #fff;
    font: 14px "DM Sans",sans-serif;
}

    input::placeholder, textarea::placeholder {
        color: #d1cdc5;
    }

    input:focus, textarea:focus {
        border-color: #d7ad75;
    }

textarea, form .button {
    grid-column: 1 / -1;
}

form .button {
    justify-self: center;
    margin-top: 8px;
    cursor: pointer;
}

footer {
    padding: 0;
    background: #24231f;
    border-top: 3px solid var(--teal);
    color: #f7f7f7;
}

.footer-content {
    max-width: 1450px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin: auto;
    padding: 58px clamp(24px,6vw,86px) 30px;
}

.footer-contact {
    font: 16px/1.52 "DM Sans",sans-serif;
}

    .footer-contact strong {
        display: block;
        color: var(--teal);
        font-weight: 500;
    }

    .footer-contact a {
        color: inherit;
        text-decoration: none;
    }

.footer-logo {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.22));
}

.footer-links {
    display: grid;
    justify-items: end;
    gap: 2px;
    font: 16px/1.42 "DM Sans",sans-serif;
    text-align: right;
}

    .footer-links a {
        color: inherit;
        text-decoration: none;
        transition: color .2s;
    }

        .footer-links a:hover {
            color: var(--teal);
        }

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 14px;
}

    .footer-social span,
    .footer-social a {
        width: 29px;
        height: 29px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--teal);
        color: #303131;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
    }

    .footer-social a:hover {
        color: #303131;
    }

.footer-copyright {
    max-width: 1450px;
    margin: auto;
    padding: 0 clamp(24px,6vw,86px) 16px;
    color: #f7f7f7;
    opacity: .5;
    font: 13px/1.6 "DM Sans",sans-serif;
    letter-spacing: 0;
}

@media (max-width:900px) {
    .cards, #gallery-grid .cards, .portfolio-project .cards, #window-styles .cards {
        grid-template-columns: repeat(2,1fr)
    }

    .gallery {
        grid-template-columns: repeat(3,1fr)
    }

        .gallery img, .gallery img:first-child {
            height: 300px
        }

    .site-nav {
        padding-inline: 24px
    }
}

@media (max-width:1480px) {
    .menu-button {
        display: block
    }

    .nav-links {
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        display: none;
        padding: 18px 20px 23px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #24231f;
        border-top: 1px solid rgba(255,255,255,.12)
    }

        .nav-links.open {
            display: flex
        }

        .nav-links a {
            display: block;
            padding: 13px 0;
            text-align: center
        }

    .nav-cta {
        margin-top: 8px;
        padding: 12px !important;
        text-align: center
    }
}

@media (max-width:720px) {
    .site-nav {
        height: 68px;
        padding-inline: 20px
    }

        .site-nav.scrolled {
            height: 64px
        }

    .brand {
        gap: 8px
    }

    .brand-mark {
        width: 42px;
        height: 42px
    }

    .brand-name {
        font-size: 24px
    }

        .brand-name small {
            font-size: 8px;
            margin-top: 3px
        }

    .nav-links {
        top: 68px
    }

    .hero {
        min-height: 650px;
        background-position: 58% center
    }

    .hero-content {
        padding-bottom: 76px
    }

    .page-hero {
        min-height: max(380px,46vh);
        height: auto
    }

    .about {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr
    }

    .about-image {
        min-height: 340px
    }

    .features,
    #trade-services .features {
        grid-template-columns: 1fr
    }

    .collections {
        grid-template-columns: 1fr
    }

    .cards, #gallery-grid .cards, #posts .cards, .portfolio-project .cards, #window-styles .cards {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .card img {
        height: 240px
    }

    .gallery {
        grid-template-columns: 1fr
    }

        .gallery img, .gallery img:first-child {
            height: 300px
        }

    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-top: 42px;
        text-align: center
    }

    .footer-contact {
        text-align: center
    }

    .footer-links {
        justify-items: center;
        text-align: center
    }

    .footer-social {
        justify-content: center
    }

    .footer-copyright {
        text-align: center
    }

    section {
        padding-inline: 20px
    }
}

/* Privacy policy and other long-form legal text */
.legal {
    max-width: 760px;
    margin: auto;
}

    .legal h2 {
        margin: 48px 0 14px;
        font-size: clamp(26px,3vw,34px);
        letter-spacing: -.02em;
    }

    .legal h3 {
        margin: 26px 0 8px;
        font-size: 20px;
    }

    .legal p, .legal li {
        color: var(--muted);
    }

    .legal ul {
        padding-left: 22px;
    }

    .legal li {
        margin-bottom: 8px;
    }

    .legal a {
        color: var(--ink);
        text-decoration-color: var(--teal);
        text-underline-offset: 3px;
    }

    .legal strong {
        color: var(--ink);
    }

.legal-updated {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.photo-credit {
    padding: 0 20px clamp(48px,6vw,80px);
    text-align: center;
}

    /* Portfolio: the credit is the last item in each photo grid. It fills the empty
       columns left on the final row, or takes a full row of its own when that row is full. */
    .portfolio-project .cards > .photo-credit {
        grid-column: 1 / -1;
        align-self: center;
        padding: 20px;
    }

    .portfolio-project .cards > .photo-credit:nth-child(3n+2) {
        grid-column: 2 / -1;
    }

    .portfolio-project .cards > .photo-credit:nth-child(3n) {
        grid-column: 3 / -1;
    }

@media (max-width:900px) {
    .portfolio-project .cards > .photo-credit:nth-child(n) {
        grid-column: 1 / -1;
    }

    .portfolio-project .cards > .photo-credit:nth-child(2n) {
        grid-column: 2 / -1;
    }
}

@media (max-width:720px) {
    .portfolio-project .cards > .photo-credit:nth-child(n) {
        grid-column: 1 / -1;
    }
}

    .photo-credit div {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: var(--muted);
        text-align: left;
        font-size: 13px;
        letter-spacing: .04em;
        -webkit-user-select: none;
        user-select: none;
    }

    .photo-credit img {
        width: 58px;
        height: auto;
        mix-blend-mode: multiply;
    }

    .photo-credit strong {
        font-weight: 600;
    }

/* Spaces & Stories */
.story-hero::after {
    background: linear-gradient(90deg,rgba(22,20,16,.78) 0%,rgba(22,20,16,.5) 50%,rgba(22,20,16,.25) 100%);
}

.story-photo {
    background: url("assets/spaces-and-stories/vol-02-header.jpg") center/cover;
}

.story {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
    gap: clamp(36px,6vw,88px);
    align-items: start;
    margin: auto;
}

.story-cover {
    position: sticky;
    top: 110px;
    margin: 0;
}

    .story-cover a {
        display: block;
        cursor: zoom-in;
    }

    .story-cover img {
        width: 100%;
        height: auto;
        display: block;
        box-shadow: 0 24px 60px rgba(36,35,31,.18);
    }

    .story-cover figcaption {
        margin-top: 14px;
        color: var(--muted);
        font-size: 13px;
        letter-spacing: .04em;
    }

/* Placeholder until the blog launches: sits centered beside the cover image. */
.story-coming-soon {
    align-self: center;
}

    .story-coming-soon h2 {
        margin-bottom: 0;
    }

.story-article .eyebrow {
    color: var(--gold);
}

.story-article h2 {
    margin-bottom: 24px;
    font-size: clamp(36px,4vw,52px);
    letter-spacing: -.03em;
}

.story-article p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.story-article .story-byline {
    margin-top: 28px;
    color: var(--ink);
    font-family: "Playfair Display",serif;
    font-size: 20px;
    font-style: italic;
}

@media (max-width:820px) {
    .story {
        grid-template-columns: 1fr;
    }

    .story-cover {
        position: static;
        max-width: 460px;
        margin: 0 auto;
    }
}

.collection-moodboard {
    max-width: 1180px;
    margin: 0 auto clamp(38px,5vw,68px);
}

    .collection-moodboard img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Parallax page headers (see parallax.js): background layers move slower than the page,
   with a fixed shading overlay (each page sets its own ::after gradient) under the text. */
.parallax-hero {
    position: relative;
    overflow: hidden;
    background: #4a4842;
}

    .parallax-hero::after {
        content: "";
        position: absolute;
        inset: 0;
    }

    .parallax-hero .hero-content {
        position: relative;
        z-index: 1;
    }

.parallax-layer {
    position: absolute;
    inset: -25% 0;
    will-change: transform;
}

/* Process: blueprint photo */
.process-hero::after {
    background: linear-gradient(90deg,rgba(40,38,34,.8) 0%,rgba(40,38,34,.45) 45%,rgba(40,38,34,0) 100%);
}

.process-photo {
    background: url("assets/process-blueprint.jpg") center 30%/cover;
}

/* Window Treatments: sheer linen drapery in window light */
.window-hero::after {
    background: linear-gradient(90deg,rgba(22,20,16,.78) 0%,rgba(22,20,16,.5) 50%,rgba(22,20,16,.2) 100%);
}

.window-photo {
    background: url("assets/window-treatments/sheer-drapery-header.png") center 35%/cover;
}

/* Apothecary: soft-focus lavender field */
.apothecary-hero::after {
    background: linear-gradient(90deg,rgba(22,20,16,.78) 0%,rgba(22,20,16,.5) 50%,rgba(22,20,16,.2) 100%);
}

.apothecary-photo {
    background: url("assets/apothecary/lavender-header.jpg") center 40%/cover;
}

/* Cabinetry: a paneled feature wall fills the header background, running up behind the
   transparent nav, with a left-to-right shade under the text. */
.cabinetry-hero {
    position: relative;
    overflow: hidden;
    /* Grows past this when the intro needs more room (e.g. on phones). */
    min-height: max(340px,41vh);
    height: auto;
    align-items: center;
}

    .cabinetry-hero .cabinetry-hero-photo,
    .cabinetry-hero::after {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .cabinetry-hero .cabinetry-hero-photo {
        object-fit: cover;
        object-position: center 30%;
    }

    .cabinetry-hero::after {
        content: "";
        background: linear-gradient(90deg,rgba(22,20,16,.78) 0%,rgba(22,20,16,.5) 50%,rgba(22,20,16,.2) 100%);
    }

    .cabinetry-hero .hero-content {
        position: relative;
        z-index: 1;
        padding-top: 82px;
        padding-bottom: 32px;
    }

        .cabinetry-hero h1 {
            max-width: 860px;
        }

        .cabinetry-hero .hero-text {
            max-width: 720px;
        }

/* Cabinetry: why American-made, with the KCMA seal beside the copy (stacked on phones).
   The seal sits on white, so multiply blends it into the page background. */
#cabinetry-brands {
    padding-top: 0;
}

.brand-why {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(28px,4vw,56px);
    align-items: center;
    color: var(--muted);
    line-height: 1.75;
}

    .brand-why .brand-seal {
        display: block;
        width: clamp(130px,13vw,170px);
        height: auto;
        mix-blend-mode: multiply;
    }

    .brand-why p {
        margin: 0;
    }

    .brand-why ul {
        margin: 14px 0 18px;
        padding-left: 1.2em;
    }

        .brand-why li + li {
            margin-top: 8px;
        }

        .brand-why strong {
            color: var(--ink);
            font-weight: 600;
        }

@media (max-width:720px) {
    .brand-why {
        grid-template-columns: 1fr;
    }

        .brand-why .brand-seal {
            margin: 0 auto;
        }
}
