/* ==========================================================================
   Bagira – Investor Relations page
   All rules are scoped to .bir so nothing else on the site is affected.
   Values are taken 1:1 from Figma (frame "Frame 1", 1920px wide).
   ========================================================================== */

.bir {
	--bir-orange: #ff8c1d;
	--bir-card: #1a1a1a;
	--bir-pill: #2a2a2a;
	--bir-line: rgba(255, 255, 255, 0.08);
	--bir-grey: #a3a3a3;
	--bir-grey-2: #a0a0a0;
	--bir-blue-grey: #90a0b0;
	--bir-guardian: 'BIR Guardian Sans', 'GuardianSans', Arial, sans-serif;
	--bir-mono: 'BIR Source Code Pro', 'source-code-pro', 'Courier New', monospace;
	--bir-geist: 'BIR Geist', 'BIR Guardian Sans', Arial, sans-serif;
	--bir-inter: 'BIR Inter', Arial, sans-serif;
	--bir-container: 1180px;

	position: relative;
	overflow: hidden;
	background: #000;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.bir *,
.bir *::before,
.bir *::after {
	box-sizing: border-box;
}

.bir h1,
.bir h2,
.bir h3,
.bir p {
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	text-transform: none;
	font-style: normal;
}

.bir img,
.bir svg {
	display: block;
	max-width: none;
}

.bir button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}

