/* The Golden Pickle: [gp_events] and [gp_instagram]. Colors follow the Design v2 tokens. */

.gp-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.gp-events--list { grid-template-columns: 1fr; gap: 24px; }
.gp-events--empty { grid-template-columns: minmax(0, 40rem); }

.gp-event {
	display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #17224A; color: #FFFFFF;
	text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
a.gp-event:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.3); color: #FFFFFF; }
.gp-event__img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #1E2B57; }
.gp-event__img img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.gp-event__img.is-graphic { background: radial-gradient(circle at 50% 50%, rgba(216,240,74,0.22) 0%, rgba(30,43,87,0) 55%), #1E2B57; }
.gp-event__img.is-graphic img { object-fit: contain; padding: 28px; box-sizing: border-box; filter: drop-shadow(0 16px 24px rgba(0,0,0,0.35)); }
.gp-event__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 28px; flex: 1; }
.gp-event--empty { padding: 30px; gap: 12px; }
.gp-event__label {
	font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #D8F04A;
}
.gp-event__title { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .01em; color: #FFFFFF; }
.gp-event__sub { font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; line-height: 1.6; color: #C9CFE0; }
.gp-event__btn {
	align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 22px;
	border-radius: 999px; background: #D8F04A; color: #0F1834 !important; text-decoration: none;
	font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .02em;
}
.gp-event--row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.gp-event--row .gp-event__img { aspect-ratio: auto; min-height: 100%; }
.gp-event__details { font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; line-height: 1.65; color: #C9CFE0; }
.gp-event__details a { color: #E2C46F; }
@media (max-width: 767px) {
	.gp-event--row { grid-template-columns: 1fr; }
	.gp-event--row .gp-event__img { aspect-ratio: 16 / 10; }
}

/* Instagram placeholder grid (until Smash Balloon is connected) */
.gp-insta-fallback { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gp-insta-fallback a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; }
.gp-insta-fallback img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gp-insta-fallback a:hover img { transform: scale(1.05); }
@media (max-width: 1024px) { .gp-insta-fallback { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .gp-insta-fallback { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
	.gp-event, .gp-insta-fallback img { transition: none; }
}

/* Hand-picked posts: play badge on reels, pop-up player */
.gp-insta-posts a { position: relative; }
.gp-insta-posts a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,24,52,.55)); pointer-events: none; }
.gp-insta-play {
	position: absolute; z-index: 1; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 999px;
	background: rgba(216,240,74,.92); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .25s ease;
}
.gp-insta-play::before { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #0F1834; }
.gp-insta-posts a:hover .gp-insta-play { transform: scale(1.08); }
.gp-ig-dialog { width: min(420px, 92vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #FFFFFF; overflow: visible; }
.gp-ig-dialog::backdrop { background: rgba(11,18,41,.82); }
.gp-ig-dialog iframe { display: block; width: 100%; height: min(760px, 86vh); border: 0; border-radius: 16px; }
.gp-ig-dialog__close {
	position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; border-radius: 999px; cursor: pointer;
	background: #D8F04A; color: #0F1834; font: 700 26px/1 "Plus Jakarta Sans", sans-serif; box-shadow: 0 6px 18px rgba(0,0,0,.3);
}

/* [gp_app_phone]: CSS phone, cross-fading screen, float + scroll parallax */
.gp-phone-wrap { position: relative; display: flex; justify-content: center; padding: 40px 0; perspective: 1400px; }
.gp-phone-wrap::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 120%; max-width: 560px; aspect-ratio: 1; transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(216,240,74,0.18) 0%, rgba(226,196,111,0.10) 35%, transparent 68%); pointer-events: none;
}
.gp-phone {
	--gp-py: 0px; --gp-ry: -14deg;
	position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 52px;
	background: linear-gradient(145deg, #2b2f3d 0%, #0b0d14 45%, #1c1f2a 100%);
	box-shadow: 0 50px 90px rgba(0,0,0,0.55), inset 0 0 0 2px rgba(255,255,255,0.08), inset 0 0 0 9px #05060a;
	transform: translateY(var(--gp-py)) rotateY(var(--gp-ry)) rotateX(5deg);
	transition: transform .25s linear; animation: gp-phone-float 6s ease-in-out infinite;
}
.gp-phone::after { /* dynamic island */
	content: ""; position: absolute; z-index: 3; top: 22px; left: 50%; width: 30%; height: 26px; transform: translateX(-50%);
	border-radius: 999px; background: #05060a;
}
.gp-phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 42px; background: #0F1834; }
.gp-phone__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.gp-phone__slide img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transform: scale(1.12); transition: transform 6s ease-out; }
.gp-phone__slide.is-active { opacity: 1; }
.gp-phone__slide.is-active img { transform: scale(1); }
.gp-phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(11,18,41,0.75) 100%); }
.gp-phone__logo { position: absolute; z-index: 2; left: 50%; bottom: 14%; width: 74%; transform: translateX(-50%); filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
@keyframes gp-phone-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
@media (prefers-reduced-motion: reduce) {
	.gp-phone { animation: none; transform: rotateY(-10deg); }
	.gp-phone__slide img { transition: none; transform: none; }
}

/* Team ([gp_team]): featured first member, then photo cards that open a bio dialog */
.gp-team { display: flex; flex-direction: column; gap: 72px; }
.gp-team__lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.gp-team__photo, .gp-bio__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(216,240,74,0.18) 0%, rgba(30,43,87,0) 60%), #1E2B57; }
.gp-team .gp-team__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 20%; }
.gp-team .gp-team__initials { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(216,240,74,0.18) 0%, rgba(30,43,87,0) 60%), #1E2B57; font-family: "Bebas Neue", sans-serif; font-size: clamp(72px, 9vw, 160px); line-height: 1; color: #E2C46F; padding-top: .08em; }
.gp-team__copy, .gp-bio__body { display: flex; flex-direction: column; gap: 14px; }
.gp-team .gp-team__role { margin: 0; font-family: "Montserrat", "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8A6A12; }
.gp-team .gp-team__name { margin: 0; font-family: "Bebas Neue", sans-serif !important; font-weight: 400 !important; font-style: normal !important; letter-spacing: .01em; font-size: clamp(48px, 5vw, 72px); line-height: .95; color: #0F1834; }
.gp-team__bio { font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; line-height: 1.7; color: #3A4260; }
.gp-team__bio p { margin: 0 0 1em; }
.gp-team__bio p:last-child { margin-bottom: 0; }

.gp-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gp-team .gp-team__card {
	position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; margin: 0; aspect-ratio: 4 / 5;
	padding: 0 !important; border: 0 !important; border-radius: 24px !important; overflow: hidden; background: #1E2B57 !important; text-align: left; cursor: pointer; text-transform: none !important;
}
.gp-team__card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(15,24,52,0) 45%, rgba(15,24,52,0.6) 75%, rgba(15,24,52,0.92) 100%); }
.gp-team__card .gp-team__img { transition: transform .35s ease; }
.gp-team__label { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.gp-team__card-name { font-family: "Bebas Neue", sans-serif; font-size: 30px; line-height: 1; letter-spacing: .01em; color: #FFFFFF; }
.gp-team__card-role { font-family: "Montserrat", "Plus Jakarta Sans", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E2C46F; }
@media (hover: hover) { .gp-team__card:hover .gp-team__img { transform: scale(1.03); } }
.gp-team__card:focus-visible, .gp-bio__close:focus-visible { outline: 3px solid #D8F04A !important; outline-offset: 3px; }

.gp-bio { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: #F7F4EC; overflow: auto; box-shadow: 0 24px 64px rgba(15,24,52,0.4); }
.gp-bio::backdrop { background: rgba(15,24,52,0.7); }
html.gp-bio-open { overflow: hidden; }
.gp-bio__inner { display: flex; flex-wrap: wrap; }
.gp-bio__photo { flex: 1 1 280px; aspect-ratio: auto; min-height: 340px; border-radius: 0; }
.gp-bio__body { flex: 999 1 320px; min-width: 0; padding: 44px 36px 36px; }
.gp-bio .gp-team__name { font-size: 48px; padding-right: 40px; }
.gp-bio__close {
	position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 999px !important;
	background: #FFFFFF !important; color: #0F1834 !important; font: 400 26px/1 sans-serif !important; cursor: pointer; box-shadow: 0 2px 8px rgba(15,24,52,0.2);
}
@media (max-width: 1024px) {
	.gp-team__lead { grid-template-columns: 1fr; gap: 32px; }
	.gp-team__lead .gp-team__photo { max-width: 420px; }
	.gp-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.gp-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.gp-team__label { padding: 12px; }
	.gp-team__card-name { font-size: 24px; }
	.gp-bio__photo { flex-basis: 100%; min-height: 0; aspect-ratio: 4 / 3; }
	.gp-bio__body { padding: 24px 22px 28px; }
	.gp-bio .gp-team__name { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .gp-team__card .gp-team__img { transition: none; } }

/* Top announcement bar ([gp_topbar], in the v2 header) */
.gp-topbar { background: #D8F04A; color: #0F1834; }
.gp-topbar__track { position: relative; height: 40px; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.gp-topbar__item {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px;
	color: #0F1834 !important; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
	font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; line-height: 1.2;
}
.gp-topbar__item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.gp-topbar__text { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gp-topbar__cta { flex: none; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.gp-topbar__item:hover .gp-topbar__cta { text-decoration-thickness: 2px; }
@media (max-width: 767px) {
	/* Phones: the whole bar is the link, so drop the CTA label and let the message wrap to two lines. */
	.gp-topbar__track { height: 48px; padding: 0; }
	.gp-topbar__item { font-size: 13px; text-align: center; }
	.gp-topbar__text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15,24,52,0.35); }
	.gp-topbar__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.gp-topbar__item, .gp-topbar__item.is-active { transition: none; transform: none; }
}
