/* Flibco landing page — everything is scoped to .flb so the theme is left alone. */

.flb {
	--green: #79c142;
	--green-deep: #4f9a1e;
	--green-soft: #eef6e2;
	--pink: #e6007e;
	--ink: #0d2034;
	--ink-2: #17304b;
	--paper: #fbfaf4;
	--line: rgba(13, 32, 52, .16);
	--display: "Bricolage Grotesque", "Noto Sans", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);

	position: relative;
	overflow: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.flb *,
.flb *::before,
.flb *::after { box-sizing: border-box; }

.flb p { margin: 0 0 1em; color: inherit; font-size: inherit; line-height: inherit; }
.flb p:last-child { margin-bottom: 0; }
.flb img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; }
.flb figure { margin: 0; }
.flb ol, .flb ul { margin: 0; padding: 0; list-style: none; }
.flb a { color: inherit; }
.flb strong, .flb b { font-weight: 700; }

.flb-wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Type ---------- */

.flb .flb-h1,
.flb .flb-h2,
.flb .flb-h3 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--display);
	color: inherit;
	text-transform: none;
	text-wrap: balance;
}

.flb .flb-h1 {
	font-size: clamp(44px, 6.3vw, 92px);
	font-weight: 800;
	line-height: .94;
	letter-spacing: -.035em;
}

.flb .flb-h2 {
	font-size: clamp(32px, 4.2vw, 60px);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -.03em;
}

.flb .flb-h3 {
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.015em;
}

.flb .flb-big {
	font-family: var(--display);
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 550;
	line-height: 1.22;
	letter-spacing: -.015em;
}

.flb .flb-kicker {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green-deep);
}

.flb .flb-small { margin-top: 28px; font-size: 13px; opacity: .7; }
.flb .flb-small a { text-decoration: underline; text-underline-offset: 3px; }

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

.flb .flb-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 10px 10px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-family: var(--display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-decoration: none;
	isolation: isolate;
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
	will-change: transform;
}

.flb .flb-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--pink);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .45s var(--ease);
}

.flb .flb-btn:hover::before,
.flb .flb-btn:focus-visible::before { transform: translateY(0); }
.flb .flb-btn:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(230, 0, 126, .6); }
.flb .flb-btn:active { transform: scale(.97); }
.flb .flb-btn:focus-visible,
.flb .flb-link:focus-visible,
.flb .flb-stop:focus-visible,
.flb .flb-reel__play:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.flb .flb-btn__arrow {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 12px;
	border-radius: 50%;
	background: var(--green);
	color: var(--ink);
	transition: transform .45s var(--ease), background .3s;
}

