/* =====================================================
   LOST TRAVELER'S JOURNEY — VISUAL UPGRADE
   Loaded after style.css. Only changes the look:
   no section, id or payment/login code is touched.
   To undo: remove the two lines that load
   enhance.css and enhance.js from index.html.
===================================================== */

:root {
    --ltj-gold: #c9a26a;
    --ltj-gold-light: #f0dcae;
    --ltj-gold-dark: #8a6a3e;
    --ltj-ink: #e8dfcf;
    --ltj-bg: #15120f;
    --ltj-line: #3a3024;
    --ltj-title: "Cinzel", "Amiri", Georgia, serif;
}

/* ---------- Typography ---------- */

h1, h2, h3,
.package-card h3,
.map-info h3,
.service-item h3 {
    font-family: var(--ltj-title);
    letter-spacing: 0.01em;
}

.section-label,
.eyebrow {
    color: var(--ltj-gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.section-label::before,
.section-label::after,
.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ltj-gold));
}

.section-label::after,
.eyebrow::after {
    background: linear-gradient(90deg, var(--ltj-gold), transparent);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;
    height: 1px;
    background: var(--ltj-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--ltj-gold-light);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #d9b67c, #a7804a);
    color: #17120c;
    border-color: #e2c38c;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(201, 162, 106, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    left: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: ltj-shine 4.5s ease-in-out infinite;
}

.button:hover {
    background: linear-gradient(180deg, #e6c68f, #b48c54);
    color: #17120c;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(201, 162, 106, 0.4);
}

@keyframes ltj-shine {
    0%, 70% { left: -60%; }
    100% { left: 130%; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #0d0b09;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: -2;
    background: url("images/hero-map.jpg") center / cover no-repeat;
    opacity: 0.5;
    filter: saturate(0.85) contrast(1.05);
    translate: var(--ltj-mx, 0) var(--ltj-my, 0);
    animation: ltj-drift 45s ease-in-out infinite alternate;
    transition: translate 0.6s ease-out;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(13, 11, 9, 0.25) 0%, rgba(13, 11, 9, 0.75) 55%, #0d0b09 100%),
        linear-gradient(180deg, rgba(13, 11, 9, 0.6) 0%, transparent 25%, transparent 70%, var(--ltj-bg) 100%);
}

@keyframes ltj-drift {
    from { transform: scale(1.05) rotate(0deg); }
    to { transform: scale(1.18) rotate(1.5deg); }
}

.hero-content {
    position: relative;
}

.hero h1 {
    background: linear-gradient(180deg, #fbf0d6 0%, var(--ltj-gold-light) 35%, var(--ltj-gold) 75%, var(--ltj-gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.85));
}

.hero-description {
    color: #d8ccb6;
    text-shadow: 0 2px 12px #000;
}

/* compass ring behind the headline */
.ltj-compass {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(720px, 92vw);
    aspect-ratio: 1;
    translate: -50% -50%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    animation: ltj-spin 160s linear infinite;
}

@keyframes ltj-spin {
    to { rotate: 360deg; }
}

/* floating embers */
.ltj-ember {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ltj-gold-light);
    box-shadow: 0 0 8px 2px rgba(240, 200, 120, 0.6);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    animation: ltj-rise linear infinite;
}

@keyframes ltj-rise {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.9; }
    100% { transform: translate(var(--dx, 30px), -105vh); opacity: 0; }
}

/* scroll cue */
.ltj-scroll {
    position: absolute;
    left: 50%;
    bottom: 34px;
    translate: -50% 0;
    width: 24px;
    height: 38px;
    border: 1px solid rgba(201, 162, 106, 0.7);
    border-radius: 14px;
    z-index: 1;
}

.ltj-scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--ltj-gold);
    animation: ltj-wheel 1.8s ease-in-out infinite;
}

@keyframes ltj-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Sections: tighter spacing + ornament dividers ---------- */

.work,
.services,
.about,
.packages,
.commission {
    position: relative;
    padding-top: clamp(80px, 9vw, 120px);
    padding-bottom: clamp(80px, 9vw, 120px);
    border-top-color: transparent;
}

.services::before,
.about::before,
.packages::before,
.commission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -50%;
    width: min(520px, 80%);
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 14' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%238a6a3e' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23c9a26a'/%3E%3Cstop offset='1' stop-color='%238a6a3e' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect y='6.5' width='520' height='1' fill='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
}

.services::after,
.about::after,
.packages::after,
.commission::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    translate: -50% -50%;
    rotate: 45deg;
    background: var(--ltj-gold);
    box-shadow: 0 0 0 4px var(--ltj-bg), 0 0 0 5px var(--ltj-gold-dark);
    pointer-events: none;
}

.work h2,
.services h2,
.about h2,
.commission h2,
.packages-header h2 {
    color: var(--ltj-ink);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* ---------- Map cards ---------- */

.map-placeholder {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ltj-line);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.map-placeholder img {
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
    filter: saturate(0.9);
}

.map-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 235, 190, 0.18) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.map-card:hover .map-placeholder {
    border-color: var(--ltj-gold);
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 162, 106, 0.35), 0 0 40px rgba(201, 162, 106, 0.15);
}

.map-card:hover .map-placeholder img {
    transform: scale(1.08);
    filter: saturate(1.1);
}

.map-card:hover .map-placeholder::after {
    transform: translateX(120%);
}

.map-card:hover .map-info h3 {
    color: var(--ltj-gold-light);
}

.map-info p {
    color: #8f8270;
}

/* ---------- Services: illustrated cards ---------- */

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 16px;
    border-top: 0;
}

