/* NOA Member Journey: progress tracker, join box, retreat notes.
   Site palette: deep teal #0B3C49, teal #02576A, sand #F3EBDD / #E8D9BF, text #24343A, gold #FFC400.
   Fonts: Cinzel (headings), Questrial (text). */

.noa-progress-wrap { max-width: 1180px; margin: 36px auto 30px; padding: 0 20px; box-sizing: border-box; }
.noa-progress {
	--noa-deep: #0B3C49; --noa-teal: #02576A; --noa-sand: #F3EBDD; --noa-sand2: #E8D9BF; --noa-text: #24343A; --noa-gold: #FFC400; --noa-muted: #8A969A;
	background: #FBF8F2; border: 1px solid rgba(11, 60, 73, .12); border-radius: 14px;
	padding: 30px 34px 32px; color: var(--noa-text); font-family: 'Questrial', sans-serif; box-sizing: border-box;
}
.noa-progress *, .noa-progress *::before { box-sizing: border-box; }
.noa-progress__head { text-align: center; margin-bottom: 26px; }
.noa-progress__eyebrow {
	font-family: 'Questrial', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
	color: var(--noa-teal); margin: 0 0 6px;
}
.noa-progress .noa-progress__title {
	font-family: 'Cinzel', serif !important; font-weight: 700; font-size: 26px; line-height: 1.3; letter-spacing: 3px;
	text-transform: uppercase; color: var(--noa-deep); margin: 0; padding: 0;
}

