/* ===========================================================================
   Labëria — site chrome: floating pill header, mobile sheet, ink footer.
   ======================================================================== */

/* ── skip link ──────────────────────────────────────────────────────────── */
.lb-skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--lb-burgundy); color: #fff; padding: 12px 20px;
	border-radius: 0 0 var(--lb-r-md) 0; font-family: var(--lb-display); font-weight: 800; font-size: 14px;
	text-decoration: none;
}
.lb-skip:focus { left: 0; }

/* ── header ─────────────────────────────────────────────────────────────── */

.lb-hdr {
	position: sticky; top: 0; z-index: 90;
	padding: 14px var(--lb-gutter) 0;
	pointer-events: none;
}
.lb-hdr-in {
	pointer-events: auto;
	max-width: var(--lb-container);
	margin: 0 auto;
	display: flex; align-items: center; gap: 18px;
	height: 62px; padding: 0 10px 0 16px;
	background: rgba(255,253,249,.86);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border: 1px solid var(--lb-line-2);
	border-radius: var(--lb-r-pill);
	box-shadow: 0 2px 10px rgba(28,25,23,.05);
	transition: box-shadow .26s var(--lb-ease), background .26s var(--lb-ease), border-color .26s var(--lb-ease);
}
.lb-hdr.is-stuck .lb-hdr-in {
	background: rgba(255,253,249,.94);
	box-shadow: 0 10px 30px -14px rgba(28,25,23,.32);
	border-color: var(--lb-line);
}

.lb-wordmark {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none; flex: none;
	font-family: var(--lb-display); font-weight: 800; font-size: 15.5px;
	letter-spacing: -.4px; color: var(--lb-ink); line-height: 1.1;
	white-space: nowrap;
}
.lb-wordmark em { font-style: normal; color: var(--lb-burgundy); }
.lb-mark { flex: none; display: block; }

.lb-nav {
	display: flex; align-items: center; gap: 4px;
	margin: 0 auto; min-width: 0;
}
.lb-nav a {
	position: relative;
	padding: 9px 13px; border-radius: var(--lb-r-pill);
	font-family: var(--lb-display); font-size: 14px; font-weight: 700;
	color: var(--lb-ink-2); text-decoration: none; white-space: nowrap;
	transition: background .2s var(--lb-ease), color .2s var(--lb-ease);
}
.lb-nav a:hover { background: var(--lb-gold-tint); color: var(--lb-burgundy); }

.lb-hdr-r { display: flex; align-items: center; gap: 10px; flex: none; }
.lb-hdr-cta { padding: 11px 22px; font-size: 13.5px; }

/* language switcher */
.lb-lang {
	display: inline-flex; align-items: center; gap: 2px;
	padding: 3px; border-radius: var(--lb-r-pill);
	background: var(--lb-parchment);
}
.lb-lang-i {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 34px; height: 28px; padding: 0 9px;
	border-radius: var(--lb-r-pill); text-decoration: none;
	font-family: var(--lb-display); font-size: 11.5px; font-weight: 800; letter-spacing: .6px;
	color: var(--lb-stone);
	transition: background .2s var(--lb-ease), color .2s var(--lb-ease);
}
.lb-lang-i:hover { color: var(--lb-burgundy); }
.lb-lang-i.is-on { background: var(--lb-white); color: var(--lb-burgundy); box-shadow: var(--lb-sh-xs); }
.lb-lang.is-big { padding: 4px; }
.lb-lang.is-big .lb-lang-i { min-width: 46px; height: 36px; font-size: 13px; }
.lb-lang.is-dark { background: rgba(255,255,255,.08); }
.lb-lang.is-dark .lb-lang-i { color: rgba(255,255,255,.62); }
.lb-lang.is-dark .lb-lang-i.is-on { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }

/* burger */
.lb-burger {
	display: none; align-items: center; justify-content: center;
	width: 42px; height: 42px; border: 0; cursor: pointer;
	border-radius: var(--lb-r-pill); background: var(--lb-parchment); color: var(--lb-ink);
}
.lb-burger:hover { background: var(--lb-gold-tint); color: var(--lb-burgundy); }

/* ── mobile sheet ───────────────────────────────────────────────────────── */

