/* Final responsive corrections shared across the approved ICY interface. */

.site-header .brand img {
	height: 2.15rem;
	max-width: 4.4rem;
}

.hero .sun {
	width: clamp(134px, 13.2vw, 178px);
}

.hero .sun img {
	transform: translateX(10.88%);
}

.hero .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-block: .6rem;
	line-height: 1.15;
}

.hero .planet--4 .planet__label {
	width: 8.5rem !important;
	max-width: 8.5rem !important;
	white-space: normal !important;
	text-align: center;
}

@media (min-width: 768px) {
	.hero .planet--1 { width: 5.85%; }
	.hero .planet--2 { width: 6.15%; }
	.hero .planet--3 { width: 6.4%; }
	.hero .planet--4 { width: 6.05%; }
	.hero .planet--5 { width: 6.9%; }
	.hero .planet--6 { width: 6.05%; }
}

@media (min-width: 721px) {
	.studios-location {
		column-gap: clamp(3rem, 7vw, 7rem);
		row-gap: 1.25rem;
		align-items: start;
	}

	.studios-location > div:first-child {
		grid-row: 1 / 4;
		align-self: center;
	}

	.studios-location__visual {
		align-self: end;
	}

	.studios-location address {
		align-self: start;
	}
}

@media (max-width: 760px) {
	.site-header .brand img {
		height: 2rem;
		max-width: 4.05rem;
	}

	.icy-navigation-deck__submenu a {
		min-height: 2.75rem;
		padding-block: 0.55rem;
	}

	.hero__system {
		width: min(104vw, 27.5rem) !important;
	}

	.hero .sun {
		width: clamp(6.25rem, 27vw, 7.1rem) !important;
		height: clamp(6.25rem, 27vw, 7.1rem) !important;
	}

	.hero h1 {
		max-width: 22rem;
		font-size: clamp(1.55rem, 6.8vw, 1.9rem);
		line-height: 1.04;
	}

	.hero .button {
		min-height: 2.5rem;
		padding-block: .45rem;
	}

	.hero .planet__label {
		font-size: clamp(0.46rem, 1.75vw, 0.53rem) !important;
	}

	.hero .planet--4 .planet__label {
		top: 50% !important;
		right: auto !important;
		bottom: auto !important;
		left: calc(100% + 0.5rem) !important;
		width: 5.25rem !important;
		max-width: 5.25rem !important;
		white-space: normal !important;
		line-height: 1.2;
		text-align: center;
		transform: translate(-0.35rem, -50%);
	}

	.hero.is-labels-ready .planet--4 .planet__label {
		transform: translate(0, -50%);
	}

	.hero .planet--4 .planet__label::before {
		top: 50%;
		right: auto;
		bottom: auto;
		left: -0.5rem;
		width: 0.4rem;
		height: 1px;
		transform: none;
	}

	.hero .planet__label {
		pointer-events: auto;
	}

	.hero .planet::before {
		position: absolute;
		top: 50%;
		left: 50%;
		display: block;
		width: 2.75rem;
		height: 2.75rem;
		background: transparent;
		content: "";
		transform: translate(-50%, -50%);
	}

	.icy-artists__social a,
	.icy-artists__controls button {
		width: 2.75rem;
		height: 2.75rem;
	}

	.icy-goapp__closing a,
	.ecosystem-scroll,
	.ecosystem-world__studio-link,
	.ecosystem-final a,
	.icy-roster__scroll,
	.icy-contact a[href^="mailto:"],
	.icy-contact a[href^="tel:"] {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
	}

	.icy-successes__filters button,
	.icy-magazine-formats__list button,
	.icy-magazine-format-filter__actions button,
	.studios-ab__utility button {
		min-height: 2.75rem;
	}

	.studios-hero h1 {
		font-size: clamp(3.4rem, 14vw, 4.6rem);
	}

	.studios-explore h2,
	.studios-services h2,
	.studios-gear h2,
	.studios-audio h2,
	.studios-location h2,
	.studios-faq h2,
	.studios-final h2 {
		font-size: clamp(2.65rem, 12vw, 4rem);
	}

	.studios-location {
		gap: 1.5rem;
	}

	.studios-location > div:first-child {
		grid-row: 1;
	}

	.studios-location address {
		grid-row: 2;
		padding-block: 1.25rem;
	}

	.studios-location__visual {
		grid-row: 3;
		margin: 0;
	}

	.studios-location a {
		grid-row: 4;
	}

	.site-footer__legal-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 2.5rem;
	}
}

