/* =========================================================================
   Languages with Liam — Journey Landing
   -------------------------------------------------------------------------
   Ported verbatim from the Claude Design handoff at
   ~/Desktop/LanguageswithLiam/new-journey-landing-page/project/landing.css
   with the following changes:
     - EmberMark replaced by the Japanese path crest (.j-crest)
     - "Nueva aventura" portal added at the bottom of Section 9
     - Inline modal for the lwl-journey-auth signup shortcode
     - Tweaks panel removed (defaults baked in via PHP)
   ========================================================================= */

html, body { background: var(--color-paper); }
body.lwl-jl-page {
	overflow-x: hidden;
	background: var(--color-paper);
}
body.lwl-jl-page *, body.lwl-jl-page *::before, body.lwl-jl-page *::after {
	backface-visibility: hidden;
}


/* =========================================================================
   TOP NAV — .j-nav lives in the lwl-journey theme's layout.css now.
   The marketing-nav partial (themes/lwl-journey/template-parts/marketing-nav.php)
   is the single source of truth, included by both the theme header.php and
   this landing template. Do NOT redeclare .j-nav* rules here — keep one source.
   ========================================================================= */


/* =========================================================================
   SECTION 1 — THE FOLD (portal) — marketing world background
   ========================================================================= */
.j-fold {
	position: relative;
	min-height: 100vh;
	padding: 116px clamp(20px, 4vw, 56px) 48px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: clamp(20px, 3.5vh, 44px);
	overflow: hidden;
	isolation: isolate;
}

.j-scenery {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.j-sky {
	position: absolute;
	inset: 0 0 38% 0;
	background:
		linear-gradient(180deg,
			#F5C8B0 0%,
			#FBDFC8 26%,
			#FFEFD6 56%,
			#FFFCF7 100%);
}
.j-sky::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(252, 192, 0, 0.22), transparent 70%);
}

.j-sun {
	position: absolute;
	top: 14%;
	right: 6%;
	width: clamp(220px, 26vw, 360px);
	aspect-ratio: 1;
	pointer-events: none;
}
.j-sun > * {
	position: absolute;
	inset: 0;
	border-radius: 50%;
}
.j-sun .j-sun__ring { animation: j-sun-breathe 6s ease-in-out infinite; }
.j-sun .r1 { inset:  0%; background: radial-gradient(circle, rgba(252, 192, 0, 0.20), transparent 75%); animation-delay: 0s; }
.j-sun .r2 { inset: 10%; background: radial-gradient(circle, rgba(252, 192, 0, 0.30), transparent 65%); animation-delay: 0.6s; }
.j-sun .r3 { inset: 22%; background: radial-gradient(circle, rgba(252, 192, 0, 0.45), transparent 60%); animation-delay: 1.2s; }
.j-sun .j-sun__core {
	inset: 34%;
	background: radial-gradient(circle, #FFD63B 0%, #FCC000 60%, #FF7A1A 100%);
	box-shadow: 0 0 60px rgba(252, 160, 0, 0.55);
	animation: j-sun-core 4s ease-in-out infinite;
}
@keyframes j-sun-breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes j-sun-core { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.03); filter: brightness(1.06); } }

.j-branch {
	position: absolute;
	top: -10px;
	left: -10px;
	width: clamp(280px, 28vw, 460px);
	height: auto;
	transform-origin: 0 0;
	animation: j-branch-sway 9s ease-in-out infinite;
}
@keyframes j-branch-sway { 0%, 100% { transform: rotate(-0.6deg); } 50% { transform: rotate(0.6deg); } }

.j-ridges {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 56%;
}
.j-ridges .back  { opacity: 0.85; }
.j-ridges .mid   { opacity: 1; }
.j-ridges .front { opacity: 1; }

