/* =========================================
   HOMEPAGE (Moss LED A)
   Loaded on the front page only. Every rule is scoped to .ge-home
   or body.home so inner pages are unaffected.
========================================= */

/* Newsreader, SIL Open Font License 1.1 (see assets/fonts/newsreader/OFL.txt).
   Latin subset, regular and italic only. */
@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/newsreader/newsreader-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Newsreader";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/newsreader/newsreader-latin-400-italic.woff2") format("woff2");
}

body.home {
    background: #0e1612;
}

.ge-home {
    --ge-moss: #0e1612;
    --ge-layer: #131e18;
    --ge-pine: #1e2b24;
    --ge-sage: #3a4a3c;
    --ge-olive: #6b6f54;
    --ge-ember: #7b4a37;
    --ge-sunset: #c9774a;
    --ge-sunset-light: #dd946a;
    --ge-stone: #d8c9b2;
    --ge-bark: #19140f;
    --ge-muted: #b4ab9a;
    --ge-soft: #9a927f;
    --ge-line: rgba(216, 201, 178, 0.12);
    --ge-line-strong: rgba(216, 201, 178, 0.26);
    --ge-display: "Newsreader", Georgia, "Times New Roman", serif;

    display: block;
    background: var(--ge-moss);
    color: var(--ge-stone);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:where(.ge-home) h1,
:where(.ge-home) h2,
:where(.ge-home) h3,
:where(.ge-home) p {
    margin: 0;
}

:where(.ge-home) h1,
:where(.ge-home) h2,
:where(.ge-home) h3 {
    font-family: var(--ge-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

:where(.ge-home) a {
    color: inherit;
}

.ge-home a:focus-visible {
    outline: 2px solid var(--ge-sunset-light);
    outline-offset: 3px;
}

:where(.ge-home) ul,
:where(.ge-home) ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ge-wrap {
    width: min(100% - 48px, 1248px);
    margin: 0 auto;
}

.ge-home-icon {
    flex: none;
    width: 20px;
    height: 20px;
}

/* Buttons */
.ge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.ge-btn--primary {
    background: var(--ge-sunset);
    color: var(--ge-moss);
}

.ge-btn--primary:hover {
    background: var(--ge-sunset-light);
}

.ge-btn--secondary {
    border-color: var(--ge-line-strong);
    color: var(--ge-stone);
}

.ge-btn--secondary:hover {
    border-color: var(--ge-stone);
}

/* Section heads */
.ge-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 6px 20px;
    margin-bottom: 20px;
}

.ge-head__title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    line-height: 1.1;
}

.ge-kicker {
    display: block;
    margin-bottom: 8px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ge-sunset-light);
}

.ge-more {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 6px;
    min-height: 44px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ge-stone);
    text-decoration: underline;
    text-decoration-color: var(--ge-sunset);
    text-underline-offset: 5px;
}

/* Introduction */
.ge-intro {
    padding: 52px 0 48px;
    background:
        radial-gradient(ellipse 45% 90% at 0% 100%, rgba(123, 74, 55, 0.16), transparent 70%),
        var(--ge-moss);
}

.ge-intro__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: end;
}

.ge-intro__grid > * {
    min-width: 0;
}

.ge-intro__place {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ge-muted);
}

.ge-intro__place::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ge-sunset);
}

.ge-intro__title {
    margin-top: 16px;
    font-size: clamp(2.05rem, 1.5rem + 2.2vw, 3.7rem);
    line-height: 1.04;
}

.ge-intro__title em {
    display: block;
    font-style: italic;
    color: #e0a581;
}

.ge-intro__lead {
    max-width: 40ch;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ge-muted);
}

.ge-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Stays */
.ge-stays {
    padding: 40px 0 44px;
    background: var(--ge-layer);
    border-top: 1px solid var(--ge-line);
    border-bottom: 1px solid var(--ge-line);
}

.ge-stays__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ge-stay {
    display: grid;
    grid-template-columns: 42% 1fr;
    height: 100%;
    min-height: 196px;
    overflow: hidden;
    background: var(--ge-pine);
    border: 1px solid var(--ge-line);
    border-radius: 16px;
    color: var(--ge-stone);
    text-decoration: none;
    transition: border-color 0.2s;
}

.ge-stay:hover {
    border-color: rgba(221, 148, 106, 0.6);
}

.ge-stay__photo {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    background: linear-gradient(170deg, #4a5a48, #26332b);
    color: rgba(216, 201, 178, 0.45);
}

.ge-stays__grid li:nth-child(2) .ge-stay__photo {
    background: linear-gradient(170deg, #5a5340, #2c2b22);
}

.ge-stay__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ge-stay__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 18px 20px;
}

.ge-stay__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ge-muted);
}

.ge-stay__name {
    margin-top: 2px;
    font-size: 24px;
    line-height: 1.1;
}

.ge-stay__text {
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--ge-muted);
}

.ge-stay__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    color: var(--ge-sunset-light);
}

.ge-stay__go .ge-home-icon {
    transition: transform 0.2s;
}

.ge-stay:hover .ge-stay__go .ge-home-icon {
    transform: translateX(3px);
}

/* Guide directory */
.ge-guides {
    padding: 44px 0 48px;
    background: var(--ge-moss);
}

.ge-guides__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.ge-guides__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding-top: 12px;
}

.ge-guide {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--ge-line);
    color: var(--ge-stone);
    text-decoration: none;
}