.flb .flb-btn:hover .flb-btn__arrow { transform: rotate(-45deg); background: #fff; }

.flb .flb-btn--green { background: var(--green); color: var(--ink); }
.flb .flb-btn--green .flb-btn__arrow { background: var(--ink); color: #fff; }
.flb .flb-btn--green:hover .flb-btn__arrow { color: var(--pink); }

.flb .flb-btn--xl { padding: 14px 14px 14px 34px; font-size: clamp(19px, 2.2vw, 26px); }
.flb .flb-btn--xl .flb-btn__arrow { width: 56px; height: 56px; padding: 16px; }
.flb .flb-btn--sm { padding: 6px 6px 6px 18px; gap: 10px; font-size: 16px; }
.flb .flb-btn--sm .flb-btn__arrow { width: 34px; height: 34px; padding: 9px; }

.flb .flb-link {
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	padding-bottom: 3px;
	transition: background-size .35s var(--ease);
}

.flb .flb-link:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- Photos ---------- */

.flb-photo { overflow: hidden; border-radius: 22px; background: var(--ink-2); }
.flb-photo img { width: 100%; height: 100%; object-fit: cover; }

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

.flb-hero { background: var(--green); padding-top: clamp(28px, 4vw, 56px); }

.flb-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(28px, 4.5vw, 72px);
	align-items: center;
	padding-bottom: clamp(44px, 6vw, 88px);
}

.flb .flb-tag {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 clamp(20px, 2.6vw, 34px);
	padding: 5px 16px 5px 5px;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.flb .flb-tag img { width: 84px; height: 44px; object-fit: cover; border-radius: 999px; }

.flb-w { display: inline-block; overflow: hidden; padding: .06em .02em .1em; margin: -.06em -.02em -.1em; vertical-align: top; }
.flb-w > span { display: inline-block; animation: flb-rise .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }

.flb-w--price > span { position: relative; color: #fff; padding: 0 .16em; margin-left: -.04em; }
.flb-w--price > span::before {
	content: "";
	position: absolute;
	inset: .08em 0 .04em;
	z-index: -1;
	background: var(--pink);
	border-radius: .16em;
	transform: rotate(-2deg);
}

@keyframes flb-rise {
	from { transform: translateY(110%) rotate(4deg); }
	to { transform: none; }
}

.flb .flb-hero__lead {
	margin: clamp(18px, 2.2vw, 28px) 0 0;
	font-family: var(--display);
	font-size: clamp(21px, 2.3vw, 30px);
	font-weight: 650;
	line-height: 1.18;
	letter-spacing: -.015em;
	animation: flb-fade .9s .75s var(--ease) both;
}

.flb-hero__body { max-width: 560px; margin-top: 18px; animation: flb-fade .9s .9s var(--ease) both; }

.flb-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 26px;
	margin-top: 30px;
	animation: flb-fade .9s 1.05s var(--ease) both;
}

@keyframes flb-fade {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

.flb-hero__art { position: relative; padding: 0 0 13% 9%; --sy: 0; }

.flb-photo--main {
	aspect-ratio: 640 / 473;
	border-radius: 28px;
	box-shadow: 0 40px 60px -34px rgba(13, 32, 52, .7);
	transform: rotate(2deg);
	animation: flb-pop 1.1s .25s var(--ease) both;
}

.flb-photo--side {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 4 / 3;
	border: 6px solid #fff;
	border-radius: 20px;
	box-shadow: 0 26px 40px -22px rgba(13, 32, 52, .75);
	transform: translateY(calc(var(--sy) * -34px)) rotate(-5deg);
	animation: flb-pop-side 1.1s .5s var(--ease) both;
}

@keyframes flb-pop {
	from { opacity: 0; transform: translateY(40px) rotate(7deg) scale(.94); }
	to { opacity: 1; transform: rotate(2deg); }
}

@keyframes flb-pop-side {
	from { opacity: 0; scale: .8; }
	to { opacity: 1; scale: 1; }
}

.flb-sticker {
	position: absolute;
	top: -5%;
	right: -3%;
	display: grid;
	place-content: center;
	width: clamp(104px, 11vw, 150px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	font-family: var(--display);
	text-align: center;
	line-height: 1;
	box-shadow: 0 16px 30px -14px rgba(13, 32, 52, .7);
	transform: rotate(calc(10deg + var(--sy) * 50deg));
	animation: flb-stamp .7s 1.1s cubic-bezier(.3, 1.6, .5, 1) both;
}

.flb-sticker__from { font-size: clamp(14px, 1.4vw, 18px); font-weight: 600; }
.flb-sticker__price { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; }

@keyframes flb-stamp {
	from { opacity: 0; scale: 1.9; }
	to { opacity: 1; scale: 1; }
}

/* Ticker */

.flb-ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 16px 0; }

.flb-ticker__run {
	display: flex;
	align-items: center;
	width: max-content;
	animation: flb-run 38s linear infinite;
}

.flb-ticker__run span {
	font-family: var(--display);
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 650;
	white-space: nowrap;
}

.flb-ticker__run i {
	width: 9px;
	height: 9px;
	margin: 0 26px;
	border-radius: 50%;
	background: var(--green);
}

.flb-ticker__run i:nth-of-type(4n) { background: var(--pink); }
.flb-ticker:hover .flb-ticker__run { animation-play-state: paused; }

@keyframes flb-run { to { transform: translateX(-50%); } }

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

.flb-about { padding: clamp(64px, 9vw, 128px) 0; }

.flb-about__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
	gap: clamp(24px, 5vw, 80px);
}

.flb-about__head { position: sticky; top: 110px; align-self: start; }
.flb .flb-about .flb-big { font-size: clamp(24px, 3vw, 42px); line-height: 1.12; letter-spacing: -.025em; font-weight: 650; }

.flb-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: clamp(28px, 4vw, 52px);
	padding-top: 28px;
	border-top: 2px solid var(--ink);
	font-size: 16px;
}

.flb .flb-cols p { margin: 0; }

/* ---------- Stops ---------- */

.flb-stops { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 128px) 0; border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; }

