/*! La Capacciola — La Cap Re|Hub band on the home page (see inc/rehub.php).
    The zone breaks on purpose from the rest of the site: Helvetica display, black / paper / card grey, neon, ◉ and |.
    Motion: CSS only, progressive (scroll-driven animations where supported), off for prefers-reduced-motion. */

.lc-rh {
	--rh-ink: #000;
	--rh-paper: #fafafa;
	--rh-card: #282626;
	--rh-neon: #e0fd52;
	--rh-font: var(--wp--preset--font-family--rehub-display, "Helvetica Neue", Helvetica, Arimo, Arial, sans-serif);
	--rh-label: var(--wp--preset--font-family--rehub-label, "Avenir Next", Avenir, Mulish, "Helvetica Neue", sans-serif);
	background: var(--rh-paper);
	color: var(--rh-ink);
	font-family: var(--rh-font);
	overflow: clip;
	text-align: left;
}
/* WordPress adds the global side padding to full-width groups: the band must touch both edges */
.lc-rh-wrap { padding-left: 0 !important; padding-right: 0 !important; }
.lc-rh *, .lc-rh *::before, .lc-rh *::after { box-sizing: border-box; }
.lc-rh p, .lc-rh h2, .lc-rh h3, .lc-rh h4, .lc-rh ul { max-width: none; }

/* ---- running bands (text) ---- */
.lc-rh .lc-rh-band { overflow: hidden; background: var(--rh-neon); color: var(--rh-ink); border-block: 1px solid var(--rh-ink); }
.lc-rh .lc-rh-band__track { display: flex; width: max-content; animation: lc-rh-run 46s linear infinite; }
.lc-rh .lc-rh-band__run { display: flex; align-items: center; flex: none; }
.lc-rh .lc-rh-band__run span { padding: 0.5em 0; font-size: clamp(1.3rem, 0.9rem + 1.7vw, 2.5rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.lc-rh .lc-rh-band__run i { margin: 0 1.1em; font-style: normal; font-size: 0.8em; }
.lc-rh .lc-rh-band:hover .lc-rh-band__track { animation-play-state: paused; }
@keyframes lc-rh-run { to { transform: translateX(-50%); } }

/* ---- hero ---- */
.lc-rh .lc-rh-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); max-width: 1480px; margin: 0 auto; padding: clamp(3rem, 6vw, 6.5rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 5vw, 5rem); }
.lc-rh .lc-rh-label { margin: 0 0 1.5rem; font-family: var(--rh-label); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.4; }
.lc-rh .lc-rh-headline { margin: 0; font-family: var(--rh-font); font-size: clamp(3.2rem, 1rem + 8.2vw, 9rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.04em; text-transform: none; color: var(--rh-ink); }
.lc-rh .lc-rh-headline__a, .lc-rh .lc-rh-headline__b { display: block; white-space: nowrap; }
.lc-rh .lc-rh-headline__b { letter-spacing: -0.02em; } /* letters are separate boxes (for the wave), so no kerning: less tight tracking */
.lc-rh .lc-rh-headline__b span, .lc-rh .lc-rh-caret { display: inline-block; animation: lc-rh-wave 5.2s ease-in-out infinite; }
.lc-rh .lc-rh-headline__b span { animation-delay: calc(var(--i, 0) * 0.14s); }
/* Country / Weekend: the two words take turns in front of RETREAT */
.lc-rh .lc-rh-swap { display: grid; overflow: hidden; margin-bottom: 0.12em; font-size: 0.46em; line-height: 1; letter-spacing: 0.06em; }
.lc-rh .lc-rh-swap b { grid-area: 1 / 1; font-weight: 700; animation: lc-rh-swap 7s ease-in-out infinite; }
.lc-rh .lc-rh-swap b + b { animation-delay: -3.5s; }
@keyframes lc-rh-swap { 0%, 42% { transform: translateY(0); } 50% { transform: translateY(-105%); } 50.01% { transform: translateY(105%); } 92% { transform: translateY(105%); } 100% { transform: translateY(0); } }
.lc-rh .lc-rh-caret { font-style: normal; animation: lc-rh-blink 1.15s steps(1) infinite; }
@keyframes lc-rh-wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.045em); } }
@keyframes lc-rh-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.lc-rh .lc-rh-tagline { margin: 1.9rem 0 1rem; font-family: var(--rh-label); font-size: clamp(1rem, 0.8rem + 0.7vw, 1.4rem); font-weight: 700; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; }
.lc-rh .lc-rh-lead { max-width: 54ch; margin: 0 0 1.25rem; font-size: 1.15rem; line-height: 1.55; color: var(--rh-ink); }
.lc-rh .lc-rh-focus { margin: 0 0 2.1rem; font-family: var(--rh-label); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; line-height: 1.6; text-transform: uppercase; }
.lc-rh .lc-rh-focus span[aria-hidden] { margin: 0 0.35em; }
.lc-rh .lc-rh-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0; }