.bir :focus-visible {
	outline: 2px solid var(--bir-orange);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.bir-hero {
	position: relative;
	padding-top: 207px;
}

.bir-hero__canvas {
	position: absolute;
	top: 139px;
	left: 0;
	width: 100%;
	height: 326px;
	pointer-events: none;
	z-index: 0;
}

.bir-hero__canvas--glow {
	filter: blur(9px);
}

.bir .bir-hero__title {
	position: relative;
	z-index: 1;
	margin: 0 auto 82px;
	font-family: var(--bir-guardian);
	font-weight: 900;
	font-size: 55px;
	line-height: 66px;
	color: #fff;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Reports
   -------------------------------------------------------------------------- */

.bir-reports,
.bir-stock {
	position: relative;
	z-index: 1;
	width: var(--bir-container);
	max-width: calc(100% - 48px);
	margin-left: auto;
	margin-right: auto;
}

.bir-year-group + .bir-year-group {
	margin-top: 50px;
}

.bir-year {
	position: relative;
	height: 110px;
}

.bir .bir-year__stripes {
	position: absolute;
	top: 0;
	left: calc(50% - 34px);
	width: 293px;
	height: 23.085px;
	overflow: hidden;
}

.bir .bir-year__title {
	position: relative;
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 40px;
	line-height: 50px;
	color: #fff;
	text-align: center;
	transform: translateX(0.5px);
}

.bir-year__line {
	position: absolute;
	top: 60px;
	left: calc(50% + 1px);
	width: 64.008px;
	height: 1px;
	background: #737373;
	transform: translateX(-50%);
}

.bir-cards {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.bir-card {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 30px;
	background: var(--bir-card);
	border-radius: 16px;
	overflow: hidden;
}

.bir-card__indicator {
	display: flex;
	flex: 0 0 120px;
	flex-direction: column;
	align-items: center;
	align-self: stretch;
	gap: 12px;
	width: 120px;
	text-align: center;
	white-space: nowrap;
}

.bir .bir-card__quarter {
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 40px;
	line-height: 50px;
	color: var(--bir-orange);
}

.bir .bir-card__date {
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 18px;
	line-height: 23px;
	color: #fff;
}

.bir-card__divider {
	flex: 0 0 1px;
	align-self: stretch;
	width: 1px;
	background: var(--bir-line);
}

.bir-card__content {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.bir .bir-card__title {
	width: 100%;
	font-family: var(--bir-guardian);
	font-weight: 900;
	font-size: 25px;
	line-height: 30px;
	color: #fff;
	overflow-wrap: break-word;
}

.bir .bir-card__text {
	width: 100%;
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: var(--bir-grey);
	overflow-wrap: break-word;
}

.bir .bir-attachment {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--bir-pill);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.bir .bir-attachment:hover {
	background: #333;
	color: #fff;
}

.bir-attachment .bir-ico {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.bir .bir-attachment__name {
	flex: 1 0 0;
	min-width: 1px;
	overflow: hidden;
	font-family: var(--bir-guardian);
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	color: #fff;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Video preview */

.bir-video {
	display: flex;
	flex: 0 0 441px;
	flex-direction: column;
	width: 441px;
}

.bir .bir-video__media {
	position: relative;
	display: block;
	width: 100%;
	height: 242px;
	padding: 0;
	overflow: hidden;
	background: #000;
	border-radius: 0;
}

.bir .bir-video__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bir .bir-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.bir .bir-video__media:hover .bir-video__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.bir .bir-video__media iframe,
.bir .bir-video__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.bir-video__progress {
	height: 4px;
	background: #f00;
}

.bir-video__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 48px;
	padding: 6px 8px;
	overflow: hidden;
	background: #fff;
}

.bir .bir-video__title,
.bir .bir-video__meta {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bir .bir-video__title {
	font-family: var(--bir-inter);
	font-weight: 600;
	font-size: 13px;
	line-height: 16px;
	color: #1a1a1a;
}

.bir .bir-video__meta {
	font-family: var(--bir-inter);
	font-weight: 400;
	font-size: 11px;
	line-height: 13px;
	color: #737373;
}

/* --------------------------------------------------------------------------
   About + stock chart
   -------------------------------------------------------------------------- */

.bir-stock {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-top: 96px;
	padding-bottom: 96px;
}

.bir-reports + .bir-stock {
	margin-top: 96px;
}

.bir-stock__about {
	flex: 0 1 474px;
	width: 474px;
	padding-top: 106px;
}

.bir .bir-stock__title {
	font-family: var(--bir-guardian);
	font-weight: 900;
	font-size: 40px;
	line-height: 48px;
	color: #fff;
}

.bir-stock__accent {
	display: flex;
	align-items: flex-start;
	width: 100%;
	height: 5.338px;
	margin-top: 16px;
}

.bir-stock__accent span:first-child {
	flex: 0 0 106.757px;
	height: 5.338px;
	border-radius: 2.669px;
	background: var(--bir-orange);
}

.bir-stock__accent span:last-child {
	flex: 1 0 0;
	height: 1.334px;
	background: var(--bir-line);
}

.bir-stock__text {
	max-width: 468px;
	margin-top: 19.6px;
}

.bir .bir-stock__text p {
	margin: 0 0 35px;
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 18.02px;
	line-height: 24px;
	color: var(--bir-grey-2);
}

.bir .bir-stock__text p:last-child {
	margin-bottom: 0;
}

.bir .bir-stock__text a {
	color: var(--bir-orange);
}

/* Chart card */

.bir-chart {
	position: relative;
	flex: 0 0 591px;
	width: 591px;
	height: 519px;
	margin-right: -2px;
	background: var(--bir-card);
	border: 1.28px solid var(--bir-line);
	border-radius: 20.477px;
}

.bir-chart__head {
	position: absolute;
	top: 31.04px;
	left: 22.41px;
	right: 22.41px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 62.662px;
	white-space: nowrap;
}

.bir-chart__id,
.bir-chart__quote {
	display: flex;
	flex-direction: column;
	gap: 5.119px;
	min-width: 0;
}

.bir-chart__quote {
	align-items: flex-end;
	text-align: right;
}

.bir .bir-chart__sym {
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 20.04px;
	line-height: 24px;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bir .bir-chart__exchange {
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 15.358px;
	line-height: 18px;
	color: var(--bir-blue-grey);
	overflow: hidden;
	text-overflow: ellipsis;
}

.bir .bir-chart__price {
	font-family: var(--bir-mono);
	font-weight: 900;
	font-size: 22.16px;
	line-height: 28px;
	color: #fff;
}

.bir .bir-chart__change {
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 16.92px;
	line-height: 21px;
	color: var(--bir-orange);
}

.bir-chart__plot {
	position: absolute;
	top: 124.42px;
	left: 22.41px;
	right: 22.41px;
	height: 307.152px;
}

.bir-chart__canvas {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.bir-chart.is-ready .bir-chart__canvas {
	opacity: 1;
}

.bir-chart.is-loading .bir-chart__canvas {
	opacity: 0.35;
}

.bir-chart__status[hidden],
.bir-chart__state[hidden],
.bir-chart__tool[hidden] {
	display: none;
}

.bir .bir-chart__status {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 15.358px;
	line-height: 18px;
	color: var(--bir-blue-grey);
	text-align: center;
}

.bir-chart__foot {
	position: absolute;
	top: 462.28px;
	left: 22.41px;
	right: 22.41px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 35.497px;
}

.bir-chart__ranges {
	display: flex;
	align-items: flex-start;
	gap: 10.238px;
}

.bir .bir-chart__btn {
	padding: 7.679px 15.358px;
	border-radius: 7.679px;
	font-family: var(--bir-geist);
	font-weight: 600;
	font-size: 15.358px;
	line-height: 20px;
	color: #fff;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bir .bir-chart__btn:hover {
	background: rgba(255, 255, 255, 0.08);
}

.bir .bir-chart__btn.is-active {
	background: var(--bir-orange);
	color: #0a0d14;
}

.bir .bir-chart__vol {
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 15.358px;
	line-height: 18px;
	color: var(--bir-blue-grey);
	white-space: nowrap;
}

/* Market state pill */

.bir .bir-chart__state {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 10px;
	padding: 1px 7px 1px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 11px;
	line-height: 16px;
	color: var(--bir-blue-grey);
	vertical-align: 1px;
}

.bir .bir-chart__state::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #5b6673;
}

.bir .bir-chart__state.is-open {
	color: #fff;
}

.bir .bir-chart__state.is-open::before {
	background: var(--bir-orange);
	box-shadow: 0 0 0 0 rgba(255, 140, 29, 0.6);
	animation: bir-pulse 1.8s ease-out infinite;
}

@keyframes bir-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 140, 29, 0.6); }
	100% { box-shadow: 0 0 0 7px rgba(255, 140, 29, 0); }
}

.bir .bir-chart__change.is-down {
	color: var(--bir-blue-grey);
}

/* Legend (data window) */

.bir-chart__legend {
	position: absolute;
	top: -26px;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 12px;
	height: 16px;
	overflow: hidden;
	pointer-events: none;
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 11.5px;
	line-height: 16px;
	color: #fff;
	white-space: nowrap;
}

.bir-lg__date {
	color: var(--bir-blue-grey);
}

.bir-lg__row {
	display: inline-flex;
	align-items: baseline;
	gap: 0 4px;
}

.bir-lg__row i {
	font-style: normal;
	color: var(--bir-blue-grey);
}

.bir-lg__row b {
	margin-right: 6px;
	font-weight: 500;
	color: #fff;
}

.bir-lg__chg {
	font-style: normal;
	color: var(--bir-orange);
}

.bir-lg__chg.is-down {
	color: var(--bir-blue-grey);
}

/* Toolbar */

.bir-chart__tools {
	position: absolute;
	top: 2px;
	right: 60px;
	z-index: 3;
	display: flex;
	gap: 6px;
	opacity: 0.55;
	transition: opacity 0.2s ease;
}

.bir-chart:hover .bir-chart__tools,
.bir-chart__tools:focus-within,
.bir-chart.is-fullscreen .bir-chart__tools {
	opacity: 1;
}

.bir-chart__tgroup {
	display: flex;
	padding: 2px;
	border-radius: 7.679px;
	background: var(--bir-pill);
}

.bir .bir-chart__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 5px;
	border-radius: 6px;
	color: var(--bir-blue-grey);
	font-family: var(--bir-geist);
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bir .bir-chart__tool svg {
	display: block;
}

.bir .bir-chart__tool:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.bir .bir-chart__tool.is-active {
	color: #0a0d14;
	background: var(--bir-orange);
}

.bir .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Wheel hint + engaged state */

.bir .bir-chart__hint {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	padding: 8px 14px;
	border-radius: 7.679px;
	background: rgba(10, 13, 20, 0.88);
	font-family: var(--bir-guardian);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #fff;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
}

.bir .bir-chart__hint.is-visible {
	opacity: 1;
}

.bir-chart__plot {
	cursor: crosshair;
}

.bir-chart.is-engaged {
	border-color: rgba(255, 140, 29, 0.35);
}

/* Full screen */

html.bir-noscroll,
html.bir-noscroll body {
	overflow: hidden;
}

/* let the overlay escape the section's stacking context */
html.bir-noscroll .bir-stock,
html.bir-noscroll .bir-reports {
	z-index: auto;
}

.bir-chart.is-fullscreen {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	width: 100vw;
	max-width: none;
	height: 100vh;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #111;
}

.bir-chart.is-fullscreen .bir-chart__plot {
	height: auto;
	bottom: 90px;
}

.bir-chart.is-fullscreen .bir-chart__foot {
	top: auto;
	bottom: 31px;
}

.bir-chart:fullscreen {
	width: 100vw;
	height: 100vh;
}

/* --------------------------------------------------------------------------
   Edge cases: records without video / file / text / quarter+date
   -------------------------------------------------------------------------- */

/* no video → keep a comfortable line length and the Figma pill width */
.bir .bir-card--no-video .bir-card__text {
	max-width: 760px;
}

.bir .bir-card--no-video .bir-attachment {
	max-width: 486px;
}

/* title only → no stray gap under it */
.bir-card--no-text.bir-card--no-file .bir-card__content {
	gap: 0;
}

/* video without any thumbnail → branded placeholder instead of a black box */
.bir .bir-video__media--empty {
	background:
		repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.045) 0 4px, transparent 4px 12px),
		linear-gradient(180deg, #232323 0%, #141414 100%);
}

/* info bar with a title only → centre it vertically */
.bir-video__info--single {
	justify-content: center;
}

/* video but no text block → video sits right after the divider */
.bir-card:not(:has(.bir-card__content)) .bir-video {
	margin-right: auto;
}

/* --------------------------------------------------------------------------
   Load previous year
   -------------------------------------------------------------------------- */

.bir-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 50px;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.bir-more.is-done {
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
}

.bir .bir-more__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 260px;
	height: 52px;
	padding: 0 28px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: var(--bir-card);
	font-family: var(--bir-mono);
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.bir .bir-more__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.07) 0 4px, transparent 4px 12px);
	background-size: 200% 100%;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.bir .bir-more__btn:hover,
.bir .bir-more__btn:focus-visible {
	border-color: var(--bir-orange);
	color: var(--bir-orange);
}

.bir-more__label,
.bir-more__icon {
	position: relative;
}

.bir-more__icon svg {
	display: block;
	transition: transform 0.25s ease;
}

.bir .bir-more__btn:hover .bir-more__icon svg {
	transform: translateY(2px);
}

.bir-more__spinner {
	position: relative;
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 140, 29, 0.25);
	border-top-color: var(--bir-orange);
	border-radius: 50%;
	animation: bir-spin 0.7s linear infinite;
}

