/* ==========================================================================
   SHARED SKYUUROKU ATLAS THEME
   ========================================================================== */

:root {
    --atlas-ink: #241e1a;
    --atlas-ink-soft: #62564d;
    --atlas-parchment: #efe0bd;
    --atlas-parchment-light: #fff8e8;
    --atlas-green: #486b5a;
    --atlas-green-dark: #203d36;
    --atlas-blue: #8ed9dc;
    --atlas-gold: #d7a94c;
    --atlas-border: rgba(36, 30, 26, 0.24);
    --atlas-shadow: 0 14px 34px rgba(55, 40, 24, 0.16);
}

.atlas-page {
    min-height: 100vh;
    display: block;
    margin: 0;
    padding: 28px 24px 48px;
    color: var(--atlas-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 248, 232, 0.78), transparent 30%),
        linear-gradient(135deg, #d8c292 0%, #f1e3c0 48%, #c7d0b5 100%);
    font-family: "Martel", Georgia, serif;
    -webkit-font-smoothing: antialiased;
}

.atlas-page *,
.atlas-page *::before,
.atlas-page *::after {
    box-sizing: border-box;
}

.atlas-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.atlas-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
    padding: 10px 14px;
    border: 1px solid var(--atlas-border);
    border-radius: 5px;
    background: rgba(255, 248, 232, 0.68);
    box-shadow: 0 5px 18px rgba(64, 49, 32, 0.1);
    text-align: left;
}

.atlas-brand {
    color: var(--atlas-green-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.atlas-brand:hover,
.atlas-brand:focus-visible {
    color: var(--atlas-ink);
    text-decoration: underline;
}

.atlas-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}

.atlas-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--atlas-ink-soft);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.atlas-nav-link:hover,
.atlas-nav-link:focus-visible {
    color: var(--atlas-ink);
    background: rgba(255, 255, 255, 0.62);
    outline: none;
}

.atlas-nav-link.is-current {
    color: var(--atlas-parchment-light);
    background: var(--atlas-green-dark);
}

.atlas-kicker {
    color: var(--atlas-green);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.landing-hero .atlas-kicker {
    text-transform: none;
}

.atlas-footer {
    margin-top: 34px;
    color: var(--atlas-ink-soft);
    font-size: 0.7rem;
    text-align: center;
    border-top: 0;
    padding-top: 0;
}

.atlas-footer p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--atlas-ink-soft);
    line-height: 1.7;
}

.atlas-footer .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.atlas-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--atlas-border);
    border-radius: 999px;
    color: var(--atlas-ink-soft);
    background: rgba(255, 248, 232, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.atlas-footer .social-link:hover,
.atlas-footer .social-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--atlas-green);
    color: var(--atlas-green-dark);
    background: rgba(255, 255, 255, 0.68);
}

.atlas-footer .etsy-mark {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid currentColor;
    border-radius: 5px 5px 7px 7px;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.atlas-footer .instagram-mark {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.atlas-footer .instagram-mark circle:last-child {
    fill: currentColor;
    stroke: none;
}

/* Landing page */
.landing-main {
    max-width: 1060px;
    margin: 0 auto;
}

.landing-hero {
    max-width: 760px;
    margin: 48px auto 40px;
    text-align: center;
}

.landing-hero h1 {
    margin: 12px 0 10px;
    color: var(--atlas-ink);
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.08;
    text-shadow: 0 2px 0 rgba(255, 248, 232, 0.62);
}

.landing-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--atlas-ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.landing-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-route-card {
    position: relative;
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 26px;
    overflow: hidden;
    border: 2px solid var(--atlas-ink);
    border-radius: 5px;
    color: var(--atlas-ink);
    background:
        linear-gradient(rgba(255, 248, 232, 0.88), rgba(239, 224, 189, 0.92)),
        var(--atlas-parchment-light);
    box-shadow: var(--atlas-shadow);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.landing-route-card::after {
    position: absolute;
    right: -30px;
    bottom: -45px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(72, 107, 90, 0.25);
    border-radius: 50%;
    content: "";
}

.landing-route-card:hover,
.landing-route-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(55, 40, 24, 0.23);
    outline: none;
}

.landing-route-card:nth-child(2) {
    background:
        linear-gradient(rgba(223, 244, 237, 0.88), rgba(198, 222, 205, 0.92)),
        var(--atlas-parchment-light);
}

.route-card-number {
    color: var(--atlas-gold);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.landing-route-card h2 {
    max-width: 330px;
    margin: 26px 0 10px;
    color: var(--atlas-ink);
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    line-height: 1.18;
}

.landing-route-card p {
    max-width: 390px;
    margin: 0;
    color: var(--atlas-ink-soft);
    font-family: Georgia, serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

.route-card-action {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 24px;
    color: var(--atlas-green-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.landing-note {
    margin: 28px auto 0;
    color: var(--atlas-ink-soft);
    font-family: Georgia, serif;
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 1050px) {
    .landing-route-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-route-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .atlas-page {
        padding: 16px 14px 34px;
    }

    .atlas-site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 22px;
    }

    .atlas-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .landing-hero {
        margin: 34px auto 28px;
    }

    .landing-route-grid {
        grid-template-columns: 1fr;
    }

    .landing-route-card:last-child {
        grid-column: auto;
    }

    .landing-route-card {
        min-height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-route-card,
    .atlas-footer .social-link {
        transition: none;
    }
}