.j-torii {
	position: absolute;
	left: 12%;
	bottom: 18%;
	width: 64px;
	height: auto;
	filter: drop-shadow(0 4px 6px rgba(43, 37, 48, 0.2));
	animation: j-torii-rise 1.4s var(--ease-out) 0.4s both;
}
@keyframes j-torii-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.j-petal-d {
	position: absolute;
	display: block;
	pointer-events: none;
	border-radius: 60% 30% 60% 30% / 50% 60% 40% 50%;
	filter: drop-shadow(0 2px 4px rgba(237, 147, 177, 0.30));
	opacity: 0;
	animation: j-petal-drift var(--pd) linear infinite;
	animation-delay: var(--pdelay);
}
@keyframes j-petal-drift {
	0%   { transform: translate3d(0, 0, 0) rotate(0deg);   opacity: 0; }
	6%   { opacity: 0.85; }
	85%  { opacity: 0.85; }
	100% { transform: translate3d(var(--pdrift), 110vh, 0) rotate(540deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.j-sun .j-sun__ring, .j-sun .j-sun__core, .j-branch, .j-petal-d, .j-torii { animation: none; }
}

/* — fold header — */
.j-fold__head {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-top: 12px;
}

/* The Japanese path crest (replaces the prototype's EmberMark). */
.j-crest {
	width: 88px;
	height: 88px;
	position: relative;
	margin-bottom: 4px;
	filter: drop-shadow(0 6px 14px rgba(60, 60, 120, 0.18));
	animation: j-crest-rise 1.2s var(--ease-out) 0.1s both;
}
.j-crest svg { width: 100%; height: 100%; display: block; }
.j-crest::after {
	content: "";
	position: absolute;
	inset: -10%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(252, 192, 0, 0.18) 0%, transparent 70%);
	z-index: -1;
	animation: j-crest-glow 5s ease-in-out infinite;
}
@keyframes j-crest-rise {
	from { opacity: 0; transform: translateY(10px) scale(0.96); }
	to   { opacity: 1; transform: none; }
}
@keyframes j-crest-glow {
	0%, 100% { opacity: 0.65; transform: scale(1); }
	50%      { opacity: 1;    transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
	.j-crest, .j-crest::after { animation: none; }
}

.j-fold__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-deep);
	padding: 7px 16px;
	background: rgba(255, 252, 247, 0.75);
	border: var(--hairline);
	border-radius: 999px;
	box-shadow: 0 1px 4px rgba(43, 37, 48, 0.05);
	backdrop-filter: blur(6px);
}
.j-leaf {
	width: 10px; height: 10px;
	background: linear-gradient(135deg, #84B25D, #3F6F4A);
	border-radius: 0 100% 0 100%;
	display: inline-block;
}

.j-fold__wordmark {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(56px, 10vw, 132px);
	letter-spacing: -0.028em;
	line-height: 0.92;
	color: var(--color-deep);
	margin: 0;
	position: relative;
	text-shadow: 0 6px 30px rgba(43, 37, 48, 0.05);
}
.j-fold__wordmark em {
	font-style: italic;
	font-weight: 400;
	color: var(--color-coral);
	position: relative;
}
.j-fold__wordmark em::after {
	content: "";
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: -0.12em;
	height: 0.08em;
	background: var(--color-coral);
	border-radius: 999px;
	transform: scaleX(0);
	transform-origin: left;
	animation: j-underline 1.2s var(--ease-out) 0.6s forwards;
	opacity: 0.55;
}
@keyframes j-underline { to { transform: scaleX(1); } }

.j-fold__tagline {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(17px, 1.6vw, 22px);
	color: var(--color-ink-soft);
	letter-spacing: 0.005em;
	max-width: 44ch;
	margin: 0;
}

/* — doors — */
.j-doors {
	position: relative;
	z-index: 1;
	align-self: center;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(20px, 2.5vw, 32px);
	max-width: 1120px;
	margin: 0 auto;
	width: 100%;
	/* stretch so every door card in the row matches the tallest one — the
	   Student door has more form fields than the Guardian one, so without
	   this they ended up visibly uneven */
	align-items: stretch;
}
.j-doors--triple {
	grid-template-columns: 1fr 1fr 1fr;
	max-width: 1320px;
}
.j-door {
	position: relative;
	background: rgba(255, 252, 247, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-xl);
	padding: clamp(24px, 2.6vw, 36px) clamp(26px, 2.8vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform var(--dur-base) var(--ease-out),
				border-color var(--dur-base) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out);
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(43, 37, 48, 0.05);
}
.j-door:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(43, 37, 48, 0.12);
	border-color: rgba(252, 60, 48, 0.30);
}
.j-door::before {
	content: "";
	position: absolute;
	inset: auto -30px -50px auto;
	width: 220px; height: 220px;
	background: radial-gradient(circle at 50% 90%, var(--door-accent, var(--color-coral)) 0%, var(--door-accent, var(--color-coral)) 40%, transparent 41%);
	opacity: 0.07;
	border-radius: 50%;
	pointer-events: none;
}

.j-door__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.j-door__kicker {
	font-family: "Cinzel", serif;
	font-size: 10.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--door-accent, var(--color-coral-dark));
	font-weight: 700;
}
.j-door__badge {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(84, 96, 168, 0.10);
	color: var(--color-indigo);
	border: 1px solid rgba(84, 96, 168, 0.18);
	white-space: nowrap;
}
.j-door__badge--open {
	background: rgba(132, 178, 93, 0.18);
	color: var(--color-moss-deep);
	border-color: rgba(63, 111, 74, 0.30);
	position: relative;
	padding-left: 22px;
}
.j-door__badge--open::before {
	content: "";
	position: absolute;
	left: 9px; top: 50%;
	width: 6px; height: 6px;
	background: var(--color-meadow);
	border-radius: 50%;
	transform: translateY(-50%);
	box-shadow: 0 0 0 3px rgba(132, 178, 93, 0.22);
	animation: j-pulse 2.4s ease-in-out infinite;
}
.j-door__badge--new {
	background: rgba(252, 120, 12, 0.14);
	color: var(--color-ember);
	border-color: rgba(252, 120, 12, 0.32);
}
@keyframes j-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(132, 178, 93, 0.22); }
	50%      { box-shadow: 0 0 0 6px rgba(132, 178, 93, 0.06); }
}

