/* ==========================================================================
   Huajuan homepage — one long scroll
   Scoped to .hj-home so the parent theme's inner pages are untouched.
   ========================================================================== */

.hj-home {
    --hj-ease: cubic-bezier(.22, .72, .2, 1);
    position: relative;
    width: 100%;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--song);
    line-height: 1.9;
    overflow-x: hidden;
}

.hj-home *,
.hj-home *::before,
.hj-home *::after { box-sizing: border-box; }

.hj-home img { display: block; max-width: 100%; }
.hj-home a { color: inherit; text-decoration: none; }
.hj-home ::selection { background: var(--zhu); color: var(--paper); }

.hj-wrap { width: 100%; max-width: 100% !important; margin: 0 auto; padding: 0 clamp(20px, 3.2vw, 48px); }

.hj-home .hj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    padding: 13px 26px;
    background: var(--zhu);
    color: #FCEEDC;
    border: 1px solid var(--zhu);
    border-radius: 0;
    font-family: var(--song);
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(252, 238, 220, .28);
    transition: .35s var(--hj-ease);
    line-height: 1.4;
}

.hj-home .hj-btn:hover { background: var(--ink); border-color: var(--ink); color: #FCEEDC; }

.hj-home .hj-ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
    box-shadow: none;
}

.hj-home .hj-ghost:hover { background: rgba(252, 238, 220, .14); border-color: currentColor; color: #FCEEDC; }
.hj-home .hj-ink { color: var(--ink); }
.hj-home .hj-ink:hover { color: #FCEEDC; }

/* Stamps ------------------------------------------------------------------ */
.hj-stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--zhu);
    color: #FCEEDC;
    font-family: var(--song);
    text-transform: uppercase;
    letter-spacing: .12em;
    line-height: 1.3;
    box-shadow: inset 0 0 0 2px rgba(252, 238, 220, .34);
    padding: 6px;
    flex: none;
}
.hj-stamp b { font-weight: 600; font-size: 11px; display: block; }
.hj-stamp i { font-style: normal; font-size: 8px; letter-spacing: .14em; opacity: .85; display: block; }
.hj-stamp-lg { width: 62px; height: 62px; transform: rotate(-3deg); }
.hj-stamp-lg b { font-size: 14px; }
.hj-stamp-lg i { font-size: 7px; }

/* Hero -------------------------------------------------------------------- */
.hj-hero {
    position: relative;
    height: clamp(440px, 58vh, 600px);
    min-height: 440px;
    max-height: 620px;
    overflow: hidden;
    background: var(--qing);
}
.hj-hero::after {
    content: "";
    position: absolute;
    inset: 18px 20px 22px;
    border: 1px solid rgba(216, 188, 133, .3);
    z-index: 6;
    pointer-events: none;
}
.hj-hero-img { position: absolute; inset: 0; }
.hj-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(.92) contrast(1.02);
}
.hj-hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(24, 20, 14, .88) 0%, rgba(24, 20, 14, .6) 28%, rgba(24, 20, 14, .12) 54%, rgba(24, 20, 14, .34) 100%),
        linear-gradient(180deg, rgba(24, 20, 14, .5) 0%, rgba(24, 20, 14, 0) 26%, rgba(24, 20, 14, .12) 76%, rgba(24, 20, 14, .6) 100%);
}

