/**
 * Destination widget — style 2 (glass bento grid).
 *
 * Each tile is one link: photo, a top row (count pill and a glass arrow) and a
 * frosted info bar at the foot. On hover the photo zooms, the arrow turns
 * solid, the bar lifts and an "Explore" line slides in; a soft light follows
 * the pointer (--dz-mx/--dz-my, set by goxom-destination.js).
 *
 * The last tile is the "see more" call to action: accent gradient, slowly
 * turning rings, a stack of destination thumbnails.
 *
 * The reveal's hidden start state is scoped to `.goxom-dz--js`, which the JS
 * only sets once an IntersectionObserver is watching.
 */

.goxom-dz {
	--dz-accent: var(--color-primary, #1273C4);
	--dz-accent-2: color-mix(in srgb, var(--dz-accent) 55%, #0A1F3A);
	--dz-ink: var(--color-black, #0C2338);
	--dz-font-title: var(--font-title, inherit);
	--dz-cols: 4;
	--dz-gap: 16px;
	--dz-ratio: 1.06;
	--dz-radius: 22px;
	--dz-ease: cubic-bezier(.22, .61, .36, 1);

	display: grid;
	grid-template-columns: repeat(var(--dz-cols), minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: var(--dz-gap);
}

@media (max-width: 1024px) {
	.goxom-dz { --dz-cols: 2; }
}

@media (max-width: 767px) {
	.goxom-dz { --dz-cols: 1; }
}

/* =================================================================== tile */

.goxom-dz__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: var(--dz-ratio);
	min-width: 0;
	padding: 14px;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--dz-radius);
	background: #0E2236;
	color: #ffffff;
	text-decoration: none;
	transform: translateZ(0);
	transition: transform .5s var(--dz-ease), box-shadow .5s var(--dz-ease);
}

/* `.is-hold` is goxom-hover.js keeping the lift while the pointer sits in the
   strip the lifted tile just vacated, so the tile never shakes at its edge. */
a.goxom-dz__tile:hover,
a.goxom-dz__tile.is-hold,
a.goxom-dz__tile:focus-visible {
	color: #ffffff;
	transform: translateY(-4px);
	box-shadow: 0 28px 50px -26px rgba(8, 22, 38, .55);
}

a.goxom-dz__tile:focus-visible {
	outline: 3px solid var(--dz-accent);
	outline-offset: 3px;
}

/* The featured tile takes a 2 × 2 block; the ratio still holds because the
   block is two tiles wide and two tall plus one gap each way. */
@media (min-width: 1025px) {
	.goxom-dz--featured .goxom-dz__tile--lead {
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: auto;
	}

	.goxom-dz--featured .goxom-dz__tile--lead .goxom-dz__name {
		font-size: clamp(26px, 2.4vw, 36px);
	}
}

/* ------------------------------------------------------------------ photo */

.goxom-dz__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.goxom-dz__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--dz-ease), filter .6s;
}

.goxom-dz__tile:hover .goxom-dz__media img,
.goxom-dz__tile:focus-visible .goxom-dz__media img {
	transform: scale(1.08);
	filter: saturate(1.12);
}

/* Scrims top and bottom only, so the middle of the photo stays bright. */
.goxom-dz__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 16, 28, .42) 0%, rgba(6, 16, 28, 0) 28%),
		linear-gradient(0deg, rgba(6, 16, 28, .62) 0%, rgba(6, 16, 28, 0) 46%);
}

/* Pointer light. Centred until the JS moves it. */
.goxom-dz__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	pointer-events: none;
	background: radial-gradient(420px circle at var(--dz-mx, 50%) var(--dz-my, 40%), rgba(255, 255, 255, .22), transparent 45%);
	transition: opacity .45s;
}

.goxom-dz__tile:hover .goxom-dz__glow {
	opacity: 1;
}

/* --------------------------------------------------------------- top row */

.goxom-dz__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.goxom-dz__pill {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .32);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
}

.goxom-dz__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .32);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #ffffff;
	transition: background .4s var(--dz-ease), color .4s, border-color .4s, transform .5s var(--dz-ease);
}

.goxom-dz__go svg,
.goxom-dz__explore svg,
.goxom-dz__btn-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-dz__tile:hover .goxom-dz__go,
.goxom-dz__tile:focus-visible .goxom-dz__go {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--dz-ink);
	transform: rotate(45deg);
}

/* ---------------------------------------------------------------- info bar */

.goxom-dz__bar {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: calc(var(--dz-radius) - 8px);
	background: rgba(10, 24, 40, .28);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	transition: transform .5s var(--dz-ease), background .5s;
}