.j-door__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 2.4vw, 36px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--color-deep);
	margin: 0;
}
.j-door__title em { font-style: italic; color: var(--color-coral); font-weight: 400; }
.j-door__sub {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 15.5px;
	color: var(--color-ink-soft);
	margin: 0;
	line-height: 1.4;
}

.j-field { display: flex; flex-direction: column; gap: 6px; }
.j-field label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-ink-soft);
}
.j-field input {
	font-family: var(--font-body);
	font-size: 15px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-line);
	background: var(--color-paper);
	color: var(--color-ink);
	transition: border-color var(--dur-base) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out);
}
.j-field input:focus {
	outline: none;
	border-color: var(--color-coral);
	box-shadow: 0 0 0 3px rgba(252, 60, 48, 0.15);
}
.j-field--row {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--color-ink-soft);
}
.j-field--row input[type="checkbox"] { accent-color: var(--color-coral); width: 16px; height: 16px; }

.j-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.j-form__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
}
.j-form__msg {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 14px;
	color: var(--color-moss-deep);
	min-height: 1em;
}
.j-form__msg--err { color: var(--color-coral); }

.j-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	border: 1.5px solid var(--color-coral);
	background: var(--color-coral);
	color: var(--color-paper);
	cursor: pointer;
	transition: transform var(--dur-base) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out),
				background var(--dur-base) var(--ease-out),
				border-color var(--dur-base) var(--ease-out);
	letter-spacing: 0.01em;
	text-decoration: none;
}
.j-cta:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 22px rgba(252, 60, 48, 0.28); background: var(--color-coral-dark); border-color: var(--color-coral-dark); }
.j-cta:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.j-cta--ghost {
	background: transparent;
	color: var(--color-deep);
	border-color: rgba(43, 37, 48, 0.22);
}
.j-cta--ghost:hover { background: rgba(43, 37, 48, 0.04); color: var(--color-coral); border-color: var(--color-coral); }
.j-cta--full { width: 100%; }
.j-cta--indigo { background: var(--color-deep); border-color: var(--color-deep); }
.j-cta--indigo:hover { background: var(--color-indigo); border-color: var(--color-indigo); box-shadow: 0 8px 22px rgba(84, 96, 168, 0.30); }
.j-cta--ember { background: var(--color-ember); border-color: var(--color-ember); }
.j-cta--ember:hover { background: #E36800; border-color: #E36800; box-shadow: 0 8px 22px rgba(252, 120, 12, 0.30); }

.j-textlink {
	font-family: var(--font-body);
	color: var(--color-ink-soft);
	font-size: 13px;
	text-decoration: none;
}
.j-textlink:hover { color: var(--color-coral); }

.j-door__foot {
	border-top: var(--hairline);
	padding-top: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--color-ink-soft);
	gap: 12px;
	flex-wrap: wrap;
	/* pin to bottom of the (now-stretched) card so the row's footers align
	   on a shared baseline regardless of how much form content sits above */
	margin-top: auto;
}
.j-door__foot strong { color: var(--color-ink); font-weight: 600; }

