@charset "UTF-8";
/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@font-face {
	font-family: "Noto Sans";
	src: url("https://static.gigabyte.com/Other/fonts/Noto_Sans/noto-sans-v39-latin-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Sans";
	src: url("https://static.gigabyte.com/Other/fonts/Noto_Sans/noto-sans-v39-latin-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
/* 繁中 CJK */
/* @font-face {
	font-family: "Noto Sans TC";
	src: url("https://static.gigabyte.com/Other/fonts/Noto_Sans/NotoSans-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Sans TC";
	src: url("https://static.gigabyte.com/Other/fonts/Noto_Sans_TC/noto-sans-tc-v26-latin_chinese-traditional-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Sans TC";
	src: url("https://static.gigabyte.com/Other/fonts/Noto_Sans_TC/noto-sans-tc-v26-latin_chinese-traditional-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
} */

/* 英文字型 */
@font-face {
	font-family: "Orbitron";
	src: url('https://static.gigabyte.com/Other/fonts/fontbundle/s/orbitron/v34/yMJRMIlzdpvBhQQL_Qq7dy0.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.fontNOTOTC {
	font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
/* ===== Scrollbar ===== */
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-button{width:0;height:0}
::-webkit-scrollbar-thumb{background: #555555;border:0 none #fff}
::-webkit-scrollbar-thumb:hover{background:gray}
::-webkit-scrollbar-thumb:active{background:gray}
::-webkit-scrollbar-track{background:#000;border:0 none #fff;border-radius:50px}
::-webkit-scrollbar-track:hover{background:#000}
::-webkit-scrollbar-track:active{background:#333}
::-webkit-scrollbar-corner{background:transparent}

/* ===== CSS RESET ===== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html, body {
	height: 100%;
	width: 100%;
	max-width: 100%;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img,picture,video,canvas,svg {
	display: block;
	max-width: 100%;
}
button,input,textarea,select {
	font: inherit;
}
ul, ol {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
}

/* ===== BASE ===== */
section {
	position: relative;
	width: 100%;
	min-width: 0;
}
body {
	background: black;
	color: white;
	font-family: "Noto Sans", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
	overflow-x: hidden;
}
:root {
	--container: 1280px;
	--hero-content-width: 1000px;
	--tab-top: 0px;
	--year-col: 120px;
	--accent: #d90000;
	--card-offset: 32px;
}
.container {
	width: min(calc(100% - 40px), var(--container));
	margin: 0 auto;
}

/* ===== Patterns ===== */
.pattern-wrap {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 0;
	align-self: start;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
}
.pattern {
	position: absolute;
	z-index: 0;
	opacity: 0;
	transform: translateY(8px) scale(0.985);
	filter: blur(2px) brightness(0.7);
}
.pattern1 {
	left: 1%;
	top: 10%;
	width: 25px;
}
.pattern2 {
	left: 1%;
	top: 2%;
	width: 700px;
}
.pattern3 {
	left: 1%;
	bottom: 2%;
	width: 500px;
}
.pattern4 {
	right: 1%;
	bottom: 2%;
	width: 450px;
}
.pattern5 {
	right: 1%;
	top: 2%;
	width: 20px;
}
.pattern6 {
	left: 10%;
	top: 5%;
	width: 25px;
}
.pattern7 {
	left: 15%;
	top: 5%;
	width: 250px;
}
.pattern8 {
	left: 1%;
	top: 10%;
	width: 20px;
}
.pattern9 {
	right: 1%;
	top: 10%;
	width: 20px;
}
.pattern10 {
	left: 1%;
	bottom: 5%;
	width: 20px;
}
.pattern11 {
	right: 1%;
	bottom: 5%;
	width: 20px;
}
.pattern12 {
	right: 5%;
	top: 5%;
	width: 300px;
}
.pattern13 {
	right: 0%;
	top: calc(50% - 300px);
	height: 800px;
}
.pattern-wrap.is-animate .pattern {
	animation: hudBoot 1.4s cubic-bezier(.22,.61,.36,1) forwards;
}
.pattern-wrap.is-animate .pattern1, .pattern-wrap.is-animate .pattern3-1, .pattern-wrap.is-animate .pattern4-1 {
	animation-delay: 0.15s;
}
.pattern-wrap.is-animate .pattern2-1, .pattern-wrap.is-animate .pattern3-4, .pattern-wrap.is-animate .pattern5-1, .pattern-wrap.is-animate .pattern7-1, .pattern-wrap.is-animate .pattern9, .pattern-wrap.is-animate .pattern10 {
	animation-delay: 0.55s;
}
.pattern-wrap.is-animate .pattern2-2, .pattern-wrap.is-animate .pattern4-2, .pattern-wrap.is-animate .pattern5-2, .pattern-wrap.is-animate .pattern6, .pattern-wrap.is-animate .pattern13 {
	animation-delay: 0.95s;
}
.pattern-wrap.is-animate .pattern3-2, .pattern-wrap.is-animate .pattern12 {
	animation-delay: 0.35s;
}
.pattern-wrap.is-animate .pattern3-3, .pattern-wrap.is-animate .pattern4-3, .pattern-wrap.is-animate .pattern7-2, .pattern-wrap.is-animate .pattern8, .pattern-wrap.is-animate .pattern11 {
	animation-delay: 0.65s;
}
@keyframes hudBoot {
	0% {
		opacity: 0;
		transform: translateY(12px) scale(0.97);
		filter: blur(5px) brightness(0.5);
	}
	20% {
		opacity: 0.3;
		transform: translateY(6px) scale(0.985);
		filter: blur(2px) brightness(0.9);
	}
	42% {
		opacity: 0.95;
		transform: translateY(0) scale(1);
		filter: blur(0) brightness(1.7) contrast(1.2);
	}
	48% {
		opacity: 0.65;
		filter: brightness(0.8) contrast(0.9);
	}
	60% {
		opacity: 1;
		filter: brightness(1.25);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0) brightness(1) contrast(1);
	}
}

/* ===== Hero ===== */
.logo40th {
	position: absolute;
	top: -150px;
	left: 50%;
	width: 130px;
	transform: translate3d(-50%, 30px, 0);
	opacity: 0;
	visibility: hidden;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .75)) drop-shadow(0 0 14px rgba(255, 255, 255, .24));
	backface-visibility: hidden;
	will-change: opacity, transform;
	/* z-index: 2; */
}
.logo40th.is-ready {
	visibility: visible;
}
.logo40th.is-visible {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}
.hero {
	position: relative;
	display: grid;
	height: 100vh;
	min-height: 720px;
	overflow: hidden;
	/* background: #000;
	color: #fff; */
}
.hero > .pattern-wrap,
.hero > .hero__inner {
	grid-area: 1 / 1;
}
.video-container {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
	will-change: opacity;
	transform: translateZ(0);
}
.hero .video-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.bgvideo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(1);
}
.hero__inner {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	text-align: center;
	padding: 80vh 24px 24px;
}
.hero__content {
	position: relative;
	width: min(100%, var(--hero-content-width));
	margin: 0 auto;
}
.hero__title {
	margin: 0;
	font-size: clamp(45px, 7vw, 90px);
	line-height: 1.05;
	letter-spacing: .2em;
	font-weight: 200;
	opacity: 0;
	transform: translateY(18px) scaleY(.88);
}
.hero__title.is-visible {
	opacity: 1;
	transform: translateY(0) scaleY(.88);
}
.hero__desc {
	margin: 20px auto 0;
	font-size: clamp(16px, 1.5vw, 22px);
	line-height: 1.7;
	opacity: 0;
	transform: translateY(28px);
}
.hero__desc p {
	font-size: 1rem;
	line-height: 1.5rem;
	margin-bottom: 1rem;
}
.hero__desc p:last-child {
	margin-bottom: 0;
}
.hero__extra {
	margin: 24px auto 0;
	width: min(100%, 800px);
	padding: 20px 0;
	opacity: 0;
	transform: translateY(36px);
}
.hero__extra.is-hidden {
	display: none;
}
.hero__extra iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* ===== Milestone ===== */
.timeline-section {
	background: black;
	position: relative;
	display: grid;
	overflow-x: clip;
	padding: 80px 0 0;
	/* background: #e9e9e9; */
}
.timeline-section > .video-container {
	position: sticky;
	top: 0;
	z-index: 0;
	grid-area: 1 / 1;
	align-self: start;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}
.timeline-bgvideo {
	opacity: .25;
}
.timeline-section > .pattern-wrap, .timeline-section > .RandomTyping, .timeline-section > .container {
	grid-area: 1 / 1;
}
.timeline-section > .pattern-wrap {
	z-index: 1;
}
.timeline-section > .container {
	position: relative;
	z-index: 2;
	min-width: 0;
}
.RandomTyping {
	position: sticky;
	top: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	width: max-content;
	height: 100vh;
	margin-left: auto;
	margin-right: 2%;
	transform: rotate(-90deg);
	transform-origin: center right;
	pointer-events: none;
	opacity: .7;
}
.RandomTyping > span {
	display: block;
	/* font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; */
	font-size: clamp(18px, 1.1vw, 26px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 1.28em;
	white-space: nowrap;
}
.RandomTyping > span:nth-child(2) {
	margin-left: clamp(20px, 2.2vw, 44px);
}
.RandomTyping__glitch {
	display: inline-block;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: -1px 0 rgba(255, 0, 85, 0.65), 1px 0 rgba(0, 229, 255, 0.65);
	filter: blur(0.4px);
	transform: translate3d(0, 0, 0);
}
.section-title {
	margin: 0 0 24px;
	text-align: center;
	font-size: clamp(28px, 3.5vw, 48px);
	font-weight: 400;
	letter-spacing: .15em;
}
.tabs-wrap {
	position: sticky;
	top: var(--tab-top);
	z-index: 30;
	display: flex;
	justify-content: center;
	width: 100%;
	min-width: 0;
	background: transparent;
	backdrop-filter: blur(0);
	transition: background .25s ease, backdrop-filter .25s ease;
	padding: 12px 0;
	margin-bottom: 24px;
}
.tabs-wrap.is-stuck {
	/* background: rgba(0, 0, 0, .72); */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%);
	backdrop-filter: blur(10px);
}
.tabs {
	display: flex;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	gap: 10px;
	justify-content: center;
	overflow-x: auto;
	overflow-y: hidden;
	flex-wrap: nowrap;
	padding: 0 2px 4px;
	cursor: grab;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.tabs.is-dragging {
	cursor: grabbing;
}
.tabs::-webkit-scrollbar {
	height: 6px;
}
.tab-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	border: 0;
	background: linear-gradient(135deg,  #474747 0%,#6a6a6a 100%);
	color: white;
	padding: 14px 24px;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.tab-btn.is-active, .tab-btn:hover {
	background: linear-gradient(135deg,  #00A3FF 0%,#FF32AF 100%);
	transform: translateY(-1px);
}
.timeline-layout {
	display: grid;
	grid-template-columns: var(--year-col) 1fr;
	gap: 28px;
	align-items: start;
}
.years-col {
	background: url(../images/grid.svg) repeat-y top right;
	background-size: 25px auto;
	position: sticky;
	top: 92px;
	align-self: start;
	height: fit-content;
	max-height: calc(100vh - 120px);
	overflow: auto;
	padding: 6px 0 20px;
	min-height: 50vh;
	margin-bottom: 50px;
}
#yearsRail{
	overflow: auto;
	max-height: calc(100vh - 120px);
}
.years-col::-webkit-scrollbar, #yearsRail::-webkit-scrollbar {
	width: 0;
	height: 0;
}
.year-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 10px 0;
	margin: 0 0 18px;
	color: white;
	font-size: 24px;
	line-height: 1;
	opacity: .55;
	cursor: pointer;
	transform-origin: left center;
	transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.year-item:hover {
	opacity: .9;
}
.year-item.is-active {
	/* color: var(--accent); */
	opacity: 1;
	transform: scale(1.12);
	font-weight: 400;
}
.year-item.is-active::after {
	content: '';
	width: 0;
	height: 0;
	color: #bebebe;
	border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
	flex: 0 0 auto;
}
.btn {
	display: inline-block;
	margin-top: 18px;
	padding: 5px 20px;
	background: linear-gradient(135deg,  #00A3FF 0%,#FF32AF 100%);
	color: white;
	font-size: 1rem;
	font-weight: 600;
	transition: background .2s ease, transform .2s ease;
}
.btn.ComingSoon, .btn.ComingSoon:hover {
	cursor: default;
	background: #474747;
	color: #c2c2c2;
}
.btn:hover {
	background: linear-gradient(135deg,  #ffffff 0%,#00A3FF 100%);
	color: black;
}
.btn-menu {
	position: relative;
	display: inline-block;
	margin-top: 18px;
}
.btn-menu__trigger {
	margin-top: 0;
	cursor: default;
}
.btn-menu__links {
	display: none;
	min-width: 190px;
	margin-top: 0;
	padding: 0;
	background: rgba(0, 0, 0, .88);
	border: 1px solid rgba(255, 255, 255, .24);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn-menu__links a {
	display: block;
	padding: 8px 12px;
	color: white;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
.btn-menu__links a:hover,
.btn-menu__links a:focus-visible {
	background: linear-gradient(135deg,  #ffffff 0%,#00A3FF 100%);
	color: black;
	outline: 0;
}
.btn-menu:hover .btn-menu__links,
.btn-menu:focus-within .btn-menu__links {
	display: block;
}
.cards-col {
	min-width: 0;
}
.timeline-panel {
	display: none;
	min-width: 0;
}
.timeline-panel.is-active {
	display: block;
}
.year-block {
	/* min-height: 56vh; */
	display: flex;
	align-items: center;
	min-width: 0;
	scroll-margin-top: 112px;
	padding: 80px 0;
}
/* .timeline-panel .year-block:last-child {
	padding-bottom: 0;
} */
.year-card {
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: min(480px, 56vh);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 24px;
	padding: 18px;
	transform: translateY(var(--card-offset));
	transition: opacity .35s ease, transform .35s ease;
}
.year-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	pointer-events: none;
}
.year-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(0, 0, 0, .24), rgba(0, 0, 0, .24)),
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 48%),
		url(../images/pattern-13.svg),
		url(../images/pattern-14.svg),
		url(../images/pattern-15.svg),
		url(../images/pattern-16.svg);
	background-position:
		center,
		center,
		center,
		top left,
		top right,
		bottom left,
		bottom right;
	background-repeat: no-repeat;
	background-size:
		cover,
		cover,
		cover,
		212px auto,
		259px auto,
		586px auto,
		385px auto;
	pointer-events: none;
}
.year-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.year-card__body {
	position: relative;
	z-index: 2;
	min-width: 0;
	overflow: auto;
	max-height: 60vh;
	padding-right: 8px;
}
.year-card__year {
	/* color: #666; */
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	margin: 20px 0 8px 0;
	background: black;
	position: relative;
	display: inline-block;
	padding: 4px 10px;
	color: #c2c2c2;
}
.year-card__title {
	margin: 0 0 14px;
	font-size: clamp(20px, 3vw, 36px);
	line-height: 1.08;
	letter-spacing: 2px;
	font-weight: 400;
	overflow-wrap: anywhere;
}
.year-card__name {
	display: inline-block;
	font-size: .9rem;
	line-height: 1.15rem;
	letter-spacing: 1px;
	text-align: center;
	white-space: nowrap;
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 1%;
	transform: translateX(-50%);
	background: black;
	padding: 5px 15px;
}
.year-card__text {
	margin: 0;
	font-size: 18px;
	line-height: 1.8;
	color: #c2c2c2;
	overflow-wrap: anywhere;
}
.year-card__media {
	position: relative;
	z-index: 2;
	min-width: 0;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../images/grid-2.svg) center center / cover no-repeat;
}
.year-card__media img {
	max-width: 75%;
    max-height: 75%;
	object-fit: contain;
	filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.85));
}

/* ===== Event ===== */
.event-section {
	padding: 100px 0 120px;
	background: url(../images/bg-dot.png) center center / cover repeat;
}
.event-section > .container {
	width: min(calc(100% - 40px), 1440px);
}
.event-slider {
	display: grid;
	grid-template-columns: repeat(3, minmax(280px, 420px));
	justify-content: center;
	gap: 18px;
	overflow-x: auto;
	padding-bottom: 12px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	cursor: grab;
}
.event-slider.is-dragging {
	cursor: grabbing;
}
.event-card {
	position: relative;
	scroll-snap-align: start;
	min-height: 280px;
	padding: 24px;
	overflow: hidden;
	color: white;
	cursor: default;
}
.event-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(135deg,  #2f2f2f 0%,#545454 100%);
	pointer-events: none;
}
.event-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: transparent;
	background-image:
		url(../images/pattern-17-1.svg),
		url(../images/pattern-17-2.svg),
		url(../images/pattern-17-3.svg),
		url(../images/pattern-17-4.svg);
	background-position:
		left top,
		right top,
		left bottom,
		right bottom;
	background-repeat: no-repeat;
	background-size:
		104px auto,
		18px auto,
		18px auto,
		226px auto;
	pointer-events: none;
	transition: background-color .3s ease;
}
.event-card__image {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	opacity: .38;
	filter: grayscale(1);
	transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}
.event-card:hover .event-card__image {
	opacity: .72;
	filter: grayscale(0);
	transform: scale(1.04);
	transition: opacity .3s ease;
}
.event-card:hover::after {
	background-color: rgba(0, 0, 0, .45);
}
.event-card h3 {
	position: relative;
	z-index: 3;
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 400;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
}
.event-card p {
	position: relative;
	z-index: 3;
	margin: 0;
	line-height: 1.7;
	font-size: 17px;
	color: #c2c2c2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.event-card .btn {
	position: relative;
	z-index: 3;
	/* text-shadow: 0 2px 8px rgba(0, 0, 0, .75); */
}
.slider-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 18px;
}
.slider-nav.is-hidden {
	display: none;
}
.slider-btn {
	position: relative;
	width: 44px;
	height: 44px;
	border: 0;
	background: rgba(255, 255, 255, .14);
	color: transparent;
	cursor: pointer;
	overflow: hidden;
	transition: background .2s ease, transform .2s ease;
}
.slider-btn::after {
	position: absolute;
	content: '';
	width: 34%;
	height: 34%;
	top: 50%;
	left: 50%;
	background-color: white;
	clip-path: polygon(100% 3px, 3px 3px, 3px 100%, 0 100%, 0 0, 100% 0);
	transform: translate(-50%, -50%) rotate(135deg);
}
.slider-btn[data-dir="prev"]::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.slider-btn:hover {
	background: rgba(255, 255, 255, .28);
	transform: translateY(-1px);
}

/* ===== Link Card ===== */
.link-card {
	position: fixed;
	top: 50%;
	right: 24px;
	z-index: 30;
	text-align: center;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: min(280px, calc(100vw - 48px));
	min-height: 230px;
	padding: 24px;
	overflow: hidden;
	color: white;
	background: black;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .5);
	transition: box-shadow .3s ease;
}
.link-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	/* background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,1) 100%); */
	border: 1px solid rgba(255, 255, 255, .3);
	pointer-events: none;
}
.link-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: transparent;
	background-image:
		url(../images/pattern-19-1.svg),
		url(../images/pattern-19-2.svg),
		url(../images/pattern-19-3.svg),
		url(../images/pattern-19-4.svg);
	background-position:
		left top,
		right top,
		left bottom,
		right bottom;
	background-repeat: no-repeat;
	background-size:
		17px auto,
		181px auto,
		213px auto,
		17px auto;
	pointer-events: none;
	transition: background-color .3s ease;
}
.link-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	/* opacity: .6; */
	filter: grayscale(0);
	transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}