.bir .bir-more__btn.is-loading {
	border-color: rgba(255, 140, 29, 0.5);
	color: #fff;
	cursor: progress;
}

.bir .bir-more__btn.is-loading::before {
	opacity: 1;
	animation: bir-stripes-move 0.9s linear infinite;
}

.bir-more__btn.is-loading .bir-more__icon {
	display: none;
}

.bir-more__btn.is-loading .bir-more__spinner {
	display: block;
}

.bir-more.has-error .bir-more__status {
	position: static !important;
	width: auto;
	height: auto;
	margin-top: 12px;
	clip: auto;
	font-family: var(--bir-guardian);
	font-size: 15px;
	color: var(--bir-blue-grey);
}

@keyframes bir-spin {
	to { transform: rotate(360deg); }
}

@keyframes bir-stripes-move {
	from { background-position: 0 0; }
	to { background-position: 28px 0; }
}

/* --------------------------------------------------------------------------
   Entrance animations (only when JS is running – content is never hidden without it)
   -------------------------------------------------------------------------- */

.bir.bir-js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition:
		opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--bir-d, 0ms),
		transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--bir-d, 0ms);
}

.bir.bir-js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.bir.bir-js [data-reveal="hero"] {
	transform: translate3d(0, 18px, 0);
	transition-duration: 1s, 1.1s;
	--bir-d: 150ms;
}

