/* Newman AI Works homepage rebuild — approved ImageGen direction, August 2 2026. */

.home-rebuild-page {
    --home-paper: #f8f2e7;
    --home-ink: #151719;
    --home-mint: #dbe9cf;
    --home-sky: #d8edf2;
    --home-yellow: #f0dd61;
    --home-clay: #bd6536;
    --home-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    margin: 0;
    padding: 0;
    background: var(--home-paper);
    color: var(--home-ink);
}

.home-rebuild-page .site-header {
    position: relative;
    min-height: 98px;
    gap: 2rem;
    border-bottom: 2px solid var(--home-ink);
    background: rgba(248, 242, 231, .98);
    padding: 0 clamp(2rem, 4vw, 4.5rem);
    backdrop-filter: none;
}

.home-rebuild-page .brand {
    gap: .95rem;
}

.home-rebuild-page .brand-mark {
    width: 58px;
    height: 58px;
}

.home-rebuild-page .brand-type {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: .03em;
    line-height: .9;
}

.home-rebuild-page .home-menu-toggle {
    display: none;
    margin-left: auto;
    color: var(--home-ink);
}

.home-rebuild-page .site-nav {
    gap: clamp(1.4rem, 3.5vw, 4.2rem);
}

.home-rebuild-page .site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    padding: .5rem .2rem;
    color: var(--home-ink);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-rebuild-page .site-nav a:hover,
.home-rebuild-page .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--home-ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.home-rebuild {
    overflow: clip;
    background-color: var(--home-paper);
    background-image:
        radial-gradient(circle at 18% 11%, rgba(21, 23, 25, .035) 0 1px, transparent 1.5px),
        radial-gradient(circle at 74% 28%, rgba(21, 23, 25, .025) 0 1px, transparent 1.5px);
    background-position: 0 0, 11px 13px;
    background-size: 18px 18px, 23px 23px;
}

.home-hero {
    position: relative;
    min-height: 950px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(31rem, .96fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 4rem);
    border-bottom: 0;
    background:
        linear-gradient(126deg, transparent 0 55%, rgba(245, 219, 94, .5) 55% 100%),
        linear-gradient(126deg, var(--home-paper) 0 45%, var(--home-mint) 45% 100%);
    padding: 5.2rem clamp(2rem, 4vw, 4.5rem) 10rem;
}

.home-hero::after,
.home-contact-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .28;
    pointer-events: none;
    background-image: radial-gradient(rgba(21, 23, 25, .16) .55px, transparent .65px);
    background-size: 5px 5px;
    mix-blend-mode: multiply;
}

.home-hero-copy,
.product-shelf-stage,
.home-section-label {
    position: relative;
    z-index: 1;
}

.home-hero-copy {
    display: grid;
    justify-items: start;
    gap: 1.45rem;
    align-self: start;
    padding-top: 0;
}

.home-kicker,
.home-section-label {
    width: fit-content;
    margin: 0;
    border: 2px solid var(--home-ink);
    border-radius: 999px;
    background: rgba(248, 242, 231, .92);
    padding: .42rem .82rem;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.home-hero h1 {
    width: 100%;
    max-width: 690px;
    margin: 0;
    font-family: var(--home-display);
    font-size: clamp(5.15rem, 6.1vw, 6.15rem);
    font-weight: 900;
    letter-spacing: .015em;
    line-height: .92;
    text-transform: uppercase;
    text-wrap: balance;
}

.home-hero-lede {
    max-width: 32rem;
    margin: 0;
    font-size: clamp(1.12rem, 1.55vw, 1.42rem);
    font-weight: 650;
    line-height: 1.45;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: .35rem;
}

.home-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px solid var(--home-ink);
    border-radius: 8px;
    padding: .9rem 1.4rem;
    font-family: var(--home-display);
    font-size: 1rem;
    letter-spacing: .025em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(21, 23, 25, .2);
}

.home-button-dark {
    background: var(--home-ink);
    color: #fff;
}

.home-button-light {
    background: rgba(248, 242, 231, .94);
    color: var(--home-ink);
}