.goxom-dz__tile:hover .goxom-dz__bar,
.goxom-dz__tile:focus-visible .goxom-dz__bar {
	background: rgba(10, 24, 40, .42);
}

.goxom-dz__name {
	font-family: var(--dz-font-title);
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-dz__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .82);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-dz__meta svg {
	flex: none;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Collapsed to nothing at rest; opens on hover. A fixed max-height is fine
   here: it is always a single short line. */
.goxom-dz__explore {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	align-items: center;
	gap: 6px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #ffffff;
	transition: max-height .5s var(--dz-ease), opacity .35s, margin .5s var(--dz-ease);
}

.goxom-dz__explore svg {
	width: 15px;
	height: 15px;
	transform: rotate(45deg);
}

.goxom-dz__tile:hover .goxom-dz__explore,
.goxom-dz__tile:focus-visible .goxom-dz__explore {
	max-height: 24px;
	margin-top: 8px;
	opacity: 1;
	transition: max-height .5s var(--dz-ease), opacity .4s .1s, margin .5s var(--dz-ease);
}

/* ================================================================ see more */

.goxom-dz__cta {
	justify-content: flex-end;
	padding: clamp(20px, 2vw, 30px);
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .18) 0%, transparent 55%),
		linear-gradient(145deg, var(--dz-accent) 0%, var(--dz-accent-2) 100%);
}

/* Three concentric rings drifting round the top corner: a globe's latitude
   lines, loosely. */
.goxom-dz__rings {
	position: absolute;
	top: -30%;
	right: -30%;
	z-index: -1;
	width: 110%;
	aspect-ratio: 1;
	pointer-events: none;
}

.goxom-dz__rings i {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, .28);
	animation: goxom-dz-spin 40s linear infinite;
}

.goxom-dz__rings i:nth-child(2) {
	inset: 16%;
	border-style: solid;
	border-color: rgba(255, 255, 255, .16);
	animation-duration: 28s;
	animation-direction: reverse;
}

.goxom-dz__rings i:nth-child(3) {
	inset: 32%;
	border-color: rgba(255, 255, 255, .22);
	animation-duration: 22s;
}

/* A small dot riding the outer ring. */
.goxom-dz__rings i:first-child::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 12px #ffffff;
}

@keyframes goxom-dz-spin {
	to { transform: rotate(360deg); }
}

.goxom-dz__cta-body {
	position: relative;
}

.goxom-dz__stack {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}

.goxom-dz__stack > span {
	display: block;
	width: 42px;
	height: 42px;
	margin-left: -10px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, .9);
	background: rgba(255, 255, 255, .2);
	transition: transform .4s var(--dz-ease);
}

.goxom-dz__stack > span:first-child {
	margin-left: 0;
}

.goxom-dz__stack img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.goxom-dz__cta:hover .goxom-dz__stack > span:nth-child(1) { transform: translateX(-3px); }
.goxom-dz__cta:hover .goxom-dz__stack > span:nth-child(3) { transform: translateX(3px); }
.goxom-dz__cta:hover .goxom-dz__stack > span:nth-child(4) { transform: translateX(6px); }

.goxom-dz__stack .goxom-dz__more {
	display: grid;
	place-items: center;
	width: auto;
	min-width: 42px;
	padding: 0 10px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--dz-accent);
	font-size: 13px;
	font-weight: 800;
}

.goxom-dz__cta-title {
	margin: 0 0 8px;
	font-family: var(--dz-font-title);
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
}

.goxom-dz__cta-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .82);
}

.goxom-dz__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 5px 0 20px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--dz-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: box-shadow .4s var(--dz-ease), transform .4s var(--dz-ease);
}

.goxom-dz__btn:hover,
.goxom-dz__btn:focus-visible {
	color: var(--dz-ink);
	box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55);
	transform: translateY(-2px);
}

.goxom-dz__btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.goxom-dz__btn-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--dz-accent);
	color: #ffffff;
	transition: transform .45s var(--dz-ease);
}

.goxom-dz__btn:hover .goxom-dz__btn-icon,
.goxom-dz__btn:focus-visible .goxom-dz__btn-icon {
	transform: rotate(45deg);
}

/* On one column the see-more tile needs no photo-shaped box. */
@media (max-width: 767px) {
	.goxom-dz__cta {
		aspect-ratio: auto;
		min-height: 260px;
	}
}

/* ================================================================ reveal */