.bir.bir-js [data-reveal="fade"] {
	transform: none;
}

/* year header: number rises, stripes wipe in, underline grows */
.bir.bir-js [data-reveal="year"] {
	opacity: 1;
	transform: none;
}

.bir.bir-js [data-reveal="year"] .bir-year__title {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bir.bir-js [data-reveal="year"] .bir-year__stripes {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}

.bir.bir-js [data-reveal="year"] .bir-year__line {
	transform: translateX(-50%) scaleX(0);
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s;
}

.bir.bir-js [data-reveal="year"].is-in .bir-year__title {
	opacity: 1;
	transform: translateX(0.5px);
}

.bir.bir-js [data-reveal="year"].is-in .bir-year__stripes {
	clip-path: inset(0 0 0 0);
}

.bir.bir-js [data-reveal="year"].is-in .bir-year__line {
	transform: translateX(-50%) scaleX(1);
}

/* cards: the video still settles in with a slow zoom-out */
.bir.bir-js [data-reveal="card"] .bir-video__thumb {
	transform: scale(1.06);
	transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--bir-d, 0ms) + 0.1s);
}

.bir.bir-js [data-reveal="card"].is-in .bir-video__thumb {
	transform: none;
}

/* about block: accent bar draws in, paragraphs follow */
.bir.bir-js [data-reveal="about"] .bir-stock__accent span:first-child {
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
}

