/* ==========================================================================
   Defence Enclave — main stylesheet
   Brand colour taken from the logo: #292A86
   ========================================================================== */

:root {
	--brand-950: #11123f;
	--brand-900: #1a1b5c;
	--brand-800: #212270;
	--brand-700: #292a86;
	--brand-600: #3637a6;
	--brand-500: #4b4dc8;
	--brand-300: #9b9de6;
	--brand-100: #e4e5f6;
	--brand-50:  #f4f5fc;

	--accent:      #f2b233;
	--accent-600:  #d99a1c;
	--accent-100:  #fdf1d6;

	--urgent:     #e0413a;
	--urgent-100: #fde7e6;
	--ok:         #1f9d6b;
	--ok-100:     #dcf5ea;
	--info:       #2f7fd8;
	--info-100:   #e0edfb;

	--ink:      #0f1030;
	--ink-soft: #555873;
	--ink-mute: #8a8ca3;
	--line:     #e7e8f1;
	--bg:       #fafafd;
	--white:    #fff;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

	--radius-sm: 10px;
	--radius:    18px;
	--radius-lg: 28px;
	--shadow-xs: 0 1px 2px rgba(17, 18, 63, .05);
	--shadow-sm: 0 2px 10px rgba(41, 42, 134, .06), 0 1px 2px rgba(17, 18, 63, .04);
	--shadow:    0 12px 32px -10px rgba(41, 42, 134, .18);
	--shadow-lg: 0 28px 60px -18px rgba(41, 42, 134, .32);

	--ease:     cubic-bezier(.22, 1, .36, 1);
	--ease-in:  cubic-bezier(.65, 0, .35, 1);
	--gutter:   clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--ticker-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 16px/1.65 var(--font-body);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
body.has-ticker { --ticker-h: 38px; }
img, iframe, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand-600); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand-500); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-700); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--brand-50), #fff); }
.section--flush-top { padding-top: 0; margin-top: -56px; z-index: 3; }
.section--cta { padding-top: 0; }
.section--flush-top + .section { padding-top: clamp(48px, 6vw, 72px); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 700 12px/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase;
	color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.eyebrow--pill {
	color: #fff; padding: 9px 16px 9px 12px; border-radius: 99px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); letter-spacing: .16em;
}
.eyebrow--pill::before { display: none; }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.section-head--split .eyebrow { justify-content: flex-start; }
.section-head--sm { margin-block: 64px 32px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0; }
.section-title--sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.hl {
	color: var(--brand-600);
	background: linear-gradient(transparent 62%, var(--accent-100) 62%, var(--accent-100) 92%, transparent 92%);
	padding-inline: .06em;
}

.prose { color: var(--ink-soft); font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--brand-700); --btn-fg: #fff;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 24px; border: 0; border-radius: 99px; cursor: pointer; isolation: isolate; overflow: hidden;
	font: 600 15px/1.2 var(--font-head); letter-spacing: -.005em; white-space: nowrap;
	background: var(--btn-bg); color: var(--btn-fg);
	transition: transform .25s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn i { transition: transform .3s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }

.btn--primary:hover { background: var(--brand-600); box-shadow: 0 12px 28px -10px rgba(41, 42, 134, .6); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--brand-950); }
.btn--accent:hover { --btn-bg: #f6c052; box-shadow: 0 14px 30px -10px rgba(242, 178, 51, .75); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--brand-100); }
.btn--ghost:hover { --btn-bg: var(--brand-700); --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px var(--brand-700), 0 10px 24px -10px rgba(41, 42, 134, .5); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--xs { padding: 7px 13px; font-size: 13px; gap: 7px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--font-head); color: var(--brand-700); }
.link-arrow i { transition: transform .3s var(--ease); font-size: 12px; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow--back:hover i { transform: translateX(-4px); }

/* ---------- Chips / status ---------- */
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px;
	font: 700 11.5px/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase;
	background: var(--brand-100); color: var(--brand-700);
}
.chip--urgent   { background: var(--urgent-100); color: var(--urgent); }
.chip--event    { background: var(--accent-100); color: #9a6608; }
.chip--meeting  { background: var(--info-100); color: var(--info); }
.chip--circular { background: var(--ok-100); color: var(--ok); }
.chip--ghost    { background: transparent; color: var(--ink-mute); box-shadow: inset 0 0 0 1px var(--line); }
.chip--glass    { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--brand    { background: var(--brand-50); color: var(--brand-600); box-shadow: inset 0 0 0 1px var(--brand-100); }

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s var(--ease) infinite; }
.pulse-dot--gold { color: var(--accent); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.status--ok    { color: var(--ok); }
.status--info  { color: var(--info); }
.status--warn  { color: var(--accent-600); }
.status--alert { color: var(--urgent); }

/* ---------- Cards / glass ---------- */
.glass {
	background: rgba(255, 255, 255, .78);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: var(--shadow);
}
.card {
	position: relative; background: var(--white); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); border: 1px solid rgba(231, 232, 241, .7);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card--pad { padding: clamp(22px, 2.5vw, 30px); }
.card--pad-lg { padding: clamp(24px, 4vw, 48px); }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card__title i { color: var(--brand-500); margin-right: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .45s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-1 * var(--ticker-h))); }

.ticker {
	display: flex; align-items: center; height: 38px; overflow: hidden;
	background: var(--brand-950); color: #fff; font-size: 13.5px;
}
.ticker__label {
	flex: none; display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 18px 0 var(--gutter);
	background: var(--accent); color: var(--brand-950); position: relative; z-index: 1;
	font: 800 11.5px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 28px;
}
.ticker__label .pulse-dot { color: var(--urgent); }
.ticker__viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker calc(var(--items, 3) * 9s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track a { color: rgba(255, 255, 255, .9); padding: 0 34px; white-space: nowrap; position: relative; }
.ticker__track a::after { content: "◆"; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); font-size: 7px; color: var(--accent); }
.ticker__track a:hover { color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

.nav { transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .nav {
	background: rgba(255, 255, 255, .82);
	backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
	box-shadow: 0 1px 0 rgba(17, 18, 63, .06), 0 10px 30px -18px rgba(17, 18, 63, .35);
}
.site-header.is-scrolled .nav__inner { height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-right: auto; }
.brand:hover { color: #fff; }
.brand__mark {
	width: 46px; height: 46px; flex: none; border-radius: 13px; position: relative;
	background: var(--brand-700); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 8px 20px -8px rgba(0, 0, 0, .5);
	transition: transform .5s var(--ease);
}
.brand__mark::after {
	content: ""; position: absolute; inset: 6px; background: #fff;
	-webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat;
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 800 18px/1.1 var(--font-head); letter-spacing: .02em; text-transform: uppercase; }
.brand__text small { font: 500 11px/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.site-header.is-scrolled .brand { color: var(--brand-700); }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
	position: relative; display: block; padding: 9px 14px; border-radius: 99px;
	color: rgba(255, 255, 255, .86); font: 600 14.5px var(--font-head); transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__links .current-menu-item > a, .nav__links .current_page_item > a { color: #fff; }
.nav__links .current-menu-item > a::after, .nav__links .current_page_item > a::after {
	content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px;
	background: var(--accent); transform: translateX(-50%);
}
.site-header.is-scrolled .nav__links a { color: var(--ink-soft); }
.site-header.is-scrolled .nav__links a:hover { color: var(--brand-700); background: var(--brand-50); }
.site-header.is-scrolled .nav__links .current-menu-item > a, .site-header.is-scrolled .nav__links .current_page_item > a { color: var(--brand-700); }

.nav__toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .12); position: relative; }
.nav__toggle span:not(.screen-reader-text) { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, background-color .3s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.site-header.is-scrolled .nav__toggle { background: var(--brand-50); }
.site-header.is-scrolled .nav__toggle span:not(.screen-reader-text) { background: var(--brand-700); }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + var(--ticker-h) + 24px) var(--gutter) 32px;
	background: radial-gradient(circle at 80% 10%, var(--brand-600), transparent 55%), var(--brand-900);
	clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .7s var(--ease-in); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; }
.mobile-menu__links a {
	display: block; padding: 12px 0; color: #fff; font: 700 clamp(28px, 8vw, 40px)/1.1 var(--font-head);
	border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(20px);
	transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu__links .current-menu-item a { color: var(--accent); }
.menu-open .mobile-menu__links a { opacity: 1; transform: none; }
.menu-open .mobile-menu__links li:nth-child(1) a { transition-delay: .15s; }
.menu-open .mobile-menu__links li:nth-child(2) a { transition-delay: .2s; }
.menu-open .mobile-menu__links li:nth-child(3) a { transition-delay: .25s; }
.menu-open .mobile-menu__links li:nth-child(4) a { transition-delay: .3s; }
.menu-open .mobile-menu__links li:nth-child(5) a { transition-delay: .35s; }
.menu-open .mobile-menu__links li:nth-child(6) a { transition-delay: .4s; }
.menu-open .mobile-menu__links li:nth-child(7) a { transition-delay: .45s; }
.mobile-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu__tag { color: rgba(255, 255, 255, .5); font: 600 12px var(--font-head); letter-spacing: .35em; text-transform: uppercase; }

/* ==========================================================================
   Hero (home) + page hero
   ========================================================================== */
.hero, .page-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(75, 77, 200, .55), transparent 60%),
		radial-gradient(900px 500px at -10% 110%, rgba(242, 178, 51, .14), transparent 60%),
		linear-gradient(135deg, var(--brand-950) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
}
.hero-pattern {
	position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero {
	min-height: min(100svh, 920px); display: flex; align-items: center;
	padding: calc(var(--header-h) + var(--ticker-h) + 40px) 0 140px;
}
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slide.is-active img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.12); } }
.hero--image::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: linear-gradient(100deg, rgba(17, 18, 63, .94) 0%, rgba(26, 27, 92, .82) 45%, rgba(41, 42, 134, .45) 100%);
}
.hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: float 16s ease-in-out infinite; }
.hero__orb--a { width: 420px; height: 420px; right: -80px; top: 12%; background: var(--brand-500); }
.hero__orb--b { width: 260px; height: 260px; left: 38%; bottom: -60px; background: var(--accent); opacity: .22; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }

.hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
.hero__title { color: #fff; font-size: clamp(40px, 6.6vw, 80px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 22px 0 22px; }
.hero__title .hl { color: var(--accent); background: none; padding: 0; position: relative; white-space: nowrap; }
.hero__title .hl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px;
	background: var(--accent); transform-origin: left; transform: scaleX(0); animation: underline 1s .9s var(--ease) forwards; opacity: .45;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 36px; }

.hero__emblem { position: relative; aspect-ratio: 1; width: min(100%, 400px); justify-self: end; display: grid; place-items: center; }
.hero__emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); animation: spin 40s linear infinite; }
.hero__emblem-ring::before { content: ""; position: absolute; top: 8%; left: 14%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.hero__emblem-ring--2 { inset: 13%; border-style: dashed; border-color: rgba(255, 255, 255, .12); animation-direction: reverse; animation-duration: 60s; }
.hero__emblem-ring--2::before { top: auto; bottom: 10%; left: auto; right: 6%; width: 8px; height: 8px; background: #fff; box-shadow: 0 0 14px #fff; }
.hero__emblem-mark {
	width: 56%; aspect-ratio: 1; border-radius: 32%; position: relative;
	background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
	border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
	animation: bob 6s ease-in-out infinite;
}
.hero__emblem-mark::after { content: ""; position: absolute; inset: 16%; background: #fff; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 96px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 99px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Entrance animation for the hero (plays on load, staggered). */
[data-enter] { opacity: 0; transform: translateY(26px); animation: enter .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }
[data-enter="1"] { --d: 0; } [data-enter="2"] { --d: 1; } [data-enter="3"] { --d: 2; } [data-enter="4"] { --d: 3; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + var(--ticker-h) + clamp(48px, 7vw, 88px)) 0 clamp(80px, 10vw, 130px); }
.page-hero--tall { min-height: 80svh; display: flex; align-items: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(17, 18, 63, .92), rgba(41, 42, 134, .6)); }
.page-hero::after {
	content: ""; position: absolute; right: -60px; bottom: -80px; width: 360px; height: 360px; z-index: -1; opacity: .06;
	background: #fff; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat;
}
.page-hero__title { color: #fff; font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 16px; max-width: 900px; }
.page-hero__text { color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.5vw, 19px); max-width: 640px; margin: 0; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px var(--font-body); color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: 9px; }
.crumbs span { color: var(--accent); }

/* ==========================================================================
   Home sections
   ========================================================================== */
.stats { position: relative; z-index: 3; margin-top: -76px; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.stat {
	display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat__icon {
	flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 21px;
	color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
	box-shadow: 0 10px 20px -8px rgba(41, 42, 134, .6);
	transition: transform .5s var(--ease);
}
.stat:hover .stat__icon { transform: rotate(-8deg) scale(1.06); }
.stat__value { font: 800 30px/1 var(--font-head); color: var(--brand-800); margin: 0 0 6px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__value--status { font-size: 18px; line-height: 30px; }
.stat__label { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.stat__label a { color: inherit; }
.stat__label a:hover { color: var(--brand-600); }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.quick {
	position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
	padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background-color .3s;
	overflow: hidden;
}
.quick::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--brand-50), transparent 60%); opacity: 0; transition: opacity .4s; }
.quick:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--ink); }
.quick:hover::before { opacity: 1; }
.quick__icon {
	grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px;
	background: var(--brand-50); color: var(--brand-700); position: relative;
	transition: background-color .35s, color .35s, transform .5s var(--ease);
}
.quick:hover .quick__icon { background: var(--brand-700); color: #fff; transform: scale(1.06) rotate(-6deg); }
.quick__title { font: 700 16.5px/1.3 var(--font-head); position: relative; }
.quick__text { grid-column: 2; font-size: 14px; color: var(--ink-soft); line-height: 1.45; position: relative; }
.quick__arrow { grid-row: 1 / span 2; grid-column: 3; color: var(--brand-300); transition: transform .35s var(--ease), color .3s; position: relative; }
.quick:hover .quick__arrow { color: var(--accent-600); transform: translateX(4px); }

.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 20px; }
.bento__item:first-child { grid-row: span 2; }
.bento__item:only-child { grid-column: span 2; }
.bento__item:nth-child(2):last-child { grid-row: span 2; }
.card--media { overflow: hidden; border: 0; min-height: 260px; background: var(--brand-800); }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card--media:hover .card__media img { transform: scale(1.07); }
.card--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(17, 18, 63, .9)); pointer-events: none; }
.card--noimg .card__media { background: radial-gradient(circle at 80% 20%, var(--brand-500), transparent 55%), linear-gradient(135deg, var(--brand-800), var(--brand-600)); }
.card--noimg:nth-child(2) .card__media { background: radial-gradient(circle at 20% 80%, rgba(242, 178, 51, .45), transparent 55%), linear-gradient(135deg, var(--brand-900), var(--brand-700)); }
.card__placeholder { position: absolute; right: 24px; top: 20px; font-size: 90px; color: rgba(255, 255, 255, .1); transition: transform .8s var(--ease); }
.card--media:hover .card__placeholder { transform: scale(1.1) rotate(-8deg); }
.card__overlay { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(22px, 3vw, 32px); color: #fff; }
.card__overlay .card__title { color: #fff; font-size: clamp(20px, 2vw, 26px); margin: 12px 0 6px; }
.card__overlay .card__title a { color: inherit; }
.card__overlay p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 460px; }

.cta {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); color: #fff;
	background: radial-gradient(600px 300px at 100% 0, rgba(242, 178, 51, .25), transparent 60%), linear-gradient(120deg, var(--brand-900), var(--brand-600));
	box-shadow: var(--shadow-lg);
}
.cta__mark { position: absolute; left: -40px; bottom: -60px; width: 280px; height: 280px; z-index: -1; opacity: .08; background: #fff; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; }
.cta__content { max-width: 640px; }
.cta__title { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta__title .hl { color: var(--accent); background: none; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 17px; }

/* ==========================================================================
   Notices
   ========================================================================== */
.notice {
	position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px;
	background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.notice::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand-300); }
.notice--urgent::before { background: var(--urgent); }
.notice--event::before { background: var(--accent); }
.notice--meeting::before { background: var(--info); }
.notice--circular::before { background: var(--ok); }
.notice:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.notice--urgent { background: linear-gradient(135deg, #fff 70%, var(--urgent-100)); }
.notice.is-expired { opacity: .6; }
.notice__date {
	width: 62px; height: 68px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: var(--brand-50); color: var(--brand-700); font-family: var(--font-head);
	transition: background-color .35s, color .35s;
}
.notice:hover .notice__date { background: var(--brand-700); color: #fff; }
.notice--urgent .notice__date { background: var(--urgent-100); color: var(--urgent); }
.notice--urgent:hover .notice__date { background: var(--urgent); color: #fff; }
.notice__day { font-size: 24px; font-weight: 800; line-height: 1; }
.notice__mon { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.notice__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--ink-mute); }
.notice__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.notice__title a { color: var(--ink); background: linear-gradient(var(--brand-300), var(--brand-300)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.notice__title a:hover { color: var(--brand-700); background-size: 100% 2px; }
.notice__title a::after { content: ""; position: absolute; inset: 0; }
.notice__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; color: var(--brand-700); }
.notice__facts i { margin-right: 6px; color: var(--accent-600); }
.notice__excerpt { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.notice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; position: relative; z-index: 1; }

.grid--3 .notice { grid-template-columns: 1fr; }
.grid--3 .notice .notice__date { position: absolute; top: 22px; right: 22px; width: 52px; height: 56px; }
.grid--3 .notice .notice__meta { padding-right: 64px; }

.notice-list { display: grid; gap: 16px; }
.notice--row { grid-template-columns: auto 1fr; padding: 26px 28px; }

.board-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; position: sticky; top: calc(66px + 12px); z-index: 5; padding: 10px; border-radius: 99px; }
.board-bar.is-stuck { background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.search-inline { position: relative; display: flex; align-items: center; }
.search-inline i { position: absolute; left: 16px; color: var(--ink-mute); font-size: 14px; }
.search-inline input { width: min(280px, 70vw); padding: 11px 16px 11px 40px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font: 500 14px var(--font-body); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.search-inline input:focus { outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }

.pinned { margin-bottom: 44px; }
.pinned__title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--urgent); margin-bottom: 16px; }
.pinned__title i { transform: rotate(35deg); margin-right: 6px; }

.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: all .25s; }
.pagination .page-numbers:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pagination .page-numbers.current { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

.notice-single { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.notice-single__main:hover, .notice-single__side .card:hover { transform: none; box-shadow: var(--shadow-sm); }
.notice-single__main .prose { margin: 20px 0 32px; }
.notice-single__side { display: grid; gap: 20px; position: sticky; top: 96px; }
.files { display: grid; gap: 10px; }
.files a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--brand-50); color: var(--ink); transition: background-color .3s, transform .3s var(--ease); }
.files a:hover { background: var(--brand-100); transform: translateX(4px); color: var(--ink); }
.files__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--urgent); font-size: 18px; }
.files strong { display: block; font-size: 14px; line-height: 1.3; }
.files small { color: var(--ink-mute); font-size: 12px; }

/* ==========================================================================
   Filters (gallery + notices)
   ========================================================================== */
.filters {
	position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 99px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.filters[data-filter-group] { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 40px; }
.filters__glider { position: absolute; top: 0; left: 0; height: 0; border-radius: 99px; background: var(--brand-700); box-shadow: 0 8px 18px -8px rgba(41, 42, 134, .7); transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease); z-index: 0; }
.filters__btn {
	position: relative; z-index: 1; padding: 10px 18px; border: 0; border-radius: 99px; background: transparent; cursor: pointer;
	font: 600 14px var(--font-head); color: var(--ink-soft); transition: color .35s, background-color .3s; white-space: nowrap;
}
.filters__btn sup { font-size: 10px; margin-left: 2px; opacity: .6; }
.filters__btn:hover { color: var(--brand-700); }
.filters__btn.is-active { color: #fff; }
.filters--links .filters__btn.is-active { background: var(--brand-700); }
.filters--links .filters__btn:not(.is-active):hover { background: var(--brand-50); }
.js .filters[data-filter-group] .filters__btn.is-active { background: transparent; }
.no-js .filters .filters__btn.is-active, .filters:not(.has-glider) .filters__btn.is-active { background: var(--brand-700); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry--teaser { columns: 3 260px; }
.tile {
	position: relative; display: block; margin-bottom: 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden;
	background: var(--brand-100); transform: translateZ(0);
	transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 18, 63, .85)); opacity: 0; transition: opacity .45s; }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font: 700 16px/1.3 var(--font-head); opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tile__cap small { display: block; font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__play { position: absolute; top: 50%; left: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--brand-700); font-size: 20px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .2); transition: transform .4s var(--ease); }