@media (max-width: 760px) and (max-height: 680px) {
	.hero__system {
		top: 38%;
		width: min(94vw, 23rem) !important;
	}

	.hero__copy {
		transform: translateY(0) !important;
	}
}

/* Smartphone-only typography and client-side list pagination. */
.icy-mobile-pagination {
	display: none;
}

@media (max-width: 600px) {
	.icy-vision,
	.icy-artists,
	.icy-enter,
	.ecosystem-hero,
	.ecosystem-world {
		box-sizing: border-box;
	}

	.icy-vision__inner,
	.icy-vision__heading,
	.icy-artists__intro,
	.icy-enter__inner,
	.ecosystem-hero__inner,
	.ecosystem-world__inner,
	.ecosystem-world__content {
		min-width: 0;
		max-width: 100%;
	}

	.icy-vision h2 {
		max-width: 100%;
		font-size: clamp(2.5rem, 11.8vw, 3.2rem);
		line-height: .88;
	}

	.icy-artists__intro h2 {
		max-width: 100%;
		font-size: clamp(2.75rem, 12vw, 3.4rem);
		line-height: .86;
	}

	.icy-enter h2 {
		max-width: 100%;
		font-size: clamp(2.4rem, 10.5vw, 3rem);
		line-height: .86;
	}

	.ecosystem-hero__inner {
		width: 100%;
		margin-inline: auto;
	}

	.ecosystem-hero h1 {
		max-width: 100%;
		font-size: clamp(2.8rem, 12.3vw, 3.55rem);
		line-height: .86;
	}

	#social-media-management h2 {
		max-width: 100%;
		font-size: clamp(2.8rem, 11.5vw, 3.35rem);
		line-height: .88;
	}

	#grafiche h2 {
		max-width: 100%;
		font-size: clamp(2.65rem, 10.7vw, 3.15rem);
		line-height: .89;
	}

	#grafiche .ecosystem-world__copy {
		width: 100%;
		max-width: 32rem;
		font-size: .92rem;
		line-height: 1.65;
	}

	#grafiche .ecosystem-world__visual {
		width: 100%;
		max-width: 100%;
		min-height: 0;
		aspect-ratio: 4 / 5;
		justify-self: stretch;
	}

	#grafiche .ecosystem-world__image--1 {
		inset: 0;
		width: 100%;
		max-width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.icy-mobile-pagination {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: .45rem;
		margin: 2.5rem auto 0;
	}

	.icy-mobile-pagination[hidden] {
		display: none;
	}

	.icy-mobile-pagination button {
		display: grid;
		width: 2.55rem;
		height: 2.55rem;
		place-items: center;
		padding: 0;
		border: 1px solid rgba(83, 217, 255, .28);
		border-radius: 50%;
		background: rgba(4, 12, 20, .72);
		color: #dff8ff;
		font: inherit;
		font-size: .76rem;
		font-weight: 800;
		cursor: pointer;
		transition: border-color .2s ease, background .2s ease, color .2s ease;
	}

	.icy-mobile-pagination button[aria-current="page"] {
		border-color: #53d9ff;
		background: rgba(83, 217, 255, .18);
		color: #fff;
		box-shadow: 0 0 1rem rgba(83, 217, 255, .12);
	}

	.icy-mobile-pagination button:disabled {
		cursor: default;
		opacity: .35;
	}

	.icy-mobile-pagination button:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero .planet__label,
	.hero.is-labels-ready .planet__label {
		transition: none !important;
	}
}