.bir.bir-js [data-reveal="about"].is-in .bir-stock__accent span:first-child {
	transform: none;
}

.bir.bir-js [data-reveal="about"] .bir-stock__text p {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bir.bir-js [data-reveal="about"].is-in .bir-stock__text p {
	opacity: 1;
	transform: none;
}

.bir.bir-js [data-reveal="about"].is-in .bir-stock__text p:nth-child(1) { transition-delay: 0.3s; }
.bir.bir-js [data-reveal="about"].is-in .bir-stock__text p:nth-child(2) { transition-delay: 0.42s; }
.bir.bir-js [data-reveal="about"].is-in .bir-stock__text p:nth-child(3) { transition-delay: 0.54s; }

/* hero canvases fade in with the scene */
.bir-hero__canvas {
	animation: bir-fade-in 1.6s ease both;
}

@keyframes bir-fade-in {
	from { opacity: 0; }
}

.bir-hero__canvas--haze {
	filter: blur(16px);
}

/* --------------------------------------------------------------------------
   Responsive (the design is desktop-only; below 1240px we adapt)
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	.bir-video {
		flex-basis: 38%;
		width: 38%;
	}

	.bir .bir-video__media {
		height: auto;
		aspect-ratio: 441 / 242;
	}

	.bir-stock {
		gap: 48px;
	}

	.bir-chart {
		flex: 0 1 591px;
		margin-right: 0;
	}
}

@media (max-width: 991px) {
	/* tablet: quarter/date row on top, text + video side by side */
	.bir-card {
		flex-wrap: wrap;
		gap: 20px 24px;
		padding: 24px;
	}

	.bir-card__indicator {
		flex: 0 0 100%;
		flex-direction: row;
		align-items: baseline;
		gap: 16px;
		width: 100%;
	}

	.bir-card__divider {
		flex: 0 0 100%;
		width: 100%;
		height: 1px;
	}

	.bir-card__content {
		flex: 1 1 0;
	}

	.bir-video {
		flex: 0 0 44%;
		width: 44%;
	}

	.bir-stock {
		flex-direction: column;
		align-items: stretch;
		gap: 48px;
	}

	.bir-stock__about {
		flex: 0 0 auto;
		width: 100%;
		max-width: 474px;
		padding-top: 0;
	}

	.bir-chart {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 767px) {
	.bir-card {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.bir-card__content,
	.bir-video {
		flex: 0 0 auto;
		width: 100%;
	}

	.bir-hero {
		padding-top: 140px;
	}

	.bir-hero__canvas {
		top: 96px;
		height: 240px;
	}

	.bir .bir-hero__title {
		margin-bottom: 56px;
		font-size: 38px;
		line-height: 46px;
	}

	.bir-reports,
	.bir-stock {
		max-width: calc(100% - 32px);
	}

	.bir-year {
		height: 96px;
	}

	.bir .bir-year__title {
		font-size: 34px;
		line-height: 44px;
	}

	.bir-year__line {
		top: 54px;
	}

	.bir .bir-year__stripes {
		left: calc(50% - 30px);
		max-width: calc(50% + 30px);
	}

	.bir .bir-card__quarter {
		font-size: 34px;
		line-height: 42px;
	}

	.bir .bir-card__title {
		font-size: 22px;
		line-height: 27px;
	}

	.bir .bir-card__text {
		font-size: 16px;
		line-height: 22px;
	}

	.bir .bir-attachment__name {
		font-size: 16px;
		line-height: 20px;
	}

	.bir-stock {
		margin-top: 72px;
		padding-bottom: 72px;
	}

	.bir .bir-stock__title {
		font-size: 32px;
		line-height: 40px;
	}

	.bir .bir-stock__text p {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 24px;
	}

	/* chart card switches to normal flow */
	.bir-chart {
		height: auto;
		padding: 20px 16px;
		border-radius: 16px;
	}

	.bir-chart__head,
	.bir-chart__plot,
	.bir-chart__foot {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
	}

	.bir-chart__head {
		flex-wrap: wrap;
		align-items: flex-start;
		height: auto;
		white-space: normal;
	}

	.bir-chart__quote {
		align-items: flex-start;
		text-align: left;
	}

	.bir .bir-chart__sym {
		font-size: 18px;
		line-height: 22px;
	}

	.bir .bir-chart__exchange {
		font-size: 14px;
		line-height: 17px;
	}

	.bir .bir-chart__price {
		font-size: 20px;
		line-height: 26px;
	}

	.bir .bir-chart__change {
		font-size: 15px;
		line-height: 19px;
	}

	.bir-chart__plot {
		height: 300px;
		margin-top: 52px;
		padding-top: 34px;
	}

	.bir-chart__canvas {
		top: 34px;
	}

	.bir-chart__tools {
		top: 0;
		right: 0;
		left: 0;
		justify-content: flex-start;
		opacity: 1;
	}

	.bir-chart__legend {
		top: -40px;
		flex-wrap: wrap;
		gap: 0 10px;
		height: 32px;
		font-size: 10.5px;
	}

	.bir .bir-chart__state {
		margin-left: 6px;
	}


	.bir-chart__foot {
		flex-wrap: wrap;
		height: auto;
		margin-top: 24px;
	}

	.bir-chart__ranges {
		gap: 4px;
		flex-wrap: wrap;
	}

	.bir .bir-chart__btn {
		padding: 7px 11px;
		font-size: 14px;
		line-height: 18px;
	}
}

@media (max-width: 420px) {
	.bir .bir-hero__title {
		font-size: 34px;
		line-height: 41px;
	}

	.bir .bir-year__title {
		font-size: 30px;
		line-height: 40px;
	}

	.bir .bir-more__btn {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bir-hero__canvas {
		animation: none;
	}

	.bir *,
	.bir *::before,
	.bir *::after {
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
   Video lightbox (opens from the video preview on the card)
   -------------------------------------------------------------------------- */
html.bir-lb-open,
html.bir-lb-open body {
	overflow: hidden;
}

.bir-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 40px;
	direction: ltr;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.bir-lb.is-open {
	opacity: 1;
}

.bir-lb .bir-lb__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	cursor: pointer;
}

.bir-lb .bir-lb__dialog {
	position: relative;
	width: min(1200px, 100%, calc((100vh - 128px) * 16 / 9));
	transform: scale(0.97);
	transition: transform 0.25s ease;
}

.bir-lb.is-open .bir-lb__dialog {
	transform: none;
}

.bir-lb .bir-lb__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.bir-lb .bir-lb__frame video,
.bir-lb .bir-lb__frame iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
	object-fit: contain;
}

.bir-lb .bir-lb__close {
	position: absolute;
	top: -48px;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	opacity: 0.85;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.bir-lb .bir-lb__close:hover {
	background: transparent;
	color: #fff;
	opacity: 1;
}

.bir-lb .bir-lb__close svg {
	display: block;
	width: 24px;
	height: 24px;
}

.bir-lb .bir-lb__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.bir-lb {
		padding: 64px 16px;
	}

	.bir-lb .bir-lb__close {
		right: -4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bir-lb,
	.bir-lb .bir-lb__dialog {
		transition: none;
	}
}