.tile__play i { margin-left: 4px; }
.tile:hover .tile__play { transform: scale(1.12); }
.tile--noimg { aspect-ratio: 16 / 10; }
.tile__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: var(--brand-300); background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); }
.tile.is-hidden { display: none; }
.tile.is-leaving { opacity: 0; transform: scale(.94); }

/* ==========================================================================
   Committee
   ========================================================================== */
.term-pill { display: flex; width: fit-content; margin: 0 auto 40px; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 99px; background: var(--accent-100); color: #8a5a05; font: 700 14px var(--font-head); }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.members--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px)); justify-content: center; gap: 26px; }
.member {
	position: relative; text-align: center; padding: 34px 24px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
	box-shadow: var(--shadow-xs); overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.member::before { content: ""; position: absolute; inset: 0 0 auto; height: 92px; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); transition: height .6s var(--ease); z-index: 0; }
.member--featured::before { height: 110px; background: radial-gradient(circle at 80% 0, rgba(242, 178, 51, .35), transparent 60%), linear-gradient(135deg, var(--brand-800), var(--brand-600)); }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.member:hover::before { height: 104px; }
.member--featured:hover::before { height: 124px; }
.member > * { position: relative; z-index: 1; }
.member__photo {
	width: 116px; height: 116px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; padding: 4px;
	background: linear-gradient(135deg, var(--accent), var(--brand-500)); box-shadow: 0 14px 30px -12px rgba(41, 42, 134, .55);
	transition: transform .6s var(--ease);
}
.member--featured .member__photo { width: 136px; height: 136px; }
.member:hover .member__photo { transform: scale(1.05); }
.member__photo img, .member__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.member__initials { display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font: 800 34px var(--font-head); }
.member__name { font-size: 20px; margin: 14px 0 4px; }
.member--featured .member__name { font-size: 22px; }
.member__house { font-size: 13.5px; color: var(--ink-mute); margin: 0 0 8px; }
.member__house i { font-size: 11px; margin-right: 4px; }
.member__bio { font-size: 14px; color: var(--ink-soft); font-style: italic; margin: 8px 0 0; }
.member__contact { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.member__contact a {
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 15px;
	background: var(--brand-50); color: var(--brand-700); transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.member__contact a:hover { background: var(--brand-700); color: #fff; transform: translateY(-3px); }
.member__contact a[href^="https://wa.me"]:hover { background: #25d366; }

/* ==========================================================================
   About
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media { position: relative; padding: 0 24px 24px 0; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover .frame img { transform: scale(1.05); }
.split__media::before { content: ""; position: absolute; inset: 28px 0 0 28px; border-radius: var(--radius-lg); border: 2px solid var(--accent); z-index: -1; }
.split__media--brand .frame { background: radial-gradient(circle at 70% 20%, var(--brand-500), transparent 55%), linear-gradient(145deg, var(--brand-900), var(--brand-700)); display: grid; place-items: center; }
.frame__mark { width: 58%; aspect-ratio: 1; background: #fff; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; animation: bob 7s ease-in-out infinite; }
.float-badge { position: absolute; right: 0; bottom: 56px; padding: 18px 24px; border-radius: 18px; animation: bob 6s ease-in-out infinite; }
.float-badge strong { display: block; font: 800 32px/1 var(--font-head); color: var(--brand-700); }
.float-badge span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vm__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vm__card--dark { background: radial-gradient(400px 240px at 100% 0, rgba(242, 178, 51, .22), transparent 60%), linear-gradient(140deg, var(--brand-900), var(--brand-700)); border: 0; color: #fff; }
.vm__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 24px; font-size: 24px; background: var(--brand-50); color: var(--brand-700); }
.vm__card--dark .vm__icon { background: rgba(255, 255, 255, .12); color: var(--accent); }
.vm__text { font: 600 clamp(19px, 2vw, 24px)/1.45 var(--font-head); letter-spacing: -.01em; margin: 0; color: var(--ink); }
.vm__card--dark .vm__text { color: #fff; }

.timeline { position: relative; display: grid; gap: 28px; padding: 8px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--brand-100); }
.timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: var(--progress, 0%); background: linear-gradient(var(--accent), var(--brand-500)); transition: height .2s linear; }
.timeline__item { position: relative; width: 50%; padding-right: 44px; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 0 44px; }
.timeline__dot { position: absolute; top: 30px; right: -9px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-600); box-shadow: 0 0 0 6px var(--brand-50); }
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -9px; }
.timeline__item.is-visible .timeline__dot { border-color: var(--accent); transition: border-color .4s .3s; }
.timeline__year { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 99px; background: var(--accent-100); color: #8a5a05; font: 800 13px var(--font-head); letter-spacing: .04em; }

.value { text-align: left; }
.value__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 22px; font-size: 22px; color: var(--brand-700); background: var(--brand-50); transition: transform .5s var(--ease), background-color .35s, color .35s, border-radius .5s var(--ease); }
.value:hover .value__icon { background: var(--brand-700); color: var(--accent); transform: rotate(-8deg); border-radius: 50%; }

/* ==========================================================================
   Contact
   ========================================================================== */
.helplines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.helpline {
	position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 14px;
	padding: 20px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.helpline:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.helpline__icon { grid-row: span 3; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--brand-50); color: var(--brand-700); }
.helpline__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.helpline__num { font: 800 20px/1.25 var(--font-head); letter-spacing: -.01em; color: var(--brand-800); }
.helpline__call { font-size: 12px; font-weight: 600; color: var(--brand-500); margin-top: 4px; opacity: .7; transition: opacity .3s; }
.helpline:hover .helpline__call { opacity: 1; }
.helpline--sos { background: linear-gradient(135deg, var(--urgent), #b72620); border: 0; color: #fff; }
.helpline--sos:hover { color: #fff; box-shadow: 0 24px 40px -16px rgba(224, 65, 58, .7); }
.helpline--sos .helpline__icon { background: rgba(255, 255, 255, .18); color: #fff; animation: ring 2.4s ease-in-out infinite; }
.helpline--sos .helpline__label, .helpline--sos .helpline__call { color: rgba(255, 255, 255, .85); }
.helpline--sos .helpline__num { color: #fff; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 85% { transform: rotate(-6deg); } 90% { transform: rotate(4deg); } }

.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.contact__form { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; }
.contact__info { display: grid; gap: 20px; }
.contact__info .card:hover { transform: translateY(-4px); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
	width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
	font: 500 15.5px/1.4 var(--font-body); color: var(--ink); resize: vertical;
	transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--ink-mute); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--brand-600); font-weight: 600; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 14.5px; font-weight: 500; animation: enter .6s var(--ease) both; }
.alert i { margin-top: 3px; }
.alert--ok { background: var(--ok-100); color: #146a48; }
.alert--err { background: var(--urgent-100); color: #a52a24; }

.info-list { display: grid; gap: 14px; margin-top: 16px; }
.info-list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; color: var(--ink-soft); font-size: 15px; }
.info-list li > i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 15px; }
.info-list li > span, .info-list li > a { padding-top: 8px; }
.info-list a { color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--brand-600); }

.hours { margin: 12px 0 0; display: grid; gap: 4px; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; transition: background-color .3s; }
.hours__row dt { color: var(--ink-soft); font-weight: 500; }
.hours__row dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.hours__row dd.is-closed { color: var(--urgent); }
.hours__row.is-today { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--accent); }
.hours__row.is-today dt::after { content: "Today"; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--brand-950); font: 700 10px/1.6 var(--font-head); letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }

.map { height: clamp(320px, 45vw, 480px); position: relative; background: var(--brand-50); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }

/* ==========================================================================
   Empty states
   ========================================================================== */
.empty { text-align: center; padding: 40px 20px; border-radius: var(--radius); background: #fff; border: 1.5px dashed var(--brand-100); color: var(--ink-soft); }
.empty > i { font-size: 36px; color: var(--brand-300); margin-bottom: 14px; display: block; }
.empty p { margin: 0; }
.empty--lg { padding: clamp(48px, 8vw, 88px) 24px; }
.empty--lg h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.empty--lg .btn { margin-top: 20px; }
.empty--search { margin-top: 16px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--brand-950); color: rgba(255, 255, 255, .7); padding-top: clamp(64px, 8vw, 96px); font-size: 15px; }
.site-footer__glow { position: absolute; z-index: -1; left: 50%; top: -240px; width: 900px; height: 420px; margin-left: -450px; border-radius: 50%; background: var(--brand-600); filter: blur(120px); opacity: .45; }
.site-footer::after { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -60px; width: 420px; height: 420px; opacity: .04; background: #fff; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer__about p { margin: 20px 0 24px; max-width: 340px; }
.brand--light { color: #fff; }
.site-footer__title { color: #fff; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { color: rgba(255, 255, 255, .7); display: inline-flex; gap: 8px; flex-wrap: wrap; transition: color .25s, transform .3s var(--ease); }
.site-footer__links a span { color: var(--accent); font-weight: 600; }
.site-footer__links a:hover { color: #fff; transform: translateX(4px); }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; }
.site-footer__contact i { color: var(--accent); margin-top: 5px; width: 16px; }
.site-footer__contact a { color: rgba(255, 255, 255, .85); }
.site-footer__contact a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .3s, transform .35s var(--ease), color .3s; }
.socials a:hover { background: var(--accent); color: var(--brand-950); transform: translateY(-3px); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.site-footer__motto { font: 600 12px var(--font-head); letter-spacing: .4em; text-transform: uppercase; color: var(--accent); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 50px; height: 50px; border: 0; border-radius: 16px; cursor: pointer; background: var(--brand-700); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background-color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--brand-950); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"]  { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"]  { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Cards that also have hover transforms: hand transform back to them once revealed. */
.js .card[data-reveal].is-visible:hover, .js .member[data-reveal].is-visible:hover { transform: translateY(-6px); }
.js .tile[data-reveal].is-visible { transition-delay: 0s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nav__links, .nav__cta { display: none; }
	.nav__toggle { display: block; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__emblem { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.notice-single { grid-template-columns: 1fr; }
	.notice-single__side { position: static; }
}
@media (max-width: 860px) {
	.split, .contact, .vm { grid-template-columns: 1fr; }
	.split__media { max-width: 520px; }
	.bento { grid-template-columns: 1fr; grid-template-rows: none; }
	.bento__item, .bento__item:first-child, .bento__item:only-child, .bento__item:nth-child(2):last-child { grid-row: auto; grid-column: auto; min-height: 300px; }
	.timeline::before, .timeline::after { left: 9px; }
	.timeline__item, .timeline__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 0 40px; }
	.timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
	.js .timeline [data-reveal="left"], .js .timeline [data-reveal="right"] { transform: translateY(28px); }
	.board-bar { position: static; padding: 0; }
}
@media (max-width: 600px) {
	body { font-size: 15.5px; }
	:root { --header-h: 68px; }
	.brand__mark { width: 40px; height: 40px; border-radius: 11px; }
	.brand__text strong { font-size: 16px; }
	.hero { padding-bottom: 120px; }
	.hero__scroll { display: none; }
	.btn-row .btn { flex: 1 1 100%; }
	.stats { margin-top: -64px; }
	.stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
	.stat__icon { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
	.stat__value { font-size: 24px; }
	.stat__value--status { font-size: 15px; line-height: 24px; }
	.status { font-size: 15px; }
	.stat__label { font-size: 12.5px; }
	.form__row { grid-template-columns: 1fr; }
	.notice, .notice--row { grid-template-columns: 1fr; padding: 22px; }
	.notice .notice__date, .notice--row .notice__date { position: absolute; top: 20px; right: 20px; width: 50px; height: 54px; }
	.notice .notice__meta { padding-right: 60px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.filters[data-filter-group] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; justify-content: flex-start; }
	.filters--links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
	.search-inline, .search-inline input { width: 100%; }
	.tile__cap { opacity: 1; transform: none; }
	.tile::after { opacity: .9; }
	.masonry { columns: 2 150px; column-gap: 12px; }
	.tile { margin-bottom: 12px; }
	.ticker { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], [data-enter] { opacity: 1; transform: none; }
	.ticker__track { animation: none; }
}

/* ---------- Account dropdown (logged-in resident) ---------- */
.account { position: relative; }
.account__btn { gap: 9px; padding-right: 14px; }
.account__pic { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin-left: -6px; box-shadow: 0 0 0 2px rgba(17, 18, 63, .25); }
.account__caret { font-size: 10px; margin-left: 2px; transition: transform .3s var(--ease); }
.account.is-open .account__caret { transform: rotate(180deg); }
.account__menu {
	position: absolute; right: 0; top: calc(100% + 12px); z-index: 120; min-width: 236px; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
	transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.account__menu::before { content: ""; position: absolute; top: -6px; right: 28px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.account.is-open .account__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.account__head { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.account__head strong { display: block; font: 700 15px/1.3 var(--font-head); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.account__head span { font-size: 12.5px; color: var(--ink-mute); }
.account__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink-soft); font: 600 14.5px var(--font-head); transition: background-color .2s, color .2s; }
.account__item i { width: 18px; text-align: center; color: var(--brand-500); transition: transform .3s var(--ease); }
.account__item:hover, .account__item:focus-visible { background: var(--brand-50); color: var(--brand-700); }
.account__item:hover i { transform: translateX(2px); }
.account__item.is-current { color: var(--brand-700); background: var(--brand-50); }
.account__item.is-danger { color: var(--urgent); }
.account__item.is-danger i { color: var(--urgent); }
.account__item.is-danger:hover { background: var(--urgent-100); color: var(--urgent); }
.account__menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.mobile-menu__foot .btn + .btn { margin-left: 8px; }
.site-footer__legal { color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; } .site-footer__legal:hover { color: var(--accent); }
.prose--page h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 2em 0 .6em; color: var(--brand-800); }
.prose--page h2:first-child { margin-top: 0; }
.prose--page ul { margin: 0 0 1.2em; }
.prose--page li { margin-bottom: .4em; }

/* ---------- Gallery: category tabs → albums ---------- */
.gcat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-bottom: clamp(32px, 4vw, 48px); }
.gcat__tab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease), background-color .25s; }
.gcat__tab:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.gcat__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: var(--brand-50); color: var(--brand-700); transition: background-color .25s, color .25s; }
.gcat__text strong { display: block; font: 700 15.5px/1.3 var(--font-head); color: var(--ink); }
.gcat__text small { font-size: 12.5px; color: var(--ink-mute); }
.gcat__tab.is-active { border-color: var(--brand-700); background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); box-shadow: 0 16px 32px -14px rgba(41, 42, 134, .6); }
.gcat__tab.is-active .gcat__icon { background: rgba(255, 255, 255, .14); color: var(--accent); }
.gcat__tab.is-active strong { color: #fff; }
.gcat__tab.is-active small { color: rgba(255, 255, 255, .75); }

.js .gpanel { display: none; }
.js .gpanel.is-active { display: block; animation: enter .5s var(--ease) both; }
.gpanel + .gpanel { margin-top: 56px; }   /* no-JS: categories stacked with headings */
.js .gpanel + .gpanel { margin-top: 0; }
.gpanel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gpanel__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: var(--accent); background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); }
.gpanel__title { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.gpanel__meta { margin: 2px 0 0; color: var(--ink-mute); font-size: 14px; }

.galbum { margin-bottom: clamp(36px, 5vw, 56px); }
.galbum__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.galbum__title { margin: 0 0 4px; font-size: clamp(18px, 2vw, 21px); }
.galbum__title::before { content: ""; display: inline-block; width: 6px; height: 18px; margin-right: 10px; border-radius: 3px; background: var(--accent); vertical-align: -2px; }
.galbum__meta { margin: 0; font-size: 13.5px; color: var(--ink-mute); }
.galbum__meta i { color: var(--brand-500); margin-right: 3px; }
.galbum__meta span { margin: 0 4px; }
.galbum__text { margin: -4px 0 16px; color: var(--ink-soft); font-size: 15px; max-width: 760px; }
.galbum__grid { margin-bottom: 0; }
.galbum__more { margin-top: 4px; }
.tile[hidden] { display: none; }
@media (max-width: 600px) {
	.gcat { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
	.gcat__tab { scroll-snap-align: start; }
}