.goxom-dz--js .goxom-dz__tile {
	opacity: 0;
	transform: translateY(30px) scale(.97);
	transition: opacity .8s var(--dz-ease), transform .8s var(--dz-ease), box-shadow .5s var(--dz-ease);
	transition-delay: calc(min(var(--dz-i, 0), 8) * 70ms);
}

.goxom-dz--js.is-in .goxom-dz__tile {
	opacity: 1;
	transform: none;
}

/* After the reveal, hovers should respond at once, not after the stagger. */
.goxom-dz--js.is-done .goxom-dz__tile {
	transition-delay: 0s;
}

.goxom-dz--js.is-in a.goxom-dz__tile:hover,
.goxom-dz--js.is-in a.goxom-dz__tile.is-hold,
.goxom-dz--js.is-in a.goxom-dz__tile:focus-visible {
	transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.goxom-dz *,
	.goxom-dz *::before,
	.goxom-dz *::after,
	.goxom-dz__tile {
		transition-duration: .01ms !important;
		animation: none !important;
	}
}


/* =========================================================================
 * Destination widget — style 3 (orbit).
 *
 * Round photos in a wave; name and features below each photo, the Count as a
 * badge on the ring. Hover: zoom, lift, a turning dashed orbit and an arrow.
 * Below 768px the row becomes a snapping, swipeable carousel.
 * ========================================================================= */

.goxom-do {
	--do-accent: var(--color-primary, #1273C4);
	--do-ink: var(--color-black, #0C2338);
	--do-muted: #64748b;
	--do-font-title: var(--font-title, inherit);
	--do-size: clamp(170px, 15vw, 230px);
	--do-wave: clamp(40px, 5vw, 80px);
	--do-gap: clamp(20px, 2.4vw, 40px);
	--do-ease: cubic-bezier(.22, .61, .36, 1);

	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 36px var(--do-gap);
}

/* ------------------------------------------------------------------- item */

.goxom-do__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: var(--do-size);
	max-width: 100%;
	color: var(--do-ink);
	text-align: center;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.goxom-do--wave .goxom-do__item:nth-child(even) {
	margin-top: var(--do-wave);
}

a.goxom-do__item:focus-visible {
	outline: none;
}

/* ------------------------------------------------------------------- disc */

.goxom-do__disc {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 20px;
	transition: transform .6s var(--do-ease);
}

.goxom-do__photo {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	border-radius: 50%;
	border: 6px solid #ffffff;
	background: #e8eef5;
	box-shadow: 0 22px 44px -22px rgba(12, 35, 56, .45), 0 0 0 1px rgba(12, 35, 56, .06);
	/* Its own layer keeps the round clip crisp while the image scales in
	   Safari (a mask would also clip the focus outline). */
	isolation: isolate;
	transform: translateZ(0);
	transition: box-shadow .6s var(--do-ease);
}

.goxom-do .goxom-do__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.1s var(--do-ease), filter .6s;
}

/* Soft inner vignette so the white ring never looks pasted on. */
.goxom-do__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -30px 40px -20px rgba(6, 16, 28, .35);
	pointer-events: none;
}

.goxom-do__orbit {
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	border: 1.5px dashed color-mix(in srgb, var(--do-accent) 55%, transparent);
	opacity: 0;
	transform: scale(.92);
	transition: opacity .5s var(--do-ease), transform .6s var(--do-ease);
	animation: goxom-do-spin 18s linear infinite;
	animation-play-state: paused;
}

/* A small dot riding the orbit. */
.goxom-do__orbit::after {
	content: "";
	position: absolute;
	top: 14%;
	left: 14%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border-radius: 50%;
	background: var(--do-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--do-accent) 20%, transparent);
}

@keyframes goxom-do-spin {
	to { rotate: 360deg; }
}

.goxom-do__count {
	position: absolute;
	top: 6%;
	right: -4%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 10px 22px -10px rgba(12, 35, 56, .45);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .01em;
	white-space: nowrap;
	color: var(--do-ink);
	transition: transform .5s var(--do-ease);
}

.goxom-do__count::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--do-accent);
}

.goxom-do__go {
	position: absolute;
	right: 6%;
	bottom: 6%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 3px solid #ffffff;
	background: var(--do-accent);
	color: #ffffff;
	box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--do-accent) 80%, transparent);
	opacity: 0;
	transform: scale(.4) rotate(-45deg);
	transition: opacity .35s var(--do-ease), transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.goxom-do__go svg,
.goxom-do__meta svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-do__go svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}

/* ------------------------------------------------------------------- text */

