:root {
    --bg: #050505;
    --bg-soft: #0a0907;
    --surface: rgba(13, 12, 10, 0.88);
    --surface-strong: #0d0c0a;
    --text: #f4f0e9;
    --muted: #aaa69e;
    --line: rgba(255, 255, 255, 0.11);
    --gold: #c8a64b;
    --gold-light: #efd27a;
    --terra: #d76a43;
    --header-height: 74px;
    --page-padding: clamp(28px, 3vw, 52px);
    --content-width: 1460px;
    --section-width: 1420px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
    --transition: 320ms cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: var(--header-height);
    padding: 0 var(--page-padding);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.97), rgba(4, 4, 4, 0.76));
    backdrop-filter: blur(14px);
    transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-color: rgba(255, 255, 255, 0.14);
}

.brand {
    justify-self: start;
    color: var(--gold-light);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.32em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(34px, 4vw, 68px);
}

.main-navigation a,
.login-link {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    transition: color 180ms ease;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.login-link:hover,
.login-link:focus-visible {
    color: #fff;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
    transform: scaleX(1);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 28px;
}

.search-button,
.menu-toggle,
.featured-controls button,
.journey-card-close {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
}

.search-button svg {
    width: 20px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.78);
    stroke-linecap: round;
    stroke-width: 1.5;
}

.signup-button,
.primary-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.signup-button,
.primary-button {
    border: 1px solid rgba(255, 226, 146, 0.46);
    background: linear-gradient(135deg, #d5b55d, #b58d31);
    color: #100d06;
    box-shadow: 0 10px 35px rgba(196, 156, 54, 0.14);
}

.signup-button {
    min-width: 101px;
    min-height: 38px;
    text-transform: none;
}

.outline-button {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.9);
}

.signup-button:hover,
.primary-button:hover,
.outline-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.menu-toggle {
    display: none;
}

/* Hero */
.home-page {
    min-height: 100vh;
    background: var(--bg);
}

.home-hero {
    position: relative;
    min-height: 792px;
    padding-top: var(--header-height);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
    background: #030303;
}

.space-background {
    position: absolute;
    inset: var(--header-height) 0 0;
    z-index: -4;
    pointer-events: none;
    background:
        radial-gradient(circle at 79% 17%, rgba(207, 165, 62, 0.85) 0 1px, transparent 1.8px),
        radial-gradient(circle at 91% 57%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.7px),
        radial-gradient(circle at 13% 25%, rgba(255, 255, 255, 0.42) 0 0.8px, transparent 1.5px),
        radial-gradient(circle at 62% 66%, rgba(255, 255, 255, 0.4) 0 0.8px, transparent 1.5px),
        radial-gradient(circle at 42% 31%, rgba(255, 255, 255, 0.34) 0 0.7px, transparent 1.4px),
        radial-gradient(ellipse at 67% 24%, rgba(71, 61, 39, 0.18), transparent 50%),
        linear-gradient(90deg, #030303 0%, #050505 34%, #020202 100%);
}

.space-background::before,
.space-background::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.36;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 0.7px, transparent 0.8px),
        radial-gradient(circle, rgba(201, 164, 74, 0.5) 0 0.8px, transparent 0.9px);
    background-position: 0 0, 48px 33px;
    background-size: 112px 112px, 157px 157px;
}

.space-background::after {
    opacity: 0.18;
    transform: scale(1.18) rotate(7deg);
}

.hero-content {
    position: relative;
    width: 100%;
    min-height: 554px;
    margin: 0;
    padding: 58px var(--page-padding) 10px;
}

.hero-copy {
    position: relative;
    z-index: 12;
    width: min(420px, 33vw);
    padding-top: 0;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
    color: var(--gold);
}

.hero-kicker span {
    width: 38px;
    height: 1px;
    background: var(--gold);
}

.hero-kicker p {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(52px, 4.65vw, 76px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.038em;
}

.hero-copy h1 em {
    display: inline-block;
    color: var(--gold-light);
    font-style: normal;
}

.hero-description {
    max-width: 370px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.82;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
}

.hero-actions .primary-button {
    min-width: 163px;
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.text-button span {
    color: var(--gold-light);
    font-size: 18px;
    transition: transform 180ms ease;
}

.text-button:hover span {
    transform: translateX(4px);
}

.globe-stage {
    position: absolute;
    z-index: 2;
    top: -128px;
    left: 38vw;
    width: clamp(1020px, 66vw, 1080px);
    height: clamp(1020px, 66vw, 1080px);
    min-width: 1020px;
    min-height: 1020px;
    overflow: visible;
    pointer-events: auto;
}

.globe-halo {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        transparent 0 53%,
        rgba(190, 144, 45, 0.08) 59%,
        rgba(203, 160, 57, 0.17) 65%,
        rgba(203, 160, 57, 0.08) 70%,
        transparent 77%
    );
    filter: none;
    transform: scale(1.035);
    pointer-events: none;
}

#globe-container {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#globe-container:active {
    cursor: grabbing;
}

#globe-container canvas {
    display: block;
    outline: none;
}

.yuno-globe-marker {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

/* Punto luminoso collocato sulla sommità del raggio 3D. */
.yuno-globe-marker::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255, 244, 205, 0.96);
    border-radius: 50%;
    background: #e1b44b;
    box-shadow:
        0 0 0 3px rgba(222, 177, 67, 0.14),
        0 0 12px rgba(255, 215, 112, 0.98),
        0 0 25px rgba(224, 170, 52, 0.55);
    transform: translate(-50%, -50%);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

/* Alone morbido: il cilindro vero viene disegnato radialmente da Globe.gl. */
.yuno-globe-marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 223, 132, 0.34) 0 12%, rgba(218, 164, 47, 0.13) 38%, transparent 72%);
    filter: blur(1.8px);
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.yuno-globe-marker:hover::before,
.yuno-globe-marker:focus-visible::before,
.yuno-globe-marker.is-active::before {
    background: #ffe39a;
    box-shadow:
        0 0 0 5px rgba(255, 220, 120, 0.17),
        0 0 18px rgba(255, 229, 149, 1),
        0 0 38px rgba(226, 176, 61, 0.7);
    transform: translate(-50%, -50%) scale(1.35);
}

.yuno-globe-marker:hover::after,
.yuno-globe-marker:focus-visible::after,
.yuno-globe-marker.is-active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.24);
}

.yuno-globe-marker:focus-visible {
    outline: 1px solid rgba(255, 225, 132, 0.95);
    outline-offset: 4px;
}

.globe-empty {
    position: absolute;
    inset: 48% auto auto 50%;
    width: 260px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.76);
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.active-journey-card {
    position: absolute;
    z-index: 22;
    top: 194px;
    right: clamp(48px, 7.8vw, 128px);
    width: min(318px, 25vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 9px;
    background: rgba(9, 9, 9, 0.94);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px) scale(0.98);
    transition: opacity 260ms ease, transform 260ms ease;
    backdrop-filter: blur(16px);
}

.active-journey-card.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.active-journey-cover-link {
    display: block;
    height: 153px;
    overflow: hidden;
}

.active-journey-cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.active-journey-cover-link:hover img {
    transform: scale(1.035);
}

.journey-card-close {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.72);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.active-journey-content {
    padding: 17px 20px 15px;
}

.active-journey-location,
.story-location {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.active-journey-location {
    margin: 0 0 7px;
}

.active-journey-content h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
}

.active-journey-author {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.active-journey-author img,
.author-fallback,
.story-avatar {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border: 1px solid rgba(239, 210, 122, 0.55);
    border-radius: 50%;
    object-fit: cover;
}

.author-fallback,
.story-avatar {
    display: inline-grid;
    place-items: center;
    background: #29251b;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 14px;
}

.active-journey-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
}

.active-journey-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.active-journey-metrics svg {
    width: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.active-journey-metrics strong {
    color: #fff;
    font-weight: 400;
}

.active-journey-open {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 13px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-strip {
    position: relative;
    z-index: 30;
    width: min(1200px, 92vw);
    margin: -2px auto 0;
    padding: 0 0 16px;
}

.featured-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.featured-heading > p {
    margin: 0;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.featured-controls {
    display: flex;
    gap: 7px;
}

.featured-controls button {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.86);
}

.featured-controls button:disabled {
    opacity: 0.3;
    cursor: default;
}

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

.story-card {
    position: relative;
    min-height: 148px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    background: #151515;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    transition: border-color 180ms ease, transform 180ms ease;
}

.story-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease, filter 450ms ease;
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 8%, rgba(0, 0, 0, 0.88) 100%);
}

.story-content {
    position: absolute;
    inset: auto 17px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.story-content strong {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.04;
}

.story-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 9px;
}

.story-avatar {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    font-size: 11px;
}

.story-card:hover,
.story-card:focus-visible {
    border-color: rgba(239, 210, 122, 0.6);
    transform: translateY(-3px);
}

.story-card:hover > img,
.story-card:focus-visible > img {
    transform: scale(1.055);
    filter: brightness(1.08);
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 25px var(--page-padding) 30px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.home-stats article {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 66px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.home-stats article:last-child {
    border-right: 0;
}

.stat-icon {
    color: var(--gold);
    font-size: 24px;
}

.home-stats p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.home-stats strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.home-stats p span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.data-warning {
    position: relative;
    z-index: 40;
    max-width: 980px;
    margin: 18px auto;
    padding: 12px 16px;
    border: 1px solid rgba(232, 184, 76, 0.4);
    background: rgba(92, 67, 15, 0.25);
    color: #ead9a8;
    font-size: 12px;
    line-height: 1.6;
}

/* Lower homepage */
.section-container {
    width: min(var(--section-width), calc(100% - (var(--page-padding) * 2)));
    margin: 0 auto;
}

.editorial-section {
    position: relative;
    padding: clamp(110px, 10vw, 176px) 0;
    overflow: hidden;
}

.section-kicker {
    margin: 0 0 22px;
    color: var(--terra);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.editorial-section h2,
.final-cta h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 5.2vw, 80px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.editorial-section h2 em,
.final-cta h2 em {
    color: var(--gold);
    font-style: normal;
}

.section-lead {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.about-showcase {
    background:
        radial-gradient(circle at 12% 20%, rgba(201, 168, 76, 0.08), transparent 40%),
        radial-gradient(circle at 86% 82%, rgba(215, 106, 67, 0.05), transparent 42%),
        #080808;
}

.about-layout,
.manifesto-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(58px, 7vw, 112px);
    align-items: center;
}

.about-media,
.manifesto-media {
    position: relative;
}

.about-image,
.manifesto-media > img {
    overflow: hidden;
    border-radius: 30px;
}

.about-image img,
.manifesto-media > img {
    width: 100%;
    min-height: 650px;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    right: -34px;
    bottom: -38px;
    width: min(310px, 52%);
    min-height: 230px;
    display: flex;
    align-items: flex-end;
    padding: 30px 30px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 245, 209, 0.38);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(231, 199, 99, 0.98), rgba(197, 151, 48, 0.98));
    box-shadow:
        0 32px 72px rgba(0, 0, 0, 0.48),
        0 0 38px rgba(207, 168, 64, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.about-floating-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    pointer-events: none;
}

.about-floating-card::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 24px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--terra);
    box-shadow:
        0 0 0 7px rgba(215, 106, 67, 0.11),
        0 0 24px rgba(215, 106, 67, 0.36);
}