.hj-rod {
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    z-index: 5;
    background: linear-gradient(180deg, #5A3F27, #3A2717 60%, #241608);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.hj-rod-top { top: 0; }
.hj-rod-bottom { bottom: 0; }
.hj-rod::before,
.hj-rod::after {
    content: "";
    position: absolute;
    top: -4px;
    width: 22px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #C9A468, #8B6A38);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.hj-rod::before { left: 8px; }
.hj-rod::after { right: 8px; }

.hj-hero-ti {
    position: absolute;
    left: 6%;
    top: 36%;
    transform: translateY(-50%);
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 580px;
}

.hj-stamp-lg { width: 50px; height: 50px; transform: rotate(-3deg); }
.hj-stamp-lg b { font-size: 12px; }
.hj-stamp-lg i { font-size: 6.5px; }

.hj-headline {
    margin: 0;
    font-family: var(--song);
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.24;
    letter-spacing: .01em;
    color: #FBF3E2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}
.hj-headline em { font-style: normal; color: #F0CF92; }

.hj-hero-side {
    position: absolute;
    left: 6.2%;
    bottom: 42px;
    z-index: 8;
    max-width: 520px;
}
.hj-hero-side .hj-lead {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.85;
    color: rgba(251, 243, 226, .82);
    border-left: 1px solid rgba(216, 188, 133, .55);
    padding-left: 14px;
    max-width: 28em;
}
.hj-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hj-hero-cta .hj-btn { padding: 10px 22px; font-size: 11px; }
.hj-hero-cta .hj-ghost {
    background: rgba(20, 17, 12, .28);
    border-color: rgba(216, 188, 133, .7);
    color: #F3E3C6;
}
.hj-hero-cta .hj-ghost:hover { background: rgba(216, 188, 133, .16); border-color: var(--jin-light); color: #FBF3E2; }

.hj-hero-meta {
    position: absolute;
    right: 32px;
    top: 48%;
    transform: translateY(-50%);
    z-index: 8;
    writing-mode: vertical-rl;
    font-size: 9.5px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(251, 243, 226, .62);
    max-height: 480px;
    overflow: hidden;
}

.hj-hero-bottom {
    position: absolute;
    right: 6%;
    bottom: 44px;
    z-index: 8;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hj-hero-bottom div {
    text-align: left;
    color: rgba(251, 243, 226, .55);
    font-size: 9px;
    letter-spacing: .2em;
    padding-left: 12px;
    border-left: 1px solid rgba(216, 188, 133, .4);
}
.hj-hero-bottom b {
    display: block;
    font-family: var(--xiao);
    font-size: 15px;
    letter-spacing: .16em;
    color: #FBF3E2;
    margin-bottom: 3px;
    font-weight: 400;
}

/* Band -------------------------------------------------------------------- */
.hj-band { background: var(--paper); padding: 0; }
.hj-band-inner {
    position: relative;
    height: clamp(180px, 24vh, 260px);
    overflow: hidden;
    border-top: 1px solid var(--jin);
    border-bottom: 1px solid var(--jin);
}
.hj-band-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    filter: saturate(.85) contrast(1.05) brightness(.98);
}
.hj-band-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 31, 26, .38), rgba(34, 31, 26, .04) 40%, rgba(34, 31, 26, .42));
}
.hj-band-cap {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.hj-band-cap .v {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-family: var(--xiao);
    font-size: 10.5px;
    letter-spacing: .3em;
    color: #FBF3E2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.hj-band-cap .hj-stamp { width: 34px; height: 34px; }

/* Section chrome ---------------------------------------------------------- */
.hj-sec { padding: 96px 0; position: relative; }
.hj-sec-tight { padding-top: 20px; }

.hj-sec-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    align-items: start;
    margin-bottom: 50px;
}
.hj-sec-mark { display: flex; align-items: flex-start; gap: 10px; }
.hj-num {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--zhu);
    color: var(--zhu);
    font-family: var(--brush);
    font-size: 30px;
    padding-top: 2px;
    line-height: 1;
}
.hj-sec-headline {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
}
.hj-sec-title {
    font-family: var(--song);
    font-weight: 500;
    font-size: clamp(25px, 2.5vw, 33px);
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.35;
}
.hj-sec-sub { margin-top: 6px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: #7B7059; }
.hj-sec-note {
    max-width: 24em;
    font-size: 12.5px;
    line-height: 1.95;
    color: #5C5344;
    border-left: 1px solid var(--jin);
    padding-left: 16px;
}

/* Lesson ------------------------------------------------------------------ */
.hj-lesson {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    background: var(--paper-3);
    border: 1px solid rgba(184, 147, 85, .55);
    box-shadow: 6px 6px 0 rgba(184, 147, 85, .16);
}
.hj-lesson-video {
    position: relative;
    min-height: 400px;
    cursor: pointer;
    overflow: hidden;
    background: #0F1712;
    display: block;
}
.hj-lesson-video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    opacity: .86;
    filter: saturate(.72) contrast(1.12);
}
.hj-lesson-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 70% at 55% 55%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
}
.hj-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(251, 243, 226, .7);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: .4s var(--hj-ease);
}
.hj-play::after {
    content: "";
    border-left: 16px solid #FBF3E2;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}
.hj-lesson-video:hover .hj-play { background: var(--zhu); border-color: var(--zhu); }
.hj-tc {
    position: absolute;
    right: 20px;
    bottom: 16px;
    z-index: 3;
    font-family: var(--xiao);
    font-size: 12px;
    letter-spacing: .2em;
    color: rgba(251, 243, 226, .8);
}
.hj-lesson-txt {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.hj-chap { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--zhu); }
.hj-lesson-txt h3 {
    font-family: var(--xiao);
    font-size: clamp(19px, 1.85vw, 24px);
    line-height: 1.5;
    margin: 14px 0 10px;
    letter-spacing: .02em;
}
.hj-lesson-txt h3 span { font-size: .8em; color: #7B7059; }
.hj-lesson-txt p { margin: 0; font-size: 13px; line-height: 1.95; color: #5C5344; }
.hj-row { display: flex; gap: 14px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.hj-free { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7B7059; }
.hj-lesson-stamp { position: absolute; right: 22px; bottom: 20px; width: 54px; height: 54px; transform: rotate(-4deg); }

/* Moon-gate cards --------------------------------------------------------- */
.hj-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hj-card { display: block; text-align: center; cursor: pointer; }
.hj-door {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--jin), 0 0 0 12px var(--paper), 0 0 0 13px rgba(184, 147, 85, .65), 0 18px 34px -22px rgba(34, 31, 26, .5);
    transition: box-shadow .5s var(--hj-ease);
}
.hj-door img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.85) contrast(1.1) brightness(.97);
    transition: transform 1.1s var(--hj-ease), filter .6s;
}
.hj-card:hover .hj-door img { transform: scale(1.06); filter: saturate(.95); }
.hj-card-no {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    background: var(--zhu);
    color: #FCEEDC;
    font-family: var(--xiao);
    font-size: 10px;
    letter-spacing: .2em;
    padding: 4px 12px;
    z-index: 3;
    white-space: nowrap;
}
.hj-card h3 { font-family: var(--xiao); font-size: 17px; margin: 32px 0 0; letter-spacing: .01em; line-height: 1.6; transition: color .3s; font-weight: 400; }
.hj-card:hover h3 { color: var(--zhu); }
.hj-csub { font-size: 12px; color: #5C5344; margin-top: 6px; line-height: 1.6; }
.hj-cat { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--zhu); margin-top: 6px; }
.hj-card p { font-size: 12.5px; line-height: 1.9; color: #5C5344; margin: 6px 0 0; }

/* Paths ------------------------------------------------------------------- */
.hj-paths-sec { background: var(--qing); color: var(--paper); }
.hj-paths-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .3;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%23B89355' stroke-width='.7' opacity='.55'%3E%3Cpath d='M24 66 q22 -32 44 0 q22 32 44 0'/%3E%3Cpath d='M152 186 q22 -32 44 0 q22 32 44 0'/%3E%3C/g%3E%3C/svg%3E");
}
.hj-paths-sec .hj-sec-title { color: var(--paper); }
.hj-paths-sec .hj-num { border-color: #D8BC85; color: #D8BC85; }
.hj-paths-sec .hj-sec-sub,
.hj-paths-sec .hj-sec-note { color: rgba(244, 234, 214, .55); border-color: rgba(216, 188, 133, .4); }

.hj-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 2; }
.hj-path {
    background: var(--paper);
    color: var(--ink);
    padding: 36px 28px 32px;
    border: 1px solid rgba(184, 147, 85, .6);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    transition: .45s var(--hj-ease);
}
.hj-path:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(0, 0, 0, .22); }
.hj-path-num { font-family: var(--song); font-weight: 600; font-size: 34px; letter-spacing: .14em; line-height: 1; color: var(--zhu); }
.hj-path h3 { font-family: var(--xiao); font-size: 23px; letter-spacing: .3em; margin: 12px 0 0; font-weight: 400; }
.hj-pen { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: #7B7059; margin-top: 2px; }
.hj-dur { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(34, 31, 26, .15); font-size: 11px; letter-spacing: .12em; color: #5C5344; }
.hj-path ul { list-style: none; margin: 14px 0 0; padding: 0; flex: 1; }
.hj-path li { font-size: 12.5px; color: #5C5344; line-height: 1.95; display: flex; gap: 8px; }
.hj-path li::before { content: "·"; color: var(--zhu); }
.hj-price { margin-top: 20px; font-family: var(--xiao); font-size: 25px; color: var(--zhu); }
.hj-price small { font-family: var(--song); font-size: 10.5px; color: #7B7059; margin-left: 6px; }

/* Course ------------------------------------------------------------------ */
.hj-course { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: start; }
.hj-course-title { display: flex; gap: 18px; align-items: flex-start; }
.hj-course-big {
    font-family: var(--song);
    font-weight: 600;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.22;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
}
.hj-course-big span { display: block; }
.hj-course-side { display: flex; flex-direction: column; gap: 10px; align-items: center; align-self: stretch; }
.hj-course-stamp { width: 46px; height: 58px; align-self: flex-end; margin-bottom: 4px; }
.hj-course-stamp b { font-size: 14px; }
.hj-course-body p { margin: 0; font-size: 13.5px; line-height: 2; color: #5C5344; max-width: 34em; }
.hj-course-price { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; }
.hj-course-price b { font-family: var(--xiao); font-size: 33px; color: var(--zhu); font-weight: 400; }
.hj-course-price del { font-size: 13px; color: #9A8F7C; }
.hj-course-price span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #7B7059; }
.hj-course-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hj-lessons { margin-top: 32px; border-top: 1px solid rgba(34, 31, 26, .3); }
.hj-lrow {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(34, 31, 26, .12);
    transition: .35s;
}
.hj-lrow:hover { background: rgba(168, 51, 42, .05); }
.hj-ln { font-family: var(--xiao); font-size: 12px; color: var(--zhu); letter-spacing: .08em; }
.hj-lt { font-size: 13px; letter-spacing: .01em; }
.hj-lm { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: #7B7059; }
.hj-lessons-foot { display: flex; justify-content: space-between; margin-top: 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #7B7059; }

/* Circle table ------------------------------------------------------------ */
.hj-circle { background: var(--paper-2); }
.hj-club { width: 100%; border-collapse: collapse; }
.hj-club th,
.hj-club td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(34, 31, 26, .16);
    font-size: 12.5px;
    letter-spacing: .02em;
}
.hj-club thead th {
    font-family: var(--xiao);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #5C5344;
    border-bottom: 1px solid rgba(184, 147, 85, .75);
    background: rgba(184, 147, 85, .12);
}
.hj-club td:first-child { color: #5C5344; width: 36%; }
.hj-club .hi { background: rgba(168, 51, 42, .055); font-weight: 600; }
.hj-club .hi.price { color: var(--zhu); font-family: var(--xiao); font-size: 14px; }
.hj-circle-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Objects ----------------------------------------------------------------- */
.hj-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hj-gift {
    border: 1px solid rgba(184, 147, 85, .6);
    background: var(--paper-3);
    transition: .45s var(--hj-ease);
    cursor: pointer;
    display: block;
}
.hj-gift:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(34, 31, 26, .55); }
.hj-gift-face {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--paper-2);
}
.hj-gift-face.zhu { background: var(--zhu); }
.hj-gift-face.qing { background: var(--qing); }
.hj-gift-face.paper { background: var(--paper-2); }
.hj-gift-face img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(1.05) brightness(.62);
    mix-blend-mode: multiply;
    transition: transform .8s var(--hj-ease);
}
.hj-gift:hover .hj-gift-face img { transform: scale(1.04); }
.hj-gift-face.zhu img,
.hj-gift-face.qing img { mix-blend-mode: luminosity; opacity: .5; }
.hj-gift-face .hj-gift-word {
    position: relative;
    z-index: 2;
    font-family: var(--song);
    font-weight: 600;
    font-size: 44px;
    letter-spacing: .3em;
    padding-left: .3em;
    text-transform: uppercase;
    color: #FCEEDC;
}
.hj-gift-face.paper .hj-gift-word { color: var(--zhu); }
.hj-gift-face::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(252, 238, 220, .35); z-index: 1; }
.hj-gift-face.paper::after { border-color: rgba(168, 51, 42, .3); }
.hj-idx { position: absolute; left: 24px; top: 20px; z-index: 3; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(252, 238, 220, .68); }
.hj-gift-face.paper .hj-idx { color: #7B7059; }
.hj-gift-info {
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(184, 147, 85, .55);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.hj-gift-info h4 { font-family: var(--xiao); font-size: 16px; letter-spacing: .04em; margin: 0; font-weight: 400; }
.hj-gift-info .sub { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: #7B7059; margin-top: 4px; }
.hj-gift-info b { font-family: var(--xiao); font-size: 21px; color: var(--zhu); white-space: nowrap; font-weight: 400; }

/* Journey ----------------------------------------------------------------- */
.hj-journey { padding: 0; background: var(--ink); }
.hj-journey-inner { position: relative; height: clamp(420px, 62vh, 600px); overflow: hidden; }
.hj-journey-inner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    filter: saturate(.72) contrast(1.18) brightness(.82);
}
.hj-journey-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 17, 12, .92) 0%, rgba(20, 17, 12, .66) 26%, rgba(20, 17, 12, .18) 52%, rgba(20, 17, 12, .55) 100%),
        linear-gradient(180deg, rgba(20, 17, 12, .5), rgba(20, 17, 12, .1) 35%, rgba(20, 17, 12, .55));
}
.hj-journey-txt { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); z-index: 4; max-width: 520px; }
.hj-label { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--jin-light); }
.hj-jt {
    font-family: var(--song);
    font-weight: 600;
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #FBF3E2;
    margin-top: 12px;
    margin-bottom: 16px;
}
.hj-jt span { display: block; font-size: .52em; letter-spacing: .28em; margin-top: 10px; color: #F0CF92; }
.hj-journey-txt p { font-size: 12.5px; line-height: 1.95; color: rgba(251, 243, 226, .75); max-width: 28em; margin: 0; }
.hj-journey-info {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(244, 234, 214, .95);
    padding: 24px 28px;
    border: 1px solid var(--jin);
    min-width: 276px;
}
.hj-jrow { display: flex; justify-content: space-between; gap: 24px; padding: 8px 0; border-bottom: 1px solid rgba(34, 31, 26, .14); font-size: 12px; }
.hj-jrow:last-of-type { border-bottom: none; }
.hj-jrow .k { color: #7B7059; letter-spacing: .16em; text-transform: uppercase; font-size: 9.5px; }
.hj-jrow .v { font-family: var(--xiao); }
.hj-journey-info .hj-btn { width: 100%; margin-top: 14px; }

/* Readers ----------------------------------------------------------------- */
.hj-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hj-q { position: relative; padding-top: 22px; border-top: 1px solid var(--jin); }
.hj-q p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.hj-q p::before { content: "\201C"; color: var(--zhu); }
.hj-q p::after { content: "\201D"; color: var(--zhu); }
.hj-by { margin-top: 12px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #7B7059; }
.hj-q-stamp { position: absolute; right: 0; top: -28px; width: 58px; height: 38px; transform: rotate(6deg); }
.hj-q-stamp b { font-size: 9px; letter-spacing: .05em; }

.hj-stats {
    display: flex;
    margin-top: 52px;
    border-top: 1px solid rgba(184, 147, 85, .6);
    border-bottom: 1px solid rgba(184, 147, 85, .6);
}
.hj-stat { flex: 1; padding: 20px 16px; text-align: center; border-right: 1px solid rgba(184, 147, 85, .35); }
.hj-stat:last-child { border-right: none; }
.hj-stat b { font-family: var(--xiao); font-size: 29px; display: block; letter-spacing: .04em; font-weight: 400; }
.hj-stat span { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: #7B7059; }

/* Subscribe --------------------------------------------------------------- */
.hj-subscribe { background: var(--zhu); color: #FCEEDC; padding: 84px 0; position: relative; }
.hj-subscribe::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(252, 238, 220, .3); pointer-events: none; }
.hj-sub-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.hj-sub-left { display: flex; gap: 28px; align-items: center; }
.hj-sub-big {
    font-family: var(--song);
    font-weight: 600;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hj-sub-side { max-width: 24em; }
.hj-sub-side .hj-label { color: rgba(252, 238, 220, .72); }
.hj-sub-side p { font-size: 12.5px; line-height: 1.95; color: rgba(252, 238, 220, .85); margin: 12px 0 0; }
.hj-subform label { display: block; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(252, 238, 220, .66); margin-bottom: 10px; }
.hj-subrow { display: flex; gap: 16px; border-bottom: 1px solid rgba(252, 238, 220, .55); padding-bottom: 12px; align-items: flex-end; }
.hj-subrow input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    color: #FCEEDC;
    font-family: var(--xiao);
    font-size: 17px;
    padding: 4px 0;
}
.hj-subrow input::placeholder { color: rgba(252, 238, 220, .45); }
.hj-subrow button {
    background: none;
    border: none;
    cursor: pointer;
    color: #FCEEDC;
    font-family: var(--song);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--jin-light);
    padding: 0 0 2px;
    white-space: nowrap;
}
.hj-sub-note { margin-top: 14px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(252, 238, 220, .55); }
.hj-sub-note.is-error { color: #FFD9D3; }
.hj-sub-note.is-done { color: #F0CF92; }

/* Modal ------------------------------------------------------------------- */
.hj-modal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(18, 15, 11, .8);
    padding: 24px;
}
.hj-modal.open { display: flex; }
.hj-modal-box { width: min(820px, 100%); background: var(--paper-3); border: 1px solid var(--jin); max-height: 94vh; overflow: auto; }
.hj-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid rgba(184, 147, 85, .5); }
.hj-modal-head span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #7B7059; }
.hj-modal-head button { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: #5C5344; }
.hj-mmedia { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0F1712; display: grid; place-items: center; }
.hj-mmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 74%; opacity: .85; }
.hj-mmedia .hj-play { position: static; transform: none; }
.hj-mbody { padding: 24px 26px 28px; }
.hj-mbody h3 { font-family: var(--xiao); font-size: 18px; letter-spacing: .02em; margin: 0; font-weight: 400; }
.hj-mbody p { font-size: 12.5px; line-height: 1.95; color: #5C5344; margin: 8px 0 0; }
.hj-gate { display: flex; gap: 14px; margin-top: 20px; border-bottom: 1px solid rgba(34, 31, 26, .3); padding-bottom: 10px; flex-wrap: wrap; align-items: flex-end; }
.hj-gate input {
    flex: 1;
    min-width: 200px;
    background: none;
    border: none;
    outline: none;
    font-family: var(--xiao);
    font-size: 15px;
    padding: 6px 0;
    color: var(--ink);
}
.hj-gate-note { margin-top: 10px; font-size: 10.5px; letter-spacing: .14em; color: var(--zhu); }
.hj-gate-note:empty { display: none; }

/* Cultural Motifs & Interactive Tools (02.5) ---------------------------- */
.hj-culture-motifs {
    background: var(--paper-2);
    border-top: 1px solid rgba(184, 147, 85, .35);
    border-bottom: 1px solid rgba(184, 147, 85, .35);
}
.hj-motif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.hj-motif-card {
    background: var(--paper-3);
    border: 1px solid rgba(184, 147, 85, .55);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 4px 4px 0 rgba(184, 147, 85, .12);
    transition: transform .3s ease, box-shadow .3s ease;
}
.hj-motif-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 12px 24px -10px rgba(34, 31, 26, .35);
}
.hj-motif-badge {
    align-self: flex-start;
    color: #FCEEDC;
    font-size: 8.5px;
    letter-spacing: .24em;
    padding: 3px 8px;
    font-family: var(--song);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hj-motif-card h3 {
    font-family: var(--song);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--ink);
}
.hj-motif-card p {
    font-size: 12.5px;
    line-height: 1.8;
    color: #635745;
    flex: 1 1 auto;
    margin: 0 0 20px 0;
}
.hj-motif-link {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--zhu);
    text-transform: uppercase;
    transition: color .2s ease;
}
.hj-motif-link:hover { color: var(--ink); }

/* Color Palette Tool */
.hj-tool-box {
    background: var(--paper-3);
    border: 1px solid rgba(184, 147, 85, .6);
    padding: 36px clamp(20px, 4vw, 44px);
    box-shadow: 6px 6px 0 rgba(184, 147, 85, .15);
    margin-bottom: 40px;
}
.hj-tool-tag {
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--zhu);
    font-weight: 600;
    margin-bottom: 8px;
}
.hj-tool-title {
    font-family: var(--song);
    font-size: clamp(20px, 2.2vw, 28px);
    margin: 0 0 10px 0;
    color: var(--ink);
}
.hj-tool-desc {
    font-size: 13.5px;
    color: #7B7059;
    margin: 0 0 28px 0;
}
.hj-color-swatches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.hj-swatch {
    background: var(--paper-2);
    border: 1px solid rgba(184, 147, 85, .5);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .25s ease;
}
.hj-swatch .hj-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
    transition: transform .25s ease;
}
.hj-swatch b {
    font-family: var(--song);
    font-size: 14px;
    color: var(--ink);
}
.hj-swatch span {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7B7059;
}
.hj-swatch:hover,
.hj-swatch.active {
    background: #FFFFFF;
    border-color: var(--zhu);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px -8px rgba(34, 31, 26, .3);
}
.hj-swatch.active .hj-dot {
    transform: scale(1.15);
}

.hj-color-preview {
    background: var(--paper-2);
    border-left: 6px solid #5B8D99;
    padding: 20px 24px;
    transition: border-color .3s ease;
}
.hj-cp-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}
.hj-cp-hex {
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--zhu);
    font-weight: 600;
}
.hj-cp-name {
    font-family: var(--song);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}
