/* LBN Legacy page — editorial layout. Every image keeps its own shape (never cropped). */
.lbn-legacy {
	--lg-ink: #0c0b0a;
	--lg-ink-2: #121110;
	--lg-gold: #c4a16b;
	--lg-copper: #bc9064;
	--lg-cream: #ece6dc;
	--lg-text: #bdb7ae;
	--lg-muted: #8a847c;
	--lg-line: rgba(196, 161, 107, .22);
	--lg-hair: rgba(236, 230, 220, .08);
	--lg-btn: #968c83;
	--lg-btn-hover: #d6d2c4;
	--lg-serif: "Tenor Sans", Georgia, serif;
	--lg-italic: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--lg-sans: Poppins, "Helvetica Neue", Arial, sans-serif;
	--lg-ease: cubic-bezier(.2, .65, .2, 1);

	/* break out of the theme/Elementor container to full width */
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background:
		radial-gradient(1200px 600px at 50% 0%, rgba(196, 161, 107, .07), transparent 70%),
		var(--lg-ink);
	color: var(--lg-text);
	font-family: var(--lg-sans);
	overflow: hidden;
}

/* remove the theme's extra column spacing around this page */
body:has(.lbn-legacy) .elementor-widget-wrap:has(.lbn-legacy) { padding: 0 !important; margin-top: 0 !important; }
body:has(.lbn-legacy) .site-content-wrapper .site-content,
body:has(.lbn-legacy) .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
body:has(.lbn-legacy) .entry-content:has(.lbn-legacy) { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }

/* ---------- shared ---------- */
.lbn-legacy__eyebrow,
.lbn-legacy__num {
	display: inline-block;
	font-family: var(--lg-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: var(--lg-copper);
}
/* fine gold rule with a small diamond */
.lbn-legacy__orn {
	position: relative;
	display: block;
	width: 140px;
	height: 9px;
	margin: 30px auto;
}
.lbn-legacy__orn::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--lg-gold) 30%, var(--lg-gold) 70%, transparent);
	opacity: .55;
}
.lbn-legacy__orn i {
	position: absolute;
	left: 50%;
	top: 0;
	width: 9px;
	height: 9px;
	margin-left: -4.5px;
	background: var(--lg-ink);
	border: 1px solid var(--lg-gold);
	transform: rotate(45deg);
}

/* ---------- opening ---------- */
.lbn-legacy__intro {
	padding: clamp(120px, 14vh, 168px) 0 0;
	text-align: center;
}
.lbn-legacy__intro-text { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.lbn-legacy__eyebrow { margin-bottom: 26px; }
.lbn-legacy__title {
	margin: 0 !important;
	font-family: var(--lg-serif) !important;
	font-size: clamp(38px, 5.4vw, 78px) !important;
	font-weight: 400 !important;
	line-height: 1.08 !important;
	letter-spacing: .005em !important;
	text-transform: none !important;
	color: var(--lg-gold) !important;
}
.lbn-legacy__subtitle {
	margin: 0;
	font-family: var(--lg-italic);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(21px, 2vw, 28px);
	line-height: 1.4;
	color: var(--lg-cream);
	opacity: .88;
}

.lbn-legacy__hero,
.lbn-legacy__media {
	position: relative;
	margin: 0 auto;
}
.lbn-legacy__hero {
	width: min(100%, 1440px);
	max-width: 1440px;
	margin-top: clamp(40px, 6vh, 72px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 0 !important;
	padding: 0 clamp(0px, 4vw, 64px);
	box-sizing: border-box;
}
.lbn-legacy__hero img,
.lbn-legacy__media img,
.lbn-legacy__media video {
	display: block;
	width: 100%;
	height: auto;               /* natural shape: nothing is cut off */
	max-width: none;
	border-radius: 2px;
	background: #171614;
	box-shadow: 0 0 0 1px rgba(236, 230, 220, .06), 0 40px 80px -30px rgba(0, 0, 0, .85);
}
.lbn-legacy__still { display: block; width: 100%; height: auto; }
/* Film sits over its still so the frame is never an empty black box. */
.lbn-legacy__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .5s ease;
}
.lbn-legacy__media video.is-playing { opacity: 1; }
.lbn-legacy__hero figcaption {
	margin-top: 16px;
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--lg-muted);
}

