.home-hero {
    --home-ink: #1b171a;
    --home-muted: #5c5157;
    --home-gold: #c79a46;
    --home-coral: #c96c59;
    --home-sage: #7f9587;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(72rem 34rem at 10% 4%, rgba(199, 154, 70, 0.15), transparent 58%),
        radial-gradient(58rem 30rem at 92% 0%, rgba(127, 149, 135, 0.18), transparent 62%),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 92%);
}

.home-hero__row {
    position: relative;
}

.home-hero__eyebrow,
.home-edit__eyebrow,
.home-latest__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8d5b31;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-hero__eyebrow {
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(199, 154, 70, 0.38);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.home-hero h1 {
    max-width: 19ch;
    margin-inline: auto;
    color: var(--home-ink);
}

.home-hero__copy > p:not(.home-hero__eyebrow) {
    max-width: 68ch;
    margin-inline: auto;
    color: var(--home-muted);
}

.home-hero .btn-primary {
    border: 1px solid var(--home-ink);
    background: var(--home-ink);
    box-shadow: 0 14px 30px rgba(27, 23, 26, 0.16);
}

.home-hero .btn-primary:hover {
    border-color: var(--home-coral);
    background: var(--home-coral);
    color: #ffffff;
}

.home-hero__frame {
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d6aa55 0%, #c96c59 42%, #7f9587 100%);
    box-shadow: 0 22px 54px rgba(36, 27, 31, 0.18);
}

.home-hero__image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #eee8e2;
}

.home-feature {
    position: relative;
    overflow: hidden;
}

.home-feature .container {
    position: relative;
    z-index: 1;
}

.home-feature__index {
    margin-bottom: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.home-feature__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 18px 42px rgba(35, 28, 31, 0.16);
}

.home-feature li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.home-feature li svg {
    flex: none;
    margin-top: 0.3rem;
}

.home-feature--gold {
    background: linear-gradient(135deg, #fff9ef 0%, #f7ecdb 100%);
}

.home-feature--gold .home-feature__index {
    color: #9a6b22;
}

.home-feature--rose {
    background: linear-gradient(135deg, #fff5f2 0%, #f7e8e8 100%);
}

.home-feature--rose .home-feature__index {
    color: #a95448;
}

.home-feature--sage {
    background: linear-gradient(135deg, #f5faf6 0%, #e6f0e8 100%);
}

.home-feature--sage .home-feature__index {
    color: #557463;
}

.home-feature--ink {
    background: linear-gradient(135deg, #1b161b 0%, #2b1d2d 100%);
}

.home-feature--ink h2,
.home-feature--ink p,
.home-feature--ink li {
    color: #f7f0f3;
}

.home-feature--ink .home-feature__index,
.home-feature--ink li svg {
    color: #e0b65e;
}

.home-feature--ink .home-feature__image {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.home-feature--ink .btn-primary {
    border: 1px solid #f4ecef;
    background: #f4ecef;
    color: #211a21;
}

.home-feature--ink .btn-primary:hover {
    border-color: #e0b65e;
    background: #e0b65e;
    color: #211a21;
}

.home-edit {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8f5 100%);
}

.home-edit__eyebrow,
.home-latest__eyebrow {
    color: var(--home-coral, #c96c59);
}

.home-edit__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-edit__card {
    grid-column: span 6;
    overflow: hidden;
    border: 1px solid rgba(45, 35, 39, 0.09);
    border-top: 4px solid #c79a46;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(42, 32, 36, 0.1);
}

.home-edit__card--1 {
    grid-row: span 2;
}

.home-edit__card--2 {
    border-top-color: #c96c59;
}

.home-edit__card--3 {
    border-top-color: #7f9587;
}

.home-edit__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
}

.home-edit__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 300ms ease;
}

.home-edit__card--1 .home-edit__image {
    aspect-ratio: 1 / 1;
}

.home-edit__link:hover .home-edit__image {
    transform: scale(1.025);
}

.home-edit__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
}

.home-edit__label {
    color: #9a6b22;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-edit__card--2 .home-edit__label {
    color: #a95448;
}

.home-edit__card--3 .home-edit__label {
    color: #557463;
}

.home-edit__title {
    color: var(--home-ink, #1b171a);
    font-family: var(--font-secondary, "Signika", sans-serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-edit__text {
    color: var(--home-muted, #5c5157);
    line-height: 1.65;
}

.home-edit__more {
    margin-top: auto;
    padding-top: 0.65rem;
    color: var(--home-ink, #1b171a);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(201, 108, 89, 0.7);
    text-underline-offset: 0.28em;
}

.home-latest {
    background: linear-gradient(180deg, #fbf8f5 0%, #ffffff 100%);
}

.home-latest img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(41, 32, 36, 0.09);
}

.home-latest h4 a {
    transition: color 200ms ease;
}

.home-latest h4 a:hover {
    color: var(--home-coral, #c96c59);
}

.home-latest .btn-outline-primary:hover {
    border-color: var(--home-ink, #1b171a);
    background: var(--home-ink, #1b171a);
    color: #ffffff;
}

.dark .home-hero {
    background:
        radial-gradient(72rem 34rem at 10% 4%, rgba(199, 154, 70, 0.13), transparent 58%),
        radial-gradient(58rem 30rem at 92% 0%, rgba(127, 149, 135, 0.14), transparent 62%),
        linear-gradient(180deg, #171517 0%, #1d1b1d 100%);
}

.dark .home-hero h1,
.dark .home-edit__title,
.dark .home-edit__more {
    color: #ffffff;
}

.dark .home-hero__copy > p:not(.home-hero__eyebrow),
.dark .home-edit__text {
    color: #c6bbbf;
}

.dark .home-hero__eyebrow {
    border-color: rgba(199, 154, 70, 0.45);
    background: rgba(255, 255, 255, 0.05);
}

.dark .home-feature--gold {
    background: linear-gradient(135deg, #211b16 0%, #2d2116 100%);
}

.dark .home-feature--rose {
    background: linear-gradient(135deg, #24191b 0%, #321e23 100%);
}

.dark .home-feature--sage {
    background: linear-gradient(135deg, #17211b 0%, #1d2b22 100%);
}

.dark .home-feature h2,
.dark .home-feature p,
.dark .home-feature li {
    color: #f4edf0;
}

.dark .home-edit,
.dark .home-latest {
    background: linear-gradient(180deg, #1b191b 0%, #211e21 100%);
}

.dark .home-edit__card {
    border-color: rgba(255, 255, 255, 0.1);
    background: #262226;
}

@media (max-width: 1023px) {
    .home-edit__card,
    .home-edit__card--1 {
        grid-column: span 6;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .home-hero {
        padding-top: 2.5rem;
    }

    .home-hero__frame {
        padding: 5px;
    }

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

    .home-edit__card,
    .home-edit__card--1 {
        grid-column: auto;
    }

    .home-edit__card--1 .home-edit__image,
    .home-edit__image {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-edit__image,
    .home-latest h4 a {
        transition: none;
    }
}
