@font-face {
	font-display: swap;
	font-family: "GTF Adieu TRIAL";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/GTFAdieuTRIAL-Regular.otf") format("opentype");
}

@font-face {
	font-display: swap;
	font-family: "GTF Adieu TRIAL";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/GTFAdieuTRIAL-Bold.otf") format("opentype");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans CN";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/SourceHanSansCN-Regular.otf") format("opentype");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans CN";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/SourceHanSansCN-Bold.otf") format("opentype");
}

:root {
	--phomi-blue: #70c7d1;
	--phomi-font: "GTF Adieu TRIAL";
}

html,
body {
	margin: 0;
	overflow-x: hidden;
}

body.page-template-page-partner,
body.page-template-page-partner #page,
body.page-template-page-partner #content,
body.page-template-page-partner .site-content,
body.page-template-page-partner .ast-container,
body.page-template-page-partner .content-area,
body.page-template-page-partner .site-main,
body.page-template-page-partner .entry-content,
body:has(#primary.phomi-partner-page),
body:has(#primary.phomi-partner-page) #page,
body:has(#primary.phomi-partner-page) #content,
body:has(#primary.phomi-partner-page) .site-content,
body:has(#primary.phomi-partner-page) .ast-container,
body:has(#primary.phomi-partner-page) .content-area,
body:has(#primary.phomi-partner-page) .site-main,
body:has(#primary.phomi-partner-page) .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
}

html:has(body.page-template-page-partner),
html:has(#primary.phomi-partner-page) {
	margin-top: 0 !important;
}

body.page-template-page-partner .site-header,
body.page-template-page-partner .site-footer,
body.page-template-page-partner #wpadminbar,
body:has(#primary.phomi-partner-page) .site-header,
body:has(#primary.phomi-partner-page) .site-footer,
body:has(#primary.phomi-partner-page) #wpadminbar {
	display: none;
}

.ast-plain-container.ast-no-sidebar #primary.phomi-partner-page,
#primary.phomi-partner-page,
.phomi-partner-page {
	background: #fff;
	color: #000;
	font-family: var(--phomi-font);
	margin: 0;
	min-height: 100vh;
	padding: 0;
}

.phomi-partner-page *,
.phomi-partner-page *::before,
.phomi-partner-page *::after {
	box-sizing: border-box;
}

.phomi-partner-page img {
	display: block;
	max-width: 100%;
}

.phomi-header {
	height: 4.6875vw;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 40;
}

.phomi-header__inner {
	height: 100%;
	margin: 0 auto;
	max-width: 1920px;
	position: relative;
}

.phomi-logo {
	aspect-ratio: 2269 / 875;
	display: block;
	left: 15.104167vw;
	line-height: 0;
	position: absolute;
	top: 0.572917vw;
	width: 8.333333vw;
}

.phomi-logo img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.phomi-nav {
	left: 26.822917vw;
	position: absolute;
	top: 1.822917vw;
	white-space: nowrap;
}

.phomi-nav ul {
	align-items: flex-start;
	display: flex;
	gap: 2.1875vw;
	list-style: none;
	margin: 0;
	padding: 0;
}

.phomi-nav li {
	line-height: 1;
	position: relative;
}

.phomi-nav a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 0.729167vw;
	font-weight: 400;
	line-height: 1.041667vw;
	text-decoration: none;
	transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.phomi-nav > ul > li:nth-child(-n+6) > a,
.phomi-nav > ul > li:last-child > a {
	/* text-transform: uppercase; */
}

.phomi-nav .has-menu > a::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	height: 0.260417vw;
	margin-left: 0.416667vw;
	position: relative;
	top: -0.026042vw;
	transform: rotate(45deg);
	transition: transform 0.24s ease;
	width: 0.260417vw;
}

.phomi-nav > ul > li > a:hover,
.phomi-nav > ul > li > a:focus-visible {
	color: #fff;
	opacity: 1;
	transform: translateY(-1px) scale(1.08);
}

.phomi-nav .has-menu:hover > a::after,
.phomi-nav .has-menu:focus-within > a::after {
	transform: rotate(225deg);
}

.phomi-mega-menu {
	background: #fff;
	height: 346px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 90px;
	transform: translateY(-8px);
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
	visibility: hidden;
	width: 100vw;
	z-index: 30;
}

.phomi-mega-menu::before {
	pointer-events: none;
	content: "";
	height: 90px;
	left: 0;
	position: absolute;
	top: -90px;
	width: 100%;
}

.phomi-mega-menu__panel {
	background: #1a1a1a;
	height: 320px;
	position: relative;
	width: 100%;
}

.phomi-menu-scrim {
	background: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 436px;
	transition: opacity 0.24s ease, visibility 0.24s ease;
	visibility: hidden;
	z-index: 15;
}

.phomi-header:has(.has-mega-menu:hover) ~ .phomi-menu-scrim,
.phomi-header:has(.has-mega-menu:focus-within) ~ .phomi-menu-scrim {
	opacity: 0;
	visibility: hidden;
}

.phomi-nav .phomi-mega-card {
	color: #fff;
	display: block !important;
	left: 455px;
	position: absolute;
	text-decoration: none;
	top: 50px;
	transition: filter 0.28s ease, transform 0.28s ease;
	width: 310px;
}

.phomi-nav .phomi-mega-card img {
	height: 186px;
	object-fit: cover;
	width: 310px;
}

.phomi-nav .phomi-mega-card span {
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 28px;
	margin-top: 8px;
	text-align: left;
	/* text-transform: capitalize; */
}

.phomi-nav .phomi-mega-card:nth-child(2) {
	left: 805px;
}

.phomi-nav .phomi-mega-card:nth-child(3) {
	left: 1155px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(1) {
	left: 295px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(2) {
	left: 635px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(3) {
	left: 975px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(4) {
	left: 1315px;
}

.phomi-nav .has-mega-menu--case .phomi-mega-menu {
	height: 596px;
}

.phomi-nav .has-mega-menu--case .phomi-mega-menu__panel {
	height: 570px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(1),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(1) {
	left: 295px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(2),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(2) {
	left: 635px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(3),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(3) {
	left: 975px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(4),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(4) {
	left: 1315px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(5),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(5) {
	left: 295px;
	top: 304px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(6) {
	left: 635px;
	top: 304px;
}

.phomi-header.is-mega-active {
	background: #fff;
}

.phomi-header.is-mega-active .phomi-nav > ul > li > a {
	color: #000;
}

.has-mega-menu.is-mega-open > a {
	color: var(--phomi-blue) !important;
}

.has-mega-menu.is-mega-open .phomi-mega-menu {
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
	visibility: visible !important;
}

.phomi-partner-hero {
	background: none;
	color: #fff;
	display: block;
	height: auto;
	min-height: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.phomi-partner-hero__media {
	line-height: 0;
	position: relative;
	width: 100%;
}

.phomi-partner-hero__media::after {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.phomi-partner-hero__media img {
	display: block;
	height: auto;
	width: 100%;
}

.phomi-partner-hero .phomi-header,
.phomi-partner-hero .phomi-menu-scrim {
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

.phomi-partner-hero__content {
	bottom: clamp(32px, 3.645833vw, 70px);
	left: clamp(22px, 3.645833vw, 70px);
	max-width: min(1216px, calc(100% - 7.291666vw));
	position: absolute;
	z-index: 2;
}

.phomi-partner-hero h1 {
	color: #fff;
	font-size: clamp(44px, 3.645833vw, 70px);
	font-weight: 700;
	line-height: 1;
	margin: 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	/* text-transform: uppercase; */
}

.phomi-partner-hero p {
	color: #fff;
	font-size: clamp(16px, 1.25vw, 24px);
	line-height: 1.2;
	margin: 4px 0 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phomi-partner-why {
	background: #fff;
	padding: 120px 70px 130px;
	scroll-margin-top: 96px;
}

.phomi-partner-why > h2,
.phomi-partner-models > h2 {
	font-size: 48px;
	font-weight: 400;
	line-height: 64px;
	margin: 0;
	text-align: center;
	/* text-transform: uppercase; */
}

.phomi-partner-why__list {
	border-top: 1px solid #d9d9d9;
	margin: 60px auto 0;
	max-width: 1240px;
}

.phomi-partner-why__row {
	align-items: start;
	border-bottom: 1px solid #d9d9d9;
	display: grid;
	gap: 60px;
	grid-template-columns: 590px 590px;
	padding: 78px 0 100px;
}

.phomi-partner-why__row--reverse .phomi-partner-why__media {
	order: 2;
}

.phomi-partner-why__row--reverse .phomi-partner-why__copy {
	order: 1;
}

.phomi-partner-why__media {
	height: 343px;
	overflow: hidden;
	width: 590px;
}

.phomi-partner-why__media img,
.phomi-partner-model-card img {
	height: 100%;
	object-fit: cover;
	transition: filter 0.45s ease, transform 0.45s ease;
	width: 100%;
}

.phomi-partner-why__copy span {
	color: rgba(0, 0, 0, 0.08);
	display: block;
	font-size: 100px;
	font-weight: 700;
	line-height: 100px;
	margin: -17px 0 69px;
}

.phomi-partner-why__copy h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 25px;
	margin: 0 0 16px;
}

.phomi-partner-why__copy p {
	color: #333;
	font-size: 14px;
	line-height: 25px;
	margin: 0;
	max-width: 590px;
}

.phomi-partner-models {
	background: #f9f9f9;
	padding: clamp(48px, 6.25vw, 120px) 0 0;
	scroll-margin-top: 96px;
}

.phomi-partner-models > h2 {
	font-size: clamp(34px, 3.125vw, 60px);
	line-height: 1;
	margin-bottom: clamp(32px, 3.65vw, 70px);
}

.phomi-partner-models__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
}

.phomi-partner-model-card {
	background: #000;
	display: flex;
	flex-direction: column;
	height: clamp(336px, min(43.062vw, calc(100svh - 230px)), 827px);
	overflow: hidden;
	position: relative;
}

.phomi-partner-model-card img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.phomi-partner-model-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(24px, 2.45vw, 47px) clamp(16px, 1.25vw, 24px);
	position: relative;
	z-index: 1;
}

.phomi-partner-model-card h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 25px;
	margin: 0;
}

.phomi-partner-model-card p {
	bottom: auto;
	color: #fff;
	font-size: clamp(14px, 0.833vw, 16px);
	line-height: 1.5;
	margin: 0;
	max-width: min(500px, 90%);
	position: static;
}

.phomi-footer {
	background: #000;
	color: #d1d5db;
	display: grid;
	gap: 70px;
	grid-template-columns: repeat(6, 1fr);
	padding: 100px 70px 140px;
}

.phomi-footer strong {
	color: var(--phomi-blue);
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	margin-bottom: 40px;
}

.phomi-footer a {
	color: #d1d5db;
	display: block;
	font-size: 14px;
	line-height: 30px;
	text-decoration: none;
}

.phomi-nav > ul > li > a,
.phomi-nav .phomi-mega-card,
.phomi-partner-model-card,
.phomi-footer a {
	transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease, filter 0.45s ease, opacity 0.28s ease, transform 0.28s ease;
}

.phomi-nav .phomi-mega-card:hover,
.phomi-nav .phomi-mega-card:focus-visible {
	filter: brightness(1.08);
	outline: none;
	transform: translateY(-4px);
}

.phomi-partner-why__media:hover img,
.phomi-partner-model-card:hover img,
.phomi-partner-model-card:focus-within img {
	filter: brightness(0.86);
	transform: scale(1.04);
}

.phomi-footer a:hover,
.phomi-footer a:focus-visible {
	color: var(--phomi-blue);
}

@media (prefers-reduced-motion: reduce) {
	.phomi-partner-page *,
	.phomi-partner-page *::before,
	.phomi-partner-page *::after {
		transition-duration: 0.01ms !important;
	}
}

@media (max-height: 820px) and (min-width: 768px) {
	.phomi-partner-models {
		padding-top: 40px;
	}

	.phomi-partner-models > h2 {
		font-size: clamp(28px, 3.5vw, 40px);
		line-height: 1.1;
		margin-bottom: 24px;
	}

	.phomi-partner-model-card {
		height: clamp(288px, min(43.062vw, calc(100svh - 150px)), 827px);
	}

	.phomi-partner-model-card__body {
		padding: clamp(20px, 2vw, 32px) clamp(16px, 1.25vw, 24px);
	}
}

@media (max-width: 1320px) {
	.phomi-partner-why__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.phomi-partner-why__media {
		width: 100%;
	}
}

@media (max-width: 1180px) {
	.phomi-header {
		background: rgba(0, 0, 0, 0.5);
		height: auto;
	}

	.phomi-header__inner {
		align-items: center;
		display: flex;
		gap: 24px;
		justify-content: space-between;
		padding: 18px 28px;
	}

	.phomi-logo,
	.phomi-nav {
		left: auto;
		position: relative;
		top: auto;
	}

	.phomi-logo {
		width: 140px;
	}

	.phomi-nav {
		overflow-x: auto;
	}

	.phomi-nav ul {
		gap: 18px;
	}

	.phomi-nav a {
		font-size: 12px;
		line-height: 16px;
	}

	.phomi-nav .has-menu > a::after,
	.phomi-mega-menu,
	.phomi-menu-scrim {
		display: none;
	}

	.phomi-partner-why {
		padding-left: 40px;
		padding-right: 40px;
	}

	.phomi-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.phomi-partner-hero__content {
		bottom: 56px;
		left: 24px;
		right: 24px;
	}

	.phomi-partner-hero h1 {
		font-size: 40px;
		line-height: 42px;
	}

	.phomi-partner-hero p {
		font-size: 16px;
		line-height: 28px;
		margin-top: 8px;
	}

	.phomi-partner-why {
		padding: 72px 24px;
	}

	.phomi-partner-why > h2,
	.phomi-partner-models > h2 {
		font-size: 34px;
		line-height: 40px;
		text-align: left;
	}

	.phomi-partner-why__list {
		margin-top: 44px;
	}

	.phomi-partner-why__row,
	.phomi-partner-models__grid,
	.phomi-footer {
		grid-template-columns: 1fr;
	}

	.phomi-partner-why__row {
		gap: 28px;
		padding: 42px 0;
	}

	.phomi-partner-why__row--reverse .phomi-partner-why__media,
	.phomi-partner-why__row--reverse .phomi-partner-why__copy {
		order: initial;
	}

	.phomi-partner-why__media {
		height: auto;
		aspect-ratio: 590 / 343;
	}

	.phomi-partner-why__copy span {
		font-size: 64px;
		line-height: 64px;
		margin: 0 0 32px;
	}

	.phomi-partner-why__copy h3 {
		font-size: 24px;
		line-height: 30px;
	}

	.phomi-partner-models {
		padding-top: clamp(48px, 10vw, 72px);
	}

	.phomi-partner-models > h2 {
		margin: 0 24px clamp(24px, 5vw, 40px);
	}

	.phomi-partner-model-card {
		height: clamp(264px, 33.6svh, 432px);
	}

	.phomi-footer {
		gap: 36px;
		padding: 72px 24px;
	}
}