.product-shelf-stage {
    align-self: center;
    min-width: 0;
    height: clamp(25rem, 37vw, 34rem);
    margin-right: -4rem;
    margin-left: -4rem;
    filter: drop-shadow(0 22px 18px rgba(21, 23, 25, .17));
}

.product-shelf-image {
    position: absolute;
    z-index: 1;
    right: -1%;
    bottom: 6%;
    width: 102%;
    max-width: none;
    height: auto;
}

.product-shelf-cards {
    position: absolute;
    z-index: 2;
    right: 7%;
    bottom: 27%;
    width: 86%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(.65rem, 1.1vw, 1.15rem);
}

.shelf-product {
    width: clamp(7.4rem, 9.2vw, 9rem);
    aspect-ratio: .92;
    display: grid;
    place-items: center;
    border: 3px solid var(--home-ink);
    border-radius: 17px;
    box-shadow: 0 9px 0 rgba(21, 23, 25, .2);
    padding: 1rem;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.shelf-product:hover,
.shelf-product:focus-visible {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 15px 0 rgba(21, 23, 25, .18);
}

.shelf-product img {
    width: 78%;
    height: auto;
    border-radius: 15%;
}

.shelf-product-lowball { background: var(--home-yellow); }
.shelf-product-collectory { background: var(--home-ink); }
.shelf-product-buyer { background: var(--home-paper); }

.product-shelf-label {
    position: absolute;
    z-index: 3;
    right: 23%;
    bottom: 10.5%;
    width: 61%;
    color: var(--home-ink);
    font-size: clamp(.64rem, .9vw, .82rem);
    font-weight: 900;
    letter-spacing: .3em;
    text-align: center;
    text-transform: uppercase;
}

.home-products-label {
    position: absolute;
    left: clamp(2rem, 4vw, 4.5rem);
    bottom: 2.6rem;
}

.home-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 clamp(2rem, 4vw, 4.5rem) 5.5rem;
    border: 2px solid var(--home-ink);
    background: var(--home-paper);
}

.home-product-card {
    min-height: 610px;
    display: grid;
    grid-template-rows: 42% 58%;
}

.home-product-card + .home-product-card {
    border-left: 2px solid var(--home-ink);
}

.home-product-visual {
    display: grid;
    place-items: center;
    border-bottom: 0;
    padding: 2rem;
}

