:root {
    --paper: #f4e7d6;
    --paper-soft: rgba(255, 249, 240, 0.82);
    --ink: #171619;
    --ink-soft: #2a2a2d;
    --jade: #1f6a5e;
    --jade-deep: #164b43;
    --rust: #a54d30;
    --sand: #d6b27b;
    --line: rgba(23, 22, 25, 0.12);
    --shadow: 0 28px 70px rgba(23, 22, 25, 0.14);
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    position: relative;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(31, 106, 94, 0.18), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(165, 77, 48, 0.14), transparent 24%),
        linear-gradient(180deg, #f7efe2 0%, #f4e7d6 46%, #efe4d7 100%);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.frontpage .container {
    width: auto;
    max-width: 1280px;
}

a {
    color: inherit;
    -webkit-transition: color 0.28s ease, opacity 0.28s ease, background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
    transition: color 0.28s ease, opacity 0.28s ease, background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--ink);
    font-family: "Baskerville Old Face", "Palatino Linotype", "Songti SC", "SimSun", serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

p {
    margin: 0;
    color: rgba(23, 22, 25, 0.72);
    font-size: 16px;
    line-height: 1.9;
}

.frontpage .navbar-default {
    background: transparent;
    border: 0;
    box-shadow: none;
}

#mainNav {
    padding-top: 18px;
}

#mainNav .container {
    padding-left: 26px;
    padding-right: 26px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 26px;
    background: rgba(255, 251, 245, 0.76);
    box-shadow: 0 18px 42px rgba(23, 22, 25, 0.08);
}

@supports ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))) {
    #mainNav .container {
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

.frontpage .navbar-default .navbar-brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: auto;
    padding: 17px 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-badge {
    display: inline-block;
    min-width: 54px;
    margin-right: 14px;
    padding: 11px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--jade-deep) 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: center;
}

.brand-name {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.frontpage .navbar-default .nav > li > a {
    padding: 24px 16px;
    color: rgba(23, 22, 25, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.frontpage .navbar-default .nav > li > a:hover,
.frontpage .navbar-default .nav > li > a:focus {
    color: var(--rust);
}

.frontpage .navbar-default .nav > li > a.nav-entry {
    margin-top: 11px;
    padding: 13px 18px;
    border-radius: 18px;
    background: var(--ink);
    color: #ffffff;
}

.frontpage .navbar-default .nav > li > a.nav-entry:hover,
.frontpage .navbar-default .nav > li > a.nav-entry:focus {
    background: var(--jade);
    color: #ffffff;
}

.frontpage .navbar-default .navbar-toggle {
    margin-top: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(23, 22, 25, 0.14);
    border-radius: 14px;
    padding: 10px 9px;
}

.frontpage .navbar-default .navbar-toggle .icon-bar {
    background-color: var(--ink);
}

#mainbody {
    position: relative;
    overflow: hidden;
    padding-top: 126px;
}

.hero-block,
.map-block,
.entry-block {
    position: relative;
}

.hero-block {
    padding: 34px 0 76px;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(23, 22, 25, 0.05) 0, rgba(23, 22, 25, 0.05) 1px, transparent 1px, transparent 30px);
    opacity: 0.18;
    pointer-events: none;
}

.hero-orbit {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    pointer-events: none;
    -webkit-animation: orbitDrift 10s ease-in-out infinite;
    animation: orbitDrift 10s ease-in-out infinite;
}

.orbit-left {
    top: 78px;
    left: -140px;
    width: 320px;
    height: 320px;
    background: rgba(31, 106, 94, 0.12);
}

.orbit-right {
    right: -90px;
    top: 140px;
    width: 260px;
    height: 260px;
    background: rgba(165, 77, 48, 0.12);
    -webkit-animation-delay: 1.8s;
    animation-delay: 1.8s;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(620px, 1.14fr);
    gap: 40px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
}

.hero-copy {
    max-width: 510px;
    padding-top: 18px;
    -webkit-animation: liftIn 0.72s ease both;
    animation: liftIn 0.72s ease both;
}

.hero-kicker,
.section-tag {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 22, 25, 0.12);
    background: rgba(255, 252, 248, 0.76);
    color: rgba(23, 22, 25, 0.74);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin-top: 22px;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.03;
}

.headline-line {
    display: block;
}

.muted-line {
    max-width: 6.6em;
    color: var(--rust);
}

.hero-summary {
    max-width: 34em;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.95;
}

.hero-actions {
    margin-top: 32px;
}

.btn {
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-btn,
.entry-btn {
    padding: 15px 26px;
    border: 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--jade-deep) 100%);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(23, 22, 25, 0.16);
}