.lb-sheet {
	position: fixed; inset: 0; z-index: 120;
	background: var(--lb-cream);
	display: flex; flex-direction: column;
	padding: 18px var(--lb-gutter) 26px;
	overflow-y: auto;
}
.lb-sheet[hidden] { display: none; }
.lb-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lb-sheet-close {
	width: 44px; height: 44px; border: 0; cursor: pointer; border-radius: var(--lb-r-pill);
	background: var(--lb-parchment); color: var(--lb-ink);
	display: inline-flex; align-items: center; justify-content: center;
}
.lb-sheet-nav { display: flex; flex-direction: column; margin: 22px 0 auto; }
.lb-sheet-nav a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 17px 4px; text-decoration: none;
	border-bottom: 1px solid var(--lb-line);
	font-family: var(--lb-display); font-size: 19px; font-weight: 800;
	letter-spacing: -.4px; color: var(--lb-ink);
}
.lb-sheet-nav a .lb-ico { color: var(--lb-gold-deep); }
.lb-sheet-foot { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.lb-sheet-foot .lb-btn { flex: 1; justify-content: center; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.lb-ftr {
	background: var(--lb-ink);
	color: rgba(255,255,255,.66);
	font-size: 14.6px; line-height: 1.7;
	padding: 34px 0 30px;
	margin-top: 10px;
}
.lb-ftr a { color: rgba(255,255,255,.66); text-decoration: none; transition: color .2s var(--lb-ease); }
.lb-ftr a:hover { color: var(--lb-gold); }

.lb-ftr-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
	background: linear-gradient(120deg, #2B2521 0%, #35251F 58%, #3A2226 100%);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 22px; padding: 22px 26px;
}
.lb-ftr-strip-t strong {
	display: block; font-family: var(--lb-display); font-weight: 800; font-size: 17px;
	color: #fff; letter-spacing: -.3px;
}
.lb-ftr-strip-t span { display: block; font-size: 14px; color: rgba(255,255,255,.56); margin-top: 3px; }
.lb-ftr-strip-a { display: flex; gap: 10px; flex-wrap: wrap; }
.lb-ftr-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 20px; border-radius: var(--lb-r-pill);
	font-family: var(--lb-display); font-size: 13.5px; font-weight: 800;
	color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2);
	transition: background .2s var(--lb-ease), color .2s var(--lb-ease), box-shadow .2s var(--lb-ease);
}
.lb-ftr-pill:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.lb-ftr-pill.is-solid { background: var(--lb-gold); color: #3B2B08 !important; box-shadow: none; }
.lb-ftr-pill.is-solid:hover { background: #fff; color: var(--lb-burgundy-deep) !important; }

.lb-ftr-cols {
	display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1.18fr;
	gap: 30px; padding: 40px 0 34px;
}
.lb-ftr-brand .lb-wordmark { color: #fff; font-size: 16px; }
.lb-ftr-brand .lb-wordmark em { color: var(--lb-gold); }
.lb-ftr-brand p { margin: 14px 0 0; max-width: 34ch; font-size: 14.4px; color: rgba(255,255,255,.58); }
.lb-ftr-brand .lb-note { color: var(--lb-gold); font-size: 20px; margin-top: 10px; max-width: 32ch; }
.lb-ftr-social { display: flex; gap: 9px; margin-top: 18px; }
.lb-ftr-social a {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.07); color: rgba(255,255,255,.72);
}
.lb-ftr-social a:hover { background: var(--lb-gold); color: #3B2B08; }

.lb-ftr-col { display: flex; flex-direction: column; align-items: flex-start; }
.lb-ftr-col h2 {
	font-family: var(--lb-display); font-size: 11px; font-weight: 800;
	letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.58);
	margin: 0 0 14px;
}
.lb-ftr-col a { padding: 5px 0; font-size: 14.4px; }
.lb-ftr-contact p,
.lb-ftr-contact a { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 5px 0; font-size: 14.2px; }
.lb-ftr-contact .lb-ico { color: var(--lb-gold); margin-top: 4px; }

.lb-ftr-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	border-top: 1px solid rgba(255,255,255,.09);
	padding-top: 22px;
}
.lb-ftr-bottom p { margin: 0; font-size: 13.4px; color: rgba(255,255,255,.58); }
.lb-ftr-legal { display: flex; align-items: center; gap: 10px; font-size: 13.4px; }
.lb-ftr-legal span { color: rgba(255,255,255,.5); }


/* :visited must restate every component colour — the browser's built-in
   a:visited rule (0,1,1) outranks a one-class component colour (0,1,0). */
.lb-skip:visited { color: #fff; }
.lb-wordmark:visited { color: var(--lb-ink); }
.lb-nav a:visited { color: var(--lb-ink-2); }
.lb-lang-i:visited { color: var(--lb-stone); }
.lb-lang-i.is-on:visited { color: var(--lb-burgundy); }
.lb-lang.is-dark .lb-lang-i:visited { color: rgba(255,255,255,.62); }
.lb-lang.is-dark .lb-lang-i.is-on:visited { color: #fff; }
.lb-sheet-nav a:visited { color: var(--lb-ink); }
.lb-ftr a:visited { color: rgba(255,255,255,.66); }
.lb-ftr-brand .lb-wordmark:visited { color: #fff; }
.lb-ftr-social a:visited { color: rgba(255,255,255,.72); }

/* ── breakpoints ────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
	.lb-nav { display: none; }
	.lb-burger { display: inline-flex; }
	.lb-hdr-cta { display: none; }
	.lb-hdr-in { margin-left: auto; margin-right: auto; justify-content: space-between; }
	.lb-ftr-cols { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 34px; }
	.lb-ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	.lb-hdr { padding-top: 10px; }
	.lb-hdr-in { height: 58px; padding-left: 13px; }
	.lb-wordmark { font-size: 14.5px; }
	.lb-hdr-r .lb-lang { display: none; }
	.lb-ftr-cols { grid-template-columns: 1fr 1fr; }
	.lb-ftr-strip { padding: 20px; }
	.lb-ftr-strip-a { width: 100%; }
	.lb-ftr-strip-a .lb-ftr-pill { flex: 1 1 auto; justify-content: center; padding: 11px 14px; white-space: nowrap; }
	.lb-ftr-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 400px) {
	.lb-wordmark em { display: none; }
}


/* ── wide screens ───────────────────────────────────────────────────────────
   The pill and the footer already follow --lb-container; these only stop the
   two of them from looking thin inside 1720px of width. */

@media (min-width: 1540px) {
	.lb-hdr-in { height: 68px; padding: 0 14px 0 22px; gap: 26px; }
	.lb-nav { gap: 6px; }
	.lb-nav a { padding: 10px 16px; font-size: 14.8px; }
	.lb-wordmark { font-size: 16.5px; }
	.lb-hdr-cta { padding: 12px 26px; font-size: 14px; }
	.lb-ftr { font-size: 15px; padding: 42px 0 34px; }
	.lb-ftr-cols { gap: 40px; padding: 48px 0 40px; }
	.lb-ftr-strip { padding: 26px 32px; }
	.lb-ftr-brand p { max-width: 38ch; }
}