.ge-guides__list li:first-child .ge-guide {
    border-top: 1px solid var(--ge-line);
}

.ge-guide__num {
    font-family: var(--ge-display);
    font-size: 24px;
    font-style: italic;
    line-height: 1;
    color: var(--ge-soft);
    transition: color 0.2s;
}

.ge-guide__question,
.ge-guide__title {
    display: block;
}

.ge-guide__question {
    font-family: var(--ge-display);
    font-size: 21px;
    line-height: 1.2;
}

.ge-guide__title {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ge-muted);
}

.ge-guide__arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--ge-line-strong);
    border-radius: 50%;
    color: var(--ge-stone);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ge-guide:hover .ge-guide__num {
    color: var(--ge-sunset-light);
}

.ge-guide:hover .ge-guide__question {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--ge-sunset);
    text-underline-offset: 4px;
}

.ge-guide:hover .ge-guide__arrow {
    background: var(--ge-sunset);
    border-color: var(--ge-sunset);
    color: var(--ge-moss);
}

/* What's new */
.ge-latest {
    padding: 40px 0 44px;
    background: var(--ge-layer);
    border-top: 1px solid var(--ge-line);
}

.ge-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ge-post {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-top: 16px;
    border-top: 2px solid var(--ge-line-strong);
    color: var(--ge-stone);
    text-decoration: none;
}

.ge-post.is-pinned {
    border-top-color: var(--ge-sunset);
}

.ge-post__thumb {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(150deg, #46574a, #24302a);
}

.ge-post.is-pinned .ge-post__thumb {
    background: linear-gradient(150deg, #5a4536, #2c241d);
}

.ge-post__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ge-post__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.ge-post__pin {
    padding: 4px 7px;
    border-radius: 4px;
    background: var(--ge-ember);
    color: #f3e9da;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ge-post__title {
    font-size: 18.5px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.ge-post:hover .ge-post__title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--ge-sunset);
    text-underline-offset: 4px;
}

.ge-post__meta {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--ge-muted);
}

/* Shop */
.ge-shop {
    background: var(--ge-bark);
    border-top: 1px solid rgba(201, 119, 74, 0.28);
}

.ge-shop__box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 30px 0;
}

.ge-shop__text .ge-kicker {
    margin-bottom: 6px;
}

.ge-shop__title {
    font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
    line-height: 1.15;
}

.ge-shop__collections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ge-shop__collections li {
    padding: 9px 14px;
    border: 1px dashed var(--ge-line-strong);
    border-radius: 10px;
}

.ge-shop__name,
.ge-shop__status {
    display: block;
}

.ge-shop__name {
    font-family: var(--ge-display);
    font-size: 16px;
    line-height: 1.2;
}

.ge-shop__status {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ge-muted);
}

/* Responsive */
@media (max-width: 1099px) {
    .ge-guides__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ge-guides__head {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 16px;
        padding: 0;
    }

    .ge-shop__box {
        grid-template-columns: 1fr auto;
    }

    .ge-shop__collections {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .ge-intro__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ge-stays__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ge-latest__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ge-post {
        padding: 14px 0;
        border-top-width: 1px;
    }

    .ge-post.is-pinned {
        border-top-width: 2px;
    }
}

@media (max-width: 767px) {
    .ge-wrap {
        width: min(100% - 32px, 1248px);
    }

    .ge-head {
        margin-bottom: 14px;
    }

    .ge-more {
        font-size: 14px;
    }

    .ge-intro {
        padding: 24px 0 26px;
    }

    .ge-intro__title {
        margin-top: 12px;
    }

    .ge-intro__lead {
        font-size: 15.5px;
    }

    .ge-intro__actions {
        flex-wrap: nowrap;
        margin-top: 16px;
    }

    .ge-intro__actions .ge-btn {
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 14.5px;
    }

    .ge-stays {
        padding: 22px 0 24px;
    }

    .ge-stay {
        grid-template-columns: 104px 1fr;
        min-height: 0;
        border-radius: 14px;
    }

    .ge-stay__photo {
        min-height: 126px;
    }

    .ge-stay__body {
        gap: 3px;
        padding: 12px 14px;
    }

    .ge-stay__name {
        font-size: 19px;
    }

    .ge-stay__text {
        font-size: 13.5px;
        line-height: 1.35;
    }

    .ge-stay__go {
        padding-top: 6px;
        font-size: 14px;
    }

    .ge-guides {
        padding: 26px 0 30px;
    }

    .ge-guides__head {
        margin-bottom: 12px;
    }

    .ge-guide {
        grid-template-columns: 30px minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 12px 2px;
    }

    .ge-guide__num {
        font-size: 20px;
    }

    .ge-guide__question {
        font-size: 17.5px;
    }

    .ge-guide__title {
        margin-top: 3px;
        font-size: 12.5px;
    }

    .ge-guide__arrow {
        width: 34px;
        height: 34px;
    }

    .ge-latest {
        padding: 26px 0 28px;
    }

    .ge-post {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .ge-post__title {
        font-size: 17px;
    }

    .ge-shop__box {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    .ge-shop__collections {
        display: grid;
        grid-row: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .ge-shop__collections li {
        padding: 8px 9px;
    }

    .ge-shop__name {
        font-size: 14px;
    }

    .ge-shop__status {
        font-size: 11px;
    }

    .ge-shop__cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ge-home *,
    .ge-home *::before,
    .ge-home *::after {
        transition: none !important;
    }
}
