/* =========================================================
   Sine Die Landing — front-end styles (mockup layout)
   Palette derived from the gold-on-black Capitol logo.
   All selectors are .sdl- scoped.
   ========================================================= */

/* Page-scoped base styles (this stylesheet only loads on the landing page).
   Note: the `color` from the pasted snippet is intentionally omitted — a near
   black text color on a black background would make text invisible. The plugin
   sets every text color itself, so this only governs the page background. */
body {
	background-color: #000000;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

.sdl-main,
.sdl-header,
.sdl-footer,
.sdl-lightbox {
	--sdl-black: #0b0b0c;
	--sdl-black-2: #16161b;
	--sdl-gold: #c9971f;
	--sdl-gold-bright: #e9bf52;
	--sdl-ink: #1b1b1d;
	--sdl-body: #44444a;
	--sdl-cream: #f4efe4;
	--sdl-cream-2: #faf6ec;
	--sdl-card: #fdfbf5;
	--sdl-line: #e6dfce;
	--sdl-shadow: 0 18px 50px rgba(11, 11, 12, 0.10);
	--sdl-header-h: 104px;
	--sdl-header-h-sm: 70px;
	--sdl-max: 1120px;
	--sdl-font-display: "Cinzel", Georgia, "Times New Roman", serif;
	--sdl-font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sdl-main {
	background: var(--sdl-cream);
	color: var(--sdl-body);
	font-family: var(--sdl-font-body);
	font-size: 18px;
	line-height: 1.7;
	margin: 0;
	overflow-x: clip;
}

/* Break out of any width-constrained theme/Elementor content column so the
   bands span the full viewport, exactly like the design. */
.sdl-main,
.sdl-footer {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Scoped reset so theme/page-builder styles can't distort the layout. */
.sdl-main *, .sdl-header *, .sdl-footer * { box-sizing: border-box; }
.sdl-main h1, .sdl-main h2, .sdl-main h3, .sdl-main h4, .sdl-main p,
.sdl-main figure, .sdl-main ul, .sdl-main li, .sdl-footer p {
	margin: 0; padding: 0; list-style: none;
}
.sdl-main img, .sdl-main svg { max-width: 100%; }
.sdl-main a { text-decoration: none; box-shadow: none; }
.sdl-main button { font-family: inherit; }

/* Guarantee the engraved display font + key colors even if the theme forces
   its own heading styles. */
.sdl-main .sdl-hero-title,
.sdl-main .sdl-section-title,
.sdl-footer .sdl-footer-tagline,
.sdl-header .sdl-brand-text { font-family: var(--sdl-font-display) !important; }
.sdl-main .sdl-gold-text { color: #e3b748 !important; }
.sdl-main .sdl-hero-title { color: #fff !important; }
.sdl-sponsors .sdl-section-title,
.sdl-connect .sdl-section-title { color: #fff !important; }

.sdl-container { width: 100%; max-width: var(--sdl-max); margin: 0 auto; padding: 0 24px; }
.sdl-center { text-align: center; }

/* ---------- shared ornament: line diamonds line ---------- */
.sdl-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 18px auto 0;
}
.sdl-ornament .sdl-line { height: 1px; width: 56px; background: linear-gradient(90deg, transparent, var(--sdl-gold)); }
.sdl-ornament .sdl-line:last-child { background: linear-gradient(90deg, var(--sdl-gold), transparent); }
.sdl-ornament i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--sdl-gold-bright); display: block; }
.sdl-ornament-wide { margin-top: 26px; }
.sdl-ornament-wide .sdl-line { width: min(32vw, 340px); }

/* ---------- sections ---------- */
.sdl-section { padding: 96px 0; scroll-margin-top: var(--sdl-header-h-sm); }
.sdl-mission   { background: var(--sdl-cream); }
.sdl-sponsors  { background: var(--sdl-black); }
.sdl-gallery   { background: var(--sdl-cream-2); }

.sdl-section-title {
	font-family: var(--sdl-font-display);
	font-weight: 700;
	color: var(--sdl-ink);
	font-size: clamp(1.8rem, 1.1rem + 2vw, 2.7rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
	margin: 0;
}
.sdl-sponsors .sdl-section-title,
.sdl-connect .sdl-section-title { color: #fff; }

.sdl-prose p { margin: 0 0 1.1em; }
.sdl-prose p:last-child { margin-bottom: 0; }
.sdl-prose { max-width: 760px; }
.sdl-center .sdl-prose { margin-left: auto; margin-right: auto; }

.sdl-gold-text { color: #e3b748; }

/* =========================================================
   Header (transparent over hero, solid on scroll)
   ========================================================= */
.sdl-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 9990;
	background: #0b0b0c;
	border-bottom: 1px solid rgba(201, 151, 31, 0.18);
	font-family: var(--sdl-font-body);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.sdl-header::before { display: none; }
.sdl-header.is-scrolled {
	background: #0b0b0c;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
	border-bottom-color: rgba(201, 151, 31, 0.4);
}

.sdl-header-inner {
	position: relative;
	max-width: var(--sdl-max);
	margin: 0 auto;
	padding: 0 24px;
	height: var(--sdl-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: height 0.3s ease;
}
.sdl-header.is-scrolled .sdl-header-inner { height: var(--sdl-header-h-sm); }

.sdl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; outline: none; }
.sdl-logo {
	height: var(--sdl-logo-h, 58px) !important;
	width: auto !important;
	max-width: 260px !important;
	display: block;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	transition: height 0.3s ease;
}
.sdl-header.is-scrolled .sdl-logo { height: var(--sdl-logo-h-sm, 42px) !important; }
.sdl-brand-text {
	font-family: var(--sdl-font-display);
	font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: #fff; font-size: 1.15rem; transition: font-size 0.3s ease;
}
.sdl-header.is-scrolled .sdl-brand-text { font-size: 1rem; }

.sdl-nav { display: flex; align-items: center; gap: 32px; }
.sdl-nav a {
	color: #efe9dc;
	text-decoration: none; font-size: 0.92rem; font-weight: 600;
	letter-spacing: 0.1em; text-transform: uppercase;
	position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.sdl-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
	background: var(--sdl-gold-bright); transform: scaleX(0); transform-origin: left;
	transition: transform 0.25s ease;
}
.sdl-nav a:hover { color: #fff; }
.sdl-nav a:hover::after, .sdl-nav a.is-active::after { transform: scaleX(1); }
.sdl-nav a.is-active { color: var(--sdl-gold-bright); }

.sdl-burger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.sdl-burger span { display: block; height: 2px; width: 100%; background: var(--sdl-gold-bright); transition: transform 0.25s ease, opacity 0.25s ease; }
.sdl-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sdl-burger.is-open span:nth-child(2) { opacity: 0; }
.sdl-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero (full-bleed background, centered content, bottom curve)
   ========================================================= */
.sdl-hero {
	position: relative;
	background: var(--sdl-black);
	background-size: cover;
	background-position: center;
	color: #fff;
	min-height: clamp(600px, 84vh, 860px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--sdl-header-h) + 24px) 0 116px;
	overflow: hidden;
	isolation: isolate;
}
.sdl-hero-overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.35) 40%, rgba(8, 8, 10, 0.78) 100%),
		radial-gradient(120% 90% at 50% 38%, rgba(8, 8, 10, 0.20), rgba(8, 8, 10, 0.72));
}
.sdl-hero:not(.has-bg) .sdl-hero-overlay {
	background: linear-gradient(180deg, #14110a 0%, #0b0b0c 70%);
}
.sdl-sunburst {
	position: absolute; left: 50%; bottom: -42%; transform: translateX(-50%);
	width: min(1100px, 130%); aspect-ratio: 1; z-index: -1;
	background: radial-gradient(circle at center,
		rgba(233, 191, 82, 0.45) 0%, rgba(201, 151, 31, 0.22) 26%, rgba(201, 151, 31, 0.05) 46%, transparent 60%);
}
.sdl-hero.has-bg .sdl-sunburst { display: none; }

.sdl-hero-inner { position: relative; max-width: 860px; text-align: center; padding-bottom: 10px; }
.sdl-eyebrow {
	display: inline-block; font-size: 0.84rem; font-weight: 700;
	letter-spacing: 0.26em; text-transform: uppercase; color: var(--sdl-gold-bright); margin-bottom: 20px;
}
.sdl-hero-title {
	font-family: var(--sdl-font-display); font-weight: 700;
	font-size: clamp(2.1rem, 1.2rem + 2.2vw, 3.2rem);
	line-height: 1.1; letter-spacing: 0.015em; margin: 0; color: #fff; text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.sdl-hero-copy { max-width: 660px; margin: 26px auto 0; color: #e3ddd0; font-size: 1.05rem; }
.sdl-hero-copy p { margin: 0 0 1.1em; }
.sdl-hero-copy p:last-child { margin-bottom: 0; }

.sdl-btn {
	display: inline-block; margin-top: 34px; padding: 16px 40px;
	background: linear-gradient(180deg, var(--sdl-gold-bright), var(--sdl-gold));
	color: #1a1408; font-weight: 700; font-family: var(--sdl-font-body);
	letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.86rem;
	text-decoration: none; border-radius: 2px;
	box-shadow: 0 12px 30px rgba(201, 151, 31, 0.4);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sdl-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 151, 31, 0.5); }

/* curved gold divider at the bottom of the hero */
.sdl-hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; z-index: 2; display: block; }
.sdl-curve-fill { fill: var(--sdl-cream); }
.sdl-curve-line { stroke: var(--sdl-gold); stroke-width: 2; opacity: 0.9; }

/* =========================================================
   Mission (emblem + text)
   ========================================================= */
.sdl-mission-grid {
	display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center;
	max-width: 1010px; margin: 46px auto 0;
}
.sdl-mission-emblem { display: flex; justify-content: center; }
.sdl-emblem-svg, .sdl-mission-emblem img { width: 250px; height: 250px; display: block; }
.sdl-mission-emblem img { border-radius: 50%; object-fit: cover; }
.sdl-emblem-column { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)); }
.sdl-mission-text { font-size: 1.05rem; color: var(--sdl-body); }

/* =========================================================
   Sponsors (white/dashed card on black)
   ========================================================= */
.sdl-sponsor-card {
	margin: 34px auto 0; max-width: 1040px;
	background: var(--sdl-card); border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	padding: 40px;
}
.sdl-sponsor-card-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 14px; color: var(--sdl-gold);
	border: 2px dashed rgba(201, 151, 31, 0.55);
	padding: 66px 40px;
}
.sdl-sponsor-placeholder { letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; font-size: 1rem; }
.sdl-sponsor-sheet { display: block; width: 100%; height: auto; border-radius: 6px; }
.sdl-sponsor-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 30px; align-items: center;
}
.sdl-sponsor-cell { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.sdl-sponsor-logo { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; transition: transform 0.25s ease; }
.sdl-sponsor-cell:hover .sdl-sponsor-logo { transform: scale(1.05); }

.sdl-sponsor-note { text-align: center; margin-top: 36px; color: #d9d4c8; scroll-margin-top: var(--sdl-header-h-sm); }
.sdl-strong { font-weight: 700; color: #fff; font-size: 1.05rem; }

/* =========================================================
   Gallery (4-up grid + lightbox)
   ========================================================= */
.sdl-gallery .sdl-prose { margin-top: 8px; color: var(--sdl-body); }
.sdl-gallery-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sdl-gallery-tile {
	display: block; padding: 0; border: 0; cursor: pointer; overflow: hidden;
	border-radius: 8px; aspect-ratio: 4 / 3; background: #e7e0d1;
	box-shadow: 0 10px 24px rgba(11, 11, 12, 0.12);
}
.sdl-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.sdl-gallery-tile:hover { box-shadow: 0 16px 34px rgba(11, 11, 12, 0.2), 0 0 0 2px var(--sdl-gold-bright); }
.sdl-gallery-tile:hover img { transform: scale(1.07); }
.sdl-gallery-tile:focus-visible { outline: 3px solid var(--sdl-gold); outline-offset: 2px; }

/* =========================================================
   Stay Connected (dark, optional bg image)
   ========================================================= */
.sdl-connect {
	position: relative; background: #0c0c0e; background-size: cover; background-position: center;
	color: #e9e3d6;
}
.sdl-connect-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8, 8, 10, 0.82), rgba(8, 8, 10, 0.9));
}
.sdl-connect .sdl-container { position: relative; z-index: 1; }
.sdl-connect .sdl-prose { color: #cfc9bb; margin-top: 22px; }
.sdl-socials { display: flex; justify-content: center; gap: 18px; margin-top: 30px; }
.sdl-social {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%; color: var(--sdl-gold-bright);
	border: 1.5px solid rgba(233, 191, 82, 0.6);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sdl-social:hover { background: var(--sdl-gold-bright); color: var(--sdl-black); transform: translateY(-3px); }

/* =========================================================
   Footer
   ========================================================= */
.sdl-footer { background: #060607; color: #cdc7ba; font-family: var(--sdl-font-body); padding: 40px 0 34px; text-align: center; border-top: 1px solid rgba(201, 151, 31, 0.25); }
.sdl-footer-tagline {
	font-family: var(--sdl-font-display); font-weight: 600; color: var(--sdl-gold-bright);
	font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.45rem); line-height: 1.4; margin: 0 auto 12px; max-width: 880px;
	letter-spacing: 0.01em;
}
.sdl-footer-contact p { margin: 0 0 4px; }
.sdl-footer-meta { font-size: 0.82rem; color: #837c6d; margin: 10px 0 0; }

/* =========================================================
   Lightbox
   ========================================================= */
.sdl-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(6, 6, 7, 0.94); display: none; align-items: center; justify-content: center; }
.sdl-lightbox.is-open { display: flex; }
.sdl-lightbox-img { max-width: 90vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.sdl-lightbox button { position: absolute; background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 2.4rem; line-height: 1; opacity: 0.8; transition: opacity 0.2s ease; }
.sdl-lightbox button:hover { opacity: 1; }
.sdl-lightbox-close { top: 20px; right: 26px; font-size: 2.8rem; }
.sdl-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.sdl-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
	.sdl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.sdl-mission-grid { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; }
	.sdl-mission-text { text-align: left; }
}

@media (max-width: 860px) {
	.sdl-burger { display: flex; }
	.sdl-nav {
		position: fixed; inset: var(--sdl-header-h-sm) 0 auto 0; flex-direction: column;
		align-items: flex-start; gap: 0; background: var(--sdl-black);
		border-bottom: 1px solid rgba(201, 151, 31, 0.3); padding: 8px 0;
		transform: translateY(-120%); transition: transform 0.3s ease;
		max-height: calc(100vh - var(--sdl-header-h-sm)); overflow-y: auto;
	}
	.sdl-nav.is-open { transform: translateY(0); }
	.sdl-nav a { width: 100%; padding: 15px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
	.sdl-nav a::after { display: none; }

	.sdl-section { padding: 66px 0; }
	.sdl-hero { min-height: 88vh; padding-top: calc(var(--sdl-header-h-sm) + 60px); }
	.sdl-sponsor-card { padding: 24px; }
	.sdl-sponsor-card-empty { padding: 48px 24px; }
	.sdl-lightbox-prev, .sdl-lightbox-next { font-size: 2.4rem; }
}

@media (max-width: 520px) {
	.sdl-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.sdl-main *, .sdl-header *, .sdl-footer * { transition: none !important; animation: none !important; }
}