.hj-cp-poem {
    font-family: var(--brush);
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: .08em;
}
.hj-cp-desc {
    font-size: 12.5px;
    color: #635745;
    line-height: 1.6;
}

/* Dual Tools: Timeline & Compass */
.hj-tools-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.hj-tool-dual-box {
    background: var(--paper-3);
    border: 1px solid rgba(184, 147, 85, .55);
    padding: 32px 28px;
    box-shadow: 4px 4px 0 rgba(184, 147, 85, .12);
}
.hj-tool-dual-box h4 {
    font-family: var(--song);
    font-size: 19px;
    margin: 4px 0 10px 0;
    color: var(--ink);
}
.hj-tool-dual-box p {
    font-size: 13px;
    color: #7B7059;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.hj-char-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.hj-char-btn {
    background: var(--paper-2);
    border: 1px solid rgba(184, 147, 85, .45);
    padding: 7px 14px;
    font-family: var(--song);
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
    color: var(--ink-2);
    transition: all .2s ease;
}
.hj-char-btn.active,
.hj-char-btn:hover {
    background: var(--zhu);
    border-color: var(--zhu);
    color: #FCEEDC;
}
.hj-evolution-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center;
}
.hj-evo-step {
    background: var(--paper-2);
    border: 1px solid rgba(184, 147, 85, .35);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}