.link-card a {
	position: absolute;
	inset: 0;
	z-index: 4;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.55rem;
	color: inherit;
	text-decoration: none;
	text-shadow:
		0 1px 2px rgba(0,0,0,.95),
		1px 0 1px rgba(0,0,0,.9),
		-1px 0 1px rgba(0,0,0,.9),
		0 -1px 1px rgba(0,0,0,.9),
		0 3px 12px rgba(0,0,0,.95);
	padding: 24px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.link-card:hover .link-card__bg {
	opacity: 1;
	filter: grayscale(1);
	transform: scale(1.04);
}

@media (max-width: 991px) {
	.pattern-wrap {
		position: absolute;
		inset: 0;
		height: auto;
	}
	.logo40th {
		width: 96px;
	}
	.hero {
		min-height: 100svh;
		height: auto;
	}
	.hero__inner {
		height: auto;
		min-height: 100svh;
		padding-top: clamp(320px, 52svh, 460px);
		padding-bottom: 40px;
	}
	.hero__title {
		font-size: clamp(32px, 14vw, 55px);
	}
	.hero__desc {
		max-width: 92%;
		font-size: 16px;
	}
	.hero__desc p {
		font-size: .95rem;
		line-height: 1.45rem;
	}
	.hero__extra {
		width: 100%;
		padding: 16px 0 0;
	}
	.timeline-section {
		padding: 56px 0 0;
	}
	.timeline-section > .video-container {
		display: none;
	}
	.RandomTyping {
		display: none;
	}
	.tabs-wrap {
		justify-content: flex-start;
		margin-bottom: 0;
	}
	.tabs {
		justify-content: flex-start;
	}
	.timeline-layout {
		display: block;
	}
	.years-col {
		position: sticky;
		top: 66px;
		z-index: 20;
		width: 100%;
		min-height: 0;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0 10px;
		margin-bottom: 14px;
		background: rgba(0, 0, 0, .72);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}
	#yearsRail {
		display: flex;
		gap: 14px;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
	.year-item {
		flex: 0 0 auto;
		width: auto;
		font-size: 16px;
		margin: 0;
		padding: 10px 0;
	}
	.year-item.is-active {
		transform: none;
	}
	.year-item.is-active::after {
		border-top: 8px solid currentColor;
		border-right: 5px solid transparent;
		border-bottom: 0;
		border-left: 5px solid transparent;
	}
	.year-block {
		min-height: auto;
		scroll-margin-top: 132px;
		padding: 18px 0 24px;
	}
	.year-card {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.year-card__body {
		max-height: none;
	}
	.hero__title, .section-title, .year-card__title {
		/* font-weight: 600; */
		letter-spacing: 3px;
	}
	.year-card__media {
		min-height: clamp(180px, 58vw, 320px);
	}
	.event-section {
		padding: 72px 0 84px;
	}
	.event-slider {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 86%;
	}
	.link-card {
		top: auto;
		right: 16px;
		bottom: 16px;
		width: min(220px, calc(100vw - 32px));
		min-height: 180px;
		padding: 16px;
	}
	.link-card a {
		font-size: 1.15rem;
		line-height: 1.3rem;
		font-weight: 600;
	}
}

@media (max-width: 480px) {
	.container {
		width: min(calc(100% - 24px), var(--container));
	}
	.tab-btn {
		padding: 12px 16px;
		font-size: 12px;
	}
	.years-col {
		top: 64px;
	}
	#yearsRail {
		gap: 12px;
	}
	.year-item {
		font-size: 14px;
		gap: 5px;
	}
	.year-card {
		padding: 12px;
		gap: 14px;
	}
	.year-card__year {
		margin-top: 8px;
	}
	.year-card__title {
		font-size: 20px;
		letter-spacing: 1px;
	}
	.year-card__text {
		font-size: 15px;
		line-height: 1.65;
	}
	.year-card__media {
		min-height: clamp(150px, 52vw, 220px);
	}
	.btn-menu,
	.btn-menu__links {
		max-width: 100%;
	}
	.btn-menu__links {
		min-width: 0;
	}
	.btn-menu__links a {
		white-space: normal;
		overflow-wrap: anywhere;
	}
	.link-card {
		right: 12px;
		bottom: 12px;
		width: min(180px, calc(100vw - 24px));
		min-height: 150px;
		padding: 14px;
	}
	.link-card a {
		font-size: .9rem;
		line-height: 1.2rem;
	}
}