.goxom-do__name {
	display: block;
	max-width: 100%;
	font-family: var(--do-font-title);
	font-size: clamp(17px, 1.3vw, 21px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color .3s;
}

.goxom-do__meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	margin-top: 5px;
	font-size: 13px;
	font-weight: 500;
	color: var(--do-muted);
}

.goxom-do__meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-do__meta svg {
	flex: none;
	width: 14px;
	height: 14px;
	stroke-width: 1.8;
	color: var(--do-accent);
}

/* ------------------------------------------------------------------ hover */

.goxom-do__item:hover .goxom-do__disc,
.goxom-do__item:focus-visible .goxom-do__disc {
	transform: translateY(-8px);
}

.goxom-do__item:hover .goxom-do__photo,
.goxom-do__item:focus-visible .goxom-do__photo {
	box-shadow: 0 34px 60px -26px rgba(12, 35, 56, .55), 0 0 0 1px rgba(12, 35, 56, .06);
}

.goxom-do__item:hover .goxom-do__photo img,
.goxom-do__item:focus-visible .goxom-do__photo img {
	transform: scale(1.1);
	filter: saturate(1.12);
}

.goxom-do__item:hover .goxom-do__orbit,
.goxom-do__item:focus-visible .goxom-do__orbit {
	opacity: 1;
	transform: none;
	animation-play-state: running;
}

.goxom-do__item:hover .goxom-do__count {
	transform: translateY(-3px);
}

a.goxom-do__item:hover .goxom-do__go,
a.goxom-do__item:focus-visible .goxom-do__go {
	opacity: 1;
	transform: none;
}

a.goxom-do__item:hover .goxom-do__name,
a.goxom-do__item:focus-visible .goxom-do__name {
	color: var(--do-accent);
}

/* Keyboard focus rings the photo itself. */
a.goxom-do__item:focus-visible .goxom-do__photo {
	outline: 3px solid var(--do-accent);
	outline-offset: 4px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
	.goxom-do {
		--do-size: clamp(160px, 26vw, 210px);
		--do-wave: 40px;
	}
}

/* Swipeable row: the next photo peeks in so it reads as scrollable. */
@media (max-width: 767px) {
	.goxom-do {
		--do-size: 44vw;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 18px;
		padding: 14px 4px 8px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 4px;
		scrollbar-width: none;
	}

	.goxom-do::-webkit-scrollbar {
		display: none;
	}

	.goxom-do__item {
		flex: 0 0 var(--do-size);
		scroll-snap-align: start;
	}

	.goxom-do--wave .goxom-do__item:nth-child(even) {
		margin-top: 0;
	}

	.goxom-do__photo {
		border-width: 4px;
	}

	.goxom-do__count {
		right: -2%;
		height: 26px;
		padding: 0 10px;
		font-size: 11px;
	}

	/* No hover on touch: keep the arrow visible as the tap cue. */
	a.goxom-do__item .goxom-do__go {
		width: 38px;
		height: 38px;
		opacity: 1;
		transform: none;
	}
}

/* ----------------------------------------------------------------- reveal */

.goxom-do--js .goxom-do__item {
	opacity: 0;
	transform: translateY(40px) scale(.92);
	transition: opacity .8s var(--do-ease), transform .9s var(--do-ease);
	transition-delay: calc(min(var(--do-i, 0), 8) * 90ms);
}

.goxom-do--js.is-in .goxom-do__item {
	opacity: 1;
	transform: none;
}

.goxom-do--js.is-done .goxom-do__item {
	transition-delay: 0s;
}


/* =========================================================================
 * Destination widget — style 4 (arch).
 *
 * Portrait cards with a doorway-arched top (or plain rounded corners). The
 * arch is a true semicircle at any ratio: the vertical radius is half the
 * width expressed as a share of the height, i.e. 50% × ratio.
 * ========================================================================= */

.goxom-da {
	--da-accent: var(--color-primary, #1273C4);
	--da-ink: #0C2338;
	--da-font-title: var(--font-title, inherit);
	--da-cols: 4;
	--da-gap: 24px;
	--da-ratio: .76;
	--da-r: 26px;
	--da-ease: cubic-bezier(.22, .61, .36, 1);

	display: grid;
	grid-template-columns: repeat(var(--da-cols), minmax(0, 1fr));
	gap: var(--da-gap);
}

@media (max-width: 1200px) {
	.goxom-da { --da-cols: 3; }
}

@media (max-width: 1024px) {
	.goxom-da { --da-cols: 2; }
}

.goxom-da--arch {
	--da-shape: 50% 50% var(--da-r) var(--da-r) / calc(50% * var(--da-ratio)) calc(50% * var(--da-ratio)) var(--da-r) var(--da-r);
}

.goxom-da--rounded {
	--da-shape: var(--da-r);
}

/* ------------------------------------------------------------------- card */

.goxom-da__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: var(--da-ratio);
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--da-shape);
	background: #0E2236;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 20px 40px -28px rgba(8, 22, 38, .6);
	transform: translateZ(0);
	transition: transform .6s var(--da-ease), box-shadow .6s var(--da-ease);
}