.service-item,
.service-item:hover {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 230px;
    padding: 22px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    border: 1px solid var(--ltj-line);
    border-radius: 6px;
    background-color: #1a1612;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.service-item[data-map-category="world"] { background-image: url("images/svc-1.jpg"); }
.service-item[data-map-category="regional"] { background-image: url("images/svc-2.jpg"); }
.service-item[data-map-category="city"] { background-image: url("images/svc-3.jpg"); background-position: 60% 40%; }
.service-item[data-map-category="dungeon"] { background-image: url("images/svc-1.jpg"); background-position: 85% 85%; }
.service-item[data-map-category="custom"] { background-image: url("images/svc-2.jpg"); background-position: 20% 30%; }

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13, 11, 9, 0.15) 0%, rgba(13, 11, 9, 0.6) 50%, rgba(13, 11, 9, 0.95) 100%);
    transition: opacity 0.3s ease;
}

.service-item:hover {
    filter: brightness(1.15) saturate(1.1);
    border-color: var(--ltj-gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.service-item span {
    width: auto;
    color: var(--ltj-gold);
}

.service-item h3 {
    font-size: 22px;
    color: var(--ltj-ink);
    text-shadow: 0 2px 10px #000;
}

.service-item:hover h3 {
    color: var(--ltj-gold-light);
}

/* ---------- About ---------- */

.about {
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 106, 0.08), transparent 65%);
}

.about h2 {
    background: linear-gradient(180deg, #fbf0d6, var(--ltj-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Packages ---------- */

.package-card {
    position: relative;
    border-radius: 8px;
    border-color: var(--ltj-line);
    background: linear-gradient(180deg, #1d1914, #141110);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    border-color: var(--ltj-gold);
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 162, 106, 0.12);
}

.package-card.featured {
    border-color: var(--ltj-gold);
    background: linear-gradient(180deg, #2a2219, #17130f);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(201, 162, 106, 0.18);
}

.package-card.featured::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, var(--ltj-gold-dark), var(--ltj-gold-light), var(--ltj-gold-dark));
}

.package-number {
    color: var(--ltj-gold);
}

.package-price {
    margin: 6px 0 18px;
    font-family: var(--ltj-title);
    font-size: 34px;
    color: var(--ltj-gold-light);
}

.package-line {
    background: linear-gradient(90deg, var(--ltj-gold-dark), transparent);
}

/* ---------- Commission ---------- */

.commission {
    background: radial-gradient(ellipse at 50% 30%, rgba(201, 162, 106, 0.1), transparent 60%);
}

/* ---------- Scroll reveal (only when JS is running) ---------- */

.ltj-js .ltj-rv {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ltj-js .ltj-rv.ltj-in {
    opacity: 1;
    transform: none;
}

/* ---------- Calm mode ---------- */

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .ltj-compass,
    .ltj-ember,
    .button::after,
    .ltj-scroll::after {
        animation: none !important;
    }

    .ltj-ember {
        display: none;
    }

    .ltj-js .ltj-rv {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 700px) {
    .service-item,
    .service-item:hover {
        min-height: 170px;
    }

    .ltj-scroll {
        display: none;
    }
}

/* =====================================================
   MAP COLLECTION PAGES
===================================================== */

.map-collection-page {
    overflow-y: auto;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 106, 0.12), transparent 55%),
        #110e0b;
}

.map-collection-back:hover {
    color: var(--ltj-gold-light);
}

.ltj-map-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: zoom-in;
}

.ltj-map-frame {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
    border: 1px solid var(--ltj-line);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ltj-map-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ltj-map-tile:hover .ltj-map-frame,
.ltj-map-tile:focus-visible .ltj-map-frame {
    border-color: var(--ltj-gold);
    transform: translateY(-5px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(201, 162, 106, 0.15);
}

.ltj-map-tile:hover img {
    transform: scale(1.07);
}

.ltj-map-name {
    font-family: var(--ltj-title);
    font-size: 20px;
    color: var(--ltj-ink);
}

.ltj-map-note {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8f8270;
}

.ltj-empty {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 20px auto 0;
    padding: 48px 32px;
    text-align: center;
    border: 1px dashed var(--ltj-gold-dark);
    border-radius: 10px;
    background: rgba(26, 21, 17, 0.7);
}

.ltj-empty-title {
    margin: 0 0 12px;
    font-family: var(--ltj-title);
    font-size: 26px;
    color: var(--ltj-gold-light);
}

.ltj-empty-text {
    margin: 0 0 28px;
    color: #a99a83;
    line-height: 1.7;
}

/* lightbox */

.ltj-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: rgba(8, 6, 5, 0.94);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ltj-lightbox.is-open {
    opacity: 1;
}

.ltj-lightbox-img {
    max-width: min(1400px, 100%);
    max-height: 82vh;
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 6px;
    box-shadow: 0 30px 80px #000;
}

.ltj-lightbox-cap {
    margin: 0;
    font-family: var(--ltj-title);
    font-size: 20px;
    color: var(--ltj-gold-light);
}

.ltj-lightbox-close {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 50%;
    background: #15120f;
    color: var(--ltj-gold-light);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ltj-lightbox-close:hover {
    background: var(--ltj-gold);
    color: #15120f;
}

/* =====================================================
   FOOTER
===================================================== */

footer.ltj-footer {
    position: relative;
    margin-top: 40px;
    padding: 0 max(5vw, 20px);
    border-top: 0;
    text-align: start;
    background:
        linear-gradient(180deg, rgba(13, 11, 9, 0.88), #0d0b09 70%),
        url("images/hero-map.jpg") center 30% / cover no-repeat;
}

footer.ltj-footer::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ltj-gold), transparent);
}

.ltj-foot-top,
.ltj-foot-grid,
.ltj-foot-bottom {
    max-width: 1200px;
    margin: 0 auto;
}

.ltj-foot-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--ltj-line);
}

.ltj-foot-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ltj-foot-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px #000);
}

.ltj-foot-name {
    margin: 0 0 6px;
    font-family: var(--ltj-title);
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--ltj-gold-light);
}