.about-floating-card span {
    position: relative;
    z-index: 1;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(27px, 2.05vw, 37px);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.feature-grid article {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.feature-grid article > span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: rgba(201, 168, 76, 0.11);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 17px;
}

.feature-grid h3 {
    margin: 18px 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.feature-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.journey-showcase {
    background: #0b0b0b;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 68px;
}

.section-heading > div {
    max-width: 760px;
}

.section-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.journey-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.journey-gallery-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 26px;
    background: #141414;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.journey-gallery-card:hover,
.journey-gallery-card:focus-within {
    transform: translateY(-9px);
    border-color: rgba(201, 168, 76, 0.32);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

.journey-gallery-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.journey-gallery-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 5, 0.5));
}

.journey-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms ease;
}

.journey-gallery-card:hover img {
    transform: scale(1.06);
}

.journey-gallery-content {
    padding: 25px 26px 26px;
}

.journey-gallery-content > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.journey-gallery-content h3 {
    margin: 10px 0 11px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.04;
}

.journey-gallery-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.journey-gallery-content > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.64);
}

.manifesto-section {
    background:
        radial-gradient(circle at 80% 28%, rgba(201, 168, 76, 0.08), transparent 40%),
        #070707;
}

.manifesto-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.manifesto-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.manifesto-points article {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.manifesto-points span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 28px;
}

.manifesto-points p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.manifesto-media > img {
    min-height: 720px;
}

.manifesto-media blockquote {
    position: absolute;
    right: -24px;
    bottom: -32px;
    width: min(390px, 70%);
    margin: 0;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(18, 16, 13, 0.94);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.28;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.34);
}

.manifesto-media cite {
    display: block;
    margin-top: 20px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.final-cta {
    padding: clamp(100px, 9vw, 155px) 0;
    background: #0a0907;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(65px, 8vw, 105px) var(--page-padding);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.16), transparent 46%),
        linear-gradient(135deg, rgba(23, 20, 14, 0.97), rgba(10, 10, 10, 0.97));
    text-align: center;
}

.cta-panel h2 {
    max-width: 840px;
    margin: 0 auto;
}

.cta-panel > p:not(.section-kicker) {
    max-width: 650px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 44px;
}

.cta-actions a {
    min-width: 205px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    padding: 74px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050505;
}

.site-footer-inner {
    width: min(var(--section-width), calc(100% - (var(--page-padding) * 2)));
    margin: 0 auto;
}

.site-footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 52px;
}

.footer-brand-name {
    color: var(--gold-light);
    font-size: 24px;
    letter-spacing: 0.28em;
}

.footer-intro {
    max-width: 360px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h3 {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* Journey detail compatibility */
.journey-detail {
    min-height: 100vh;
    padding: calc(var(--header-height) + 34px) var(--page-padding) 80px;
    background: #050505;
}

.journey-detail-back {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--gold-light);
    font-size: 12px;
}

.journey-detail-hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    border-radius: 24px;
}

.journey-detail-hero > img,
.journey-detail-hero > video,
.journey-detail-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.journey-detail-hero > img,
.journey-detail-hero > video {
    object-fit: cover;
}

.journey-detail-hero > video {
    background: #050505;
}

.journey-detail-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.journey-detail-copy {
    position: absolute;
    right: 6vw;
    bottom: 7vh;
    left: 6vw;
}

.journey-detail-copy p {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.journey-detail-copy h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(54px, 8vw, 110px);
    font-weight: 500;
    line-height: 0.88;
}

.journey-detail-copy h2 {
    margin: 14px 0;
    font-size: 16px;
    font-weight: 300;
}

.journey-detail-copy span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.journey-detail-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 980px;
    margin: 54px auto 0;
}

.journey-detail-body > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.25;
}

.journey-detail-body dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
}

.journey-detail-body dl div {
    padding: 16px;
    border-left: 1px solid var(--line);
}