.hero-btn:hover,
.hero-btn:focus,
.entry-btn:hover,
.entry-btn:focus {
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.hero-outline {
    margin-left: 12px;
    padding: 14px 24px;
    border: 1px solid rgba(23, 22, 25, 0.14);
    background: rgba(255, 252, 248, 0.7);
    color: var(--ink);
}

.hero-outline:hover,
.hero-outline:focus {
    background: var(--ink);
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.hero-marquee {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-marquee span {
    padding: 11px 14px;
    border-radius: 15px;
    background: rgba(255, 251, 245, 0.72);
    border: 1px solid rgba(23, 22, 25, 0.08);
    color: rgba(23, 22, 25, 0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 16px;
    -webkit-animation: liftIn 0.82s ease both;
    animation: liftIn 0.82s ease both;
}

.stage-panel {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
}

.stage-panel-main {
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.88) 0%, rgba(245, 233, 218, 0.92) 100%);
    border: 1px solid rgba(23, 22, 25, 0.08);
    box-shadow: var(--shadow);
}

.stage-panel-main:before {
    content: "";
    position: absolute;
    right: -18px;
    top: -24px;
    width: 188px;
    height: 188px;
    border-radius: 34px;
    background: rgba(31, 106, 94, 0.12);
    -webkit-transform: rotate(14deg);
    transform: rotate(14deg);
}

.stage-topline,
.stage-columns,
.stage-route {
    position: relative;
    z-index: 1;
}

.stage-topline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    margin-bottom: 24px;
}

.stage-topline span,
.stage-card span,
.signal-label,
.signal-row em,
.meta-chip span {
    display: block;
    color: rgba(23, 22, 25, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stage-topline strong {
    font-size: 24px;
    line-height: 1.1;
}

.stage-route {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 20px;
}

.route-node {
    position: relative;
    z-index: 1;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0;
            flex: 1 1 0;
    min-width: 0;
    padding: 16px 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 22, 25, 0.08);
    box-shadow: 0 16px 28px rgba(23, 22, 25, 0.08);
    text-align: center;
}

.route-node span {
    display: block;
    margin-bottom: 8px;
    color: rgba(23, 22, 25, 0.48);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.route-node strong {
    display: block;
    font-size: 17px;
    line-height: 1.32;
}

.route-link {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    height: 2px;
    margin: 0 8px;
    background: linear-gradient(90deg, rgba(31, 106, 94, 0.14) 0%, rgba(31, 106, 94, 0.88) 100%);
}

.route-link:after {
    content: "";
    position: absolute;
    right: -1px;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--jade);
}

.stage-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
}

.stage-card {
    min-height: 0;
    padding: 20px;
    border-radius: 26px;
}

.stage-card strong {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.45;
}

.stage-card p {
    font-size: 15px;
    line-height: 1.85;
}

.ink-card {
    background: linear-gradient(155deg, #171619 0%, #2d3233 100%);
    color: #ffffff;
}

.ink-card span,
.ink-card p {
    color: rgba(255, 255, 255, 0.72);
}

.ink-card strong {
    color: #ffffff;
}

.paper-card {
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(23, 22, 25, 0.08);
}

.stage-panel-side {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, #161619 0%, #20443f 100%);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.signal-block {
    padding: 18px 16px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.signal-block .signal-label,
.signal-row em,
.meta-chip span {
    color: rgba(255, 255, 255, 0.56);
}

.signal-block strong {
    display: block;
    margin-top: 14px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.signal-block p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

.signal-list {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.signal-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 12px;
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-row:last-child {
    border-bottom: 0;
}

.signal-row span {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.map-block {
    padding: 12px 0 82px;
}

.map-header {
    max-width: 900px;
    margin-bottom: 30px;
}

.map-header h2,
.entry-copy h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4.3vw, 58px);
    line-height: 1.16;
}

.map-header h2 {
    max-width: 10.5em;
}

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

.map-card {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(23, 22, 25, 0.08);
    background: var(--paper-soft);
    box-shadow: 0 24px 48px rgba(23, 22, 25, 0.10);
    overflow: hidden;
    -webkit-animation: liftIn 0.8s ease both;
    animation: liftIn 0.8s ease both;
}

.map-card:before {
    content: "";
    position: absolute;
    right: -20px;
    top: -26px;
    width: 130px;
    height: 130px;
    border-radius: 28px;
    background: rgba(23, 22, 25, 0.06);
    -webkit-transform: rotate(12deg);
    transform: rotate(12deg);
}

.card-large {
    grid-column: span 6;
}

.card-tall {
    grid-column: span 6;
}

.card-wide {
    grid-column: span 7;
}

.map-card:last-child {
    grid-column: span 5;
}

.card-index {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(23, 22, 25, 0.46);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.map-card h3 {
    position: relative;
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.24;
}

.map-card p {
    position: relative;
}

.accent-card {
    background: linear-gradient(145deg, #171619 0%, #294740 100%);
}

.accent-card:before {
    background: rgba(255, 255, 255, 0.08);
}

.accent-card .card-index,
.accent-card p {
    color: rgba(255, 255, 255, 0.72);
}

.accent-card h3 {
    color: #ffffff;
}

.entry-block {
    padding: 0 0 96px;
}

.entry-ribbon {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) auto;
    gap: 26px;
    padding: 38px;
    border-radius: 38px;
    background: linear-gradient(135deg, #171619 0%, #204740 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.entry-ribbon:before {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 220px;
    height: 220px;
    border-radius: 44px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-transform: rotate(18deg);
    transform: rotate(18deg);
}

.entry-copy,
.entry-meta {
    position: relative;
    z-index: 1;
}

.dark-tag {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}

.entry-copy h2 {
    max-width: 9.5em;
    color: #ffffff;
}

.entry-copy p {
    max-width: 38em;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
}

.entry-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 14px;
}

.meta-chip {
    min-width: 188px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.meta-chip strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.entry-btn {
    min-width: 170px;
    padding-left: 24px;
    padding-right: 24px;
    background: linear-gradient(135deg, #f0d3a4 0%, #d8aa63 100%);
    color: var(--ink);
}

.entry-btn:hover,
.entry-btn:focus {
    color: var(--ink);
}

footer {
    padding: 28px 0 36px;
    text-align: center;
}

footer p {
    color: rgba(23, 22, 25, 0.54);
    font-size: 14px;
}

footer a {
    color: var(--jade);
}

footer a:hover,
footer a:focus {
    color: var(--rust);
}

@-webkit-keyframes liftIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(24px);
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes liftIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(24px);
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes orbitDrift {
    0%,
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(0, 12px, 0) scale(1.04);
        transform: translate3d(0, 12px, 0) scale(1.04);
    }
}

@keyframes orbitDrift {
    0%,
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(0, 12px, 0) scale(1.04);
        transform: translate3d(0, 12px, 0) scale(1.04);
    }
}

@media (min-width: 768px) {
    #mainNav .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1199px) {
    .frontpage .container {
        max-width: 1100px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .hero-stage {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@media (max-width: 991px) {
    #mainbody {
        padding-top: 122px;
    }

    .hero-block {
        padding-top: 26px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 9vw, 62px);
    }

    .hero-stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy {
        max-width: none;
    }

    .stage-panel-side {
        min-height: auto;
    }

    .map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-large,
    .card-tall,
    .card-wide,
    .map-card:last-child {
        grid-column: span 1;
    }

    .entry-ribbon {
        grid-template-columns: minmax(0, 1fr);
    }

    .entry-meta {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
    }
}

@media (max-width: 767px) {
    #mainNav {
        padding-top: 10px;
    }

    #mainNav .container {
        padding-left: 18px;
        padding-right: 18px;
        border-radius: 22px;
    }

    .frontpage .navbar-default .navbar-collapse {
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .frontpage .navbar-default .nav > li > a {
        padding: 13px 6px;
        text-align: center;
    }

    .frontpage .navbar-default .nav > li > a.nav-entry {
        margin: 8px 0 14px;
        text-align: center;
    }

    #mainbody {
        padding-top: 110px;
    }

    .hero-block {
        padding-bottom: 60px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        margin: 0 0 12px;
    }

    .hero-outline {
        margin-left: 0;
    }

    .stage-route {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .route-node {
        width: 100%;
        -webkit-box-flex: 0;
            -ms-flex: none;
                flex: none;
    }

    .route-link {
        width: 2px;
        height: 26px;
        margin: 10px 0;
        background: linear-gradient(180deg, rgba(31, 106, 94, 0.14) 0%, rgba(31, 106, 94, 0.88) 100%);
    }

    .route-link:after {
        left: -5px;
        right: auto;
        top: auto;
        bottom: -1px;
    }

    .stage-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .map-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .entry-ribbon {
        padding: 28px 24px;
    }

    .meta-chip,
    .entry-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 479px) {
    .brand-name {
        max-width: 180px;
    }

    .map-header h2,
    .entry-copy h2 {
        font-size: 30px;
    }

    .stage-panel-main,
    .entry-ribbon,
    .map-card {
        padding: 22px;
    }
}