.ltj-foot-tag {
    margin: 0;
    color: #a99a83;
}

.ltj-foot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 44px 0;
}

.ltj-foot-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ltj-foot-head {
    margin: 0 0 6px;
    font-family: var(--ltj-title);
    font-size: 15px;
    letter-spacing: 0.08em;
    color: var(--ltj-gold);
}

.ltj-foot-col > a:not(.ltj-contact) {
    color: #cbbfa9;
    text-decoration: none;
    transition: color 0.2s ease, padding 0.2s ease;
}

.ltj-foot-col > a:not(.ltj-contact):hover {
    color: var(--ltj-gold-light);
    padding-inline-start: 6px;
}

.ltj-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    color: #e3d7c1;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ltj-contact svg {
    flex: none;
    width: 38px;
    height: 38px;
    padding: 9px;
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 50%;
    color: var(--ltj-gold);
    transition: background 0.2s ease, color 0.2s ease;
}

.ltj-contact:hover {
    color: var(--ltj-gold-light);
}

.ltj-contact:hover svg {
    background: var(--ltj-gold);
    color: #15120f;
}

.ltj-tiktok span {
    font-weight: bold;
}

.ltj-official {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ltj-official span {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8f8270;
}

.ltj-official strong,
.ltj-official a {
    font-weight: normal;
    color: #e3d7c1;
    text-decoration: none;
}

.ltj-official a:hover {
    color: var(--ltj-gold-light);
    text-decoration: underline;
}

.ltj-foot-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--ltj-line);
}

footer.ltj-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0;
    padding: 0;
}

footer.ltj-footer .footer-legal-button {
    padding: 6px 0;
    border: 0;
    background: none;
    color: #8f8270;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
}

footer.ltj-footer .footer-legal-button:hover {
    color: var(--ltj-gold-light);
}

.ltj-foot-copy {
    margin: 0;
    font-size: 13px;
    color: #6f6556;
}

@media (max-width: 800px) {
    .ltj-foot-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ltj-foot-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- "Worlds I've drawn": 2 x 2 large cards ---------- */

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

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .map-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   "WORLDS I'VE DRAWN" — atmospheric background
===================================================== */

.work {
    isolation: isolate;
    content-visibility: visible;
}

.work::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    translate: -50% 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 50% 55%, rgba(201, 162, 106, 0.13), transparent 70%),
        linear-gradient(180deg, var(--ltj-bg) 0%, transparent 18%, transparent 82%, var(--ltj-bg) 100%),
        url("images/contours.svg") center / cover no-repeat,
        linear-gradient(180deg, #15120f, #1b1611 50%, #15120f);
    opacity: 1;
}

.work::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    translate: -50% 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(10, 8, 6, 0.75) 100%);
}

body {
    overflow-x: clip;
}

/* =====================================================
   SIGNED-IN CHARACTER BANNER (top left)
   Restyles the banner made by script.js; its logic is untouched.
===================================================== */

#characterMark {
    top: 0 !important;
    left: clamp(150px, 13vw, 200px) !important;
    width: 158px;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 22px 14px 40px !important;
    text-align: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.65));
    transform-origin: top center;
    animation: ltj-banner-drop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

/* banner cloth: gold edge + dark body, swallow-tail bottom */
#characterMark::before,
#characterMark::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
    pointer-events: none;
}

#characterMark::before {
    z-index: -2;
    background: linear-gradient(180deg, #e2c48f, #a07a45 60%, #6e5230);
}

#characterMark::after {
    z-index: -1;
    inset: 0 2px 2px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2px), 50% calc(84% - 1px), 0 calc(100% - 2px));
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201, 162, 106, 0.22), transparent 65%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 6px),
        linear-gradient(180deg, #2b2118 0%, #1a140f 55%, #120e0b 100%);
}

/* the rod the banner hangs from */
#characterMark > span:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    right: -12px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f0dcae, #9c7a45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* emblem */
#characterMark > span:first-child {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-top: 4px;
    border-radius: 50%;
    border: 1px solid var(--ltj-gold);
    box-shadow: inset 0 0 0 4px #1a140f, inset 0 0 0 5px rgba(201, 162, 106, 0.45), 0 0 18px rgba(201, 162, 106, 0.25);
    background: radial-gradient(circle at 50% 35%, #3a2c1d, #15100c);
    color: var(--ltj-gold-light) !important;
    font-size: 26px !important;
    text-shadow: 0 0 12px rgba(240, 200, 120, 0.55);
}

/* the rod sits on the banner, not the emblem */
#characterMark > span:first-child {
    position: static;
}

#characterMark > div:not(.character-cape) > div:first-child {
    color: #a99a83 !important;
    font-size: 9px !important;
    margin-bottom: 5px !important;
}

#characterMark > div:not(.character-cape) > div:last-child {
    font-family: var(--ltj-title);
    color: var(--ltj-gold-light) !important;
    font-size: 13px !important;
    line-height: 1.35;
    letter-spacing: 0.08em !important;
}

#characterMark:hover {
    animation: ltj-banner-sway 2.4s ease-in-out infinite;
}

#characterMark .character-cape {
    top: calc(100% - 14px);
    left: -18px;
    width: calc(100% + 36px);
    z-index: -3;
}

@keyframes ltj-banner-drop {
    from { clip-path: inset(0 -60px 100% -60px); }
    to { clip-path: inset(0 -60px -700px -60px); }
}

@keyframes ltj-banner-sway {
    0%, 100% { rotate: 0deg; }
    25% { rotate: 1.2deg; }
    75% { rotate: -1.2deg; }
}