.j-newhere {
	position: relative;
	z-index: 1;
	text-align: center;
	padding-bottom: 8px;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 16px;
	color: var(--color-ink-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.j-newhere a { color: var(--color-coral); font-weight: 500; text-decoration: none; }
.j-newhere .arrow {
	display: inline-flex;
	align-items: center;
	width: 18px;
	height: 18px;
	animation: j-bounce 2.4s ease-in-out infinite;
}
@keyframes j-bounce {
	0%, 100% { transform: translateY(0); opacity: 0.7; }
	50%      { transform: translateY(4px); opacity: 1; }
}


/* =========================================================================
   SECTION 2 — THE WHISPER
   ========================================================================= */
.j-whisper {
	position: relative;
	min-height: 90vh;
	padding: clamp(80px, 12vh, 160px) clamp(20px, 4vw, 56px);
	display: grid;
	place-items: center;
	isolation: isolate;
	background:
		radial-gradient(ellipse 60% 50% at 50% 30%, rgba(252, 192, 0, 0.10), transparent 70%),
		var(--color-paper);
}
.j-whisper__art {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	z-index: 0;
}
.j-whisper__art .j-bonsai {
	opacity: 0;
	transform: translateY(30px) scale(0.96);
	transition: opacity 2.2s var(--ease-out), transform 2.2s var(--ease-out);
}
.j-whisper.j-in .j-whisper__art .j-bonsai { opacity: 0.85; transform: none; }

.j-whisper__line {
	position: relative;
	z-index: 1;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(38px, 6vw, 92px);
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--color-deep);
	text-align: center;
	max-width: 18ch;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1.6s var(--ease-out) 0.2s,
				transform 0.6s var(--ease-out),
				text-shadow 0.6s var(--ease-out),
				letter-spacing 0.6s var(--ease-out);
	text-shadow:
		0 0  6px  rgba(255, 252, 247, 0.95),
		0 0 18px  rgba(255, 252, 247, 0.85),
		0 0 36px  rgba(255, 252, 247, 0.70),
		0 0 64px  rgba(252, 192,   0, 0.35),
		0 6px 24px rgba(43, 37, 48, 0.18);
	cursor: default;
	margin: 0;
}
.j-whisper__line em {
	color: var(--color-coral);
	font-style: italic;
	text-shadow:
		0 0  6px  rgba(255, 252, 247, 0.95),
		0 0 18px  rgba(255, 252, 247, 0.85),
		0 0 36px  rgba(252, 192,   0, 0.45),
		0 0 64px  rgba(252,  60,  48, 0.30),
		0 6px 24px rgba(43, 37, 48, 0.18);
	transition: color 0.5s var(--ease-out), text-shadow 0.5s var(--ease-out);
}
.j-whisper.j-in .j-whisper__line { opacity: 1; transform: none; }
.j-whisper__line:hover {
	transform: translateY(-2px) scale(1.01);
	letter-spacing: -0.005em;
	text-shadow:
		0 0  8px  rgba(255, 252, 247, 1),
		0 0 22px  rgba(255, 252, 247, 0.95),
		0 0 48px  rgba(255, 252, 247, 0.80),
		0 0 90px  rgba(252, 192,   0, 0.55),
		0 0 140px rgba(252, 120,  12, 0.30),
		0 10px 30px rgba(43, 37, 48, 0.22);
}


/* =========================================================================
   The colorful bonsai
   ========================================================================= */
.j-bonsai {
	position: relative;
	width: min(420px, 70vw);
	aspect-ratio: 1;
	transform: scale(var(--bonsai-scale, 1));
	transform-origin: center;
}
.j-bonsai svg { width: 100%; height: 100%; display: block; }
.j-bonsai__glow {
	position: absolute;
	inset: -10%;
	background: radial-gradient(circle at 50% 42%, rgba(252, 192, 0, 0.40) 0%, rgba(252, 192, 0, 0.15) 35%, transparent 70%);
	filter: blur(4px);
	animation: j-bonsai-glow 5s ease-in-out infinite;
	z-index: -1;
}
@keyframes j-bonsai-glow {
	0%, 100% { opacity: 0.7; transform: scale(0.98); }
	50%      { opacity: 1;   transform: scale(1.04); }
}

.bon-foliage > * {
	transform-origin: center;
	animation: j-bonsai-breathe 5.5s ease-in-out infinite;
}
.bon-foliage > *:nth-child(2) { animation-delay: -2s; }
.bon-foliage > *:nth-child(3) { animation-delay: -3.5s; }
.bon-foliage > *:nth-child(5) { animation-delay: -1.2s; }
@keyframes j-bonsai-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }


/* =========================================================================
   SECTION 3 — THE QUEST MAP
   ========================================================================= */
.j-quest {
	position: relative;
	background:
		radial-gradient(ellipse 60% 40% at 50% 0%, rgba(252, 192, 0, 0.07), transparent 70%),
		var(--color-paper-warm);
	border-top: var(--hairline);
	border-bottom: var(--hairline);
}
.j-quest__intro {
	text-align: center;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 56px);
	flex-shrink: 0;
}
.j-quest__kicker {
	font-family: "Cinzel", serif;
	font-size: 12.5px;
	letter-spacing: 0.30em;
	text-transform: uppercase;
	color: var(--color-ember);
	font-weight: 600;
	display: inline-block;
	margin-bottom: 14px;
}
.j-quest__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.4vw, 60px);
	font-weight: 500;
	letter-spacing: -0.018em;
	line-height: 1.04;
	color: var(--color-deep);
	margin: 0 0 14px;
}
.j-quest__title em { font-style: italic; color: var(--color-coral); font-weight: 400; }
.j-quest__lead {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(18px, 1.5vw, 22px);
	color: var(--color-ink-soft);
	margin: 0 auto;
	line-height: 1.45;
	max-width: 62ch;
}

.j-quest__scroll { position: relative; height: 200vh; }
.j-quest__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(20px, 3vh, 36px);
	padding: 84px clamp(20px, 4vw, 56px) 32px;
}

