/* === TAS26 alumni-corner shared page styles === */
/* Used by home.html, announcements.html, events.html, connect.html.
   These rules undo the index.html "fixed viewport" rules from style.css. */

html {
	overflow-x: hidden;
	overflow-y: auto;
	height: auto;
	overscroll-behavior: auto;
}

body {
	position: static;
	inset: auto;
	overflow: visible;
	height: auto;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	overscroll-behavior: auto;
}

#starfield {
	position: fixed;
	height: 100vh;
	height: 100dvh;
}

main {
	position: relative;
	z-index: 1;
}

/* === Top navigation tabs === */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(14px, 3vw, 36px);
	padding: 18px clamp(16px, 4vw, 40px);
	background: rgba(10, 19, 54, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 183, 27, 0.18);
}

.site-nav a {
	position: relative;
	font-family: 'Inter', system-ui, Arial, sans-serif;
	font-size: clamp(0.62rem, 0.95vw, 0.78rem);
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #ffd470;
	opacity: 0.72;
	padding: 6px 2px;
	transition: opacity 0.25s ease, color 0.25s ease;
}

.site-nav a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 183, 27, 0.85), transparent);
	transition: width 0.3s ease, left 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	opacity: 1;
	color: #fff3d0;
	outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
	width: 100%;
	left: 0;
}

.site-nav a.active {
	opacity: 1;
	color: #fff3d0;
}

.site-nav a.active::after {
	width: 100%;
	left: 0;
}

/* === Generic page header (used by announcements/events/connect) === */
.page-header {
	text-align: center;
	padding: clamp(60px, 10vh, 110px) 24px clamp(28px, 5vh, 52px);
}

.page-header .page-eyebrow {
	font-family: 'Inter', system-ui, Arial, sans-serif;
	font-size: clamp(0.62rem, 1vw, 0.78rem);
	letter-spacing: 0.45em;
	text-transform: uppercase;
	color: #ffb71b;
	opacity: 0.78;
	margin: 0 0 18px;
}

.page-header h1 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(2rem, 5.4vmin, 4rem);
	font-weight: 700;
	letter-spacing: -0.012em;
	margin: 0;
	color: #ffd470;
	text-shadow: 0 0 60px rgba(255, 183, 27, 0.18);
}

.page-header h1 em {
	font-style: italic;
	font-weight: 500;
	color: #ffb71b;
}

/* === Disclaimer pinned to end of long page === */
.disclaimer.page-end {
	position: static;
	transform: none;
	padding: 30px 16px 24px;
	opacity: 0.4;
	text-align: center;
}

@media (max-width: 600px) {
	.site-nav { gap: 12px; padding: 14px 12px; }
	.site-nav a { font-size: 0.6rem; letter-spacing: 0.18em; }
}