@media (max-width: 700px) {
    /* phones: a compact medallion in the bottom-right corner */
    #characterMark {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        right: 14px;
        bottom: 14px;
        width: auto;
        padding: 0 !important;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
        animation: none;
    }

    #characterMark::before,
    #characterMark::after,
    #characterMark > span:first-child::before,
    #characterMark > div:not(.character-cape) {
        display: none;
    }

    #characterMark > span:first-child {
        width: 52px;
        height: 52px;
        margin: 0;
        font-size: 24px !important;
    }

    #characterMark .character-cape {
        top: auto;
        bottom: calc(100% + 8px);
        left: auto;
        right: 0;
        width: 200px;
        height: auto;
        min-height: 220px;
        padding: 26px 22px 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #characterMark,
    #characterMark:hover {
        animation: none !important;
    }
}

/* =====================================================
   ABOUT — clashing swords + map backdrop
===================================================== */

.about,
.packages {
    isolation: isolate;
    content-visibility: visible;
}

.about-content::before,
.packages-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    translate: -50% 0;
    z-index: -1;
    pointer-events: none;
}

.about-content::before {
    background:
        radial-gradient(ellipse 50% 55% at 50% 45%, rgba(201, 162, 106, 0.16), transparent 70%),
        radial-gradient(ellipse at 50% 50%, rgba(13, 11, 9, 0.55) 0%, rgba(13, 11, 9, 0.92) 70%),
        linear-gradient(180deg, var(--ltj-bg), transparent 20%, transparent 80%, var(--ltj-bg)),
        url("images/map-04.jpg") center / cover no-repeat;
    filter: saturate(0.6);
}

.ltj-swords {
    width: min(260px, 64vw);
    cursor: pointer;
    margin: 0 auto 8px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.7));
}

.ltj-swords svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.ltj-sw-l,
.ltj-sw-r {
    transform-box: view-box;
}

.ltj-sw-l { transform-origin: 178px 150px; }
.ltj-sw-r { transform-origin: 222px 150px; }

.ltj-spark {
    transform-box: fill-box;
    transform-origin: center;
}

.ltj-js .ltj-swords:not(.is-clashed) .ltj-sw-l,
.ltj-js .ltj-swords:not(.is-clashed) .ltj-sw-r,
.ltj-js .ltj-swords:not(.is-clashed) .ltj-spark {
    opacity: 0;
}

.ltj-swords.is-clashed .ltj-sw-l { animation: ltj-clash-l 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.ltj-swords.is-clashed .ltj-sw-r { animation: ltj-clash-r 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.ltj-swords.is-clashed .ltj-spark { animation: ltj-spark-hit 1.1s ease-out both, ltj-spark-glow 2.6s ease-in-out 1.1s infinite; }

@keyframes ltj-clash-l {
    0% { opacity: 0; transform: translate(-70px, 24px) rotate(-14deg); }
    55% { opacity: 1; transform: translate(6px, -2px) rotate(2deg); }
    70% { transform: translate(-4px, 1px) rotate(-1deg); }
    100% { opacity: 1; transform: none; }
}

@keyframes ltj-clash-r {
    0% { opacity: 0; transform: translate(70px, 24px) rotate(14deg); }
    55% { opacity: 1; transform: translate(-6px, -2px) rotate(-2deg); }
    70% { transform: translate(4px, 1px) rotate(1deg); }
    100% { opacity: 1; transform: none; }
}

@keyframes ltj-spark-hit {
    0%, 50% { opacity: 0; transform: scale(0.2); }
    60% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0.9; transform: scale(1); }
}

@keyframes ltj-spark-glow {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

/* =====================================================
   PACKAGES — compass rose backdrop
===================================================== */

.packages-header::before {
    bottom: auto;
    height: 100%;
    min-height: 100%;
}

.packages::after {
    z-index: 0;
}

.packages > .package-grid {
    position: relative;
    z-index: 1;
}

.packages {
    background:
        radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201, 162, 106, 0.12), transparent 70%);
}

.packages-header {
    position: static;
}

.packages-header::before {
    top: 0;
    bottom: 0;
    height: auto;
    background:
        linear-gradient(180deg, var(--ltj-bg) 0%, transparent 15%),
        url("images/mountains.svg") center bottom / 100% 46% no-repeat,
        linear-gradient(180deg, #15120f, #1c1712 50%, #15120f);
}

/* =====================================================
   REVIEWS
===================================================== */

.ltj-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.ltj-reviews,
.ltj-faq {
    position: relative;
    padding: clamp(80px, 9vw, 120px) max(5vw, 20px);
    text-align: center;
}

.ltj-reviews h2,
.ltj-faq h2 {
    margin: 18px 0 0;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: normal;
    line-height: 1.08;
    color: var(--ltj-ink);
}

.ltj-reviews::before,
.ltj-faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -50%;
    width: min(520px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ltj-gold-dark), transparent);
}

.ltj-review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 18px;
    margin-top: 50px;
    text-align: start;
}

.ltj-review {
    padding: 28px;
    border: 1px solid var(--ltj-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #1d1914, #141110);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ltj-review-stars {
    margin: 0 0 14px;
    color: var(--ltj-gold);
    letter-spacing: 3px;
    font-size: 18px;
}

.ltj-review-text {
    margin: 0 0 18px;
    color: #e3d7c1;
    font-size: 17px;
    line-height: 1.7;
}

.ltj-review-who {
    margin: 0;
    color: #8f8270;
    font-size: 13px;
}

.ltj-review-who strong {
    color: var(--ltj-gold-light);
    font-weight: normal;
}

.ltj-review-empty {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
    padding: 38px 28px;
    text-align: center;
    border: 1px dashed var(--ltj-gold-dark);
    border-radius: 10px;
    background: rgba(26, 21, 17, 0.6);
}

.ltj-review-empty-title {
    margin: 0 0 10px;
    font-family: var(--ltj-title);
    font-size: 24px;
    color: var(--ltj-gold-light);
}

.ltj-review-empty-text {
    margin: 0;
    color: #a99a83;
    line-height: 1.7;
}

.ltj-review-cta {
    margin-top: 40px;
}

.ltj-review-cta p {
    margin: 0 0 18px;
    color: #a99a83;
}

.ltj-review-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 640px;
    margin: 30px auto 0;
    padding: 30px;
    text-align: start;
    border: 1px solid var(--ltj-line);
    border-radius: 10px;
    background: rgba(26, 21, 17, 0.85);
}