/* ---------- chapters ---------- */
.lbn-legacy__chapter {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 30px) 0;
	box-sizing: border-box;
	scroll-margin-top: 0;
}
.lbn-legacy__head { text-align: center; margin-bottom: clamp(28px, 4vh, 44px); }
.lbn-legacy__num { margin-bottom: 18px; }
.lbn-legacy__num::before,
.lbn-legacy__num::after {
	content: "";
	display: inline-block;
	width: 34px;
	height: 1px;
	margin: 0 16px;
	vertical-align: middle;
	background: var(--lg-copper);
	opacity: .55;
}
.lbn-legacy__h2 {
	margin: 0 !important;
	font-family: var(--lg-serif) !important;
	font-size: clamp(30px, 3.4vw, 50px) !important;
	font-weight: 400 !important;
	line-height: 1.12 !important;
	letter-spacing: .005em !important;
	text-transform: none !important;
	color: var(--lg-cream) !important;
}

/* thin gold frame offset behind each picture */
.lbn-legacy__media {
	overflow: visible;
}
.lbn-legacy__media::before {
	content: "";
	position: absolute;
	inset: -10px;
	border: 1px solid var(--lg-line);
	border-radius: 3px;
	pointer-events: none;
}
.lbn-legacy__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(28px, 4.5vw, 64px);
	align-items: start;
	max-width: 1080px;
	margin: clamp(36px, 5vh, 56px) auto 0;
}
.lbn-legacy__lead {
	position: relative;
	margin: 0 !important;
	padding-top: 22px;
	font-family: var(--lg-italic);
	font-style: italic;
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.5;
	color: var(--lg-cream);
}
.lbn-legacy__lead::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 1px;
	background: var(--lg-gold);
	opacity: .7;
}
.lbn-legacy__text p {
	margin: 0 0 20px;
	font-size: 15.5px;
	font-weight: 300;
	line-height: 1.95;
	color: var(--lg-text);
}
.lbn-legacy__text p:last-child { margin-bottom: 0; }
.lbn-legacy__text p:first-child::first-letter {
	float: left;
	margin: 7px 12px 0 0;
	font-family: var(--lg-serif);
	font-size: 54px;
	line-height: .82;
	color: var(--lg-gold);
}

/* ---------- side chapter rail (large screens) ---------- */
.lbn-legacy__rail {
	position: fixed;
	z-index: 50;
	top: 50%;
	left: clamp(16px, 2.2vw, 40px);
	display: none;
	flex-direction: column;
	gap: 18px;
	transform: translateY(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s ease;
}
.lbn-legacy__rail.is-on { opacity: 1; pointer-events: auto; }
.lbn-legacy__rail a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--lg-muted) !important;
	text-decoration: none !important;
	font-family: var(--lg-serif);
	font-size: 12px;
	letter-spacing: .12em;
	transition: color .3s;
}
.lbn-legacy__rail b {
	display: inline-block;
	min-width: 26px;
	font-weight: 400;
	padding-left: 12px;
	border-left: 1px solid var(--lg-hair);
	transition: border-color .3s;
}
.lbn-legacy__rail span {
	opacity: 0;
	transform: translateX(-6px);
	white-space: nowrap;
	font-family: var(--lg-sans);
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	transition: opacity .3s, transform .3s;
}
.lbn-legacy__rail a:hover span,
.lbn-legacy__rail a:focus-visible span { opacity: 1; transform: none; }
@media (min-width: 1700px) { .lbn-legacy__rail a.is-active span { opacity: 1; transform: none; } }
.lbn-legacy__rail a:hover,
.lbn-legacy__rail a.is-active { color: var(--lg-gold) !important; }
.lbn-legacy__rail a.is-active b { border-color: var(--lg-gold); }
@media (min-width: 1400px) { .lbn-legacy__rail { display: flex; } }