.flb-stops__head {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(20px, 5vw, 80px);
	align-items: end;
}

.flb .flb-stops__head p { opacity: .82; }

.flb-route { position: relative; margin-top: clamp(40px, 6vw, 84px); }

.flb .flb-route__hint {
	margin: 0 0 22px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green);
}

.flb-route__line {
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 64px;
	height: 0;
	border-top: 4px dotted rgba(255, 255, 255, .3);
}

.flb-route__fill {
	position: absolute;
	top: -5px;
	left: calc(var(--from) / 3 * 100%);
	right: 0;
	height: 6px;
	border-radius: 6px;
	background: var(--green);
	transition: left .7s var(--ease);
}

.flb-route__coach {
	position: absolute;
	top: -11px;
	left: calc(var(--p) * 100%);
	width: 34px;
	height: 18px;
	margin-left: -17px;
	border-radius: 6px 9px 4px 4px;
	background: #fff;
	box-shadow: inset -9px 0 0 var(--pink), 0 0 0 4px rgba(121, 193, 66, .35);
}

.flb-route__stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flb .flb-stop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 0 6px 8px;
	border: 0;
	border-radius: 16px;
	background: none;
	color: #fff;
	font: inherit;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
}

.flb .flb-stop--end { cursor: default; }

.flb-stop__dot {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border: 4px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: var(--ink);
	color: var(--ink);
	transition: transform .4s var(--ease), background .3s, border-color .3s;
}

.flb-stop__name {
	font-family: var(--display);
	font-size: clamp(17px, 2.1vw, 28px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.02em;
	opacity: .62;
	transition: opacity .3s;
}

.flb-stop__mins { font-size: 14px; font-weight: 600; opacity: .55; }

.flb .flb-stop:hover .flb-stop__dot { transform: scale(1.12); border-color: #fff; }
.flb .flb-stop:hover .flb-stop__name { opacity: 1; }
.flb .flb-stop.is-active .flb-stop__dot { background: var(--green); border-color: var(--green); transform: scale(1.18); box-shadow: 0 0 0 8px rgba(121, 193, 66, .22); }
.flb .flb-stop.is-active .flb-stop__name,
.flb .flb-stop--end .flb-stop__name { opacity: 1; }
.flb .flb-stop.is-active .flb-stop__mins { opacity: 1; color: var(--green); }
.flb .flb-stop--end .flb-stop__dot { background: var(--pink); border-color: var(--pink); color: #fff; }

.flb-panels {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	margin-top: clamp(32px, 4vw, 56px);
}

.flb-panels__stage { display: grid; }

.flb-panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(18px, 3vw, 44px);
	align-items: center;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.flb .flb-panel p { opacity: .82; margin-top: 12px; }

.flb .flb-panel__num {
	display: flex;
	align-items: baseline;
	gap: 6px;
	min-width: 2.3ch;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(72px, 11vw, 168px);
	font-weight: 800;
	line-height: .82;
	letter-spacing: -.05em;
	color: var(--green);
	opacity: 1;
	font-variant-numeric: tabular-nums;
}

.flb .flb-panel__num span { font-size: .2em; font-weight: 700; letter-spacing: 0; color: #fff; }

/* With JS: one panel at a time, stacked in the same grid cell. */
.flb-js .flb-panel { grid-area: 1 / 1; border-top: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
.flb-js .flb-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }

.flb-panels__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: clamp(28px, 4vw, 48px);
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.flb .flb-panels__foot p { flex: 1 1 260px; max-width: 380px; margin: 0; opacity: .82; }

.flb-photo--stop { position: relative; aspect-ratio: 4 / 4.4; transform: rotate(2deg); }

.flb-photo--stop figcaption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
}

/* ---------- Why ---------- */

.flb-why { padding: clamp(64px, 9vw, 128px) 0; }
.flb .flb-why .flb-h2 { max-width: 15ch; }

.flb-reasons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 64px);
	margin-top: clamp(36px, 5vw, 68px);
}

.flb-reason {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(16px, 2.4vw, 32px);
	padding: clamp(22px, 2.6vw, 34px) clamp(8px, 1.4vw, 20px);
	border-top: 2px solid var(--ink);
	isolation: isolate;
}

.flb-reason::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--green);
	transform: scaleY(0);
	transform-origin: 50% 100%;
	transition: transform .5s var(--ease);
}