.ltj-review-form[hidden] {
    display: none;
}

.ltj-review-form label:not(.ltj-stars label),
.ltj-review-form legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #a99a83;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.ltj-review-form input:not([type=radio]),
.ltj-review-form select,
.ltj-review-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--ltj-line);
    border-radius: 6px;
    background: #0f0d0b;
    color: var(--ltj-ink);
    font: inherit;
    font-size: 16px;
}

.ltj-review-form textarea {
    resize: vertical;
}

.ltj-review-form input:focus,
.ltj-review-form select:focus,
.ltj-review-form textarea:focus {
    outline: none;
    border-color: var(--ltj-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 106, 0.2);
}

.ltj-full {
    grid-column: 1 / -1;
}

.ltj-stars {
    grid-column: 1 / -1;
    position: relative;
    padding-top: 26px !important;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
}

.ltj-stars legend {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    padding: 0;
}

.ltj-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ltj-stars label {
    font-size: 30px;
    line-height: 1;
    color: #4a3d2c;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.ltj-stars input:checked ~ label,
.ltj-stars label:hover,
.ltj-stars label:hover ~ label {
    color: var(--ltj-gold);
}

.ltj-stars input:focus-visible + label {
    outline: 2px solid var(--ltj-gold);
    outline-offset: 2px;
}

.ltj-form-note,
.ltj-form-status {
    margin: 0;
    color: #8f8270;
    font-size: 13px;
}

.ltj-form-status:empty {
    display: none;
}

.ltj-form-status {
    color: var(--ltj-gold-light);
}

/* =====================================================
   FAQ
===================================================== */

.ltj-faq-list {
    max-width: 820px;
    margin: 50px auto 0;
    text-align: start;
}

.ltj-faq-item {
    border-bottom: 1px solid var(--ltj-line);
}

.ltj-faq-item:first-child {
    border-top: 1px solid var(--ltj-line);
}

.ltj-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 22px 4px;
    cursor: pointer;
    list-style: none;
    font-family: var(--ltj-title);
    font-size: clamp(17px, 2vw, 20px);
    color: var(--ltj-ink);
    transition: color 0.2s ease;
}

.ltj-faq-item summary::-webkit-details-marker {
    display: none;
}

.ltj-faq-item summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 50%;
    color: var(--ltj-gold);
    font-family: "Source Sans 3", Georgia, sans-serif;
    font-size: 20px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.ltj-faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--ltj-gold);
    color: #15120f;
}

.ltj-faq-item summary:hover {
    color: var(--ltj-gold-light);
}

.ltj-faq-item p {
    margin: 0;
    padding: 0 4px 24px;
    max-width: 70ch;
    color: #b5a688;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .ltj-review-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}


/* =====================================================
   COMMISSION — compass rose backdrop (moved from packages)
===================================================== */

.commission {
    isolation: isolate;
    content-visibility: visible;
}

.commission-content::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    translate: -50% 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 34% 26% at 50% 40%, rgba(21, 18, 15, 0.6), transparent 100%),
        radial-gradient(ellipse 45% 45% at 50% 50%, rgba(201, 162, 106, 0.14), transparent 70%),
        linear-gradient(180deg, var(--ltj-bg), transparent 18%, transparent 82%, var(--ltj-bg)),
        url("images/compass-rose.svg") 50% 50% / min(900px, 120vw) no-repeat;
}

/* =====================================================
   REVIEWS — two knights sharing a road
===================================================== */

.ltj-reviews {
    isolation: isolate;
    overflow: hidden;
    padding-bottom: clamp(140px, 16vw, 220px);
}

.ltj-reviews > .ltj-wrap {
    position: relative;
    z-index: 2;
}

.ltj-knights {
    position: absolute;
    inset: auto 0 0;
    height: clamp(220px, 24vw, 330px);
    z-index: 1;
    pointer-events: none;
}

.ltj-road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
}

.ltj-road-line {
    fill: none;
    stroke: var(--ltj-gold);
    stroke-opacity: 0.55;
    stroke-width: 2;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
    animation: ltj-march 3s linear infinite;
}

@keyframes ltj-march {
    to { stroke-dashoffset: -24; }
}

.ltj-knight {
    position: absolute;
    bottom: 2%;
    height: 100%;
    width: auto;
    overflow: visible;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 22px rgba(201, 162, 106, 0.12));
    animation: ltj-stand 5s ease-in-out infinite;
    transform-origin: 50% 100%;
}

.ltj-knight-l { left: clamp(10px, 4vw, 70px); }
.ltj-knight-r { right: clamp(10px, 4vw, 70px); animation-delay: -2.5s; }