.hj-evo-step.active {
    border-color: var(--zhu);
    background: rgba(168, 51, 42, .06);
}
.hj-evo-era {
    font-size: 9px;
    letter-spacing: .12em;
    color: #7B7059;
    text-transform: uppercase;
}
.hj-evo-glyph {
    font-size: 34px;
    font-family: var(--song);
    color: var(--ink);
    line-height: 1.2;
}
.hj-evo-type {
    font-size: 10px;
    color: #635745;
}

/* Solar Compass Ring */
.hj-compass-widget {
    background: var(--paper-2);
    border: 1px solid rgba(184, 147, 85, .45);
    padding: 24px;
}
.hj-curr-term-badge {
    display: inline-block;
    background: var(--zhu);
    color: #FCEEDC;
    font-size: 8.5px;
    letter-spacing: .22em;
    padding: 3px 8px;
    margin-bottom: 12px;
    font-family: var(--song);
}
.hj-term-chinese {
    font-family: var(--song);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}
.hj-term-date {
    font-size: 11px;
    letter-spacing: .14em;
    color: #7B7059;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hj-term-guide {
    font-size: 12.5px;
    line-height: 1.8;
    color: #5C5344;
    border-top: 1px solid rgba(184, 147, 85, .25);
    padding-top: 14px;
}
.hj-term-guide b {
    color: var(--zhu);
}

