/* Right-side contact drawer. The page remains visible; only the drawer moves. */
.contact-panel {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 50;
	visibility: hidden;
	pointer-events: none;
	overflow: visible !important;
	background: transparent !important;
	color: #fff;
	transition: visibility 0s linear .42s;
}

.contact-panel::before {
	content: none !important;
}

.contact-panel.is-open {
	visibility: visible;
	pointer-events: none;
	transition-delay: 0s;
}

.panel-backdrop {
	display: none !important;
}

.panel-sheet {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(500px, 100%);
	height: 100svh;
	overflow-x: hidden;
	overflow-y: auto;
	pointer-events: none;
	background-color: #005b35;
	background-image:
		radial-gradient(circle at 15% 18%, rgba(30, 154, 84, .38), transparent 34%),
		repeating-linear-gradient(35deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px);
	box-shadow: -22px 0 55px rgba(0, 0, 0, .24);
	transform: translate3d(100%, 0, 0);
	will-change: transform;
	transition: transform .42s cubic-bezier(.22, .7, .2, 1);
}

.contact-panel.is-open .panel-sheet {
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
}

.panel-close {
	position: absolute;
	z-index: 4;
	right: 18px;
	top: 18px;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(0, 0, 0, .12);
	color: var(--yellow);
	display: grid;
	place-items: center;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.panel-content {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0;
	padding: 82px 34px 38px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 26px;
}

.panel-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.panel-brand img {
	display: block;
	width: auto;
	height: 58px;
	filter: brightness(0) invert(1);
}

.panel-brand span {
	font: 500 9px 'DM Mono', monospace;
	letter-spacing: .1em;
	color: var(--yellow);
}

.panel-label {
	margin: 0 0 11px;
	font: 600 10px 'DM Mono', monospace;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--yellow);
}

.socials {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	margin: 0;
}

.socials a {
	height: 56px;
	border: 1px solid rgba(255, 255, 255, .24);
	padding: 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	background: rgba(255, 255, 255, .035);
}

.socials a:hover,
.socials a:focus-visible {
	background: rgba(255, 210, 27, .1);
	border-color: var(--yellow);
}

.social-icon {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	flex: none;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(0, 0, 0, .1);
}

.socials img {
	display: block;
	width: 21px;
	height: 21px;
	filter: none;
}

.social-arrow {
	margin-left: auto;
	color: var(--yellow);
	font-size: 17px;
}

.panel-contact {
	border-top: 1px solid rgba(255, 255, 255, .22);
	padding-top: 20px;
}

.panel-contact address {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	font-style: normal;
}

.panel-contact address > * {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	text-decoration: none;
	font-size: .96rem;
	overflow-wrap: anywhere;
}

.panel-contact small {
	font: 500 9px 'DM Mono', monospace;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .58);
}

.main-site {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 17px 18px;
	background: var(--yellow);
	color: #111;
	text-decoration: none;
	font: 700 .98rem var(--display);
}

.panel-ten {
	position: absolute;
	z-index: 0;
	right: -.1em;
	bottom: -.17em;
	font: 700 20rem/.7 var(--display);
	letter-spacing: -.18em;
	color: rgba(255, 210, 27, .07);
}

body.panel-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.panel-sheet { width: min(90vw, 420px); }
	.panel-close { right: 14px; top: 14px; width: 48px; height: 48px; }
	.panel-content { padding: 72px 19px 30px; gap: 21px; }
	.panel-brand img { height: 50px; }
	.panel-brand span { font-size: 8px; }
	.socials { grid-template-columns: 1fr; }
	.socials a { height: 51px; }
	.panel-contact address { grid-template-columns: 1fr; gap: 12px; }
	.main-site { padding: 15px 16px; }
	.panel-ten { font-size: 14rem; }
}

@media (max-height: 650px) and (min-width: 761px) {
	.panel-content { padding-top: 68px; gap: 18px; }
	.panel-brand img { height: 48px; }
	.socials a { height: 48px; }
	.panel-contact { padding-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.contact-panel { transition: none; }
	.panel-sheet { transition: none; }
}
