/* ============================================================
   Page: 30th Anniversary (page-anniversary.php) (Figma "30th Anniversary Timeline and Page")
   ============================================================ */
.anniv-hero, .anniv {
	--navy: #2e446e;
	--navy-deep: #1b2a47;
	--navy-ink: #14203a;
	--cyan: #00a2cf;
	--silver: #cdcfd3;
	--silver-50: #f4f5f7;
	--silver-100: #e8eaed;
	--silver-500: #8c929c;
	--text: #565e66;
	--ink: #24303f;
	--muted-on-navy: #c9d1dd;
	--silver-grad: linear-gradient(180deg, #fff 0%, #e9ecf0 30%, #aeb4bd 52%, #f3f4f6 70%, #c3c8cf 100%);
	--shadow-card: 0 6px 9px rgba(20, 32, 58, .10);
	--shadow-lg: 0 18px 20px rgba(20, 32, 58, .14);
}
html { scroll-behavior: smooth; }

/* --- Shared --- */
.anniv-sec { padding: 100px 0; }
.anniv-head { text-align: center; margin-bottom: 56px; }
.anniv-head h2 { font-size: 36px; line-height: 43.2px; font-weight: 300; color: var(--navy); margin: 0; }
.anniv-head p { font-size: 18px; line-height: 28.8px; color: var(--text); margin: 20px 0 0; }
.anniv-divider { display: block; width: 140px; height: 18px; margin: 16px auto 0; }
.anniv-bg { background-color: #fff; background-position: center bottom; background-size: 132.42% 100%; background-repeat: no-repeat; }
.anniv-bg-flip { background-position: center top; }
.anniv-bg-flip .anniv-media { padding-top: 0; }
.anniv .button.has-arrow, .anniv-hero .button.has-arrow { min-width: 246px; }

/* --- Hero (theme header overlays it on large screens) --- */
.anniv-hero { position: relative; min-height: 764px; padding: 253px 0 80px; color: #fff; background-color: var(--navy); background-size: cover; background-position: center 22%; overflow: hidden; }
.anniv-hero::before { content: ""; position: absolute; inset: 0; background: rgba(46, 68, 110, .8); }
.anniv-hero > .row { position: relative; }
.anniv-hero-title { font-size: 52px; line-height: 58.24px; letter-spacing: .52px; margin: 0; }
.anniv-hero-title strong { display: block; font-weight: 700; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.anniv-hero-lede { margin: 23px 0 0; font-size: 20px; line-height: 32px; font-weight: 400; color: #dde2ea; max-width: 507px; }
.anniv-btn-outline { margin-top: 32px; font-size: 15px; background-color: transparent; border: 1px solid #fff !important; }
.anniv-btn-outline:hover, .anniv-btn-outline:focus { background-color: #fff; color: var(--navy); }
.anniv-badge { position: relative; width: 448px; max-width: 100%; aspect-ratio: 720 / 706; margin: -53px 0 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.anniv-badge img, .anniv-badge canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s ease; }
.anniv-badge canvas { opacity: 0; }
.anniv-badge.live canvas { opacity: 1; }
.anniv-badge.live img { opacity: 0; }
.anniv-badge video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

/* --- 30 years: intro + stats --- */
.anniv-intro { display: flex; align-items: center; }
.anniv-intro-photo { margin: 0; height: 476px; overflow: hidden; }
.anniv-intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.anniv-intro-card { position: relative; background: #fff; box-shadow: var(--shadow-lg); padding: 47px 44px 40px; margin-left: -85px; }
.anniv-eyebrow { display: block; font-weight: 700; font-size: 14px; line-height: 16px; letter-spacing: .84px; text-transform: uppercase; color: var(--navy); }
.anniv-intro-card h3 { margin: 9px 0 0; font-size: 30px; line-height: 36px; font-weight: 300; color: var(--cyan); }
.anniv-intro-card p { margin: 14px 0 0; font-size: 16px; line-height: 25.6px; color: var(--text); }
.anniv-intro-card .button { margin-top: 24px; }
.anniv-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 64px 0 0; list-style: none; background: #fff; border: 1px solid var(--silver-100); box-shadow: var(--shadow-card); }
.anniv-stats li { text-align: center; border-right: 1px solid var(--silver-100); padding: 28px 24px 30px; }
.anniv-stats li:last-child { border-right: 0; }
.anniv-stats b { display: block; font-variant-numeric: tabular-nums; font-size: 46px; line-height: 46px; font-weight: 800; letter-spacing: -.46px; color: var(--navy); }
.anniv-stats span { display: block; margin-top: 17px; font-size: 14px; line-height: 18.9px; color: var(--text); }

/* --- Timeline --- */
.anniv-timeline-sec { background: var(--navy-deep); }
.anniv-timeline-sec .anniv-head { margin-bottom: 0; }
.anniv-timeline-sec .anniv-head h2 { color: #fff; }
.anniv-timeline-sec .anniv-head p { color: var(--muted-on-navy); }
.anniv-eras { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.anniv-eras a { color: #fff; border: 1px solid rgba(205, 207, 211, .45); padding: 9px 14px; font-size: 13px; line-height: 20.8px; font-weight: 500; letter-spacing: .52px; border-radius: 20px; transition: .3s all; }
.anniv-eras a:hover, .anniv-eras a:focus, .anniv-eras a.active { background: #fff; color: var(--navy); border-color: #fff; }
.anniv-tl-hint { text-align: center; margin: 14px 0 0; font-size: 14px; color: var(--muted-on-navy); }
.anniv-tl { position: relative; max-width: 1060px; margin: 56px auto 0; list-style: none; padding: 0; }
.anniv-tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--silver-grad); }
.anniv-tl > li[hidden] { display: none; }
.anniv-era { position: relative; display: flex; justify-content: center; padding: 0 0 56px; scroll-margin-top: 24px; }
.anniv-ev + .anniv-era { padding-top: 56px; }
.anniv-tl.filtered .anniv-era { padding-top: 0; }
.anniv-era-box { background: var(--navy-deep); min-width: 443px; text-align: center; padding: 8px 24px; }
.anniv-era-box small { display: block; font-size: 13px; line-height: 15.6px; font-weight: 700; letter-spacing: 3.12px; text-transform: uppercase; color: var(--cyan); }
.anniv-era-box h3 { margin: 4px 0 0; font-size: 26px; line-height: 31.2px; font-weight: 300; color: #fff; }
.anniv-chip { display: inline-block; margin-top: 14px; padding: 0 8px; height: 18px; line-height: 18px; border-radius: 2px; background: var(--silver-grad); color: var(--navy-ink); font-size: 11px; font-weight: 700; letter-spacing: 1.76px; text-transform: uppercase; }
.anniv-era-presidents { display: block; margin-top: 7px; font-size: 15px; line-height: 24px; color: var(--muted-on-navy); }
.anniv-ev { position: relative; width: 50%; }
.anniv-ev.r { margin-left: 50%; padding-left: 48px; }
.anniv-ev.l { padding-right: 48px; }
.anniv-ev::before { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--silver-grad); border: 3px solid var(--navy-deep); box-shadow: 0 0 0 2px var(--silver); transition: transform .35s ease, box-shadow .35s ease; z-index: 1; }
.anniv-ev.r::before { left: -15px; }
.anniv-ev.l::before { right: -15px; }
.anniv-ev:hover::before { transform: scale(1.15); box-shadow: 0 0 0 2px var(--cyan); }
.anniv-card { background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); padding: 22px 24px; transition: transform .35s ease, box-shadow .35s ease; }
.anniv-ev:hover .anniv-card { transform: scale(1.035); box-shadow: 0 20px 40px rgba(0, 0, 0, .32); }
.anniv-when { display: flex; align-items: baseline; gap: 10px; }
.anniv-yr { font-size: 30px; line-height: 30px; font-weight: 800; color: var(--navy); }
.anniv-dt { font-size: 13px; line-height: 20.8px; font-weight: 700; letter-spacing: 1.04px; text-transform: uppercase; color: var(--silver-500); }
.anniv-card h4 { margin: 7px 0 0; font-size: 19px; line-height: 24.7px; font-weight: 500; color: var(--ink); }
.anniv-card p, .anniv-card li { font-size: 15.5px; line-height: 24.8px; color: var(--text); }
.anniv-card p { margin: 9px 0 0; }
.anniv-card ul { margin: 9px 0 0 15px; }
.anniv-card summary { list-style: none; cursor: pointer; position: relative; padding-right: 56px; }
.anniv-card summary::-webkit-details-marker { display: none; }
.anniv-chev { position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1.5px solid var(--silver-100); background: var(--silver-50); transition: transform .3s ease, background-color .3s ease, border-color .3s ease; }
.anniv-chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translate(-50%, -70%) rotate(45deg); }
.anniv-card:hover .anniv-chev { border-color: var(--cyan); }
.anniv-card[open] .anniv-chev { transform: rotate(180deg); background: var(--cyan); border-color: var(--cyan); }
.anniv-card[open] .anniv-chev::before { border-color: #fff; }
.anniv-more { padding: 2px 56px 2px 0; }

/* --- Founders --- */
.anniv-founders { display: flex; align-items: flex-start; }
.anniv-vision { box-shadow: var(--shadow-lg); padding: 40px 36px 36px; color: #fff; }
.anniv-vision h3 { font-size: 30px; line-height: 36px; font-weight: 300; color: #fff; margin: 0; }
.anniv-vision p { margin: 18px 0 0; font-size: 16px; line-height: 25.6px; color: #d6dce6; }
.anniv-person { margin-top: 22px; }
.anniv-person b { display: block; font-size: 18px; line-height: 28.8px; font-weight: 500; color: var(--cyan); }
.anniv-person span { display: block; margin-top: 6px; font-size: 13px; line-height: 15px; letter-spacing: 1.56px; text-transform: uppercase; color: var(--silver); }
.anniv-list-title { font-size: 30px; line-height: 36px; margin: 40px 0 0; }
.anniv-names { list-style: none; margin: 21px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--silver-100); border-left: 1px solid var(--silver-100); }
.anniv-names li { min-height: 54px; padding: 0 10px 0 33px; position: relative; display: flex; align-items: center; border-right: 1px solid var(--silver-100); border-bottom: 1px solid var(--silver-100); font-weight: 400; font-size: 15.5px; line-height: 24.8px; color: var(--ink); }
.anniv-names li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; transform: rotate(45deg); background: var(--cyan); }

/* --- Presidents --- */
.anniv-pres .column { padding-bottom: 28px; }
.anniv-pres-founders { display: flex; justify-content: center; }
.anniv-pcard { background: #fff; border-top: 4px solid var(--cyan); box-shadow: var(--shadow-card); text-align: center; padding: 28px 16px 32px; transition: transform .35s ease, box-shadow .35s ease; }
.anniv-pcard.is-founder { border-top-color: var(--navy); }
.anniv-pcard:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(20, 32, 58, .18); }
.anniv-portrait { width: 132px; height: 132px; margin: 0 auto; border-radius: 50%; padding: 5px; background: var(--silver-grad); }
.anniv-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.anniv-pcard h3 { margin: 20px 0 0; font-size: 21px; line-height: 25.2px; font-weight: 500; color: var(--ink); }
.anniv-pcard-term { display: block; margin-top: 9px; font-size: 16px; line-height: 25.6px; font-weight: 700; letter-spacing: 1.28px; color: var(--navy); }
.anniv-pcard-role { display: block; margin-top: 4px; font-size: 13px; line-height: 20.8px; font-weight: 700; letter-spacing: 1.82px; text-transform: uppercase; color: var(--cyan); }
.anniv-board { margin-top: 20px; background: #fff; box-shadow: var(--shadow-card); }
.anniv-board summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 18px 6px 24px; font-size: 20px; line-height: 28px; font-weight: 400; color: var(--navy); }
.anniv-board summary::-webkit-details-marker { display: none; }
.anniv-toggle { flex: 0 0 32px; width: 32px; height: 32px; margin-right: 8px; transform: rotate(45deg); background: var(--navy); display: grid; place-items: center; transition: transform .3s ease; }
.anniv-toggle::before { content: "+"; color: #fff; font-weight: 700; font-size: 20px; line-height: 1; }
.anniv-board:not([open]) .anniv-toggle { transform: none; }
.anniv-board-list { columns: 4; column-gap: 24px; padding: 10px 24px 24px; margin: 0; list-style: none; }
.anniv-board-list li { break-inside: avoid; padding: 4px 0 3px; border-bottom: 1px solid var(--silver-100); margin-bottom: 4px; font-size: 15px; line-height: 20px; color: var(--ink); font-weight: 400; }

/* --- Media --- */
.anniv-videos .column { padding-bottom: 24px; }
.anniv-video { display: block; height: 100%; background: #fff; box-shadow: var(--shadow-card); color: inherit; transition: box-shadow .35s ease; }
.anniv-video:hover { box-shadow: 0 14px 26px rgba(20, 32, 58, .16); }
.anniv-thumb { position: relative; aspect-ratio: 1069 / 542; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; background: var(--navy); }
.anniv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.anniv-video:hover .anniv-thumb img { transform: scale(1.06); }
.anniv-play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .3s ease, background-color .3s ease; }
.anniv-play::after { content: ""; margin-left: 7px; border-left: 18px solid var(--navy); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.anniv-video:hover .anniv-play { transform: scale(1.12); background: var(--cyan); }
.anniv-video:hover .anniv-play::after { border-left-color: #fff; }
.anniv-cap { padding: 16px 18px; }
.anniv-cap h3 { margin: 0; font-size: 17px; line-height: 20.4px; font-weight: 500; color: var(--ink); }
.anniv-sub { display: block; margin-top: 5px; font-size: 14px; line-height: 22.4px; color: var(--text); }
.anniv-watch { display: block; margin-top: 10px; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cyan); }

/* --- Quote --- */
.anniv-quote { background: var(--silver-50); }
.anniv-quote blockquote { margin: 0 0 38px; padding: 0; border: 0; }
.anniv-quote blockquote p { font-size: 26px; line-height: 39px; font-weight: 300; color: var(--navy); margin: 0; }
.anniv-quote cite { display: block; margin-top: 31px; font-style: normal; letter-spacing: .64px; }
.anniv-quote cite::before { content: none; }
.anniv-quote cite b { display: block; font-weight: 700; font-size: 16px; line-height: 25.6px; color: var(--ink); }
.anniv-quote cite span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; line-height: 22.4px; color: var(--text); }

/* --- Responsive (theme header is static below 1025px) --- */
@media all and (max-width: 1024px) {
	.anniv-sec { padding: 60px 0; }
	.anniv-hero { min-height: 0; padding: 60px 0; }
	.anniv-hero-title { font-size: 40px; line-height: 46px; }
	.anniv-badge { margin: 40px auto 0; }
	.anniv-intro, .anniv-founders { display: block; }
	.anniv-intro-photo { height: auto; }
	.anniv-intro-card { margin: 24px 0 0; padding: 32px 24px; }
	.anniv-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
	.anniv-stats li { border-bottom: 1px solid var(--silver-100); }
	.anniv-tl::before { left: 12px; }
	.anniv-era { justify-content: flex-start; }
	.anniv-era-box { min-width: 0; text-align: left; padding-left: 40px; }
	.anniv-ev, .anniv-ev.r, .anniv-ev.l { width: auto; margin-left: 0; padding: 0 0 24px 44px; }
	.anniv-ev.r::before, .anniv-ev.l::before { left: 0; right: auto; }
	.anniv-vision { margin-bottom: 32px; }
	.anniv-list-title { margin-top: 0; }
	.anniv-names { grid-template-columns: repeat(2, 1fr); }
	.anniv-board-list { columns: 2; }
}
@media all and (max-width: 639px) {
	.anniv-names { grid-template-columns: 1fr; }
	.anniv-board-list { columns: 1; }
	.anniv-quote blockquote p { font-size: 21px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.anniv-hero *, .anniv *, .anniv *::before { transition-duration: 0s !important; animation: none !important; }
}