/* Reveal ------------------------------------------------------------------ */
.hj-rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--hj-ease), transform .9s var(--hj-ease); }
.hj-rv.in { opacity: 1; transform: none; }

/* Homepage: let sections run edge to edge inside the theme's main wrapper. */
body.home .hj-home { margin: 0; }
body.home .site-header { box-shadow: none; }

@media (max-width: 1080px) {
    .hj-wrap { padding: 0 26px; }
    .hj-hero-ti { left: 26px; }
    .hj-hero-side { left: 26px; }
}

@media (max-width: 900px) {
    .hj-hero { height: auto; min-height: 0; padding: 0; }
    .hj-hero::after { display: none; }
    .hj-hero-img { position: relative; height: 46vh; min-height: 300px; }
    .hj-rod { display: none; }
    .hj-hero-ti { position: relative; left: auto; top: auto; transform: none; padding: 26px 26px 0; background: var(--paper); }
    .hj-headline { color: var(--ink); text-shadow: none; font-size: 32px; }
    .hj-headline em { color: var(--zhu); }
    .hj-hero-side { position: relative; left: auto; bottom: auto; padding: 16px 26px 26px; background: var(--paper); max-width: none; }
    .hj-hero-side .hj-lead { color: #5C5344; border-color: rgba(184, 147, 85, .6); }
    .hj-hero-meta,
    .hj-hero-bottom { display: none; }
    .hj-hero-cta .hj-ghost { background: transparent; border-color: rgba(168, 51, 42, .6); color: var(--zhu); }
    .hj-lesson,
    .hj-cards,
    .hj-paths,
    .hj-gifts,
    .hj-sub-grid { grid-template-columns: 1fr; }
    .hj-course { grid-template-columns: 1fr; gap: 28px; }
    .hj-course-big { font-size: 26px; }
    .hj-cards { gap: 46px; }
    .hj-gifts { gap: 30px; }
    .hj-quotes { grid-template-columns: 1fr; gap: 37px; }
    .hj-stats { flex-wrap: wrap; }
    .hj-stat { flex: 1 1 45%; border-bottom: 1px solid rgba(184, 147, 85, .3); }
    .hj-journey-inner { height: auto; min-height: 360px; padding-bottom: 0; }
    .hj-journey-txt { position: relative; left: auto; top: auto; transform: none; padding: 32px 26px 0; max-width: none; }
    .hj-journey-info { position: relative; right: auto; top: auto; transform: none; margin: 24px 26px 32px; min-width: 0; }
    .hj-sec { padding: 64px 0; }
    .hj-sec-head { grid-template-columns: 1fr; gap: 14px; }
    .hj-sec-title { font-size: 21px; letter-spacing: .1em; }
    .hj-sec-sub { font-size: 10px; letter-spacing: .24em; }
    .hj-band-cap { right: 26px; }
    .hj-sec-note { max-width: none; }
    .hj-sub-left { gap: 20px; }
    .hj-sub-big { font-size: 24px; }
    .hj-club th:nth-child(2),
    .hj-club td:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
    .hj-door { width: 84%; margin: 0 auto; }
    .hj-gift-word { font-size: 34px; }
    .hj-q-stamp { display: none; }
    .hj-jt { font-size: 28px; }
    .hj-hero-ti { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .hj-home .hj-rv { opacity: 1; transform: none; transition: none; }
    .hj-home * { scroll-behavior: auto !important; }
}