.j-map {
	position: relative;
	width: 100%;
	/* Was 1080px — too narrow on big monitors. Open it up so the map fills
	   more of the screen real estate the section already owns (sticky 100vh). */
	max-width: min(1320px, 92vw);
	aspect-ratio: 1140 / 520;
	margin: 0 auto;
	--mx: 0; --my: 0;
	flex-shrink: 0;
}
.j-map__svg, .j-map__terrain {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.j-map__terrain {
	transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -8px), 0);
	transition: transform 0.6s var(--ease-out);
}
.j-map__svg {
	transform: translate3d(calc(var(--mx) * 6px), calc(var(--my) * 4px), 0);
	transition: transform 0.6s var(--ease-out);
}
.j-map__path {
	fill: none;
	stroke: rgba(60, 60, 120, 0.22);
	stroke-width: 2.5;
	stroke-dasharray: 6 8;
	stroke-linecap: round;
}
.j-map__path--inked {
	stroke: url(#ink-grad);
	stroke-dasharray: none;
	stroke-width: 3.5;
	filter: drop-shadow(0 1px 4px rgba(252, 60, 48, 0.25));
}

.j-stone {
	position: absolute;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	pointer-events: none;
}
.j-stone__disc {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-paper);
	border: 1.5px solid var(--color-line);
	box-shadow: var(--shadow-1);
	display: grid;
	place-items: center;
	transition: transform 600ms var(--ease-bounce),
				border-color var(--dur-base) var(--ease-out),
				background var(--dur-base) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out);
	position: relative;
	z-index: 2;
}
.j-stone__disc::after {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: rgba(43, 37, 48, 0.25);
	transition: background var(--dur-base) var(--ease-out);
}
.j-stone.lit .j-stone__disc {
	background: linear-gradient(135deg, #FFD63B, #FC780C);
	border-color: var(--color-ember);
	transform: scale(1.20);
	box-shadow: 0 0 0 7px rgba(252, 192, 0, 0.20),
				0 6px 18px rgba(252, 120, 12, 0.32);
}
.j-stone.lit .j-stone__disc::after { background: #FFFCF7; }

.j-stone__bloom {
	position: absolute;
	inset: 50%;
	width: 0; height: 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(252, 192, 0, 0.40), transparent 70%);
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 1;
}
.j-stone.lit .j-stone__bloom {
	animation: j-stone-bloom 900ms var(--ease-out) forwards;
}
@keyframes j-stone-bloom {
	from { width: 0;   height: 0;   opacity: 0.9; }
	to   { width: 120px; height: 120px; opacity: 0; }
}

.j-stone__label {
	position: absolute;
	font-family: "Cinzel", serif;
	font-size: 10px;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--color-deep);
	font-weight: 600;
	white-space: nowrap;
	background: var(--color-paper);
	padding: 4px 10px;
	border-radius: 999px;
	border: var(--hairline);
	z-index: 3;
}
.j-stone.lit .j-stone__label {
	color: var(--color-coral);
	border-color: rgba(252, 60, 48, 0.35);
}
.j-stone__label--top    { top: -8px;    transform: translate(-50%, -100%); left: 50%; }
.j-stone__label--bottom { bottom: -8px; transform: translate(-50%,  100%); left: 50%; }

.j-traveller {
	position: absolute;
	transform: translate(-50%, -50%);
	pointer-events: none;
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	transition: opacity 600ms var(--ease-out);
	z-index: 4;
	left: 0%;
	top: 0%;
}

.j-lantern {
	width: 46px;
	height: 56px;
	position: relative;
	filter: drop-shadow(0 0 22px rgba(252, 160, 60, 0.65));
	animation: j-sway 3.6s ease-in-out infinite;
	transform-origin: 50% -8px;
}
.j-lantern::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 65% 75% at 50% 50%, #FFE2A3 0%, #FFB466 55%, #C8362A 100%);
	border-radius: 46% 46% 50% 50% / 55% 55% 45% 45%;
	border: 1.5px solid #C8362A;
}
.j-lantern::after {
	content: "";
	position: absolute;
	top: -10px; left: 50%;
	transform: translateX(-50%);
	width: 1px; height: 12px;
	background: rgba(43, 37, 48, 0.55);
}
.j-lantern__cap, .j-lantern__base {
	position: absolute; left: 50%;
	transform: translateX(-50%);
	width: 22px; height: 4px;
	background: #1A151F;
	border-radius: 2px;
}
.j-lantern__cap  { top: -2px; }
.j-lantern__base { bottom: -3px; }
@keyframes j-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
	.j-lantern { animation: none; }
}