.lc-rh .lc-rh-pill { display: inline-flex; align-items: center; gap: 0.9em; padding: 1.15em 2.1em; border: 1px solid transparent; border-radius: 50px; font-family: var(--rh-label); font-size: 0.9rem; font-weight: 300; letter-spacing: 0.25em; line-height: 1.2; text-transform: uppercase; text-decoration: none; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.lc-rh .lc-rh-pill svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.3s; }
.lc-rh .lc-rh-pill:hover svg, .lc-rh .lc-rh-pill:focus-visible svg { transform: translateX(4px); }
.lc-rh .lc-rh-pill--dark { background: var(--rh-ink); color: #fff; }
.lc-rh .lc-rh-pill--dark:hover, .lc-rh .lc-rh-pill--dark:focus-visible { background: var(--rh-card); color: #fff; }
.lc-rh .lc-rh-pill--line { border-color: var(--rh-ink); color: var(--rh-ink); }
.lc-rh .lc-rh-pill--line:hover, .lc-rh .lc-rh-pill--line:focus-visible { background: var(--rh-neon); border-color: var(--rh-ink); color: var(--rh-ink); }
.lc-rh .lc-rh-pill--neon { background: var(--rh-neon); color: var(--rh-ink); }
.lc-rh .lc-rh-pill--neon:hover, .lc-rh .lc-rh-pill--neon:focus-visible { background: #fff; color: var(--rh-ink); }
.lc-rh a:focus-visible { outline: 3px solid var(--rh-ink); outline-offset: 3px; }
.lc-rh .lc-rh-program a:focus-visible { outline-color: var(--rh-neon); }

/* ---- the disc: photo, rotating ring, stamp ---- */
.lc-rh .lc-rh-disc { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.lc-rh .lc-rh-disc__photo { position: absolute; inset: 9%; overflow: hidden; border-radius: 50%; background: #d9d6d2; }
/* the image is wider than the round frame (which crops it): the browser then picks a sharp file */
.lc-rh .lc-rh-disc__photo img { position: absolute; left: -15%; top: -15%; display: block; width: 130%; height: 130%; max-width: none; object-fit: cover; filter: sepia(0.16) saturate(0.92) brightness(1.03) contrast(0.98); }
.lc-rh .lc-rh-disc__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: lc-rh-spin 40s linear infinite; }
.lc-rh .lc-rh-disc__ring text { fill: var(--rh-ink); font-family: var(--rh-font); font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; }
@keyframes lc-rh-spin { to { transform: rotate(360deg); } }
/* quote label: a neon strip of "tape" over the photo, hard edges, text can never leave it */
.lc-rh .lc-rh-stamp { position: absolute; left: -2%; bottom: 10%; display: flex; flex-direction: column; gap: 0.35rem; width: max-content; max-width: 96%; margin: 0; padding: 0.85rem 1.1rem 0.8rem; background: var(--rh-neon); border: 1px solid var(--rh-ink); color: var(--rh-ink); text-align: left; text-decoration: none; transform: rotate(-4deg); animation: lc-rh-wiggle 6s ease-in-out infinite; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.lc-rh .lc-rh-stamp:hover, .lc-rh .lc-rh-stamp:focus-visible { background: var(--rh-ink); border-color: var(--rh-neon); color: var(--rh-neon); }
.lc-rh .lc-rh-stamp__big { white-space: nowrap; font-size: clamp(0.95rem, 1.25vw, 1.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; text-transform: uppercase; }
.lc-rh .lc-rh-stamp__txt { font-family: var(--rh-label); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.2; text-transform: uppercase; }
@keyframes lc-rh-wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-1.5deg) translateY(-3px); } }

/* ---- ribbon of photos (black and white, colour on hover) ---- */
.lc-rh .lc-rh-ribbon { overflow: hidden; padding: 0 0 clamp(2.5rem, 4vw, 4.25rem); background: var(--rh-paper); }
.lc-rh .lc-rh-ribbon__track { display: flex; width: max-content; animation: lc-rh-run 110s linear infinite reverse; }
.lc-rh .lc-rh-ribbon__run { display: flex; flex: none; gap: 1rem; padding-right: 1rem; }
.lc-rh .lc-rh-ribbon img { display: block; flex: none; width: auto; height: clamp(150px, 18vw, 250px); filter: grayscale(1) contrast(1.06); transition: filter 0.5s; }
.lc-rh .lc-rh-ribbon:hover .lc-rh-ribbon__track { animation-play-state: paused; }
.lc-rh .lc-rh-ribbon img:hover { filter: none; }

/* ---- programme (black) ---- */
.lc-rh .lc-rh-program { padding: clamp(3rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 5vw, 5.5rem); background: var(--rh-ink); color: #fff; }
.lc-rh .lc-rh-program__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; max-width: 1480px; margin: 0 auto clamp(2rem, 3vw, 3rem); }
.lc-rh .lc-rh-program__title { margin: 0; font-family: var(--rh-font); font-size: var(--wp--preset--font-size--rehub-title, clamp(2.5rem, 1.5rem + 3.6vw, 5.1875rem)); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; color: #fff; }
.lc-rh .lc-rh-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; max-width: 1480px; margin: 0 auto; }

.lc-rh .lc-rh-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(1.4rem, 2vw, 2rem); background: var(--rh-card); border-top: 4px solid var(--rh-neon); color: #fff; transition: transform 0.35s ease, background-color 0.35s; }
.lc-rh .lc-rh-card:hover { transform: translateY(-6px); background: #322f2f; }
.lc-rh .lc-rh-card__num { position: absolute; right: 1rem; top: 0.2rem; font-size: clamp(4rem, 6vw, 6.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); pointer-events: none; user-select: none; }

.lc-rh .lc-rh-card__title { position: relative; min-height: 3.1em; margin: 2.4rem 0 0.9rem; font-family: var(--rh-font); font-size: clamp(1.55rem, 0.9rem + 1.5vw, 2.3rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.lc-rh .lc-rh-card__text { position: relative; margin: 0 0 1.5rem; font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.lc-rh .lc-rh-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 0.8em; margin-top: auto; padding: 1em 1.8em; border: 1px solid #fff; color: #fff; font-family: var(--rh-label); font-size: 0.8rem; letter-spacing: 0.2em; line-height: 1.2; text-transform: uppercase; text-decoration: none; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.lc-rh .lc-rh-link svg { width: 1.2em; height: 1.2em; transition: transform 0.3s; }
.lc-rh .lc-rh-link:hover, .lc-rh .lc-rh-link:focus-visible { background: var(--rh-neon); border-color: var(--rh-neon); color: var(--rh-ink); }
.lc-rh .lc-rh-link:hover svg, .lc-rh .lc-rh-link:focus-visible svg { transform: translateX(4px); }

/* ---- scroll-driven movement (where supported) ---- */
@supports (animation-timeline: view()) {
	.lc-rh .lc-rh-headline__a { animation: lc-rh-drift-a linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	.lc-rh .lc-rh-headline__b { animation: lc-rh-drift-b linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	.lc-rh .lc-rh-disc__photo img { animation: lc-rh-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	.lc-rh .lc-rh-card { animation: lc-rh-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
	@keyframes lc-rh-drift-a { from { transform: translateX(-4vw); } to { transform: translateX(4vw); } }
	@keyframes lc-rh-drift-b { from { transform: translateX(4vw); } to { transform: translateX(-4vw); } }
	@keyframes lc-rh-zoom { from { transform: scale(1.14); } to { transform: scale(0.98); } }
	@keyframes lc-rh-in { from { opacity: 0; translate: 0 56px; } to { opacity: 1; translate: 0 0; } }
}

/* ---- small screens ---- */
.lc-rh .lc-rh-nw { white-space: nowrap; }
@media (max-width: 900px) {
	.lc-rh .lc-rh-headline { font-size: min(17.5vw, 9rem); }
	.lc-rh .lc-rh-hero { grid-template-columns: 1fr; }
	.lc-rh .lc-rh-disc { width: min(88%, 480px); }
	.lc-rh .lc-rh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lc-rh .lc-rh-pill { padding: 1.1em 1.6em; letter-spacing: 0.2em; }
	.lc-rh .lc-rh-stamp { left: 0; }
}

@media (max-width: 600px) {
	.lc-rh .lc-rh-cards { grid-template-columns: 1fr; }
	.lc-rh .lc-rh-card__title { min-height: 0; }
	.lc-rh .lc-rh-card__num { font-size: 4.2rem; -webkit-text-stroke-color: rgba(255, 255, 255, 0.14); }
	.lc-rh .lc-rh-program__title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
}

/* ---- reduced motion: everything still, nothing hidden ---- */
@media (prefers-reduced-motion: reduce) {
	.lc-rh .lc-rh-swap b + b { display: none; }
	.lc-rh *, .lc-rh *::before, .lc-rh *::after { animation: none !important; transition-duration: 0.01ms !important; }
	.lc-rh .lc-rh-band__run + .lc-rh-band__run, .lc-rh .lc-rh-ribbon__run + .lc-rh-ribbon__run { display: none; }
	.lc-rh .lc-rh-band__track, .lc-rh .lc-rh-ribbon__track { width: auto; flex-wrap: wrap; }
	.lc-rh .lc-rh-band__run { flex-wrap: wrap; }
	.lc-rh .lc-rh-ribbon { overflow-x: auto; }
}
