/* ============================================================
   HOMEPAGE
   ============================================================ */

.gb-homepage {
    background: var(--geb-snow);
}

.gb-home-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .gb-home-shell {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .gb-home-shell {
        padding: 0 48px;
    }
}

.gb-home-section {
    padding: 112px 0;
    background: var(--geb-snow);
}

.gb-home-band {
    padding: 96px 0;
    background: var(--bg-sunk);
}

@media (max-width: 767px) {
    .gb-home-section {
        padding: 80px 0;
    }

    .gb-home-band {
        padding: 72px 0;
    }
}

.gb-home-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: linear-gradient(135deg, #f2eee7 0%, #faf8f5 48%, #e9e2d7 100%);
}

.gb-home-hero.has-hero-image {
    background-image: var(--gb-home-hero-image);
    background-size: cover;
    background-position: center;
}

.gb-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.gb-home-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
}

.gb-home-hero__content {
    width: 100%;
    max-width: 560px;
}

.gb-home-hero__eyebrow {
    color: var(--geb-charcoal);
}

.gb-home-hero__title {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: clamp(2.65rem, 5vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.98;
    max-width: 11ch;
}

.gb-home-hero__text {
    margin: 20px 0 0;
    max-width: 46ch;
    font-family: var(--ff-serif);
    font-size: clamp(1.04rem, 1.75vw, 1.2rem);
    line-height: 1.75;
    color: var(--fg-2);
}

.gb-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.gb-home-room-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .gb-home-room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

.gb-room-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ebe7df 0%, #d9d1c4 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-overlay);
    transform: translateZ(0);
    transition: transform 0.28s var(--ease-calm), box-shadow 0.28s var(--ease-calm);
}

.gb-room-card:hover,
.gb-room-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.gb-room-card__media,
.gb-room-card__overlay,
.gb-room-card__content {
    position: absolute;
    inset: 0;
}

.gb-room-card__media {
    z-index: 0;
}

.gb-room-image,
.gb-room-image--tone-sage,
.gb-room-image--tone-mist,
.gb-room-image--tone-sand,
.gb-room-image--tone-clay,
.gb-room-image--tone-stone {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gb-room-image--tone-sage {
    background: linear-gradient(135deg, #c6d0b0 0%, #9ca96c 48%, #6f7d47 100%);
}

.gb-room-image--tone-mist {
    background: linear-gradient(135deg, #ebefea 0%, #d1dbd0 50%, #a9b6a5 100%);
}

.gb-room-image--tone-sand {
    background: linear-gradient(135deg, #f3efe7 0%, #e2d2c0 52%, #c8b195 100%);
}

.gb-room-image--tone-clay {
    background: linear-gradient(135deg, #f1e6dd 0%, #dbc0ab 52%, #b38f78 100%);
}

.gb-room-image--tone-stone {
    background: linear-gradient(135deg, #f5f5f3 0%, #ddd7cf 52%, #b9b4ad 100%);
}

.gb-room-card__image,
.gb-product-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gb-room-card__image--placeholder,
.gb-product-card__image--placeholder {
    background: linear-gradient(135deg, #f4f1eb 0%, #ddd4c7 100%);
}

.gb-room-card__overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.72) 100%);
}

.gb-room-card__content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.gb-room-card__eyebrow {
    margin: 0 0 10px;
    font-family: var(--ff-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.gb-room-card__title {
    font-family: var(--ff-sans);
    font-size: clamp(1.6rem, 2vw, 1.75rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.gb-home-featured-products__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.gb-home-featured-products__head .gb-section-header {
    margin-bottom: 0;
}

.gb-home-featured-products__view-all {
    flex-shrink: 0;
    font-family: var(--ff-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--geb-charcoal);
}

.gb-home-featured-products__view-all:hover,
.gb-home-featured-products__view-all:focus-visible {
    color: var(--geb-green-dark);
}

.gb-home-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 720px) {
    .gb-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 1100px) {
    .gb-home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.gb-product-card {
    height: 100%;
    border: 1px solid rgba(51, 51, 51, 0.08);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.05);
    transition: transform 0.24s var(--ease-calm), box-shadow 0.24s var(--ease-calm);
}

.gb-product-card:hover,
.gb-product-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.1);
}

.gb-product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gb-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f1eb 0%, #e1d9ce 100%);
}

.gb-product-card__image {
    position: absolute;
    inset: 0;
}

.gb-product-card__body {
    display: grid;
    gap: 10px;
    padding: 22px 22px 24px;
}

.gb-product-card__eyebrow {
    font-family: var(--ff-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--geb-green-dark);
}

.gb-product-card__title {
    font-family: var(--ff-sans);
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--geb-charcoal);
}

.gb-product-card__price {
    font-family: var(--ff-serif);
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--fg-2);
}

.gb-home-band__inner {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 960px) {
    .gb-home-band__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 48px;
    }
}

.gb-home-band__media {
    position: relative;
    min-height: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-overlay);
}

.gb-home-band__media .gb-room-image {
    position: absolute;
    inset: 0;
}

.gb-home-band__content {
    max-width: 560px;
}

.gb-home-band__eyebrow {
    color: var(--geb-green-dark);
}

.gb-home-band__title {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.gb-home-band__text {
    margin: 18px 0 0;
    font-family: var(--ff-serif);
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--fg-2);
}

.gb-home-band__quote {
    margin: 24px 0 28px;
    padding-left: 20px;
    border-left: 1px solid rgba(51, 51, 51, 0.12);
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--geb-charcoal);
}

.gb-home-band__quote p {
    margin: 0;
}

.gb-home-newsletter__inner {
    max-width: 500px;
}

.gb-home-newsletter .gb-section-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gb-home-newsletter .gb-section-header__text {
    margin-left: auto;
    margin-right: auto;
}

.gb-newsletter-form {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .gb-newsletter-form {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }
}

.gb-newsletter-form__input {
    min-height: 52px;
    padding: 14px 18px;
    border: 1px solid rgba(51, 51, 51, 0.14);
    border-radius: 999px;
    background: #fff;
    font-family: var(--ff-sans);
    font-size: 0.98rem;
    color: var(--geb-charcoal);
    transition: border-color 0.2s var(--ease-calm), box-shadow 0.2s var(--ease-calm);
}

.gb-newsletter-form__input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.gb-newsletter-form__input:focus {
    border-color: var(--geb-green-dark);
    box-shadow: 0 0 0 3px rgba(13, 90, 52, 0.12);
    outline: 0;
}

.gb-newsletter-form__button {
    width: 100%;
}

@media (min-width: 640px) {
    .gb-newsletter-form__button {
        width: auto;
        min-width: 180px;
    }
}

.gb-home-empty {
    padding: 28px;
    border: 1px solid rgba(51, 51, 51, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.gb-home-empty p {
    margin: 0;
    max-width: none;
    font-family: var(--ff-serif);
    color: var(--fg-2);
}

.gb-home-empty--products {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.gb-home-empty__link {
    font-family: var(--ff-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--geb-charcoal);
}

.gb-home-empty__link:hover,
.gb-home-empty__link:focus-visible {
    color: var(--geb-green-dark);
}

@media (max-width: 959px) {
    .gb-home-hero__inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .gb-home-hero__content {
        max-width: 100%;
    }

    .gb-home-featured-products__head {
        flex-direction: column;
        align-items: flex-start;
    }
}