.j-quest__captions {
	position: absolute;
	inset: auto 0 -22px 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	padding: 0 4px;
	pointer-events: none;
}
.j-cap {
	text-align: center;
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.45;
	color: var(--color-ink);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), color 500ms var(--ease-out), text-shadow 500ms var(--ease-out);
	/* 3D-feel halo: a tight cream backdrop lifts the italic off the washi
	   pattern + a soft cream-bloom + a faint deep-indigo drop give depth */
	text-shadow:
		0 0  6px rgba(255, 252, 247, 0.95),
		0 0 14px rgba(255, 252, 247, 0.70),
		0 2px  6px rgba(60, 60, 120, 0.22),
		0 4px 16px rgba(60, 60, 120, 0.10);
}
.j-cap.on {
	opacity: 1;
	transform: none;
	color: var(--color-deep);
	text-shadow:
		0 0  8px rgba(255, 252, 247, 1),
		0 0 18px rgba(255, 252, 247, 0.85),
		0 3px  8px rgba(60, 60, 120, 0.28),
		0 6px 22px rgba(60, 60, 120, 0.14);
}
.j-cap strong {
	display: block;
	font-family: "Cinzel", serif;
	font-style: normal;
	font-weight: 700;
	font-size: clamp(12px, 0.95vw, 13.5px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-ember);
	margin-bottom: 6px;
	text-shadow:
		0 0  6px rgba(255, 252, 247, 0.95),
		0 1px  3px rgba(252, 120, 12, 0.30),
		0 3px 10px rgba(252, 120, 12, 0.15);
}

.j-quest__progress {
	position: absolute;
	top: 24px;
	right: 28px;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-ink-soft);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 5;
}
.j-quest__progress .bar {
	width: 80px; height: 2px;
	background: rgba(43, 37, 48, 0.10);
	border-radius: 999px;
	overflow: hidden;
}
.j-quest__progress .bar > i {
	display: block; height: 100%;
	background: var(--color-coral);
	width: var(--p, 0%);
	transition: width 100ms linear;
}


/* =========================================================================
   SECTION 8 — MANIFESTO
   ========================================================================= */
.j-mani {
	position: relative;
	padding: clamp(96px, 16vh, 200px) clamp(20px, 4vw, 56px);
	display: grid;
	place-items: center;
	background:
		radial-gradient(ellipse 70% 40% at 50% 0%, rgba(244, 192, 209, 0.20), transparent 70%),
		var(--color-paper);
}
.j-mani__card { max-width: 760px; width: 100%; }
.j-mani__kicker {
	font-family: "Cinzel", serif;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-ember);
	font-weight: 600;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.j-mani__kicker::before, .j-mani__kicker::after {
	content: "";
	flex: 0 0 32px;
	height: 1px;
	background: var(--color-ember);
	opacity: 0.6;
}

.j-mani__lede {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(36px, 4.6vw, 60px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--color-deep);
	margin: 0 0 28px;
	text-wrap: pretty;
}
.j-mani__lede em { color: var(--color-coral); font-style: italic; }

.j-mani__body {
	font-family: var(--font-display);
	font-size: clamp(19px, 1.5vw, 22px);
	font-weight: 400;
	line-height: 1.55;
	color: var(--color-ink);
	text-wrap: pretty;
}
.j-mani__body p { margin: 0; }
.j-mani__body p + p { margin-top: 18px; }
.j-mani__body em { font-style: italic; }

.j-mani__close {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(26px, 3vw, 38px);
	color: var(--color-coral);
	margin: 40px 0 0;
	letter-spacing: -0.01em;
}
.j-mani__sig {
	margin-top: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--color-ink-soft);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 18px;
}
.j-mani__sig .scribble { width: 78px; height: 38px; }
.j-mani__sig .scribble path {
	fill: none;
	stroke: var(--color-coral);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* =========================================================================
   SECTION 9 — DOORS AGAIN + "Nueva aventura"
   ========================================================================= */
.j-again {
	position: relative;
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, rgba(244, 192, 209, 0.18), transparent 70%),
		var(--color-paper);
	border-top: var(--hairline);
	padding: clamp(72px, 12vh, 128px) clamp(20px, 4vw, 56px) 0;
}
.j-again__lead {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 44px;
}
.j-again__lead h2 {
	font-family: var(--font-display);
	font-size: clamp(32px, 3.8vw, 52px);
	font-weight: 500;
	font-style: italic;
	color: var(--color-deep);
	margin: 0 0 12px;
	letter-spacing: -0.015em;
}
.j-again__lead h2 em { color: var(--color-coral); font-style: italic; }
.j-again__lead p {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 18px;
	color: var(--color-ink-soft);
	margin: 0;
}