/* ---------- closing ---------- */
.lbn-legacy__closing {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(88px, 12vh, 140px) 24px clamp(72px, 10vh, 120px);
	text-align: center;
}
.lbn-legacy__mark { display: block; width: 44px; height: auto; margin: 0 auto 34px; opacity: .9; }
.lbn-legacy__closing blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--lg-italic);
	font-style: italic;
	font-size: clamp(30px, 3.6vw, 50px);
	line-height: 1.25;
	color: var(--lg-gold);
	quotes: "“" "”";
}
.lbn-legacy__closing blockquote::before { content: open-quote; }
.lbn-legacy__closing blockquote::after { content: close-quote; }
.lbn-legacy__closing .lbn-legacy__orn { margin: 36px auto 40px; }
.lbn-legacy__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lbn-legacy__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 34px;
	border: 1px solid var(--lg-btn);
	border-radius: 4px;
	background: var(--lg-btn);
	color: #fff !important;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color .25s, color .25s, border-color .25s;
}
.lbn-legacy__btn:hover, .lbn-legacy__btn:focus-visible { background: var(--lg-btn-hover); border-color: var(--lg-btn-hover); color: #171717 !important; outline: none; }
.lbn-legacy__btn.is-ghost { background: transparent; color: var(--lg-cream) !important; border-color: rgba(236, 230, 220, .35); }
.lbn-legacy__btn.is-ghost:hover { background: rgba(236, 230, 220, .08); color: var(--lg-cream) !important; border-color: var(--lg-cream); }

/* ---------- reveal on scroll ---------- */
.lbn-legacy .lbn-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.1s var(--lg-ease); }
.lbn-legacy .lbn-reveal.is-in { opacity: 1; transform: none; }
/* pictures open like a curtain and finish at full size (nothing stays hidden) */
.lbn-legacy .lbn-unveil { opacity: 0; clip-path: inset(6% 6% 6% 6%); transition: opacity 1.2s ease, clip-path 1.6s var(--lg-ease); }
.lbn-legacy .lbn-unveil.is-in { opacity: 1; clip-path: inset(-20px -20px -40px -20px); }
html:not(.lbn-legacy-js) .lbn-legacy .lbn-reveal,
html:not(.lbn-legacy-js) .lbn-legacy .lbn-unveil { opacity: 1; transform: none; clip-path: none; }

/* ---------- tablet / phone ---------- */
@media (max-width: 900px) {
	.lbn-legacy__intro { padding-top: 72px; }
	.lbn-legacy__hero { margin-top: 32px !important; }
	.lbn-legacy__hero figcaption { padding: 0 20px; }
	.lbn-legacy__chapter { padding-top: 64px; }
	.lbn-legacy__head { margin-bottom: 28px; }
	.lbn-legacy__media::before { inset: -6px; }
	.lbn-legacy__body { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
	.lbn-legacy__text p { font-size: 15.5px; line-height: 1.9; }
}
@media (max-width: 586px) {
	.lbn-legacy__eyebrow { margin-bottom: 20px; }
	.lbn-legacy__orn { margin: 24px auto; }
	.lbn-legacy__num::before, .lbn-legacy__num::after { width: 22px; margin: 0 10px; }
	.lbn-legacy__chapter { padding-left: 18px; padding-right: 18px; }
	.lbn-legacy__closing { padding-top: 80px; padding-bottom: 72px; }
	.lbn-legacy__btn { flex: 1 1 100%; }
	.lbn-legacy__lead { font-size: 19.5px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
	.lbn-legacy .lbn-reveal, .lbn-legacy .lbn-unveil { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
}

/* Elementor zeroes figure margins; keep the opening photograph centered on wide screens. */
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.lbn-legacy__hero {
	width: min(100%, 1440px);
	margin-top: clamp(40px, 6vh, 72px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 0 !important;
}


.lbn-legacy__chapter .lbn-legacy__media { margin-left: 10px; margin-right: 10px; }
@media (max-width: 900px) {
	.lbn-legacy__chapter .lbn-legacy__media { margin-left: 6px; margin-right: 6px; }
}

/* Room for the gold media frame without horizontal scroll (beat Elementor figure{margin:0}) */
.elementor .lbn-legacy__chapter figure.lbn-legacy__media,
.lbn-legacy__chapter .lbn-legacy__media {
	margin-left: 10px !important;
	margin-right: 10px !important;
}
@media (max-width: 900px) {
	.elementor .lbn-legacy__chapter figure.lbn-legacy__media,
	.lbn-legacy__chapter .lbn-legacy__media {
		margin-left: 6px !important;
		margin-right: 6px !important;
	}
}