.flb-reason:hover::before { transform: scaleY(1); }

.flb-reason__n {
	font-family: var(--display);
	font-size: clamp(38px, 4.4vw, 64px);
	font-weight: 800;
	line-height: .9;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 2px var(--green-deep);
	transition: color .3s, -webkit-text-stroke-color .3s, transform .5s var(--ease);
}

.flb-reason:hover .flb-reason__n { color: var(--pink); -webkit-text-stroke-color: var(--pink); transform: translateX(6px); }
.flb .flb-reason p { margin-top: 10px; font-size: 16px; }

/* ---------- Films ---------- */

.flb-reels { background: var(--green-soft); padding: clamp(64px, 9vw, 120px) 0; }

.flb-reels__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 14px 40px;
}

.flb .flb-reels__head p { margin: 0; font-weight: 600; }

.flb-reels__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2.4vw, 32px);
	align-items: start;
	margin-top: clamp(30px, 4vw, 56px);
}

.flb-reel {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 24px;
	background: var(--ink);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.flb-reel:nth-child(2) { margin-top: clamp(0px, 3vw, 44px); }
.flb-reel:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -30px rgba(13, 32, 52, .8); }
.flb-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }

.flb .flb-reel__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: linear-gradient(to top, rgba(13, 32, 52, .78), rgba(13, 32, 52, 0) 46%);
	color: var(--ink);
	cursor: pointer;
}

.flb .flb-reel__play svg {
	width: 76px;
	height: 76px;
	padding: 24px 22px 24px 26px;
	border-radius: 50%;
	background: var(--green);
	transition: transform .4s var(--ease), background .3s, color .3s;
}

.flb .flb-reel__play:hover svg { transform: scale(1.14); background: var(--pink); color: #fff; }

.flb-reel figcaption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	display: grid;
	gap: 2px;
	color: #fff;
	pointer-events: none;
	transition: opacity .3s;
}

.flb-reel figcaption span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.flb-reel figcaption strong { font-family: var(--display); font-size: clamp(20px, 2.4vw, 32px); font-weight: 750; line-height: 1.05; letter-spacing: -.02em; }

.flb-reel.is-playing .flb-reel__play,
.flb-reel.is-playing figcaption { opacity: 0; visibility: hidden; }

.flb .flb-reels .flb-small { margin-top: clamp(40px, 6vw, 76px); }

/* ---------- Return ---------- */

.flb-return { background: var(--green); padding: clamp(64px, 9vw, 128px) 0; }

.flb-return__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 5vw, 84px);
	align-items: start;
}

.flb-photo--return {
	position: sticky;
	top: 120px;
	aspect-ratio: 5 / 4.4;
	border-radius: 28px;
	transform: rotate(-2deg);
	box-shadow: 0 40px 60px -34px rgba(13, 32, 52, .7);
}

.flb .flb-return .flb-big { margin: 20px 0 0; }

.flb .flb-back { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 26px 0 28px; }

.flb .flb-back li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.flb .flb-back li:first-child { background: var(--pink); }

.flb .flb-back li + li { margin-left: 34px; position: relative; }

.flb .flb-back li + li::before {
	content: "";
	position: absolute;
	right: 100%;
	top: 50%;
	width: 34px;
	border-top: 3px dotted var(--ink);
}

.flb .flb-return .flb-btn { margin-top: 30px; }

/* ---------- Closing ---------- */

.flb-close { background: var(--ink); color: #fff; padding: clamp(72px, 11vw, 160px) 0 clamp(96px, 12vw, 170px); text-align: center; }

.flb .flb-close__line {
	max-width: 18ch;
	margin: 0 auto clamp(30px, 4vw, 52px);
	font-family: var(--display);
	font-size: clamp(34px, 5.6vw, 84px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.flb .flb-close .flb-small { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Sticky booking bar ---------- */

.flb-dock {
	position: fixed;
	left: 50%;
	/* --lift is the height of the site's own fixed bottom banner, measured in flibco.js. */
	bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--lift, 0px));
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: calc(100vw - 24px);
	padding: 8px 8px 8px 22px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 22px 40px -16px rgba(13, 32, 52, .75);
	/* Hidden state clears the viewport completely, including the coach riding on top. */
	transform: translate(-50%, calc(100% + 90px + var(--lift, 0px)));
	visibility: hidden;
	transition: transform .6s var(--ease), visibility 0s .6s;
}

.flb-dock.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), bottom .3s ease, visibility 0s; }
.flb .flb-dock p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 0; font-size: 15px; line-height: 1.25; white-space: nowrap; }
.flb .flb-dock p span { color: var(--green); font-weight: 700; }

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