/* The new-adventure door — equal-weight third portal, ember-accented */
.j-door--adventure {
	--door-accent: var(--color-ember);
	background: linear-gradient(180deg,
		rgba(255, 252, 247, 0.96) 0%,
		rgba(252, 192,   0, 0.06) 100%);
}
.j-door--adventure .j-door__title em { color: var(--color-ember); }
.j-door__pictograph {
	width: 100%;
	max-width: 280px;
	margin: 4px auto 0;
	opacity: 0.85;
}
.j-door__pictograph svg { width: 100%; height: auto; display: block; }
.j-door__bullets {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 15px;
	line-height: 1.4;
	color: var(--color-ink);
}
.j-door__bullets li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.j-door__bullets li::before {
	content: "";
	flex: 0 0 8px;
	width: 8px; height: 8px;
	margin-top: 7px;
	border-radius: 50%;
	background: var(--door-accent, var(--color-ember));
	box-shadow: 0 0 0 3px rgba(252, 120, 12, 0.12);
}


/* =========================================================================
   "Nueva aventura" — inline modal that frames the lwl-journey-auth signup
   ========================================================================= */
.j-modal {
	position: fixed;
	inset: 0;
	z-index: var(--z-overlay);
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 56px);
	background: rgba(43, 37, 48, 0.62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 300ms var(--ease-out);
}
.j-modal.is-open {
	display: flex;
	opacity: 1;
}
.j-modal__shell {
	position: relative;
	width: 100%;
	/* Was 880×~80vh, which forced the 3-step character creation to scroll
	   inside the iframe. Open the shell wide and tall so steps 1/2/3 fit
	   without an inner scroll. */
	max-width: min(1240px, 96vw);
	height: min(960px, 92vh);
	max-height: 92vh;
	background: var(--color-paper);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-cinematic);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: translateY(12px) scale(0.985);
	transition: transform 360ms var(--ease-out);
}
.j-modal.is-open .j-modal__shell { transform: none; }
.j-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: var(--hairline);
	background: linear-gradient(180deg, rgba(252, 192, 0, 0.08), transparent);
}
.j-modal__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 22px;
	color: var(--color-deep);
	margin: 0;
}
.j-modal__title em { color: var(--color-ember); }
.j-modal__close {
	background: none;
	border: 1px solid var(--color-line);
	width: 36px; height: 36px;
	border-radius: 999px;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: border-color var(--dur-base) var(--ease-out),
				background var(--dur-base) var(--ease-out);
}
.j-modal__close:hover { border-color: var(--color-coral); background: rgba(252, 60, 48, 0.06); }
.j-modal__close::before, .j-modal__close::after {
	content: ""; position: absolute;
	width: 14px; height: 1.6px;
	background: var(--color-ink);
}
.j-modal__close::before { transform: rotate(45deg); }
.j-modal__close::after  { transform: rotate(-45deg); }
.j-modal__close { position: relative; }
.j-modal__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	background: var(--color-paper);
	display: flex;
}
.j-modal__iframe {
	display: block;
	width: 100%;
	height: 100%;
	flex: 1 1 auto;
	border: 0;
	background: var(--color-paper);
}
.j-modal__spinner {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--color-ink-soft);
	pointer-events: none;
	opacity: 1;
	transition: opacity var(--dur-base) var(--ease-out);
}
.j-modal__body.is-loaded .j-modal__spinner { opacity: 0; }

body.lwl-jl-modal-open { overflow: hidden; }


/* =========================================================================
   FLOWER BED — colorful, blooms on scroll-in
   ========================================================================= */