/* Steps: five columns joined by a line on wide screens (5 Dec: same five steps as the Membership page) */
.noa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 14px; counter-reset: none; }
.noa-step { position: relative; margin: 0; padding: 0; text-align: center; list-style: none; }
.noa-step::before { display: none !important; }
.noa-step:not(:last-child)::after {
	content: ''; position: absolute; top: 22px; left: calc(50% + 28px); right: calc(-50% - 14px + 28px);
	height: 2px; background: var(--noa-sand2);
}
.noa-step.is-done:not(:last-child)::after { background: var(--noa-teal); }
.noa-step__marker {
	position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px;
	font-family: 'Cinzel', serif; font-weight: 700; font-size: 17px; line-height: 1;
	border: 2px solid var(--noa-sand2); background: #fff; color: var(--noa-muted);
}
.noa-step.is-done .noa-step__marker { background: var(--noa-teal); border-color: var(--noa-teal); color: #fff; }
.noa-step.is-current .noa-step__marker {
	background: #fff; border-color: var(--noa-gold); color: var(--noa-deep);
	box-shadow: 0 0 0 5px rgba(255, 196, 0, .22);
}
.noa-step.is-locked .noa-step__marker { background: var(--noa-sand); color: var(--noa-muted); }
/* "Open": available any time, not tracked (Join the New Octave Church) */
.noa-step.is-open .noa-step__marker { background: #fff; border-color: var(--noa-teal); color: var(--noa-teal); }
.noa-step.is-open .noa-step__state { background: rgba(2, 87, 106, .08); color: var(--noa-teal); }
.noa-step__state {
	display: inline-block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.4;
	padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
	background: var(--noa-sand); color: var(--noa-muted);
}
.noa-step.is-done .noa-step__state { background: rgba(2, 87, 106, .1); color: var(--noa-teal); }
.noa-step.is-current .noa-step__state { background: var(--noa-deep); color: var(--noa-sand); }
.noa-progress .noa-step__title {
	font-family: 'Cinzel', serif !important; font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: 1px;
	color: var(--noa-deep); margin: 0 0 8px; padding: 0; text-transform: none;
}
.noa-step.is-locked .noa-step__title { color: #6F7C80; }
.noa-step__text { font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; color: var(--noa-text); }
.noa-step.is-locked .noa-step__text { color: #6F7C80; }

.noa-progress a.noa-btn, .noa-retreats a.noa-btn {
	display: inline-block; font-family: 'Questrial', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1.5px;
	text-transform: uppercase; text-decoration: none !important; line-height: 1.3;
	padding: 10px 18px; border-radius: 30px; background: var(--noa-teal); color: #fff !important; border: 0;
	transition: background .2s ease, transform .2s ease;
}
.noa-progress a.noa-btn:hover, .noa-progress a.noa-btn:focus { background: var(--noa-deep); transform: translateY(-1px); }
.noa-progress a.noa-btn--gold { background: var(--noa-gold); color: var(--noa-deep) !important; }
.noa-progress a.noa-btn--gold:hover, .noa-progress a.noa-btn--gold:focus { background: #F0B400; }
.noa-progress a:focus-visible { outline: 2px solid var(--noa-deep); outline-offset: 3px; }

/* Compact: markers and titles only, then one line for the current step */
.noa-progress--compact { padding: 22px 26px 22px; }
.noa-progress--compact .noa-progress__head { margin-bottom: 16px; }
.noa-progress--compact .noa-progress__title { font-size: 19px; }
.noa-progress--compact .noa-step__marker { width: 36px; height: 36px; font-size: 14px; margin-bottom: 8px; }
.noa-progress--compact .noa-step:not(:last-child)::after { top: 17px; left: calc(50% + 22px); right: calc(-50% - 14px + 22px); }
.noa-progress--compact .noa-step__state { display: none; }
.noa-progress--compact .noa-step__title { font-size: 12.5px; margin: 0; }
.noa-progress__now {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px;
	margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(11, 60, 73, .1); text-align: center;
}
.noa-progress__now p { margin: 0; font-size: 15px; line-height: 1.55; max-width: 680px; }
.noa-progress__now strong { font-family: 'Cinzel', serif; color: var(--noa-deep); letter-spacing: .5px; }

/* Join box (not logged in) */
.noa-progress--join { text-align: center; }
.noa-join__text { font-size: 17px; line-height: 1.6; max-width: 620px; margin: 12px auto 18px; }
.noa-join__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin: 0 0 24px; }
.noa-join__login { font-size: 14px; color: var(--noa-teal) !important; text-decoration: underline; }
.noa-join__preview { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(11, 60, 73, .1); display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.noa-join__preview li { list-style: none; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.noa-join__preview li::before { display: none !important; }
.noa-dot {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--noa-sand); color: var(--noa-teal); font-family: 'Cinzel', serif; font-weight: 700; font-size: 13px;
}
.noa-dot__label { font-family: 'Cinzel', serif; font-size: 12px; line-height: 1.35; color: var(--noa-deep); }
.noa-progress--join.is-compact .noa-join__preview { display: none; }

/* Shop note for Level 1 members */
.noa-progress.noa-shop-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 16px 22px; margin: 0 0 26px; }
.noa-progress.noa-shop-note p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 760px; }

/* Retreats page and product notes */
.noa-retreat-note {
	font-family: 'Questrial', sans-serif; font-size: 15px; line-height: 1.55; color: #24343A;
	background: #FBF8F2; border-left: 3px solid #FFC400; padding: 10px 14px; margin: 14px 0 18px; border-radius: 0 6px 6px 0;
}
.noa-retreats { font-family: 'Questrial', sans-serif; color: #24343A; }
.noa-retreats__intro { font-size: 18px; line-height: 1.6; max-width: 760px; margin: 0 auto 18px; text-align: center; }
.noa-retreats__locked {
	display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 760px; margin: 10px auto 30px;
	padding: 18px 22px; background: #F3EBDD; border-radius: 12px; color: #0B3C49;
}
.noa-retreats__locked p { margin: 0; font-size: 16px; line-height: 1.55; }
.noa-lock { display: inline-flex; color: #02576A; }

/* The tracker sits inside pages with their own strong text styles (e.g. white paragraphs on the store overview):
   its fonts and colours always win. */
.noa-progress p, .noa-progress li, .noa-progress span, .noa-progress a, .noa-retreats p { font-family: 'Questrial', sans-serif !important; }
.noa-progress p { color: #24343A !important; }
.noa-retreats .noa-retreats__locked p, .noa-retreat-note { color: #0B3C49 !important; }
.noa-retreats .noa-retreats__intro { color: inherit; }
.noa-progress .noa-progress__eyebrow { color: #02576A !important; }
.noa-progress .noa-progress__title, .noa-progress .noa-step__title, .noa-progress .noa-dot__label, .noa-progress .noa-step__marker,
.noa-progress .noa-dot, .noa-progress .noa-progress__now strong {
	font-family: 'Cinzel', serif !important; font-variant: normal !important;
}
.noa-progress .noa-progress__title { color: #0B3C49 !important; text-transform: uppercase !important; }
.noa-progress .noa-step__title { color: #0B3C49 !important; text-transform: uppercase !important; }
.noa-progress .noa-step.is-locked .noa-step__title, .noa-progress .noa-step.is-locked .noa-step__text { color: #6F7C80 !important; }
.noa-progress a.noa-join__login { color: #02576A !important; }
.noa-progress .noa-step__state { font-family: 'Questrial', sans-serif !important; }

.noa-progress .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Tablet and phone: a vertical list with the line on the left */
@media (max-width: 960px) {
	.noa-progress--full .noa-steps { grid-template-columns: 1fr; gap: 0; }
	.noa-progress--full .noa-step { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; text-align: left; padding-bottom: 20px; }
	.noa-progress--full .noa-step:last-child { padding-bottom: 0; }
	.noa-progress--full .noa-step:not(:last-child)::after { top: 50px; bottom: 4px; left: 22px; right: auto; width: 2px; height: auto; }
	.noa-progress--full .noa-step__marker { margin: 0; }
	.noa-progress--full .noa-step__body { padding-top: 2px; }
	.noa-progress { padding: 24px 22px 26px; }
	.noa-progress .noa-progress__title { font-size: 21px; }
	.noa-join__preview { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
}
@media (max-width: 600px) {
	.noa-progress--compact .noa-steps { grid-template-columns: repeat(5, 1fr); gap: 0 4px; }
	.noa-progress--compact .noa-step__title { font-size: 0; }
	.noa-progress--compact .noa-step.is-current .noa-step__title { font-size: 11px; }
	.noa-progress--compact .noa-step__marker { width: 30px; height: 30px; font-size: 12px; }
	.noa-progress--compact .noa-step__marker svg { width: 15px; height: 15px; }
	.noa-progress--compact .noa-step:not(:last-child)::after { top: 14px; left: calc(50% + 17px); right: calc(-50% - 4px + 17px); }
	.noa-progress-wrap { padding: 0 12px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.noa-progress a.noa-btn { transition: none; }
}