@keyframes ltj-stand {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.ltj-pennant {
    transform-box: fill-box;
    transform-origin: 0% 50%;
    animation: ltj-wave 2.2s ease-in-out infinite;
}

.ltj-plume {
    transform-box: fill-box;
    transform-origin: 100% 100%;
    animation: ltj-wave 3s ease-in-out infinite;
}

@keyframes ltj-wave {
    0%, 100% { transform: skewY(0deg) scaleX(1); }
    50% { transform: skewY(-5deg) scaleX(0.93); }
}

@media (max-width: 980px) {
    .ltj-knight {
        height: 70%;
        opacity: 0.55;
    }
}

@media (max-width: 600px) {
    .ltj-knight {
        height: 52%;
    }

    .ltj-reviews {
        padding-bottom: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ltj-knight,
    .ltj-pennant,
    .ltj-plume,
    .ltj-road-line {
        animation: none !important;
    }
}

/* reviews: own-review badge + delete button */
.ltj-review.is-mine {
    border-color: var(--ltj-gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(201, 162, 106, 0.12);
}

.ltj-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.ltj-review-top .ltj-review-stars {
    margin: 0;
}

.ltj-review-mine {
    padding: 3px 10px;
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 999px;
    color: var(--ltj-gold-light);
    font-size: 12px;
}

.ltj-review-icon {
    color: var(--ltj-gold);
}

.ltj-review-delete {
    justify-self: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #6b3a2c;
    border-radius: 6px;
    background: transparent;
    color: #d79b85;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.ltj-review-delete:hover {
    background: #3a1f17;
}

.ltj-review-delete[hidden] {
    display: none;
}


/* =====================================================
   REVIEWS — castle gate, dragon on the throne, knights
===================================================== */

.ltj-reviews {
    padding-bottom: clamp(240px, 27vw, 440px);
}

.ltj-reviews::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, var(--ltj-bg) 0%, rgba(21, 18, 15, 0.2) 30%, transparent 55%),
        url("images/castle-scene.svg") center bottom / max(100%, 1100px) auto no-repeat;
}

/* keep text readable over the scene */
.ltj-reviews > .ltj-wrap::before {
    content: "";
    position: absolute;
    inset: -40px -10% 0;
    z-index: -1;
    background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(13, 10, 8, 0.75), transparent 75%);
    pointer-events: none;
}

.ltj-knights {
    height: clamp(200px, 19vw, 300px);
    z-index: 1;
}

.ltj-knight-l { left: max(12px, calc(50% - 600px)); }
.ltj-knight-r { right: max(12px, calc(50% - 600px)); }

/* silhouette knights, rim-lit by the torches */
.ltj-knight > g,
.ltj-knight > g > g {
    fill: #0b0806;
    stroke: #d9b176;
    stroke-opacity: 0.55;
    stroke-width: 1.2;
}

.ltj-knight path[fill="#2a1d14"] { fill: #120c08; }
.ltj-knight path[fill="#221812"] { fill: #100b07; }
.ltj-knight path[fill="#7a2a1f"] { fill: #5a1a12; }

.ltj-knight-l {
    filter: drop-shadow(6px 0 12px rgba(255, 150, 60, 0.28)) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.8));
}

.ltj-knight-r {
    filter: drop-shadow(-6px 0 12px rgba(255, 150, 60, 0.28)) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.8));
}

.ltj-road {
    height: 26%;
}

.ltj-road-line {
    stroke: #ffc26a;
    stroke-opacity: 0.6;
}

@media (max-width: 980px) {
    .ltj-knight {
        opacity: 0.8;
    }
}

/* scene placement + darker, larger knights */
.ltj-reviews {
    padding-bottom: clamp(300px, 46vw, 690px);
}

.ltj-knights {
    height: clamp(230px, 23vw, 350px);
}

.ltj-knight > g,
.ltj-knight > g > g {
    stroke-opacity: 0.32;
}

.ltj-knight path[fill^="url"],
.ltj-knight ellipse[fill^="url"] {
    fill: #2b2016;
    stroke-opacity: 0.6;
}

.ltj-knight .ltj-pennant,
.ltj-knight .ltj-plume {
    stroke-opacity: 0.2;
}

/* =====================================================
   JOURNEY RAIL — knight riding a winding mountain road
===================================================== */

.ltj-rail {
    position: fixed;
    top: 50%;
    left: 14px;
    z-index: 60;
    width: 76px;
    height: min(66vh, 560px);
    translate: 0 -50%;
    transition: opacity 0.3s ease;
}

body.modal-open .ltj-rail,
body.modal-open .ltj-progress {
    opacity: 0;
    pointer-events: none;
}

.ltj-rail-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ltj-rail-road {
    fill: none;
    stroke: rgba(201, 162, 106, 0.4);
    stroke-width: 2;
    stroke-dasharray: 2 6;
    stroke-linecap: round;
}

.ltj-rail-trail {
    fill: none;
    stroke: var(--ltj-gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(240, 200, 120, 0.6));
    transition: stroke-dashoffset 0.15s linear;
}

.ltj-mt-back { fill: #1f1812; stroke: rgba(201, 162, 106, 0.45); stroke-width: 0.9; }
.ltj-mt-front { fill: #2a2017; stroke: rgba(201, 162, 106, 0.55); stroke-width: 0.9; }
.ltj-mt-snow { fill: #e8dcc2; opacity: 0.8; }

.ltj-rail-stop {
    position: absolute;
    width: 28px;
    height: 28px;
    padding: 0;
    translate: -50% -50%;
    border: 0;
    background: none;
    cursor: pointer;
}

.ltj-rail-stop::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    translate: -50% -50%;
    rotate: 45deg;
    border: 1px solid var(--ltj-gold);
    background: #15120f;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ltj-rail-stop.is-passed::before {
    background: var(--ltj-gold);
}

.ltj-rail-stop.is-current::before {
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(240, 200, 120, 0.7);
}

.ltj-rail-label {
    position: absolute;
    top: 50%;
    left: calc(100% + 34px);
    translate: 0 -50%;
    padding: 4px 10px;
    border: 1px solid var(--ltj-line);
    border-radius: 999px;
    background: rgba(21, 18, 15, 0.92);
    color: var(--ltj-gold-light);
    font-family: var(--ltj-title);
    font-size: 12px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ltj-rail-stop:hover .ltj-rail-label,
.ltj-rail-stop:focus-visible .ltj-rail-label {
    opacity: 1;
    transform: none;
}

/* the rider */
.ltj-rider {
    position: absolute;
    left: 0;
    top: 0;
    width: 54px;
    height: 44px;
    translate: -50% -88%;
    pointer-events: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 8px rgba(240, 200, 120, 0.35));
    transition: left 0.15s linear, top 0.15s linear;
}

.ltj-rider svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease;
}

.ltj-rider.is-left svg {
    transform: scaleX(-1);
}

.ltj-rider.is-riding .ltj-rider-body {
    animation: ltj-gallop 0.32s ease-in-out infinite;
}

.ltj-rider.is-riding .ltj-leg-a { animation: ltj-leg 0.32s ease-in-out infinite; }
.ltj-rider.is-riding .ltj-leg-b { animation: ltj-leg 0.32s ease-in-out infinite reverse; }

.ltj-leg-a,
.ltj-leg-b,
.ltj-rider-pennant {
    transform-box: fill-box;
    transform-origin: 50% 0;
}

.ltj-rider-pennant {
    transform-origin: 0 50%;
    animation: ltj-wave 1.4s ease-in-out infinite;
}

@keyframes ltj-gallop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(-2deg); }
}