.journey-detail-body dt {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journey-detail-body dd {
    margin: 8px 0 0;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 24px;
}

@media (max-width: 1280px) {
    .globe-stage {
        top: -82px;
        left: 31vw;
        width: min(88vw, 980px);
        height: min(88vw, 980px);
        min-width: 820px;
        min-height: 820px;
    }

    .active-journey-card {
        right: 28px;
        width: 300px;
    }

    .featured-strip {
        width: min(1120px, 92vw);
    }

    .stories-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .story-content strong {
        font-size: 18px;
    }
}

@media (max-width: 1020px) {
    :root {
        --header-height: 68px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 7px;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .menu-toggle span {
        width: 23px;
        height: 1px;
        background: #fff;
        transition: transform 200ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset: var(--header-height) 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px var(--page-padding) 26px;
        border-bottom: 1px solid var(--line);
        background: rgba(5, 5, 5, 0.98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-navigation a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 15px;
    }

    .header-actions {
        display: none;
    }

    .home-hero {
        min-height: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-top: 44px;
        padding-bottom: 0;
    }

    .hero-copy {
        width: min(100%, 560px);
    }

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

    .globe-stage {
        position: relative;
        top: auto;
        left: 53%;
        width: min(900px, 126vw);
        height: min(900px, 126vw);
        min-width: 0;
        min-height: 0;
        margin-top: -50px;
        margin-bottom: -150px;
        transform: translateX(-50%);
    }

    .active-journey-card {
        top: auto;
        right: var(--page-padding);
        bottom: 84px;
        width: min(320px, calc(100vw - (var(--page-padding) * 2)));
    }

    .featured-strip {
        width: 94vw;
    }

    .stories-track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .stories-track::-webkit-scrollbar {
        display: none;
    }

    .story-card,
    .story-card:nth-child(4) {
        display: block;
        min-width: min(310px, 74vw);
        min-height: 150px;
        scroll-snap-align: start;
    }

    .home-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-stats article:nth-child(2) {
        border-right: 0;
    }

    .home-stats article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .about-layout,
    .manifesto-layout {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about-copy {
        max-width: 760px;
    }

    .about-floating-card,
    .manifesto-media blockquote {
        right: 22px;
    }

    .about-floating-card {
        width: min(300px, 48%);
        min-height: 210px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .site-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    :root {
        --page-padding: 20px;
    }

    .brand {
        font-size: 17px;
    }

    .hero-content {
        padding-top: 35px;
    }

    .hero-copy h1 {
        font-size: clamp(46px, 13.5vw, 62px);
        line-height: 0.95;
    }

    .hero-description {
        max-width: 95%;
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 24px;
    }

    .globe-stage {
        left: 55%;
        width: 145vw;
        height: 145vw;
        margin-top: -5px;
        margin-bottom: -58px;
    }

    .active-journey-card {
        position: fixed;
        z-index: 110;
        right: 14px;
        bottom: 14px;
        width: calc(100vw - 28px);
        max-width: 390px;
    }

    .active-journey-cover-link {
        height: 128px;
    }

    .featured-controls {
        display: none;
    }

    .story-card,
    .story-card:nth-child(4) {
        min-width: 78vw;
        min-height: 142px;
    }

    .home-stats {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-stats article {
        gap: 10px;
        padding: 10px 6px;
    }

    .stat-icon {
        font-size: 19px;
    }

    .home-stats strong {
        font-size: 24px;
    }

    .home-stats p span {
        font-size: 8px;
    }

    .editorial-section {
        padding: 105px 0;
    }

    .about-image img,
    .manifesto-media > img {
        min-height: 470px;
    }

    .about-floating-card,
    .manifesto-media blockquote {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: -40px;
    }

    .about-floating-card {
        min-height: 0;
        align-items: flex-end;
        padding: 28px;
    }

    .about-floating-card span {
        max-width: 13ch;
        font-size: clamp(29px, 9vw, 40px);
    }

    .feature-grid,
    .manifesto-points,
    .journey-gallery {
        grid-template-columns: 1fr;
    }

    .feature-grid article {
        min-height: 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading > p,
    .section-lead,
    .cta-panel > p:not(.section-kicker) {
        font-size: 15px;
    }

    .cta-panel {
        padding: 58px 22px;
        border-radius: 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions a {
        width: 100%;
    }

    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer-bottom {
        flex-direction: column;
    }

    .journey-detail {
        padding-right: 16px;
        padding-left: 16px;
    }

    .journey-detail-hero {
        min-height: 68vh;
    }

    .journey-detail-copy {
        right: 24px;
        left: 24px;
        bottom: 34px;
    }

    .journey-detail-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .journey-detail-body dl {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/*
|--------------------------------------------------------------------------
| YUNO Home V5.0 — proporzioni preview, globo fisso e foschia morbida
|--------------------------------------------------------------------------
*/
@media (min-width: 1201px) {
    .hero-content {
        min-height: 554px;
        padding: 50px var(--page-padding) 8px;
    }

    .hero-copy {
        width: min(590px, 39vw);
    }

    .hero-copy h1 {
        font-size: clamp(60px, 4.2vw, 80px);
        line-height: 0.91;
    }

    .globe-stage {
        top: 0;
        left: clamp(520px, 39vw, 760px);
        width: clamp(820px, 54vw, 1040px);
        height: clamp(820px, 54vw, 1040px);
        min-width: 0;
        min-height: 0;
        overflow: visible;
    }

    .globe-halo {
        inset: -7%;
        opacity: 0.78;
        background: radial-gradient(
            circle at center,
            transparent 0 48%,
            rgba(246, 225, 168, 0.025) 54%,
            rgba(241, 211, 137, 0.075) 60%,
            rgba(234, 196, 103, 0.14) 67%,
            rgba(230, 188, 88, 0.09) 73%,
            rgba(229, 191, 101, 0.035) 79%,
            transparent 86%
        );
        filter: blur(24px);
        transform: scale(1.025);
    }

    .globe-halo::before,
    .globe-halo::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .globe-halo::before {
        inset: 8%;
        border: 1px solid rgba(247, 222, 157, 0.07);
        box-shadow:
            0 0 42px 14px rgba(241, 211, 136, 0.10),
            0 0 105px 34px rgba(209, 159, 59, 0.07);
        filter: blur(19px);
    }

    .globe-halo::after {
        inset: 1%;
        background: radial-gradient(
            circle,
            transparent 0 60%,
            rgba(255, 232, 177, 0.055) 67%,
            rgba(211, 161, 65, 0.025) 77%,
            transparent 88%
        );
        filter: blur(34px);
    }

    .active-journey-card {
        top: 196px;
        right: clamp(110px, 10vw, 205px);
        width: min(340px, 25vw);
    }

    .featured-strip {
        width: min(1520px, calc(100% - 96px));
        margin-top: -2px;
    }

    .stories-track {
        gap: 18px;
    }

    .story-card {
        min-height: 142px;
    }

    .story-content strong {
        font-size: 21px;
    }

    .home-stats {
        width: min(1520px, calc(100% - 96px));
        padding-right: 0;
        padding-left: 0;
    }
}

/* Il globo ruota, ma non intercetta la pagina con uno zoom a rotella. */
#globe-container,
#globe-container canvas {
    touch-action: pan-y;
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .hero-copy {
        width: min(530px, 38vw);
    }

    .hero-copy h1 {
        font-size: clamp(56px, 4.45vw, 68px);
    }

    .globe-stage {
        left: 39vw;
    }

    .active-journey-card {
        right: clamp(46px, 6vw, 90px);
        width: min(320px, 24vw);
    }
}

/*
|--------------------------------------------------------------------------
| YUNO Home V6.0 — globo guidato, marker preview e canvas più ampio
|--------------------------------------------------------------------------
*/

/* Nessuna interazione diretta con mouse, rotella, trackpad o touch. */
.globe-stage,
#globe-container,
#globe-container canvas,
.yuno-globe-marker {
    pointer-events: none;
    cursor: default;
    touch-action: pan-y;
}

/* Marker pulito come nel mockup: punto dorato, alone e bordo sottile. */
.yuno-globe-marker {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    transform: translate(-50%, -50%);
}

.yuno-globe-marker::before,
.yuno-globe-marker::after {
    content: none;
}

.yuno-marker-aura,
.yuno-marker-ring,
.yuno-marker-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.yuno-marker-aura {
    width: 28px;
    height: 28px;
    background: radial-gradient(
        circle,
        rgba(255, 235, 171, 0.30) 0 10%,
        rgba(221, 173, 57, 0.15) 30%,
        rgba(210, 157, 42, 0.045) 54%,
        transparent 74%
    );
    filter: blur(1.4px);
    opacity: 0.82;
}

.yuno-marker-ring {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(241, 205, 113, 0.28);
    opacity: 0.55;
    transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.yuno-marker-core {
    width: 6px;
    height: 6px;
    border: 1px solid rgba(255, 247, 216, 0.94);
    background: #dfae3f;
    box-shadow:
        0 0 8px rgba(255, 225, 137, 0.96),
        0 0 19px rgba(222, 169, 51, 0.64);
}

.yuno-globe-marker.is-active .yuno-marker-aura {
    width: 38px;
    height: 38px;
    opacity: 1;
    background: radial-gradient(
        circle,
        rgba(255, 243, 194, 0.35) 0 10%,
        rgba(226, 179, 61, 0.18) 32%,
        rgba(218, 164, 46, 0.055) 58%,
        transparent 78%
    );
}

.yuno-globe-marker.is-active .yuno-marker-ring {
    width: 23px;
    height: 23px;
    border-color: rgba(247, 216, 134, 0.72);
    opacity: 1;
    box-shadow: 0 0 12px rgba(224, 173, 52, 0.18);
}

.yuno-globe-marker.is-active .yuno-marker-core {
    width: 7px;
    height: 7px;
    background: #f2c95f;
    box-shadow:
        0 0 10px rgba(255, 239, 180, 1),
        0 0 26px rgba(230, 181, 63, 0.78);
}

@media (min-width: 1201px) {
    /*
     * Canvas più largo del diametro del globo: l'atmosfera 3D ha spazio ai
     * lati e non viene troncata. L'altezza conserva la scala della preview.
     */
    .globe-stage {
        top: -2px;
        right: -8px;
        left: auto;
        width: clamp(1100px, 70vw, 1260px);
        height: clamp(850px, 55vw, 1030px);
        min-width: 0;
        min-height: 0;
        overflow: visible;
    }

    /* Foschia circolare centrata sulla sfera, non sull'intero canvas largo. */
    .globe-halo {
        top: 50%;
        left: 50%;
        inset: auto;
        width: auto;
        height: 116%;
        aspect-ratio: 1;
        opacity: 0.84;
        border-radius: 50%;
        background: radial-gradient(
            circle,
            transparent 0 50%,
            rgba(255, 236, 185, 0.025) 56%,
            rgba(244, 218, 151, 0.075) 63%,
            rgba(225, 184, 90, 0.12) 70%,
            rgba(217, 169, 69, 0.052) 78%,
            transparent 87%
        );
        filter: blur(29px);
        transform: translate(-50%, -50%);
    }

    .globe-halo::before {
        inset: 8%;
        border-color: rgba(255, 232, 171, 0.055);
        box-shadow:
            0 0 50px 18px rgba(244, 215, 143, 0.075),
            0 0 118px 42px rgba(207, 155, 52, 0.055);
        filter: blur(23px);
    }

    .globe-halo::after {
        inset: 0;
        background: radial-gradient(
            circle,
            transparent 0 61%,
            rgba(255, 236, 190, 0.045) 68%,
            rgba(219, 171, 76, 0.018) 79%,
            transparent 90%
        );
        filter: blur(39px);
    }
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .globe-stage {
        right: -24px;
        left: auto;
        width: clamp(1040px, 72vw, 1160px);
        height: clamp(820px, 58vw, 960px);
    }
}

/*
|--------------------------------------------------------------------------
| YUNO Home V8.0 — selezione card e scheda cinematica
|--------------------------------------------------------------------------
*/

.story-card.is-selected {
    border-color: rgba(242, 207, 111, 0.92);
    box-shadow:
        0 0 0 1px rgba(208, 165, 57, 0.16),
        0 18px 48px rgba(0, 0, 0, 0.48),
        0 0 34px rgba(203, 157, 43, 0.12);
    transform: translateY(-3px);
}

.story-card.is-selected::after {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 211, 119, 0.95));
    box-shadow: 0 0 10px rgba(229, 184, 65, 0.5);
}

.story-card.is-selected > img {
    filter: brightness(1.08) saturate(0.95);
    transform: scale(1.045);
}

.active-journey-card {
    transform: translate3d(34px, 8px, 0) scale(0.975);
    transition:
        opacity 360ms ease,
        transform 620ms cubic-bezier(.16, 1, .3, 1),
        border-color 300ms ease;
}

.active-journey-card.is-visible {
    border-color: rgba(242, 215, 143, 0.24);
    transform: translate3d(0, 0, 0) scale(1);
}

.active-journey-card.is-changing .active-journey-cover-link img {
    animation: yuno-card-image-in 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.active-journey-card.is-changing .active-journey-content > * {
    animation: yuno-card-copy-in 520ms cubic-bezier(.16, 1, .3, 1) both;
}

.active-journey-card.is-changing .active-journey-content > *:nth-child(2) { animation-delay: 45ms; }
.active-journey-card.is-changing .active-journey-content > *:nth-child(3) { animation-delay: 90ms; }
.active-journey-card.is-changing .active-journey-content > *:nth-child(4) { animation-delay: 135ms; }
.active-journey-card.is-changing .active-journey-content > *:nth-child(5) { animation-delay: 180ms; }

@keyframes yuno-card-image-in {
    from { opacity: 0.56; transform: scale(1.075); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes yuno-card-copy-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .active-journey-card,
    .active-journey-card.is-changing .active-journey-cover-link img,
    .active-journey-card.is-changing .active-journey-content > * {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}


/*
|--------------------------------------------------------------------------
| YUNO Home V14 — interazione mobile stabile
|--------------------------------------------------------------------------
*/

@media (hover: none), (pointer: coarse) {
    .stories-track {
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--page-padding);
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .story-card,
    .story-card:hover,
    .story-card:focus-visible,
    .story-card.is-selected {
        transform: none;
        touch-action: pan-x;
    }

    .story-card:hover > img,
    .story-card:focus-visible > img,
    .story-card.is-selected > img {
        filter: none;
        transform: none;
    }

    .story-card.is-selected {
        border-color: rgba(242, 207, 111, 0.92);
        box-shadow:
            0 0 0 1px rgba(208, 165, 57, 0.18),
            0 14px 34px rgba(0, 0, 0, 0.38),
            0 0 24px rgba(203, 157, 43, 0.1);
    }
}

@media (max-width: 680px) {
    body.journey-card-open {
        overflow: hidden;
    }

    .active-journey-card {
        position: fixed;
        z-index: 5000;
        top: auto;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        max-width: none;
        max-height: min(76dvh, 620px);
        overflow-x: hidden;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, calc(100% + 36px), 0) scale(0.985);
        transition:
            visibility 0s linear 420ms,
            opacity 240ms ease,
            transform 420ms cubic-bezier(.16, 1, .3, 1);
        -webkit-overflow-scrolling: touch;
    }

    .active-journey-card.is-visible,
    .active-journey-card.is-visible.is-mobile-ready {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
        transition-delay: 0s;
    }

    .active-journey-cover-link {
        height: clamp(132px, 28vw, 168px);
    }

    .active-journey-content {
        padding: 16px 18px calc(17px + env(safe-area-inset-bottom));
    }

    .journey-card-close {
        width: 38px;
        height: 38px;
        background: rgba(5, 5, 5, 0.86);
    }

    .stories-track {
        gap: 12px;
        padding-right: var(--page-padding);
    }

    .story-card,
    .story-card:nth-child(4) {
        min-width: min(82vw, 340px);
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }
}

/*
|--------------------------------------------------------------------------
| YUNO Home V15 — globo mobile compatto, rotazione automatica e tooltip
|--------------------------------------------------------------------------
*/

.globe-window {
    position: static;
}

.mobile-globe-tooltip {
    display: none;
}

@media (max-width: 680px) {
    /*
     * Il globo mantiene un canvas quadrato e grande, ma viene osservato
     * attraverso una finestra più bassa: resta visibile circa metà sfera e
     * la fascia delle storie entra subito in primo piano.
     */
    .hero-content {
        overflow: visible;
    }

    .globe-window {
        position: relative;
        z-index: 5;
        width: calc(100% + (var(--page-padding) * 2));
        height: min(76vw, 410px);
        margin: 8px calc(var(--page-padding) * -1) 0;
        overflow: hidden;
        isolation: isolate;
    }

    .globe-stage {
        position: absolute;
        top: -12vw;
        left: 50%;
        width: 142vw;
        height: 142vw;
        min-width: 0;
        min-height: 0;
        margin: 0;
        transform: translateX(-50%);
    }

    .globe-halo {
        opacity: 0.72;
        transform: scale(1.02);
    }

    .featured-strip {
        position: relative;
        z-index: 45;
        width: 100%;
        margin: -18px 0 0;
        padding: 28px var(--page-padding) 16px;
        border-top: 1px solid rgba(237, 205, 116, 0.1);
        background:
            linear-gradient(180deg, rgba(3, 3, 3, 0.34) 0, #030303 28px, #030303 100%);
        box-shadow: 0 -28px 55px rgba(0, 0, 0, 0.5);
    }

    .featured-heading {
        margin-bottom: 12px;
    }

    .home-stats {
        position: relative;
        z-index: 46;
        margin-top: 0;
        background: #030303;
    }

    .mobile-globe-tooltip {
        --tooltip-x: 50%;
        --tooltip-y: 50%;
        position: absolute;
        z-index: 30;
        top: var(--tooltip-y);
        left: var(--tooltip-x);
        display: flex;
        align-items: center;
        gap: 10px;
        width: min(224px, calc(100% - 30px));
        padding: 11px 13px;
        border: 1px solid rgba(242, 213, 132, 0.28);
        border-radius: 12px;
        background:
            linear-gradient(135deg, rgba(28, 24, 16, 0.96), rgba(6, 6, 6, 0.93));
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.48),
            0 0 28px rgba(211, 164, 48, 0.09);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, calc(-100% - 13px)) scale(0.94);
        transition:
            opacity 240ms ease,
            transform 420ms cubic-bezier(.16, 1, .3, 1);
        backdrop-filter: blur(14px);
    }

    .mobile-globe-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        width: 1px;
        height: 16px;
        background: linear-gradient(rgba(234, 199, 105, 0.72), transparent);
        transform: translateX(-50%);
    }

    .mobile-globe-tooltip.is-visible {
        opacity: 1;
        transform: translate(-50%, calc(-100% - 13px)) scale(1);
    }

    .mobile-globe-tooltip-avatar {
        display: grid;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        place-items: center;
        border: 1px solid rgba(239, 207, 119, 0.48);
        border-radius: 50%;
        background: rgba(205, 157, 45, 0.12);
        color: var(--gold-light);
        font-family: var(--serif);
        font-size: 17px;
    }

    .mobile-globe-tooltip-copy {
        display: grid;
        min-width: 0;
        gap: 2px;
    }

    .mobile-globe-tooltip-copy strong,
    .mobile-globe-tooltip-copy small,
    .mobile-globe-tooltip-status {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-globe-tooltip-copy strong {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
    }

    .mobile-globe-tooltip-copy small {
        color: rgba(255, 255, 255, 0.68);
        font-size: 10px;
    }

    .mobile-globe-tooltip-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 3px;
        color: var(--gold-light);
        font-size: 9px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-globe-tooltip-status i {
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 50%;
        background: #e2b84d;
        box-shadow: 0 0 9px rgba(231, 188, 74, 0.85);
    }
}

@media (max-width: 430px) {
    .globe-window {
        height: 78vw;
    }

    .globe-stage {
        top: -10vw;
        width: 146vw;
        height: 146vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-globe-tooltip {
        transition-duration: 1ms !important;
    }
}

/*
|--------------------------------------------------------------------------
| YUNO 0.2.0-dev — Build 16
| Desktop auto-rotate, compact mobile tooltip, Journey route experience
|--------------------------------------------------------------------------
*/

@media (max-width: 680px) {
    .mobile-globe-tooltip {
        gap: 0;
        width: min(184px, calc(100% - 34px));
        padding: 8px 10px 9px;
        border-radius: 9px;
        transform: translate(-50%, calc(-100% - 10px)) scale(0.95);
    }

    .mobile-globe-tooltip.is-visible {
        transform: translate(-50%, calc(-100% - 10px)) scale(1);
    }

    .mobile-globe-tooltip::after {
        height: 12px;
    }

    .mobile-globe-tooltip-avatar {
        display: none !important;
    }

    .mobile-globe-tooltip-copy {
        width: 100%;
        gap: 1px;
    }

    .mobile-globe-tooltip-copy strong {
        font-size: 11px;
        line-height: 1.25;
    }

    .mobile-globe-tooltip-copy small {
        font-size: 9px;
        line-height: 1.25;
    }

    .mobile-globe-tooltip-status {
        margin-top: 2px;
        font-size: 8px;
        letter-spacing: 0.07em;
    }
}

.journey-body {
    background:
        radial-gradient(circle at 80% 12%, rgba(193, 148, 43, 0.08), transparent 30%),
        #050505;
}

.journey-detail {
    overflow: hidden;
}

.journey-detail-hero {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.journey-detail-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.24) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 20%, rgba(0, 0, 0, 0.88) 100%);
}

.journey-detail-copy {
    max-width: 1020px;
}

.journey-detail-copy h2 {
    max-width: 620px;
    margin: 15px 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.6vw, 24px);
    line-height: 1.35;
}

.journey-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 18px;
}

.journey-hero-facts div {
    min-width: 126px;
    padding: 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.journey-hero-facts div:first-child {
    padding-left: 0;
    border-left: 0;
}

.journey-hero-facts dt {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.journey-hero-facts dd {
    margin: 0;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1;
}

.journey-detail-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.journey-detail-author::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold);
}

.journey-detail-body {
    align-items: start;
    max-width: 1120px;
}

.journey-detail-status {
    display: grid;
    gap: 7px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(16, 15, 12, 0.72);
}

.journey-detail-status span {
    color: var(--gold-light);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.journey-detail-status strong {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.journey-detail-status small {
    color: var(--muted);
    font-size: 12px;
}

.journey-access-gate,
.journey-stages-section {
    position: relative;
    width: min(1180px, calc(100% - (var(--page-padding) * 2)));
    margin: 84px auto 0;
}

.journey-access-gate {
    min-height: 390px;
    overflow: hidden;
    padding: clamp(44px, 7vw, 84px);
    border: 1px solid rgba(230, 194, 98, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 24%, rgba(205, 161, 48, 0.16), transparent 24%),
        linear-gradient(135deg, rgba(20, 18, 13, 0.96), rgba(6, 6, 6, 0.96));
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.journey-access-orbit {
    position: absolute;
    top: -55%;
    right: -10%;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(225, 188, 87, 0.16);
    border-radius: 50%;
}

.journey-access-orbit::after {
    content: "";
    position: absolute;
    top: 51%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e1b44b;
    box-shadow: 0 0 18px rgba(225, 180, 75, 0.9);
}

.journey-access-gate h2,
.journey-stages-heading h2 {
    margin: 15px 0 0;
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 500;
    line-height: 0.92;
}

.journey-access-gate h2 em,
.journey-stages-heading h2 em {
    color: var(--gold);
    font-style: normal;
}

.journey-access-gate > p:not(.section-kicker) {
    max-width: 580px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

.journey-access-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.journey-stages-section {
    padding-bottom: 60px;
}

.journey-stages-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 60px;
}

.journey-stages-heading > p {
    max-width: 420px;
    margin: 0 0 8px auto;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.75;
}

.journey-route-canvas {
    position: relative;
    min-height: 650px;
    margin-top: 70px;
    isolation: isolate;
}

.journey-route-svg {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.journey-route-path,
.journey-route-shadow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-route-shadow {
    stroke: rgba(0, 0, 0, 0.72);
    stroke-width: 8;
}

.journey-route-path {
    stroke: rgba(222, 184, 78, 0.7);
    stroke-width: 2;
    stroke-dasharray: 8 12;
    filter: drop-shadow(0 0 7px rgba(219, 172, 62, 0.24));
    animation: yuno-route-flow 24s linear infinite;
}

@keyframes yuno-route-flow {
    to { stroke-dashoffset: -320; }
}

.journey-stage-list {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 310px;
    column-gap: clamp(24px, 4vw, 58px);
    row-gap: 34px;
}

.journey-stage-node {
    position: relative;
    grid-column: var(--stage-column);
    grid-row: var(--stage-row);
    min-width: 0;
}

.journey-stage-tooltip {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 218px;
    padding: 23px 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px;
    background:
        linear-gradient(145deg, rgba(25, 23, 18, 0.94), rgba(7, 7, 7, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.journey-stage-node.is-reversed-row .journey-stage-tooltip {
    top: auto;
    bottom: 0;
}

.journey-stage-tooltip::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: linear-gradient(rgba(225, 184, 75, 0.58), transparent);
}

.journey-stage-node.is-reversed-row .journey-stage-tooltip::after {
    top: -40px;
    bottom: auto;
    background: linear-gradient(transparent, rgba(225, 184, 75, 0.58));
}

.journey-stage-point {
    position: absolute;
    z-index: 4;
    bottom: 19px;
    left: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(239, 207, 119, 0.74);
    border-radius: 50%;
    background: #090806;
    color: var(--gold-light);
    font-family: var(--serif);
    transform: translateX(-50%);
    box-shadow: 0 0 0 7px rgba(217, 169, 54, 0.08), 0 0 26px rgba(225, 180, 75, 0.18);
}

.journey-stage-node.is-reversed-row .journey-stage-point {
    top: 19px;
    bottom: auto;
}

.journey-stage-point i {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(239, 207, 119, 0.25);
    border-radius: 50%;
}

.journey-stage-point b {
    position: relative;
    font-size: 13px;
    font-weight: 500;
}

.journey-stage-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--gold-light);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.journey-stage-tooltip h3 {
    margin: 14px 0 0;
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
}

.journey-stage-tooltip > p {
    min-height: 44px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.55;
}

.journey-stage-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    min-height: 15px;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.47);
    font-size: 9px;
    text-transform: uppercase;
}

.journey-stage-media {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-stage-media span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    text-transform: uppercase;
}

.journey-stage-media strong {
    margin-right: 4px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
}

.journey-stages-empty {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 54px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: var(--muted);
}

.journey-stages-empty span {
    color: var(--gold);
    font-size: 34px;
}

.journey-stages-empty p {
    margin: 0;
}

@media (max-width: 900px) {
    .journey-stages-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .journey-stages-heading > p {
        margin-left: 0;
    }

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

    .journey-stage-node {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .journey-stage-node:nth-child(odd) .journey-stage-tooltip,
    .journey-stage-node:nth-child(even) .journey-stage-tooltip {
        top: 0;
        bottom: auto;
    }

    .journey-stage-node:nth-child(odd) .journey-stage-point,
    .journey-stage-node:nth-child(even) .journey-stage-point {
        top: auto;
        bottom: 19px;
    }

    .journey-stage-node:nth-child(odd) .journey-stage-tooltip::after,
    .journey-stage-node:nth-child(even) .journey-stage-tooltip::after {
        top: auto;
        bottom: -40px;
        background: linear-gradient(rgba(225, 184, 75, 0.58), transparent);
    }
}

@media (max-width: 680px) {
    .journey-detail {
        padding-bottom: 56px;
    }

    .journey-detail-hero {
        min-height: 72svh;
        border-radius: 18px;
    }

    .journey-detail-copy h1 {
        font-size: clamp(48px, 16vw, 72px);
    }

    .journey-detail-copy h2 {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .journey-hero-facts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        margin-bottom: 15px;
    }

    .journey-hero-facts div {
        min-width: 0;
        padding: 0 10px;
    }

    .journey-hero-facts dd {
        font-size: 18px;
    }

    .journey-detail-body > p {
        font-size: 25px;
    }

    .journey-access-gate,
    .journey-stages-section {
        width: calc(100% - 32px);
        margin-top: 58px;
    }

    .journey-access-gate {
        min-height: 0;
        padding: 38px 24px 42px;
        border-radius: 20px;
    }

    .journey-access-gate h2,
    .journey-stages-heading h2 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .journey-access-orbit {
        top: -30%;
        right: -72%;
    }

    .journey-access-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .journey-access-actions .primary-button,
    .journey-access-actions .text-button {
        justify-content: center;
        width: 100%;
    }

    .journey-route-canvas {
        min-height: 0;
        margin-top: 44px;
    }

    .journey-stage-list {
        display: block;
    }

    .journey-stage-node {
        min-height: 0;
        margin-bottom: 28px;
        padding-left: 42px;
    }

    .journey-stage-tooltip,
    .journey-stage-node.is-reversed-row .journey-stage-tooltip,
    .journey-stage-node:nth-child(odd) .journey-stage-tooltip,
    .journey-stage-node:nth-child(even) .journey-stage-tooltip {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        min-height: 0;
        padding: 20px 18px 18px;
    }

    .journey-stage-tooltip::after,
    .journey-stage-node.is-reversed-row .journey-stage-tooltip::after,
    .journey-stage-node:nth-child(odd) .journey-stage-tooltip::after,
    .journey-stage-node:nth-child(even) .journey-stage-tooltip::after {
        display: none;
    }

    .journey-stage-point,
    .journey-stage-node.is-reversed-row .journey-stage-point,
    .journey-stage-node:nth-child(odd) .journey-stage-point,
    .journey-stage-node:nth-child(even) .journey-stage-point {
        top: 28px;
        right: auto;
        bottom: auto;
        left: 4px;
        width: 34px;
        height: 34px;
        transform: none;
    }

    .journey-stage-tooltip h3 {
        font-size: 27px;
    }

    .journey-stage-tooltip > p {
        min-height: 0;
    }

    .journey-route-path {
        stroke-width: 1.5;
        stroke-dasharray: 6 9;
    }

    .journey-route-shadow {
        stroke-width: 6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-route-path {
        animation: none !important;
    }
}

/*
|--------------------------------------------------------------------------
| Journey access gate — cinematic chapter preview
| Versione: 17.0
|--------------------------------------------------------------------------
*/
.journey-access-gate {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
    align-items: center;
    gap: clamp(34px, 5vw, 76px);
    width: min(1320px, calc(100% - (var(--page-padding) * 2)));
    min-height: 520px;
    margin: 96px auto 0;
    overflow: hidden;
    padding: clamp(52px, 6vw, 86px) clamp(34px, 5vw, 74px);
    border: 0;
    border-top: 1px solid rgba(229, 190, 84, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
    background:
        radial-gradient(circle at 76% 46%, rgba(209, 165, 48, 0.09), transparent 34%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(10, 9, 7, 0.98) 48%, rgba(3, 3, 3, 0.99) 100%);
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.32);
    isolation: isolate;
}

.journey-access-gate::before,
.journey-access-gate::after {
    content: "";
    position: absolute;
    z-index: 5;
    top: -1px;
    width: 84px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0.72;
}

.journey-access-gate::before {
    left: clamp(30px, 5vw, 72px);
}

.journey-access-gate::after {
    right: clamp(30px, 5vw, 72px);
}

.journey-access-grain,
.journey-access-vignette {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

.journey-access-grain {
    opacity: 0.2;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18) 0 0.6px, transparent 0.8px),
        radial-gradient(circle at 72% 67%, rgba(255, 255, 255, 0.12) 0 0.5px, transparent 0.7px);
    background-size: 5px 5px, 7px 7px;
    mix-blend-mode: soft-light;
}

.journey-access-vignette {
    background:
        linear-gradient(90deg, #050505 0%, transparent 10%, transparent 88%, #050505 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, transparent 18%, transparent 74%, rgba(0, 0, 0, 0.68) 100%);
}

.journey-access-copy {
    position: relative;
    z-index: 8;
    max-width: 520px;
}

.journey-access-copy .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 0;
}

.journey-access-copy .section-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.journey-access-gate .journey-access-copy h2 {
    max-width: 600px;
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(46px, 5.3vw, 76px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.025em;
}

.journey-access-gate .journey-access-copy h2 em {
    color: var(--gold);
    font-style: normal;
}

.journey-access-copy > p:not(.section-kicker) {
    max-width: 510px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

.journey-access-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
}

.journey-access-primary {
    min-width: 218px;
    justify-content: space-between;
}

.journey-access-actions .text-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.journey-access-actions .text-button strong {
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-access-preview {
    position: relative;
    z-index: 3;
    min-width: 0;
    height: 390px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.36;
    transform: translateX(32px);
    transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 78%, transparent 100%);
}

.journey-access-gate.is-in-view .journey-access-preview {
    opacity: 1;
    transform: translateX(0);
}

.journey-access-preview-label {
    position: absolute;
    z-index: 8;
    top: 4px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 13px;
    border: 1px solid rgba(221, 181, 76, 0.24);
    background: rgba(8, 8, 7, 0.72);
    backdrop-filter: blur(10px);
}

.journey-access-preview-label span,
.journey-access-preview-label strong {
    font-size: 8px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.journey-access-preview-label span {
    color: rgba(255, 255, 255, 0.48);
}

.journey-access-preview-label strong {
    color: var(--gold-light);
    font-weight: 500;
}

.journey-access-preview-route {
    position: absolute;
    z-index: 1;
    inset: 22px 0 0;
    width: 100%;
    height: calc(100% - 22px);
    overflow: visible;
}

.journey-access-preview-path,
.journey-access-preview-shadow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-access-preview-shadow {
    stroke: rgba(0, 0, 0, 0.82);
    stroke-width: 10;
}

.journey-access-preview-path {
    stroke: rgba(224, 187, 86, 0.66);
    stroke-width: 1.8;
    stroke-dasharray: 8 12;
    stroke-dashoffset: 1180;
    filter: drop-shadow(0 0 8px rgba(224, 180, 67, 0.3));
}

.journey-access-gate.is-in-view .journey-access-preview-path {
    animation:
        yuno-access-route-reveal 1800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards,
        yuno-route-flow 24s linear 1900ms infinite;
}

@keyframes yuno-access-route-reveal {
    to { stroke-dashoffset: 0; }
}

.journey-access-preview-nodes {
    position: absolute;
    z-index: 3;
    inset: 0;
}

.journey-access-preview-node {
    position: absolute;
    width: 138px;
    opacity: 0;
    transform: translateY(16px);
}

.journey-access-gate.is-in-view .journey-access-preview-node {
    animation: yuno-access-node-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.journey-access-gate.is-in-view .journey-access-preview-node-1 { animation-delay: 420ms; }
.journey-access-gate.is-in-view .journey-access-preview-node-2 { animation-delay: 560ms; }
.journey-access-gate.is-in-view .journey-access-preview-node-3 { animation-delay: 700ms; }
.journey-access-gate.is-in-view .journey-access-preview-node-4 { animation-delay: 840ms; }
.journey-access-gate.is-in-view .journey-access-preview-node-5 { animation-delay: 980ms; }
.journey-access-gate.is-in-view .journey-access-preview-node-6 { animation-delay: 1120ms; }

@keyframes yuno-access-node-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-access-preview-node-1 { left: 2%; top: 59%; }
.journey-access-preview-node-2 { left: 19%; top: 24%; }
.journey-access-preview-node-3 { left: 38%; top: 49%; }
.journey-access-preview-node-4 { left: 56%; top: 14%; }
.journey-access-preview-node-5 { left: 73%; top: 42%; }
.journey-access-preview-node-6 { left: 89%; top: 7%; }

.journey-access-preview-point {
    position: relative;
    z-index: 3;
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0 auto -5px;
    place-items: center;
    border: 1px solid rgba(239, 207, 119, 0.68);
    border-radius: 50%;
    background: rgba(8, 8, 7, 0.92);
    color: var(--gold-light);
    box-shadow: 0 0 0 6px rgba(217, 169, 54, 0.07), 0 0 28px rgba(225, 180, 75, 0.16);
}

.journey-access-preview-point i {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(239, 207, 119, 0.22);
    border-radius: 50%;
}

.journey-access-preview-point b {
    position: relative;
    font-family: var(--serif);
    font-size: 10px;
    font-weight: 500;
}

.journey-access-preview-card {
    min-height: 72px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(145deg, rgba(28, 25, 19, 0.68), rgba(7, 7, 7, 0.78));
    backdrop-filter: blur(10px);
}

.journey-access-preview-card small {
    display: block;
    margin-bottom: 10px;
    color: rgba(231, 193, 91, 0.74);
    font-size: 7px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.journey-access-preview-card > span {
    display: block;
    width: 86%;
    height: 4px;
    margin-top: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
}

.journey-access-preview-card > span:nth-of-type(2) {
    width: 66%;
}

.journey-access-preview-card > span:nth-of-type(3) {
    width: 42%;
    background: rgba(221, 181, 76, 0.19);
}

.journey-access-preview-curtain {
    position: absolute;
    z-index: 7;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 98px;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 30px 18px;
    background: linear-gradient(180deg, transparent, rgba(4, 4, 4, 0.92) 82%);
}

.journey-access-preview-curtain span {
    color: rgba(255, 255, 255, 0.38);
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    .journey-access-gate {
        grid-template-columns: minmax(300px, 0.9fr) minmax(430px, 1.1fr);
        gap: 28px;
        padding-inline: 36px;
    }

    .journey-access-preview-node {
        width: 118px;
    }
}

@media (max-width: 820px) {
    .journey-access-gate {
        grid-template-columns: 1fr;
        gap: 42px;
        width: calc(100% - 32px);
        min-height: 0;
        margin-top: 64px;
        padding: 44px 24px 30px;
    }

    .journey-access-copy {
        max-width: 620px;
    }

    .journey-access-gate .journey-access-copy h2 {
        font-size: clamp(44px, 10vw, 66px);
    }

    .journey-access-preview {
        height: 330px;
        margin-inline: -8px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
    }
}

@media (max-width: 680px) {
    .journey-access-gate {
        width: calc(100% - 24px);
        margin-top: 48px;
        padding: 38px 18px 22px;
    }

    .journey-access-gate::before,
    .journey-access-gate::after {
        width: 54px;
    }

    .journey-access-copy .section-kicker {
        font-size: 9px;
    }

    .journey-access-gate .journey-access-copy h2 {
        margin-top: 16px;
        font-size: clamp(40px, 12.5vw, 56px);
        line-height: 0.96;
    }

    .journey-access-copy > p:not(.section-kicker) {
        margin-top: 22px;
        font-size: 13px;
        line-height: 1.72;
    }

    .journey-access-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-top: 28px;
    }

    .journey-access-actions .primary-button,
    .journey-access-actions .text-button {
        width: 100%;
    }

    .journey-access-actions .text-button {
        align-items: center;
        text-align: center;
    }

    .journey-access-preview {
        height: 276px;
        margin-top: -4px;
    }

    .journey-access-preview-label {
        top: 12px;
        right: 12px;
    }

    .journey-access-preview-node {
        width: 100px;
    }

    .journey-access-preview-node-1 { left: -3%; top: 60%; }
    .journey-access-preview-node-2 { left: 20%; top: 29%; }
    .journey-access-preview-node-3 { left: 47%; top: 53%; }
    .journey-access-preview-node-4 { left: 73%; top: 20%; }
    .journey-access-preview-node-5,
    .journey-access-preview-node-6 {
        display: none;
    }

    .journey-access-preview-card {
        min-height: 62px;
        padding: 11px 10px 10px;
    }

    .journey-access-preview-point {
        width: 29px;
        height: 29px;
    }

    .journey-access-preview-curtain {
        min-height: 72px;
        padding: 0 12px 10px;
    }

    .journey-access-preview-curtain span {
        max-width: 210px;
        text-align: right;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-access-preview,
    .journey-access-preview-node,
    .journey-access-preview-path {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }
}


/*
|--------------------------------------------------------------------------
| YUNO 0.2.0-dev.3 — tooltip casuali sui marker centrali
|--------------------------------------------------------------------------
*/

@media (min-width: 681px) {
    .mobile-globe-tooltip {
        --tooltip-x: 50%;
        --tooltip-y: 50%;
        position: absolute;
        z-index: 28;
        top: var(--tooltip-y);
        left: var(--tooltip-x);
        display: flex;
        width: min(216px, calc(100% - 32px));
        padding: 10px 13px 11px;
        border: 1px solid rgba(238, 207, 124, 0.24);
        border-radius: 10px;
        background:
            linear-gradient(135deg, rgba(25, 21, 14, 0.94), rgba(5, 5, 5, 0.91));
        box-shadow:
            0 18px 46px rgba(0, 0, 0, 0.46),
            0 0 28px rgba(211, 164, 48, 0.08);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, calc(-100% - 12px)) scale(0.95);
        transition:
            opacity 260ms ease,
            transform 480ms cubic-bezier(.16, 1, .3, 1);
        backdrop-filter: blur(14px);
    }

    .mobile-globe-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        width: 1px;
        height: 14px;
        background: linear-gradient(rgba(234, 199, 105, 0.68), transparent);
        transform: translateX(-50%);
    }

    .mobile-globe-tooltip.is-visible {
        opacity: 1;
        transform: translate(-50%, calc(-100% - 12px)) scale(1);
    }

    .mobile-globe-tooltip-copy {
        display: grid;
        width: 100%;
        min-width: 0;
        gap: 2px;
    }

    .mobile-globe-tooltip-copy strong,
    .mobile-globe-tooltip-copy small,
    .mobile-globe-tooltip-status {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-globe-tooltip-copy strong {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.25;
    }

    .mobile-globe-tooltip-copy small {
        color: rgba(255, 255, 255, 0.68);
        font-size: 10px;
        line-height: 1.25;
    }

    .mobile-globe-tooltip-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 3px;
        color: var(--gold-light);
        font-size: 8px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-globe-tooltip-status i {
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 50%;
        background: #e2b84d;
        box-shadow: 0 0 9px rgba(231, 188, 74, 0.78);
    }
}

@media (max-width: 680px) {
    .mobile-globe-tooltip {
        width: min(176px, calc(100% - 34px));
    }
}

/* ========================================================================
   V18 — Community Pulse / statistics band
   ======================================================================== */
.home-stats {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.65fr);
    align-items: center;
    gap: clamp(44px, 5vw, 90px);
    width: 100%;
    margin: 0;
    padding: clamp(46px, 4.4vw, 72px)
        max(var(--page-padding), calc((100vw - var(--content-width)) / 2 + var(--page-padding)));
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 76% 44%, rgba(200, 166, 75, 0.12), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(215, 106, 67, 0.08), transparent 31%),
        linear-gradient(112deg, #050505 0%, #090805 48%, #050505 100%);
}

.home-stats::before,
.home-stats::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.home-stats::before {
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
}

.home-stats::after {
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 0, transparent 9%, transparent 91%, var(--bg) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 48%, rgba(0, 0, 0, 0.35));
}

.stats-ambient {
    position: absolute;
    z-index: -1;
    right: clamp(24px, 6vw, 110px);
    top: 50%;
    width: clamp(180px, 18vw, 320px);
    height: clamp(180px, 18vw, 320px);
    transform: translateY(-50%);
    border: 1px solid rgba(200, 166, 75, 0.08);
    border-radius: 50%;
    color: rgba(239, 210, 122, 0.028);
    font-family: var(--serif);
    font-size: clamp(150px, 16vw, 290px);
    font-style: italic;
    line-height: 0.88;
    text-align: center;
}

.stats-ambient::before,
.stats-ambient::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(200, 166, 75, 0.06);
    border-radius: 50%;
}

.stats-ambient::before {
    inset: 15%;
}

.stats-ambient::after {
    inset: 34%;
}

.stats-intro {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.stats-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 15px;
    color: var(--terra);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.stats-kicker span {
    width: 28px;
    height: 1px;
    background: currentColor;
}

.stats-intro h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(34px, 3.3vw, 54px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 0.94;
}

.stats-intro h2 em {
    color: var(--gold-light);
    font-style: normal;
    font-weight: 400;
}

.stats-intro > p:last-child {
    max-width: 390px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.75;
}

.stats-route {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    min-height: 188px;
}

.stats-route-line {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stats-route-shadow,
.stats-route-path {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.stats-route-shadow {
    stroke: rgba(0, 0, 0, 0.7);
    stroke-width: 5;
}

.stats-route-path {
    stroke: rgba(239, 210, 122, 0.53);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-dasharray: 7 10;
    stroke-dashoffset: 620;
    transition: stroke-dashoffset 1.8s cubic-bezier(.16, 1, .3, 1) 180ms;
}

.home-stats.is-visible .stats-route-path {
    stroke-dashoffset: 0;
}

.stats-waypoint {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 10px 8px;
    border: 0;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 700ms ease,
        transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.home-stats.is-visible .stats-waypoint {
    opacity: 1;
    transform: translateY(0);
}

.home-stats.is-visible .stats-waypoint-two { transition-delay: 110ms; }
.home-stats.is-visible .stats-waypoint-three { transition-delay: 220ms; }
.home-stats.is-visible .stats-waypoint-four { transition-delay: 330ms; }

.stats-waypoint-one { margin-top: 42px; }
.stats-waypoint-two { margin-top: -38px; }
.stats-waypoint-three { margin-top: 32px; }
.stats-waypoint-four { margin-top: -22px; }

.stats-index {
    position: absolute;
    top: -17px;
    left: 15px;
    color: rgba(239, 210, 122, 0.42);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.stats-node {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(239, 210, 122, 0.48);
    border-radius: 50%;
    background: rgba(9, 8, 5, 0.88);
    box-shadow:
        0 0 0 6px rgba(200, 166, 75, 0.055),
        0 0 34px rgba(200, 166, 75, 0.12);
}

.stats-node::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 12px var(--gold-light);
    opacity: 0;
    animation: stats-node-pulse 3.2s ease-in-out infinite;
}

.stats-waypoint-two .stats-node::after { animation-delay: 650ms; }
.stats-waypoint-three .stats-node::after { animation-delay: 1300ms; }
.stats-waypoint-four .stats-node::after { animation-delay: 1950ms; }

.stats-node svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stats-waypoint p {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

.stats-waypoint strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: clamp(30px, 2.7vw, 44px);
    font-weight: 400;
    line-height: 0.85;
}

.stats-waypoint p > span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.stats-waypoint small {
    margin-top: 5px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.37);
    font-size: 9px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes stats-node-pulse {
    0%, 70%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    82% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 1080px) {
    .home-stats {
        grid-template-columns: minmax(245px, 0.62fr) minmax(0, 1.5fr);
        gap: 30px;
    }

    .stats-route {
        min-height: 170px;
    }

    .stats-waypoint {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 8px;
        text-align: center;
    }

    .stats-index {
        left: 50%;
        transform: translateX(-50%);
    }

    .stats-waypoint small {
        display: none;
    }
}

@media (max-width: 760px) {
    .home-stats {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 50px 20px 54px;
    }

    .stats-intro {
        max-width: 500px;
    }

    .stats-intro h2 {
        font-size: clamp(38px, 10.5vw, 50px);
    }

    .stats-intro > p:last-child {
        max-width: 94%;
        font-size: 11px;
    }

    .stats-route {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        min-height: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stats-route-line {
        display: none;
    }

    .stats-waypoint,
    .stats-waypoint-one,
    .stats-waypoint-two,
    .stats-waypoint-three,
    .stats-waypoint-four {
        grid-template-columns: auto 1fr;
        justify-items: stretch;
        gap: 12px;
        min-height: 118px;
        margin: 0;
        padding: 21px 14px;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: left;
    }

    .stats-index {
        top: 9px;
        right: 10px;
        left: auto;
        transform: none;
    }

    .stats-node {
        width: 36px;
        height: 36px;
    }

    .stats-node svg {
        width: 16px;
        height: 16px;
    }

    .stats-waypoint strong {
        font-size: 32px;
    }

    .stats-waypoint p > span {
        margin-top: 6px;
        font-size: 8px;
    }

    .stats-waypoint small {
        display: block;
        max-width: 120px;
        white-space: normal;
    }

    .stats-ambient {
        right: -55px;
        top: 28%;
        opacity: 0.65;
    }
}

@media (max-width: 420px) {
    .home-stats {
        padding-right: 14px;
        padding-left: 14px;
    }

    .stats-waypoint,
    .stats-waypoint-one,
    .stats-waypoint-two,
    .stats-waypoint-three,
    .stats-waypoint-four {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 8px;
        min-height: 132px;
        padding: 19px 12px 16px;
    }

    .stats-waypoint small {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-route-path {
        stroke-dashoffset: 0;
        transition: none;
    }

    .stats-waypoint {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .stats-node::after {
        animation: none;
    }
}


/* ========================================================================
   V19 — Community copy clarity and anchor alignment
   ======================================================================== */
.stats-intro > p:last-child {
    max-width: 420px;
}

.stats-waypoint strong {
    min-width: 1.25em;
    font-variant-numeric: lining-nums tabular-nums;
}

#storie,
#community-pulse,
#about,
#bussola,
#creator {
    scroll-margin-top: calc(var(--yuno-header-height) + 18px);
}

/* YUNO 0.4.2-dev.1 — territorio narrativo e media per tappa */
.journey-territory-strip {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(360px, 1.3fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    max-width: 1180px;
    margin: 1.5rem auto 4rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid rgba(214, 177, 77, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(115deg, rgba(214, 177, 77, .055), rgba(7, 7, 7, .15));
}

.journey-territory-copy {
    display: grid;
    gap: .45rem;
}

.journey-territory-copy > span {
    color: #d8b44f;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.journey-territory-copy > strong {
    color: #f4efe4;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 400;
    line-height: .98;
}

.journey-territory-copy > small {
    color: rgba(255, 255, 255, .52);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.journey-territory-visual {
    min-height: 270px;
    position: relative;
    overflow: hidden;
}

.journey-territory-visual::before,
.journey-territory-visual::after {
    content: "";
    position: absolute;
    inset: 10% 5%;
    border: 1px solid rgba(214, 177, 77, .12);
    border-radius: 50%;
    pointer-events: none;
}

.journey-territory-visual::after {
    inset: 24% 18%;
    border-color: rgba(255, 255, 255, .06);
}

#journey-territory-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 270px;
    filter: drop-shadow(0 0 18px rgba(214, 177, 77, .15));
}

#journey-territory-path {
    fill: rgba(214, 177, 77, .08);
    stroke: rgba(234, 201, 112, .92);
    stroke-width: 3.2;
    vector-effect: non-scaling-stroke;
}

.journey-territory-fallback {
    min-height: 270px;
    display: grid;
    place-items: center;
    position: relative;
    color: rgba(225, 190, 95, .76);
}

.journey-territory-fallback span {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(6rem, 13vw, 12rem);
    line-height: 1;
    opacity: .13;
}

.journey-territory-fallback i {
    position: absolute;
    width: 48%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 177, 77, .35), transparent);
    transform: rotate(-24deg);
}

.journey-territory-fallback i:nth-of-type(2) { transform: rotate(22deg); }
.journey-territory-fallback i:nth-of-type(3) { transform: rotate(0deg); }

.journey-stage-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin-top: 1rem;
}

.journey-stage-gallery-item {
    margin: 0;
    min-width: 0;
}

.journey-stage-gallery-item img,
.journey-stage-gallery-item video,
.journey-stage-gallery-item button {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 0;
    border-radius: .35rem;
    background: #080808;
}

.journey-stage-gallery-item button {
    padding: 0;
    cursor: zoom-in;
}

.journey-stage-gallery-item figcaption {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    line-height: 1.35;
}

.journey-media-dialog {
    width: min(94vw, 1200px);
    max-width: 1200px;
    padding: 0;
    border: 1px solid rgba(214, 177, 77, .35);
    background: rgba(5, 5, 5, .96);
}

.journey-media-dialog::backdrop {
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(8px);
}

.journey-media-dialog img {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.journey-media-dialog-close {
    position: absolute;
    z-index: 2;
    top: .75rem;
    right: .75rem;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 1.5rem;
}

@media (max-width: 820px) {
    .journey-territory-strip {
        grid-template-columns: 1fr;
        margin-bottom: 2.5rem;
    }
    .journey-territory-visual,
    #journey-territory-svg,
    .journey-territory-fallback {
        min-height: 220px;
    }
    .journey-stage-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .journey-stage-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.journey-follow-button {
    margin-top: .9rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(214, 177, 77, .45);
    background: transparent;
    color: #ddb94f;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* YUNO 0.4.2-dev.3 — allineamento dinamico tappe e contorno territoriale */
@media (min-width: 821px) {
    .journey-stage-list {
        grid-auto-rows: auto;
        align-items: stretch;
    }

    .journey-stage-node {
        display: flex;
        min-height: 310px;
        padding-bottom: 68px;
        align-items: stretch;
    }

    .journey-stage-tooltip,
    .journey-stage-node.is-reversed-row .journey-stage-tooltip {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: 218px;
        flex: 1 1 auto;
    }

    .journey-stage-tooltip::after {
        bottom: -34px;
        height: 34px;
    }

    .journey-stage-point {
        top: auto;
        bottom: 13px;
    }

    .journey-stage-node.is-reversed-row {
        padding-top: 68px;
        padding-bottom: 0;
    }

    .journey-stage-node.is-reversed-row .journey-stage-tooltip::after {
        top: -34px;
        bottom: auto;
        height: 34px;
    }

    .journey-stage-node.is-reversed-row .journey-stage-point {
        top: 13px;
        bottom: auto;
    }
}

#journey-territory-path {
    fill: none;
    stroke: rgba(234, 201, 112, .95);
    stroke-width: 3;
    paint-order: stroke;
}

.journey-territory-fallback {
    align-content: center;
    gap: .8rem;
    text-align: center;
}

.journey-territory-fallback-note {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: .55rem;
    max-width: 300px;
    color: rgba(255, 255, 255, .56);
    font-size: .72rem;
    line-height: 1.55;
}

.journey-territory-fallback-note strong {
    color: rgba(244, 239, 228, .9);
    font-weight: 500;
}

.journey-territory-refresh-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding-bottom: .18rem;
    border-bottom: 1px solid rgba(214, 177, 77, .5);
    color: #ddb94f;
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* YUNO 0.4.2-dev.4 — territorio compatto 70/30 e cursore lightbox */
@media (min-width: 821px) {
    .journey-territory-strip {
        grid-template-columns: minmax(0, 7fr) minmax(220px, 3fr);
        min-height: 210px;
        margin-top: 1.25rem;
        margin-bottom: 3rem;
        padding: clamp(1.35rem, 2.4vw, 2.1rem);
    }

    .journey-territory-copy > strong {
        max-width: 12ch;
        font-size: clamp(2.25rem, 3.6vw, 4rem);
    }

    .journey-territory-visual,
    #journey-territory-svg,
    .journey-territory-fallback {
        min-height: 170px;
        max-height: 210px;
    }
}

.journey-territory-visual {
    width: 100%;
    min-height: 180px;
    max-height: 230px;
}

#journey-territory-svg {
    min-height: 180px;
    max-height: 230px;
}

.journey-territory-fallback {
    min-height: 180px;
    max-height: 230px;
    overflow: hidden;
}

.journey-territory-fallback > .journey-territory-monogram {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(4.5rem, 8vw, 7.5rem);
    line-height: 1;
    opacity: .13;
}

.journey-territory-fallback-note {
    position: absolute;
    right: .75rem;
    bottom: .65rem;
    left: .75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .75rem;
    max-width: none;
    color: rgba(255, 255, 255, .5);
    font-size: .62rem;
    line-height: 1.35;
}

.journey-territory-fallback-note strong {
    color: rgba(244, 239, 228, .72);
    font-size: .62rem;
    font-weight: 500;
}

.journey-territory-refresh-link {
    font-size: .59rem;
}

.journey-media-dialog,
.journey-media-dialog *,
.journey-media-dialog::backdrop {
    cursor: default !important;
}

.journey-media-dialog-close {
    z-index: 5;
    cursor: pointer !important;
}

html.is-media-dialog-open,
html.is-media-dialog-open body {
    overflow: hidden;
    cursor: default !important;
}

html.is-media-dialog-open .journey-media-dialog,
html.is-media-dialog-open .journey-media-dialog * {
    cursor: default !important;
}

html.is-media-dialog-open .journey-media-dialog-close {
    cursor: pointer !important;
}

@media (max-width: 820px) {
    .journey-territory-strip {
        gap: 1rem;
        padding: 1.25rem;
    }

    .journey-territory-visual,
    #journey-territory-svg,
    .journey-territory-fallback {
        min-height: 145px;
        max-height: 180px;
    }

    .journey-territory-copy > strong {
        font-size: clamp(2rem, 11vw, 3.25rem);
    }
}

/* YUNO 0.4.2-dev.5 — profilo Paese e Bussola pubblica */
.journey-territory-visual-label {
    position: absolute;
    z-index: 3;
    top: .2rem;
    right: .25rem;
    color: rgba(221, 185, 79, .72);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.journey-survey-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
    width: min(1180px, calc(100% - 48px));
    margin: clamp(4rem, 9vw, 8rem) auto;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-top: 1px solid rgba(214, 177, 77, .24);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 88% 30%, rgba(214, 177, 77, .08), transparent 34%),
        linear-gradient(115deg, rgba(214, 177, 77, .035), rgba(5, 5, 5, .6));
}

.journey-survey-intro h2 {
    margin: 1rem 0 1.5rem;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    line-height: .98;
}

.journey-survey-intro h2 em {
    color: var(--gold);
    font-style: normal;
}

.journey-survey-intro > p:not(.section-kicker) {
    max-width: 510px;
    color: rgba(255, 255, 255, .62);
    line-height: 1.75;
}

.journey-survey-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.5rem;
}

.journey-survey-meta span,
.journey-survey-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .4rem .65rem;
    border: 1px solid rgba(214, 177, 77, .24);
    color: rgba(231, 202, 119, .86);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.journey-survey-card {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(12, 11, 9, .82);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.journey-survey-card h3 {
    margin: 1.2rem 0 1.6rem;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 400;
    line-height: 1.12;
}

.journey-survey-options {
    display: grid;
    gap: .7rem;
}

.journey-survey-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .8rem;
    align-items: center;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: .6rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.journey-survey-option:hover,
.journey-survey-option:has(input:checked) {
    border-color: rgba(214, 177, 77, .55);
    background: rgba(214, 177, 77, .055);
}

.journey-survey-option input {
    accent-color: #d8b44f;
}

.journey-survey-option span {
    color: rgba(255, 255, 255, .86);
}

.journey-survey-option small {
    color: rgba(255, 255, 255, .42);
    font-size: .65rem;
}

.journey-survey-open-answer {
    display: grid;
    gap: .55rem;
}

.journey-survey-open-answer > span {
    color: rgba(255, 255, 255, .52);
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.journey-survey-open-answer textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .55rem;
    background: rgba(0, 0, 0, .28);
    color: #f4efe4;
    resize: vertical;
}

.journey-survey-submit {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.2rem;
    padding: 1rem 1.15rem;
    border: 0;
    background: linear-gradient(100deg, #e1bf59, #c99a25);
    color: #090909;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.journey-survey-alert {
    margin-bottom: 1rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(214, 177, 77, .35);
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
}

.journey-survey-alert.is-success {
    border-color: rgba(94, 169, 112, .5);
}

.journey-survey-alert.is-error {
    border-color: rgba(203, 89, 71, .6);
}

.journey-survey-closed-copy {
    color: rgba(255, 255, 255, .58);
    line-height: 1.7;
}

@media (max-width: 820px) {
    .journey-survey-section {
        grid-template-columns: 1fr;
        width: min(100% - 28px, 680px);
        gap: 1.8rem;
        padding: 1.35rem;
    }

    .journey-territory-visual-label {
        top: .15rem;
        right: .15rem;
    }
}

/* ========================================================================
   YUNO 0.4.3-dev — atlante vettoriale narrativo dei Paesi
   La mappa tecnica del Journey Studio resta invariata.
   ======================================================================== */
.journey-territory-visual {
    isolation: isolate;
    border-left: 1px solid rgba(221, 185, 79, .12);
    background:
        radial-gradient(circle at 56% 52%, rgba(221, 185, 79, .075), transparent 46%),
        linear-gradient(135deg, rgba(255,255,255,.014), transparent 58%);
}

.journey-territory-visual::before,
.journey-territory-visual::after {
    display: none;
}

#journey-territory-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0;
    transition: opacity .5s ease;
    filter: none;
}

#journey-territory-svg.is-ready {
    opacity: 1;
}

.journey-territory-orbits ellipse {
    fill: none;
    stroke: rgba(221, 185, 79, .10);
    stroke-width: .7;
    stroke-dasharray: 2 8;
    vector-effect: non-scaling-stroke;
}

#journey-territory-glow-path {
    fill: none;
    stroke: rgba(221, 185, 79, .22);
    stroke-width: 5.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: url(#journey-territory-soft-glow);
}

#journey-territory-path {
    fill: none;
    stroke: rgba(238, 204, 112, .96);
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

#journey-territory-route-shadow,
#journey-territory-route {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

#journey-territory-route-shadow {
    stroke: rgba(0, 0, 0, .62);
    stroke-width: 4;
}

#journey-territory-route {
    stroke: rgba(248, 239, 213, .92);
    stroke-width: 1.25;
    stroke-dasharray: 3 7;
    animation: yuno-territory-route-flow 20s linear infinite;
}

@keyframes yuno-territory-route-flow {
    to { stroke-dashoffset: -100; }
}

.journey-territory-marker-pulse {
    fill: rgba(221, 185, 79, .05);
    stroke: rgba(221, 185, 79, .32);
    stroke-width: .75;
    transform-box: fill-box;
    transform-origin: center;
    animation: yuno-territory-marker-pulse 2.8s ease-out infinite;
}

.journey-territory-marker-dot {
    fill: #e5bd55;
    stroke: rgba(10, 10, 10, .92);
    stroke-width: 2;
}

.journey-territory-marker-label {
    fill: rgba(245, 235, 207, .92);
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .09em;
    paint-order: stroke;
    stroke: rgba(0, 0, 0, .88);
    stroke-width: 2.5px;
}

@keyframes yuno-territory-marker-pulse {
    0% { opacity: .75; transform: scale(.55); }
    75%, 100% { opacity: 0; transform: scale(1.45); }
}

.journey-territory-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .48);
    transition: opacity .3s ease, visibility .3s ease;
}

.journey-territory-loading > span {
    width: 1.5rem;
    aspect-ratio: 1;
    border: 1px solid rgba(221, 185, 79, .22);
    border-top-color: rgba(221, 185, 79, .9);
    border-radius: 50%;
    animation: yuno-territory-spin .8s linear infinite;
}

.journey-territory-loading > small {
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.journey-territory-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.journey-territory-loading.is-error > span {
    display: none;
}

@keyframes yuno-territory-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
    .journey-territory-visual {
        border-top: 1px solid rgba(221, 185, 79, .11);
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #journey-territory-route,
    .journey-territory-marker-pulse,
    .journey-territory-loading > span {
        animation: none;
    }
}


/* YUNO 0.4.3-dev.1 — accesso amministrativo Journey */
.journey-admin-preview-banner {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: .8rem 1rem;
    border: 1px solid rgba(214, 173, 62, .34);
    background: rgba(18, 15, 9, .92);
    color: #e9e3d5;
    backdrop-filter: blur(12px);
}
.journey-admin-preview-banner span {
    color: #d6ad3e;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.journey-admin-preview-banner strong { font-size: .82rem; font-weight: 500; }
.journey-admin-preview-banner a {
    color: #d6ad3e;
    font-size: .75rem;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .journey-admin-preview-banner { grid-template-columns: 1fr; gap: .35rem; }
}


/* YUNO 0.4.4-dev.2 — sostegno Backer demo */
.journey-support-demo{max-width:1180px;margin:5rem auto;padding:2.5rem;display:grid;grid-template-columns:1.15fr .85fr;gap:4rem;border-top:1px solid rgba(218,177,57,.25);border-bottom:1px solid rgba(255,255,255,.1);background:radial-gradient(circle at 80% 20%,rgba(218,177,57,.1),transparent 38%)}.journey-support-demo-copy h2{margin:.5rem 0 1rem;font:600 clamp(3rem,5vw,5.5rem)/.9 "Cormorant Garamond",serif}.journey-support-demo-copy h2 em{color:#d8ad38;font-style:normal}.journey-support-demo-copy>p{max-width:650px;color:#b3afa8}.journey-support-demo-copy>small{display:block;margin-top:1rem;color:#777}.journey-support-demo-panel{border:1px solid rgba(255,255,255,.14);padding:1.5rem;background:rgba(10,10,9,.86)}.journey-support-demo-panel>span,.journey-support-demo-panel label span{display:block;color:#d8ad38;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase}.journey-support-demo-panel>strong{display:block;margin:.6rem 0;font:600 2rem/1 "Cormorant Garamond",serif}.journey-support-demo-panel form{display:grid;gap:1rem}.journey-support-demo-panel select{width:100%;padding:.85rem;background:#0b0b0a;color:#eee;border:1px solid rgba(255,255,255,.18)}.journey-fake-card{min-height:130px;border-radius:16px;padding:1.2rem;display:grid;align-content:space-between;background:linear-gradient(135deg,#e1bd55,#9d7418);color:#111;box-shadow:0 18px 50px rgba(0,0,0,.35)}.journey-fake-card small{letter-spacing:.18em}.journey-fake-card b{font-size:1.1rem;letter-spacing:.2em}.journey-fake-card span{text-align:right;font-weight:700}.journey-support-demo-panel button,.journey-support-login{display:flex;justify-content:space-between;align-items:center;padding:1rem;border:1px solid #e1bd55;background:#d6ad3a;color:#080808;text-transform:uppercase;font-weight:700;letter-spacing:.08em;text-decoration:none;cursor:pointer}.journey-support-message{padding:.8rem 1rem;margin-bottom:1rem;border:1px solid}.journey-support-message.is-success{border-color:#3f7f55;background:rgba(42,105,62,.18)}.journey-support-message.is-error{border-color:#a54d42;background:rgba(133,48,39,.18)}@media(max-width:800px){.journey-support-demo{grid-template-columns:1fr;gap:2rem;margin:3rem 18px;padding:1.4rem}.journey-support-demo-copy h2{font-size:3rem}}

/* YUNO 0.4.4-dev.8 — meteo nella tappa pubblica */
.journey-stage-weather {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: .9rem 0 .85rem;
    padding: .65rem .75rem;
    border-top: 1px solid rgba(216,179,75,.18);
    border-bottom: 1px solid rgba(216,179,75,.12);
    background: rgba(216,179,75,.035);
}
.journey-stage-weather img { width: 32px; height: 32px; flex: 0 0 32px; }
.journey-stage-weather div { display: grid; gap: .08rem; flex: 1; }
.journey-stage-weather strong { color: #e5c55f; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.journey-stage-weather span,
.journey-stage-weather small { color: rgba(255,255,255,.68); font-size: .72rem; }

/* YUNO 0.5.1 — riepilogo meteo aggregato dalle tappe */
.journey-weather-summary {
    display:grid;
    grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);
    gap:clamp(40px,7vw,110px);
    align-items:end;
    padding:90px var(--yuno-page-padding, clamp(24px,3vw,52px));
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
    background:linear-gradient(120deg, rgba(216,181,85,.035), transparent 38%);
}
.journey-weather-summary > div:first-child > span { color:#d8b555; font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.journey-weather-summary h2 { margin:16px 0 20px; font-family:var(--yuno-serif); font-size:clamp(48px,5vw,78px); font-weight:500; line-height:.93; }
.journey-weather-summary h2 em { color:#d8b555; font-style:normal; }
.journey-weather-summary p { max-width:520px; margin:0; color:rgba(255,255,255,.5); font-size:13px; line-height:1.75; }
.journey-weather-summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); border-top:1px solid rgba(255,255,255,.09); border-left:1px solid rgba(255,255,255,.09); }
.journey-weather-summary-grid article { min-height:150px; display:grid; align-content:center; gap:4px; padding:22px; border-right:1px solid rgba(255,255,255,.09); border-bottom:1px solid rgba(255,255,255,.09); }
.journey-weather-summary-grid article > span { font-size:28px; }
.journey-weather-summary-grid article > strong { color:#efd27a; font-family:var(--yuno-serif); font-size:38px; font-weight:500; }
.journey-weather-summary-grid article > small { color:rgba(255,255,255,.55); font-size:11px; line-height:1.35; }
@media(max-width:800px){.journey-weather-summary{grid-template-columns:1fr;padding-block:68px}.journey-weather-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* YUNO 0.5.1-dev.m5 — simbolo meteo persistente per tappa */
.journey-stage-weather-symbol {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    font-size: 23px;
    line-height: 1;
}