.flb-js [data-r] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .8s var(--ease), transform 1s var(--ease);
	transition-delay: calc(var(--d, 0) * 110ms);
}

.flb-js [data-r].is-in { opacity: 1; transform: none; }

/* Photo reveal: the frame stays in place (so it can be observed), the image wipes in. */
.flb-js .flb-photo[data-r="clip"] { opacity: 1; background: transparent; transition: transform 1.2s var(--ease), background 0s 1.2s; }
.flb-js .flb-photo[data-r="clip"].is-in { background: var(--ink-2); }
.flb-js .flb-photo--stop[data-r="clip"] { transform: rotate(0deg) translateY(30px); }
.flb-js .flb-photo--stop[data-r="clip"].is-in { transform: rotate(2deg); }
.flb-js .flb-photo--return[data-r="clip"] { transform: rotate(0deg) translateY(30px); }
.flb-js .flb-photo--return[data-r="clip"].is-in { transform: rotate(-2deg); }
.flb-js .flb-photo[data-r="clip"] img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.flb-js .flb-photo[data-r="clip"].is-in img { clip-path: inset(0); transform: none; }
.flb-js .flb-photo[data-r="clip"] figcaption { opacity: 0; transition: opacity .5s .9s; }
.flb-js .flb-photo[data-r="clip"].is-in figcaption { opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.flb-hero__grid,
	.flb-about__grid,
	.flb-stops__head,
	.flb-panels,
	.flb-return__grid { grid-template-columns: minmax(0, 1fr); }

	.flb-hero__art { max-width: 560px; margin-top: 8px; }
	.flb-about__head, .flb-photo--return { position: static; }
	.flb-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.flb-photo--stop { aspect-ratio: 4 / 3; max-width: 520px; }
	.flb-photo--return { aspect-ratio: 640 / 404; }
	.flb-reasons { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
	.flb { font-size: 16px; }

	/* Route turns into a vertical line with the stops stacked. */
	.flb-route__stops { grid-template-columns: minmax(0, 1fr); }
	.flb-route__stops li { height: 76px; }
	.flb-route__line { left: 20px; right: auto; top: 73px; bottom: 38px; height: auto; width: 0; border-top: 0; border-left: 4px dotted rgba(255, 255, 255, .3); }
	.flb-route__fill { left: -5px; right: auto; top: calc(var(--from) / 3 * 100%); bottom: 0; width: 6px; height: auto; transition: top .7s var(--ease); }
	.flb-route__coach { left: -11px; top: calc(var(--p) * 100%); width: 18px; height: 30px; margin: -15px 0 0; border-radius: 4px 4px 9px 6px; box-shadow: inset 0 -8px 0 var(--pink), 0 0 0 4px rgba(121, 193, 66, .35); }
	.flb .flb-stop { flex-direction: row; align-items: center; gap: 14px; height: 76px; padding: 0; text-align: left; }
	.flb-stop__dot { flex: none; width: 40px; height: 40px; margin: 0; }
	.flb-stop__name { font-size: 22px; flex: 1; }
	.flb-stop__mins { font-size: 15px; }

	.flb-panel { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.flb .flb-panel__num { font-size: 88px; }

	.flb-reels__row {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 72%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: -20px;
		padding: 0 20px 14px;
		scrollbar-width: none;
	}

	.flb-reels__row::-webkit-scrollbar { display: none; }
	.flb-reel { scroll-snap-align: center; }
	.flb-reel:nth-child(2) { margin: 0; }
	.flb .flb-reels .flb-small { margin-top: 20px; }

	.flb .flb-back { flex-direction: column; align-items: flex-start; gap: 0; }
	.flb .flb-back li + li { margin: 18px 0 0; }
	.flb .flb-back li + li::before { right: auto; left: 22px; top: auto; bottom: 100%; width: 0; height: 18px; border-top: 0; border-left: 3px dotted var(--ink); }

	.flb .flb-btn { font-size: 17px; padding-left: 22px; }
	.flb-hero__cta .flb-btn, .flb-return .flb-btn, .flb-panels__foot .flb-btn { width: 100%; justify-content: space-between; }
	.flb .flb-btn--xl { font-size: 19px; text-align: left; }

	.flb-dock { width: calc(100vw - 24px); justify-content: space-between; }
	.flb .flb-dock p { flex-direction: column; font-size: 14px; }
	.flb-dock .flb-btn { flex: none; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
	.flb *, .flb *::before, .flb *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.flb-js [data-r] { opacity: 1; transform: none; }
	.flb-js .flb-photo[data-r="clip"] img { clip-path: none; transform: none; }
	.flb-js .flb-photo[data-r="clip"] figcaption { opacity: 1; }
}

/* Dock button never wraps, at any width. */
.flb-dock .flb-btn { flex: none; white-space: nowrap; }

/* Language switch next to the sponsor tag. */
.flb .flb-lang {
	display: inline-block;
	margin: 0 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	vertical-align: middle;
}
.flb .flb-lang:hover { text-decoration-thickness: 2px; }

/* Turkish copy runs longer: ease the headline and the sticker label. */
.flb--tr .flb-sticker__from { font-size: clamp(12px, 1.1vw, 15px); }

/* Top strip: the Lottie coach drives along a road that runs the full width. */
.flb-top { position: relative; background: var(--ink); overflow: hidden; }
.flb-top::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 86.4%;
	height: 2px;
	background: #2f4d6b;
}
.flb-lottie {
	position: relative;
	width: min(560px, 100%);
	aspect-ratio: 8 / 3;
	margin: 0 auto;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.flb-lottie svg { display: block; }

/* Little coach riding the top edge of the dock: it travels left to right as the page is scrolled. */
.flb-dock__coach {
	position: absolute;
	bottom: calc(100% - 2px);
	left: calc(30px + (100% - 60px - 86px) * var(--dp, 0));
	width: 86px;
	height: 29px;
	pointer-events: none;
	filter: drop-shadow(0 3px 4px rgba(13, 32, 52, .45));
	transition: left .25s linear;
}
.flb-dock__coach svg { display: block; width: 100%; height: 100%; overflow: visible; }
.flb-dock__coach .flb-dock__wheel {
	transform-box: fill-box;
	transform-origin: center;
	transform: rotate(calc(var(--dp, 0) * 5400deg));
	transition: transform .25s linear;
}
@media (prefers-reduced-motion: reduce) {
	.flb-dock__coach, .flb-dock__coach .flb-dock__wheel { transition: none; }
}

/* The Turkish headline is longer than the English one: a smaller size keeps it to three or four lines. */
.flb--tr .flb-h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.02; }

/* Sponsor tag and language switch share one row. */
.flb-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 clamp(20px, 2.6vw, 34px); }
.flb .flb-hero__top .flb-tag { margin: 0; }
.flb .flb-hero__top .flb-lang { margin: 0; }

/* Credit line at the very bottom. */
.flb-credit { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .16); padding: 22px 24px 26px; }
.flb .flb-credit a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .06em;
	color: rgba(246, 243, 234, .6);
	text-decoration: none;
	transition: color .2s ease;
}
.flb .flb-credit a:hover, .flb .flb-credit a:focus-visible { color: #fff; }
.flb-credit .hoistly-wrap { position: relative; display: block; line-height: 0; transform: translateY(2px); }
.flb-credit .hoistly { position: relative; height: 18px; width: auto; display: block; overflow: visible; animation: hoistly-glow 1.6s ease-in-out infinite; }
.flb-credit .hoistly__dot { animation: hoistly-blink 1.6s ease-in-out infinite; }
.flb-credit .hoistly-light {
	position: absolute;
	left: 39%;
	top: 12.5%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle, rgba(200, 255, 46, .95) 0%, rgba(200, 255, 46, .55) 28%, rgba(200, 255, 46, 0) 70%);
	animation: hoistly-light 1.6s ease-in-out infinite;
}
@keyframes hoistly-glow {
	0%, 100% { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .7)) drop-shadow(0 0 10px rgba(200, 255, 46, .6)); }
	50% { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .3)) drop-shadow(0 0 3px rgba(200, 255, 46, .12)); }
}
@keyframes hoistly-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes hoistly-light { 0%, 100% { opacity: 1; transform: scale(1.15); } 50% { opacity: .08; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) {
	.flb-credit .hoistly, .flb-credit .hoistly__dot, .flb-credit .hoistly-light { animation: none; }
}