@keyframes ltj-leg {
    0%, 100% { transform: rotate(14deg); }
    50% { transform: rotate(-14deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ltj-rider,
    .ltj-rider *,
    .ltj-rail-trail {
        animation: none !important;
        transition: none !important;
    }
}

/* phones and small screens: a thin gold progress line at the top */
.ltj-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 3px;
    background: linear-gradient(90deg, var(--ltj-gold-dark), var(--ltj-gold-light));
    box-shadow: 0 0 10px rgba(240, 200, 120, 0.6);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

[dir="rtl"] .ltj-progress {
    transform-origin: 100% 50%;
}

@media (max-width: 1100px) {
    .ltj-rail {
        display: none;
    }
}

@media (min-width: 1101px) {
    .ltj-progress {
        display: none;
    }
}

/* =====================================================
   LIVE CHAT
===================================================== */

.ltj-chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px 0 16px;
    border: 1px solid #e2c38c;
    border-radius: 999px;
    background: linear-gradient(180deg, #d9b67c, #a7804a);
    color: #17120c;
    font: 700 15px "Source Sans 3", Georgia, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(201, 162, 106, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ltj-chat-launcher svg {
    width: 24px;
    height: 24px;
}

.ltj-chat-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(201, 162, 106, 0.45);
}

.ltj-chat-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #b3341f;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 0 0 2px #15120f;
}

.ltj-chat-badge[hidden] {
    display: none;
}

.ltj-chat-panel {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 9991;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 24px));
    height: min(560px, calc(100vh - 120px));
    border: 1px solid var(--ltj-gold-dark);
    border-radius: 14px;
    overflow: hidden;
    background: #15120f;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transform-origin: 100% 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ltj-chat-panel.is-open {
    opacity: 1;
    transform: none;
}

.ltj-chat-panel[hidden] {
    display: none;
}

.ltj-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 14px 18px;
    border-bottom: 1px solid var(--ltj-line);
    background:
        linear-gradient(180deg, rgba(201, 162, 106, 0.12), transparent),
        #1a1511;
}

.ltj-chat-headtext {
    flex: 1;
    min-width: 0;
}

.ltj-chat-title {
    margin: 0;
    font-family: var(--ltj-title);
    font-size: 16px;
    color: var(--ltj-gold-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ltj-chat-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: #8f8270;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ltj-chat-close,
.ltj-chat-back {
    flex: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--ltj-line);
    border-radius: 50%;
    background: transparent;
    color: var(--ltj-gold-light);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.ltj-chat-close:hover,
.ltj-chat-back:hover {
    border-color: var(--ltj-gold);
}

.ltj-chat-back[hidden] {
    display: none;
}

.ltj-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        url("images/contours.svg") center / 900px auto,
        #120f0c;
}

.ltj-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.ltj-msg.is-mine {
    align-self: flex-end;
    align-items: flex-end;
}

.ltj-msg.is-theirs {
    align-self: flex-start;
    align-items: flex-start;
}

.ltj-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ltj-msg.is-mine .ltj-msg-bubble {
    border-end-end-radius: 4px;
    background: linear-gradient(180deg, #d9b67c, #b48c54);
    color: #17120c;
}

.ltj-msg.is-theirs .ltj-msg-bubble {
    border-end-start-radius: 4px;
    border: 1px solid var(--ltj-line);
    background: #1f1914;
    color: #e3d7c1;
}

.ltj-msg-time {
    margin-top: 3px;
    font-size: 11px;
    color: #6f6556;
}

.ltj-msg-welcome .ltj-msg-time {
    display: none;
}

.ltj-chat-note {
    margin: auto;
    color: #8f8270;
    font-size: 13px;
    text-align: center;
}

.ltj-chat-note.is-error {
    margin: 0;
    color: #d79b85;
}

.ltj-chat-gate {
    margin-top: auto;
    padding: 18px;
    border: 1px dashed var(--ltj-gold-dark);
    border-radius: 10px;
    text-align: center;
    color: #cbbfa9;
}

.ltj-chat-gate p {
    margin: 0 0 14px;
}

.ltj-chat-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--ltj-line);
    background: #1a1511;
}

.ltj-chat-form[hidden] {
    display: none;
}

.ltj-chat-input {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    padding: 11px 14px;
    border: 1px solid var(--ltj-line);
    border-radius: 12px;
    background: #0f0d0b;
    color: var(--ltj-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    resize: none;
}

.ltj-chat-input:focus {
    outline: none;
    border-color: var(--ltj-gold);
}

.ltj-chat-send {
    flex: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #d9b67c, #a7804a);
    color: #17120c;
    cursor: pointer;
}

.ltj-chat-send svg {
    width: 20px;
    height: 20px;
}

[dir="rtl"] .ltj-chat-send svg {
    transform: scaleX(-1);
}

.ltj-chat-send:disabled {
    opacity: 0.5;
}

/* admin inbox rows */
.ltj-thread {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ltj-line);
    border-radius: 10px;
    background: #1a1511;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.ltj-thread:hover {
    border-color: var(--ltj-gold);
}