a.goxom-da__card:hover,
a.goxom-da__card:focus-visible {
	color: #ffffff;
	transform: translateY(-6px);
	box-shadow: 0 34px 60px -30px rgba(8, 22, 38, .7);
}

a.goxom-da__card:focus-visible {
	outline: 3px solid var(--da-accent);
	outline-offset: 4px;
}

.goxom-da__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.goxom-da .goxom-da__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.3s var(--da-ease), filter .6s;
}

.goxom-da__card:hover .goxom-da__media img,
.goxom-da__card:focus-visible .goxom-da__media img {
	transform: scale(1.08);
	filter: saturate(1.12);
}

/* Scrim only across the lower half; the photo stays bright up top. */
.goxom-da__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(6, 16, 28, .82) 0%, rgba(6, 16, 28, .35) 32%, rgba(6, 16, 28, 0) 58%);
	transition: opacity .6s;
}

/* The inner frame: the card's own shape, inset, drawn in on hover. */
.goxom-da__frame {
	position: absolute;
	inset: 12px;
	z-index: -1;
	border: 1.5px solid rgba(255, 255, 255, .7);
	border-radius: var(--da-shape);
	opacity: 0;
	transform: scale(1.06);
	transition: opacity .5s var(--da-ease), transform .7s var(--da-ease);
	pointer-events: none;
}

.goxom-da__card:hover .goxom-da__frame,
.goxom-da__card:focus-visible .goxom-da__frame {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------------- body */

.goxom-da__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 22px;
}

.goxom-da__count {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .32);
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

.goxom-da__count::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffffff;
}

.goxom-da__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.goxom-da__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.goxom-da__name {
	font-family: var(--da-font-title);
	font-size: clamp(19px, 1.5vw, 24px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
	overflow-wrap: anywhere;
}

.goxom-da__meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .82);
}

.goxom-da__meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-da svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-da__meta svg {
	flex: none;
	width: 14px;
	height: 14px;
	stroke-width: 1.8;
}

.goxom-da__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #ffffff;
	transition: background .4s var(--da-ease), color .4s, border-color .4s, transform .5s var(--da-ease);
}

.goxom-da__go svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.1;
}

.goxom-da__card:hover .goxom-da__go,
.goxom-da__card:focus-visible .goxom-da__go {
	border-color: #ffffff;
	background: #ffffff;
	color: var(--da-accent);
	transform: rotate(45deg);
}

/* ------------------------------------------------------------- responsive */

/* Swipeable row; the next card peeks in so it reads as scrollable. */
@media (max-width: 767px) {
	.goxom-da {
		display: flex;
		gap: 14px;
		padding: 4px 4px 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 4px;
		scrollbar-width: none;
	}

	.goxom-da::-webkit-scrollbar {
		display: none;
	}

	.goxom-da__card {
		flex: 0 0 68%;
		scroll-snap-align: start;
	}

	.goxom-da__body {
		padding: 18px;
	}

	.goxom-da__go {
		width: 38px;
		height: 38px;
	}
}

/* ----------------------------------------------------------------- reveal */

.goxom-da--js .goxom-da__card {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .8s var(--da-ease), transform .9s var(--da-ease), box-shadow .6s var(--da-ease);
	transition-delay: calc(min(var(--da-i, 0), 8) * 90ms);
}

.goxom-da--js.is-in .goxom-da__card {
	opacity: 1;
	transform: none;
}

.goxom-da--js.is-done .goxom-da__card {
	transition-delay: 0s;
}

.goxom-da--js.is-in a.goxom-da__card:hover,
.goxom-da--js.is-in a.goxom-da__card:focus-visible {
	transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
	.goxom-da *,
	.goxom-da *::before,
	.goxom-da *::after,
	.goxom-da__card,
	.goxom-do *,
	.goxom-do *::before,
	.goxom-do *::after,
	.goxom-do__item {
		transition-duration: .01ms !important;
		animation: none !important;
	}
}