.j-flowerbed {
	position: relative;
	width: 100vw;
	margin: 64px calc(50% - 50vw) 0;
	height: 200px;
	overflow: hidden;
}
.j-flowerbed__wave {
	position: absolute;
	inset: 60px 0 0 0;
	width: 100%;
	height: 140px;
	display: block;
}
.j-flowerbed__row {
	position: absolute;
	inset: 0 0 0 0;
	display: grid;
	grid-template-columns: repeat(13, 1fr);
	align-items: end;
	padding: 0 4vw 38px;
}
.j-flower {
	position: relative;
	width: 100%;
	height: 130px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.j-flower svg {
	width: 60px; height: 130px;
	overflow: visible;
}
.j-flower .stem { stroke-dasharray: 60; stroke-dashoffset: 60; }
.j-flowerbed.j-in .j-flower .stem {
	animation: j-stem-grow 0.9s var(--ease-out) forwards;
	animation-delay: var(--bloom-delay);
}
.j-flower .leaf { transform-origin: 0 22px; transform: scale(0); }
.j-flowerbed.j-in .j-flower .leaf {
	animation: j-leaf-pop 0.6s var(--ease-bounce) forwards;
	animation-delay: calc(var(--bloom-delay) + 0.5s);
}
.j-flower .bloom { transform-origin: 0 0; transform: scale(0); }
.j-flowerbed.j-in .j-flower .bloom {
	animation: j-bloom 0.7s var(--ease-bounce) forwards,
			   j-flower-sway 5s ease-in-out infinite;
	animation-delay: calc(var(--bloom-delay) + 0.7s),
					 calc(var(--bloom-delay) + 1.6s);
}
@keyframes j-stem-grow { to { stroke-dashoffset: 0; } }
@keyframes j-leaf-pop  { to { transform: scale(1); } }
@keyframes j-bloom {
	0%   { transform: scale(0)    rotate(-12deg); }
	60%  { transform: scale(1.18) rotate(2deg); }
	100% { transform: scale(1)    rotate(0deg); }
}
@keyframes j-flower-sway {
	0%, 100% { transform: rotate(-4deg) scale(1); }
	50%      { transform: rotate(4deg)  scale(1); }
}


/* =========================================================================
   FOOTER
   ========================================================================= */
.j-footer {
	margin: 0 calc(50% - 50vw);
	padding: 40px clamp(20px, 4vw, 56px) 48px;
	background: var(--color-deep);
	color: rgba(255, 252, 247, 0.72);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 13px;
	width: 100vw;
}
.j-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.j-footer__links a { color: rgba(255, 252, 247, 0.75); text-decoration: none; }
.j-footer__links a:hover { color: var(--color-sun); }
.j-footer__mark {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 15px;
	color: #FFFCF7;
}
.j-footer__mark em { font-style: italic; color: var(--color-sun); font-weight: 400; }

/* The brand mark (footer + nav). Uses the same path crest. */
.j-brandmark {
	width: 40px; height: 40px;
	flex-shrink: 0;
}
.j-brandmark svg { width: 100%; height: 100%; display: block; }


/* =========================================================================
   Reveal-on-scroll utility
   ========================================================================= */
.j-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.j-reveal.j-in { opacity: 1; transform: none; }


/* =========================================================================
   Motion-off
   ========================================================================= */
body[data-motion="off"] .j-petal-d,
body[data-motion="off"] .j-sun .j-sun__ring,
body[data-motion="off"] .j-sun .j-sun__core,
body[data-motion="off"] .j-branch,
body[data-motion="off"] .j-bonsai__glow,
body[data-motion="off"] .bon-foliage > *,
body[data-motion="off"] .j-lantern,
body[data-motion="off"] .j-newhere .arrow,
body[data-motion="off"] .j-door__badge--open::before,
body[data-motion="off"] .j-flower .bloom,
body[data-motion="off"] .j-flower .stem,
body[data-motion="off"] .j-flower .leaf,
body[data-motion="off"] .j-crest::after {
	animation: none !important;
}


/* =========================================================================
   Mobile
   ========================================================================= */
@media (max-width: 1100px) {
	.j-doors--triple { grid-template-columns: 1fr 1fr; }
	.j-door--adventure { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.j-fold { padding-top: 132px; }
	.j-doors, .j-doors--triple { grid-template-columns: 1fr; }
	.j-door, .j-door--adventure  { min-height: 0; grid-column: auto; }
	.j-quest__scroll { height: 280vh; }
	.j-quest__captions { grid-template-columns: 1fr; gap: 14px; padding: 0 20px; position: relative; inset: auto; margin-top: 24px; }
	.j-flowerbed__row { grid-template-columns: repeat(7, 1fr); }
	.j-flowerbed__row > *:nth-child(n+8) { display: none; }
	.j-footer { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* =========================================================================
   Phone tuning  (2026-05-18)
   The 860px breakpoint above gets us a single-column layout, but section
   padding, the quest scrolljack, and the flowerbed grid were still
   desktop-scaled. This block tightens everything for ≤560px so the page
   actually feels native on a phone.
   ========================================================================= */
@media (max-width: 560px) {
	.j-fold { padding: 96px 18px 36px; }
	.j-fold__wordmark { font-size: clamp(48px, 18vw, 96px); line-height: 0.95; }
	.j-fold__tagline { font-size: 15px; padding: 0 4px; }

	.j-quest { padding-bottom: 32px; }
	.j-quest__scroll { height: 220vh; }                /* was 280vh — too long on phone */
	.j-quest__sticky { padding: 0 16px; }
	.j-quest__title { font-size: clamp(28px, 8vw, 40px); }
	.j-quest__lead  { font-size: 15px; }

	.j-flowerbed__row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.j-flowerbed__row > *:nth-child(n+5) { display: none; }

	.j-mani  { padding: 56px 18px; }
	.j-mani__card  { padding: 28px 22px; }
	.j-mani__lede  { font-size: clamp(22px, 6vw, 28px); }

	.j-again { padding: 48px 18px; }
	.j-again__lead h2 { font-size: clamp(26px, 7vw, 36px); }

	.j-footer { padding: 32px 18px; gap: 16px; }
}