.ltj-thread.has-unread {
    border-color: var(--ltj-gold-dark);
    background: #221a12;
}

.ltj-thread-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--ltj-gold-light);
}

.ltj-thread-time {
    flex: none;
    font-size: 12px;
    color: #8f8270;
}

.ltj-thread-preview {
    font-size: 13px;
    color: #a99a83;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ltj-thread-unread {
    position: absolute;
    top: 50%;
    inset-inline-end: 12px;
    translate: 0 -10%;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #b3341f;
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}


body.modal-open .ltj-chat-launcher {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 600px) {
    .ltj-chat-launcher {
        right: 14px;
        bottom: 14px;
        padding: 0 16px 0 14px;
    }

    .ltj-chat-panel {
        right: 8px;
        left: 8px;
        bottom: 76px;
        width: auto;
        height: calc(100vh - 96px);
        height: calc(100dvh - 96px);
    }


    /* the character medallion moves up to sit above the chat button */
    #characterMark {
        bottom: 80px !important;
    }
}

.ltj-chat-body > * {
    flex-shrink: 0;
}

/* the site styles every <header> as the top navigation; undo that inside the chat */
.ltj-chat-panel .ltj-chat-head {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    z-index: 1;
}

/* =====================================================
   PHONES — give everything room to breathe
===================================================== */

@media (max-width: 600px) {

    /* headings: smaller, with more air between lines */
    .hero h1 {
        font-size: clamp(36px, 10.5vw, 44px);
        line-height: 1.12;
        letter-spacing: 0;
    }

    .work h2,
    .services h2,
    .about h2,
    .commission h2,
    .packages-header h2,
    .ltj-reviews h2,
    .ltj-faq h2 {
        font-size: clamp(27px, 7.6vw, 32px);
        line-height: 1.22;
        letter-spacing: 0.01em;
    }

    /* small gold labels stay on one line */
    .section-label,
    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.22em;
        gap: 10px;
        white-space: nowrap;
    }

    .section-label::before,
    .section-label::after,
    .eyebrow::before,
    .eyebrow::after {
        width: 18px;
    }

    /* buttons: tighter letters so the price stays on one line */
    .button {
        padding: 15px 20px;
        letter-spacing: 1px;
    }

    /* easier-to-read body text */
    .hero-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .package-description,
    .map-info p,
    .ltj-review-empty-text,
    .ltj-faq-item p {
        font-size: 15px;
        line-height: 1.7;
        color: #b9ab92;
    }

    /* more space between sections, less inside cards */
    .work,
    .services,
    .about,
    .packages,
    .commission,
    .ltj-reviews,
    .ltj-faq {
        padding-top: 72px;
    }

    .package-card {
        padding: 30px 22px;
    }

    .ltj-foot-top {
        padding-top: 40px;
    }

    /* the chat button becomes a round icon so it covers less */
    .ltj-chat-launcher {
        width: 56px;
        height: 56px;
        min-height: 0;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .ltj-chat-launch-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .ltj-chat-launcher svg {
        width: 26px;
        height: 26px;
    }

    .ltj-chat-panel {
        bottom: 82px;
    }

    /* leave room at the very bottom so nothing hides behind the floating buttons */
    footer.ltj-footer {
        padding-bottom: 80px;
    }
}

/* =====================================================
   PHONES — side-by-side, swipeable layout
   (instead of one long column)
===================================================== */

.ltj-dots {
    display: none;
}

@media (max-width: 700px) {

    /* swipe rows: maps, packages, reviews */
    .map-grid,
    .package-grid,
    .ltj-review-list {
        display: flex !important;
        grid-template-columns: none;
        gap: 14px;
        margin-inline: calc(-1 * max(5vw, 20px));
        padding: 6px max(5vw, 20px) 18px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: max(5vw, 20px);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .map-grid::-webkit-scrollbar,
    .package-grid::-webkit-scrollbar,
    .ltj-review-list::-webkit-scrollbar {
        display: none;
    }

    .map-grid > .map-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .package-grid > .package-card {
        flex: 0 0 84%;
        scroll-snap-align: start;
        margin: 0;
    }

    .ltj-review-list > .ltj-review {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }

    .ltj-review-list > .ltj-review-empty {
        flex: 1 0 100%;
    }

    /* the swipe position dots under each row */
    .ltj-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }

    .ltj-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 1px solid var(--ltj-gold);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }

    .ltj-dots button.is-active {
        width: 22px;
        border-radius: 999px;
        background: var(--ltj-gold);
    }

    /* services: a 2 x 2 grid (the 5th card spans the row) */
    .services-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .service-item,
    .service-item:hover {
        min-height: 150px;
        padding: 14px;
    }

    .service-item h3 {
        font-size: 17px;
    }

    .service-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        min-height: 120px;
    }

    /* commission steps: three across */
    .commission-steps {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .commission-step {
        padding: 16px 6px !important;
        border: 1px solid var(--ltj-line) !important;
        border-radius: 8px;
        background: rgba(26, 21, 17, 0.7);
        text-align: center;
    }

    .commission-step p {
        font-size: 13px;
        line-height: 1.35;
    }

    /* footer: Explore and Contact side by side */
    .ltj-foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .ltj-foot-grid > .ltj-foot-col:last-child {
        grid-column: 1 / -1;
    }

    .ltj-contact {
        gap: 8px;
        font-size: 14px;
    }

    .ltj-contact svg {
        width: 32px;
        height: 32px;
        padding: 7px;
    }

    /* FAQ answers stay compact */
    .ltj-faq-item summary {
        padding: 16px 2px;
        font-size: 16px;
    }
}