.home-product-lowball .home-product-visual { background: rgba(240, 221, 97, .46); }
.home-product-collectory .home-product-visual { background: var(--home-sky); }
.home-product-buyer .home-product-visual { background: #eee3cf; }

.home-product-visual img {
    width: clamp(6rem, 8.5vw, 8.2rem);
    border: 2px solid var(--home-ink);
    border-radius: 22%;
    box-shadow: 0 10px 18px rgba(21, 23, 25, .15);
}

.home-product-copy {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    justify-items: center;
    gap: 1rem;
    padding: 2rem clamp(1.2rem, 2.2vw, 2.2rem) 2.2rem;
    text-align: center;
}

.home-product-copy h3,
.home-trust h3,
.home-contact-band h2 {
    margin: 0;
    font-family: var(--home-display);
    font-weight: 900;
    letter-spacing: .025em;
    line-height: .95;
    text-transform: uppercase;
}

.home-product-copy h3 {
    font-size: clamp(2.15rem, 3.15vw, 3.35rem);
}

.home-product-status {
    width: fit-content;
    margin: 0;
    border: 2px solid var(--home-ink);
    border-radius: 999px;
    padding: .32rem .9rem;
    font-family: var(--home-display);
    font-size: .86rem;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.status-live { background: #dff0b4; }
.status-testing { background: #e3efd9; }
.status-progress { background: var(--home-yellow); }

.home-product-copy > p:not(.home-product-status) {
    max-width: 22rem;
    margin: 0;
    align-self: start;
    color: #2d3032;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
}

.home-text-link,
.home-note-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: 1rem;
    letter-spacing: .025em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration-thickness: 2px;
}

.home-trust {
    border-top: 2px solid var(--home-ink);
    border-bottom: 2px solid var(--home-ink);
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        var(--home-ink);
    background-size: 34px 34px, 34px 34px, auto;
    color: #fff;
}

.home-trust-inner {
    min-height: 500px;
    display: grid;
    align-content: center;
    gap: 2.5rem;
    padding: 3.6rem clamp(2rem, 4vw, 4.5rem);
}

.home-section-label-dark {
    border-color: rgba(255, 255, 255, .75);
    background: transparent;
    color: #fff;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-trust-grid article {
    min-height: 300px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.25rem;
    padding: 1rem clamp(1.5rem, 3vw, 4rem);
    text-align: center;
}

.home-trust-grid article + article {
    border-left: 1px solid rgba(240, 221, 97, .72);
}

.home-trust-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.home-trust-icon svg {
    width: 42px;
    height: 42px;
}

.home-trust-icon-local { color: #d9ef5a; }
.home-trust-icon-support { color: #d6edf4; }
.home-trust-icon-private { color: #f3dfbd; }

.home-trust h3 {
    font-size: clamp(1.7rem, 2vw, 2.15rem);
}

.home-trust p {
    max-width: 21rem;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    line-height: 1.55;
}

.home-notes {
    min-height: 630px;
    display: grid;
    align-items: center;
    background: rgba(248, 242, 231, .94);
}

.home-notes-inner {
    display: grid;
    gap: 1.8rem;
    padding: 4rem clamp(2rem, 4vw, 4.5rem);
}

.home-note-list {
    display: grid;
}

.home-note-row {
    min-height: 150px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(21, 23, 25, .62);
    padding: 1.2rem 1.2rem 1.2rem 0;
}

.home-note-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 2px solid var(--home-ink);
    border-radius: 13px;
    box-shadow: 0 5px 0 rgba(21, 23, 25, .14);
}

.home-note-icon-mint { background: var(--home-mint); }
.home-note-icon-sky { background: var(--home-sky); }
.home-note-icon-cream { background: #f2d79a; }

.home-note-icon svg {
    width: 34px;
    height: 34px;
}

.home-note-row h3 {
    margin: 0 0 .3rem;
    font-size: 1.22rem;
    font-weight: 850;
}

.home-note-row p {
    max-width: 38rem;
    margin: 0;
    color: #45484a;
    font-weight: 550;
    line-height: 1.45;
}

.home-note-link {
    min-width: 100px;
    justify-content: space-between;
}

.home-contact-band {
    position: relative;
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .9fr);
    align-items: center;
    gap: 4rem;
    border-top: 2px solid var(--home-ink);
    background: var(--home-clay);
    padding: 4.8rem clamp(2rem, 4vw, 4.5rem);
}

.home-contact-copy,
.home-maker-mark {
    position: relative;
    z-index: 1;
}

.home-contact-copy {
    display: grid;
    justify-items: start;
    gap: 1.3rem;
}

.home-contact-band h2 {
    max-width: 9ch;
    font-size: clamp(4.2rem, 6.3vw, 6.6rem);
}

.home-contact-band p {
    max-width: 38rem;
    margin: 0;
    color: #251710;
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.45;
}

.home-maker-mark {
    justify-self: center;
    width: min(22rem, 86%);
    aspect-ratio: 1.08;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .75rem;
    border: 5px solid var(--home-ink);
    background: linear-gradient(180deg, var(--home-paper) 0 68%, #bcd4bd 68% 100%);
    clip-path: polygon(50% 0, 95% 24%, 95% 75%, 50% 100%, 5% 75%, 5% 24%);
    filter: drop-shadow(12px 14px 0 rgba(21, 23, 25, .14));
    font-family: var(--home-display);
    font-size: 1.75rem;
    letter-spacing: .18em;
    line-height: 1;
    text-transform: uppercase;
}

.home-maker-mark > div {
    width: 82%;
    display: grid;
    grid-template-columns: 1fr 118px 1fr;
    align-items: center;
    gap: .5rem;
    text-align: center;
}

.home-maker-mark img {
    width: 118px;
    height: 118px;
}

.home-maker-mark b {
    font-size: 1.2rem;
}

@media (max-width: 1100px) {
    .home-hero {
        min-height: 875px;
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 1fr);
    }

    .home-hero h1 {
        font-size: clamp(4.6rem, 7vw, 5.6rem);
    }

    .home-product-card {
        min-height: 560px;
    }

    .home-product-copy h3 {
        font-size: 2.35rem;
    }
}

@media (max-width: 900px) {
    .home-rebuild-page {
        padding: 0;
    }

    .home-rebuild-page .site-header {
        min-height: 78px;
        flex-wrap: nowrap;
        padding: .65rem 1.25rem;
    }

    .home-rebuild-page .brand-mark {
        width: 48px;
        height: 48px;
    }

    .home-rebuild-page .brand-type {
        font-size: .86rem;
    }

    .home-rebuild-page .home-menu-toggle {
        position: relative;
        order: initial;
        width: auto;
        min-width: 64px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--home-ink);
        border-radius: 999px;
        padding: .55rem .85rem;
        font-size: .78rem;
        font-weight: 900;
        text-transform: uppercase;
        cursor: pointer;
    }

    .home-rebuild-page .site-header .site-nav {
        position: absolute;
        z-index: 90;
        top: calc(100% + .4rem);
        right: 1rem;
        width: min(17rem, calc(100vw - 2rem));
        display: none;
        gap: 0;
        overflow: visible;
        border: 2px solid var(--home-ink);
        background: var(--home-paper);
        box-shadow: 8px 8px 0 rgba(21, 23, 25, .2);
        padding: .55rem;
    }

    .home-rebuild-page .site-header .site-nav[data-open="true"] {
        display: grid;
    }

    .home-rebuild-page .site-nav a {
        min-height: 46px;
        padding: .7rem .8rem;
    }

    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        background:
            linear-gradient(154deg, transparent 0 48%, rgba(245, 219, 94, .52) 48% 62%, transparent 62%),
            linear-gradient(154deg, var(--home-paper) 0 44%, var(--home-mint) 44% 100%);
        padding: 4rem 2rem 7rem;
    }

    .home-hero-copy {
        width: min(100%, 42rem);
        padding: 0;
    }

    .home-hero h1 {
        max-width: 700px;
        font-size: clamp(4rem, 9.2vw, 4.7rem);
    }

    .product-shelf-stage {
        width: min(100%, 45rem);
        height: 26rem;
        justify-self: center;
        margin: 0;
    }

    .product-shelf-cards {
        bottom: 28%;
    }

    .shelf-product {
        width: clamp(7.2rem, 17vw, 9rem);
    }

    .home-products-label {
        left: 2rem;
        bottom: 2rem;
    }

    .home-products {
        grid-template-columns: 1fr;
        margin: 0 2rem 4rem;
    }

    .home-product-card {
        min-height: 260px;
        grid-template-columns: minmax(13rem, .78fr) minmax(0, 1.22fr);
        grid-template-rows: 1fr;
    }

    .home-product-card + .home-product-card {
        border-top: 2px solid var(--home-ink);
        border-left: 0;
    }

    .home-product-copy {
        justify-items: start;
        text-align: left;
    }

    .home-product-copy > p:not(.home-product-status) {
        max-width: 29rem;
    }

    .home-product-visual img {
        width: 8rem;
    }

    .home-trust-inner {
        min-height: auto;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-grid article {
        min-height: 220px;
        grid-template-columns: 86px minmax(0, 1fr);
        align-content: center;
        justify-items: start;
        gap: .65rem 1.6rem;
        padding: 2rem 0;
        text-align: left;
    }

    .home-trust-grid article + article {
        border-top: 1px solid rgba(240, 221, 97, .72);
        border-left: 0;
    }

    .home-trust-icon {
        grid-row: 1 / 3;
    }

    .home-trust p {
        max-width: 32rem;
    }

    .home-notes {
        min-height: auto;
    }

    .home-contact-band {
        grid-template-columns: 1fr 18rem;
        gap: 2rem;
    }

    .home-contact-band h2 {
        font-size: clamp(4rem, 9vw, 5.4rem);
    }
}

@media (max-width: 560px) {
    .home-rebuild-page .site-header {
        padding-inline: 1rem;
    }

    .home-rebuild-page .brand {
        gap: .65rem;
    }

    .home-rebuild-page .brand-mark {
        width: 44px;
        height: 44px;
    }

    .home-rebuild-page .brand-type {
        font-size: .77rem;
    }

    .home-hero {
        padding: 2.4rem 1rem 6.7rem;
    }

    .home-hero-copy {
        gap: 1.1rem;
    }

    .home-kicker,
    .home-section-label {
        padding: .38rem .68rem;
        font-size: .67rem;
    }

    .home-hero h1 {
        max-width: none;
        font-size: 2.75rem;
        line-height: .98;
    }

    .home-hero-lede {
        max-width: 22rem;
        font-size: 1rem;
    }

    .home-hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-button {
        width: 100%;
        min-height: 52px;
    }

    .product-shelf-stage {
        width: calc(100% + 1rem);
        height: 19.5rem;
        margin: -2rem -.5rem 0;
    }

    .product-shelf-image {
        right: -6%;
        bottom: 6%;
        width: 116%;
    }

    .product-shelf-cards {
        right: 1%;
        bottom: 26%;
        width: 99%;
        gap: .4rem;
    }

    .shelf-product {
        width: min(27vw, 6.5rem);
        border-width: 2px;
        border-radius: 11px;
        padding: .65rem;
        box-shadow: 0 5px 0 rgba(21, 23, 25, .18);
    }

    .product-shelf-label {
        right: 19%;
        bottom: 11%;
        width: 67%;
        font-size: .52rem;
        letter-spacing: .2em;
    }

    .home-products-label {
        left: 1rem;
        bottom: 1.75rem;
    }

    .home-products {
        margin: 0 1rem 3rem;
    }

    .home-product-card {
        min-height: 270px;
        grid-template-columns: 108px minmax(0, 1fr);
        grid-template-rows: 1fr;
    }

    .home-product-visual {
        padding: 1rem;
    }

    .home-product-visual img {
        width: 4.6rem;
    }

    .home-product-copy {
        gap: .75rem;
        padding: 1.25rem 1rem 1.4rem;
    }

    .home-product-copy h3 {
        font-size: 2rem;
    }

    .home-product-status {
        padding: .28rem .5rem;
        font-size: .67rem;
        letter-spacing: .02em;
        white-space: nowrap;
    }

    .home-product-copy > p:not(.home-product-status) {
        font-size: .86rem;
        line-height: 1.4;
    }

    .home-product-copy .home-text-link {
        font-size: .84rem;
    }

    .home-trust-inner,
    .home-notes-inner {
        padding: 3rem 1rem;
    }

    .home-trust-inner {
        gap: 1.2rem;
    }

    .home-trust-grid article {
        min-height: 220px;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: .6rem 1rem;
    }

    .home-trust-icon {
        width: 64px;
        height: 64px;
    }

    .home-trust-icon svg {
        width: 30px;
        height: 30px;
    }

    .home-trust h3 {
        font-size: 1.55rem;
    }

    .home-trust p {
        font-size: .93rem;
    }

    .home-note-row {
        min-height: 190px;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: .9rem 1rem;
        padding: 1.15rem 0;
    }

    .home-note-icon {
        width: 62px;
        height: 62px;
    }

    .home-note-icon svg {
        width: 28px;
        height: 28px;
    }

    .home-note-link {
        grid-column: 2;
        width: fit-content;
    }

    .home-contact-band {
        min-height: 680px;
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3.5rem 1rem;
    }

    .home-contact-band h2 {
        font-size: clamp(3.8rem, 16vw, 4.9rem);
    }

    .home-maker-mark {
        width: min(19rem, 92vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-rebuild-page *,
    .home-rebuild-page *::before,
    .home-rebuild-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
