/* =========================================================
   HOME PAGE CSS
   MIRAworks
========================================================= */

.mw-hero {
	position: relative;
	width: 100%;
	min-height: 690px;
	overflow: hidden;
	background: #faf8f2;
}

.mw-hero__media {
	position: absolute;
	inset: 0;
	background-image: url("../images/hero-city.jpg");
	background-position: center right;
	background-size: cover;
	background-repeat: no-repeat;
}

.mw-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(
					90deg,
					rgba(255,255,255,.99) 0%,
					rgba(255,255,255,.97) 24%,
					rgba(255,255,255,.79) 40%,
					rgba(255,255,255,.35) 56%,
					rgba(255,255,255,.04) 77%,
					rgba(255,255,255,0) 100%
				);
}

.mw-hero__veil::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48%;
	height: 100%;
	background: rgba(255,255,255,.16);
	clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%);
}

.mw-hero__inner {
	position: relative;
	z-index: 2;
	min-height: 690px;
	display: flex;
	align-items: center;
}

.mw-hero__content {
	width: 58%;
	padding-top: 0;
}

.mw-hero__title {
	margin-bottom: 30px !important;
	font-family: var(--mw-serif);
	font-size: clamp(62px, 4vw, 82px);
	font-weight: 500;
	line-height: 1.38;
	letter-spacing: .015em;
	color: #483700;
}

.mw-hero__lead {
	max-width: 620px;
	margin-bottom: 38px !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: .025em;
	color: #353535;
}

.mw-hero__brand-line {
	display: block;
	width: 36px;
	height: 1px;
	margin-bottom: 17px;
	background: var(--mw-gold);
}

.mw-hero__brand p {
	font-size: 16px;
	font-weight: 600;
	font-family: serif;
	line-height: 1.65;
	letter-spacing: .10em !important;
	color: var(--mw-gold);
}

.mw-hero__english {
	position: absolute;
	top: 22px;
	right: 2px;
	z-index: 3;
	font-family: var(--mw-script-font), cursive;
	font-size: 45px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	color: #6a5608;
	transform: rotate(-15deg);
	text-align: left;
	white-space: nowrap;
}

.mw-about {
	padding-top: 76px;
	padding-bottom: 82px;
	overflow: hidden;
	background: #fff;
}

.mw-about .mw-container {
	width: min(calc(100% - 64px), var(--mw-container));
	margin-inline: auto;
}

.mw-about__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(520px, .78fr)
				minmax(0, 1.22fr);
	gap: 64px;
	align-items: center;
}

.mw-about__text {
	position: relative;
	z-index: 2;
	min-width: 0;
	grid-column: 1;
	grid-row: 1;
}

.mw-about__body {
	max-width: 680px;
	margin-top: 20px;
}

.mw-about__body p {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 17px;
	line-height: 1.92;
	letter-spacing: .015em;
	color: #333;
}

.mw-about__body p:last-child {
	margin-bottom: 0 !important;
}

.mw-about__visual {
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	width: calc(
				100% +
				((100vw - min(calc(100vw - 64px), var(--mw-container))) / 2)
			);
	margin-right: calc(
				-1 *
				((100vw - min(calc(100vw - 64px), var(--mw-container))) / 2)
			);
}

.mw-about__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
					90deg,
					rgba(20, 18, 10, 0) 48%,
					rgba(20, 18, 10, .10) 65%,
					rgba(20, 18, 10, .48) 100%
				);
}

.mw-about__image {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	min-height: 0;
	overflow: hidden;
}

.mw-about__image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: contain;
	object-position: center;
}

.mw-about__message {
	position: relative;
	z-index: 3;
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	align-self: center;
	width: 300px;
	padding: 34px 0;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .20);
}

.mw-about__message > p {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: 23px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .03em;
	color: #fff;
}

.mw-about__message-line {
	display: block;
	width: 42px;
	height: 1px;
	margin: 28px 0;
	background: rgba(255, 255, 255, .85);
}

.mw-about__message small {
	display: block;
	font-family: var(--mw-sans);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.9;
	letter-spacing: .22em;
	color: rgba(255, 255, 255, .92);
}

.mw-service {
	padding-top: 76px;
	padding-bottom: 84px;
	background: var(--mw-bg-soft);
}

.mw-section-heading {
	margin-bottom: 34px;
	display: flex;
	align-items: flex-end;
	gap: 70px;
}

.mw-section-heading .mw-section-title {
	margin-bottom: 0 !important;
}

.mw-section-heading__text {
	margin-bottom: 4px !important;
	font-size: 17px;
	line-height: 1.80;
	letter-spacing: .012em;
}

.mw-service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.mw-service-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--mw-border);
	box-shadow: 0 6px 22px rgba(0, 0, 0, .035);
	transition: transform .3s ease,
				box-shadow .3s ease;
}

.mw-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

.mw-service-card__image {
	height: 200px;
	overflow: hidden;
	background: #eee;
}

.mw-service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.mw-service-card:hover .mw-service-card__image img {
	transform: scale(1.04);
}

.mw-service-card__body {
	min-height: 270px;
	padding: 27px 28px 26px;
	display: flex;
	flex-direction: column;
}

.mw-service-card__number {
	position: relative;
	margin-bottom: 18px;
	padding-bottom: 10px;
	font-family: var(--mw-serif);
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
	color: var(--mw-gold);
}

.mw-service-card__number::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 27px;
	height: 1px;
	background: var(--mw-gold);
}

.mw-service-card h3 {
	margin: 0 0 16px !important;
	font-family: var(--mw-serif);
	font-size: 24px;
	line-height: 1.36;
	font-weight: 600;
	letter-spacing: .01em;
	color: #252118;
}

.mw-service-card p {
	margin-bottom: 22px !important;
	font-size: 16px;
	line-height: 1.78;
	letter-spacing: .008em;
	color: #4b4b4b;
}

.mw-service-card a,
.mw-service-card__more {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 19px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .05em;
	color: var(--mw-gold);
}

.mw-web-production {
	width: 100%;
	background: #fff;
}

.mw-web-production__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.mw-web-production__visual {
	position: relative;
	min-height: 500px;
	overflow: hidden;
}

.mw-web-production__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
					90deg,
					rgba(22, 21, 13, .72) 0%,
					rgba(22, 21, 13, .28) 48%,
					rgba(22, 21, 13, .02) 100%
				);
}

.mw-web-production__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mw-web-production__visual-copy {
	position: absolute;
	z-index: 2;
	left: clamp(48px, 5vw, 96px);
	bottom: 64px;
	color: #fff;
}

.mw-web-production__english {
	margin-bottom: 24px !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: .01em;
}

.mw-web-production__visual-copy > p:last-child {
	font-family: var(--mw-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .05em;
}

.mw-web-production__content {
	padding: 75px
				clamp(56px, 6vw, 110px)
				75px
				clamp(56px, 6vw, 110px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mw-web-production__content h2 {
	margin: 0 0 20px !important;
	font-family: var(--mw-serif);
	font-size: 30px;
	line-height: 1.40;
	font-weight: 600;
	letter-spacing: .01em;
	color: #201d16;
}

.mw-web-production__content > p {
	max-width: 680px;
	margin-bottom: 26px !important;
	font-size: 17px;
	line-height: 1.82;
	letter-spacing: .015em;
	color: #444;
}

.mw-web-production__tags {
	max-width: 700px;
	margin-bottom: 27px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 11px;
}

.mw-web-production__tags span {
	min-height: 46px;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f6f5;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .015em;
	text-align: center;
}

.mw-approach {
	padding-top: 76px;
	padding-bottom: 82px;
	background: linear-gradient(
					130deg,
					#fff 0%,
					#fff 77%,
					#faf8f0 100%
				);
}

.mw-approach__heading {
	margin-bottom: 38px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 60px;
}

.mw-approach__heading .mw-section-title {
	margin-bottom: 0 !important;
}

.mw-approach__heading > p {
	max-width: 560px;
	padding-top: 2px;
	font-size: 17px;
	line-height: 1.85;
	letter-spacing: .015em;
}

.mw-approach-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.mw-approach-item {
	position: relative;
	padding: 0 48px;
	text-align: center;
}

.mw-approach-item + .mw-approach-item {
	border-left: 1px solid var(--mw-border);
}

.mw-approach-item__icon {
	width: 66px;
	height: 66px;
	margin: 0 auto 22px;
	color: var(--mw-gold);
}

.mw-approach-item__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mw-approach-item h3 {
	margin: 0 0 12px !important;
	font-family: var(--mw-serif);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.42;
	letter-spacing: .02em;
	color: #2b281f;
}

.mw-approach-item p {
	margin: 0 auto !important;
	max-width: 350px;
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .01em;
	color: #555;
}

.mw-company {
	padding-top: 68px;
	padding-bottom: 72px;
	background: #faf9f7;
}

.mw-company__grid {
	display: grid;
	grid-template-columns: 285px 1fr;
	gap: 72px;
	align-items: start;
}

.mw-company .mw-section-title {
	margin-bottom: 0 !important;
}

.mw-company__table {
	border-top: 1px solid #dcd8cf;
}

.mw-company__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	min-height: 70px;
	border-bottom: 1px solid #dcd8cf;
}

.mw-company__label,
.mw-company__value {
	padding: 20px 26px;
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: .01em;
}

.mw-company__label {
	font-weight: 600;
	background: rgba(91, 73, 5, .035);
}

.mw-approach-grid--four {
	grid-template-columns: repeat(4, 1fr);
}

.mw-approach-grid--four .mw-approach-item {
	padding-left: 34px;
	padding-right: 34px;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1600px) {

	.mw-hero,
	.mw-hero__inner {
		min-height: 720px;
	}

}


/* =========================================================
   LAPTOP
========================================================= */

@media (min-width: 1101px) and (max-width: 1366px) {

	.mw-hero__title {
		font-size: 55px;
	}

	.mw-about__grid {
		gap: 48px;
	}

	.mw-service-card h3 {
		font-size: 23px;
	}

	.mw-service-card p {
		font-size: 14px;
	}

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

	.mw-about .mw-container {
		width: min(calc(100% - 48px), 980px);
	}

	.mw-about__grid {
		grid-template-columns: 1fr .85fr;
		gap: 40px;
	}

	.mw-about__visual {
		width: calc(
							100% +
							((100vw - min(calc(100vw - 48px), 980px)) / 2)
						);
		margin-right: calc(
							-1 *
							((100vw - min(calc(100vw - 48px), 980px)) / 2)
						);
	}

	.mw-about__message {
		width: 240px;
		margin-right: 28px;
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		gap: 28px;
	}

	.mw-about__message > p {
		font-size: 19px;
	}

	.mw-about__message-line {
		margin: 0;
	}

	.mw-service-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mw-web-production__grid {
		grid-template-columns: 1fr 1fr;
	}

	.mw-web-production__visual-copy {
		left: 32px;
	}

	.mw-web-production__content {
		padding: 50px 34px;
	}

	.mw-approach-grid--four {
		grid-template-columns: repeat(2, 1fr);
	}

	.mw-approach-grid--four .mw-approach-item:nth-child(3) {
		border-left: 0;
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

	.mw-about {
		padding-top: 55px;
		padding-bottom: 0;
		overflow: hidden;
	}

	.mw-about .mw-container {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.mw-about__grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 34px;
		position: relative;
		grid-template-rows: auto auto;
		width: 100%;
	}

	.mw-about__text {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: calc(100% - 36px);
		margin-inline: auto;
		position: relative;
		z-index: 2;
		max-width: none;
		margin: 0 auto;
		min-width: 0;
	}

	.mw-about__body {
		margin-top: 18px;
		width: 100%;
		max-width: none;
	}

	.mw-about__body p {
		font-size: 14px;
		line-height: 1.85;
		margin: 0 0 10px !important;
		letter-spacing: .01em;
	}

	.mw-about__visual {
		grid-column: 1 !important;
		grid-row: 2 !important;
		width: 100vw !important;
		margin: 0 calc(50% - 50vw) !important;
		position: relative;
		z-index: 1;
		display: block;
		max-width: none;
		justify-self: stretch;
		align-self: stretch;
		height: 230px;
		min-height: 230px;
		overflow: hidden;
	}

	.mw-about__visual::after {
		background: linear-gradient(
								90deg,
								rgba(20,18,10,0) 35%,
								rgba(20,18,10,.10) 55%,
								rgba(20,18,10,.58) 100%
							);
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
	}

	.mw-about__image {
		width: 100%;
		aspect-ratio: auto;
		min-height: 230px;
		position: relative;
		height: 100%;
		overflow: hidden;
	}

	.mw-about__image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block;
		max-width: none !important;
		object-position: center center;
	}

	.mw-about__message {
		grid-column: 1 !important;
		grid-row: 2 !important;
		justify-self: end;
		align-self: center;
		width: 48%;
		margin: 0 !important;
		padding: 18px 0 !important;
		color: #fff;
		display: block !important;
		padding-left: 0;
		position: relative;
		z-index: 3;
		max-width: 190px;
		text-shadow: 0 1px 8px rgba(0,0,0,.28);
	}

	.mw-about__message > p {
		font-size: 15px;
		line-height: 1.5;
		margin: 0 !important;
		letter-spacing: .025em;
		color: #fff;
	}

	.mw-about__message-line {
		margin: 14px 0;
		width: 28px;
	}

	.mw-hero,
	.mw-hero__inner {
		min-height: 420px;
	}

	.mw-hero__media {
		background-position: 64% center;
	}

	.mw-hero__veil {
		background: linear-gradient(
								180deg,
								rgba(255,255,255,.94) 0%,
								rgba(255,255,255,.88) 47%,
								rgba(255,255,255,.35) 75%,
								rgba(255,255,255,.12) 100%
							);
	}

	.mw-hero__veil::after {
		display: none;
	}

	.mw-hero__inner {
		align-items: flex-start;
		padding-top: 62px;
	}

	.mw-hero__content {
		width: 100%;
	}

	.mw-hero__title {
		margin-bottom: 20px !important;
		font-size: 34px;
		line-height: 1.45;
	}

	.mw-hero__lead {
		max-width: 92%;
		font-size: 13px;
		line-height: 1.8;
		margin-bottom: 26px !important;
	}

	.mw-hero__english {
		display: none;
	}

	.mw-section-heading {
		display: block;
		margin-bottom: 26px;
	}

	.mw-section-heading__text {
		margin-top: 14px !important;
		font-size: 13px;
		line-height: 1.7;
	}

	.mw-service {
		padding-top: 58px;
		padding-bottom: 64px;
	}

	.mw-service-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.mw-service-card__image {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.mw-service-card__body {
		min-height: 0;
		padding: 22px 20px 22px;
	}

	.mw-service-card h3 {
		font-size: 21px;
		margin-bottom: 12px !important;
	}

	.mw-service-card p {
		font-size: 13px;
		margin-bottom: 18px !important;
		line-height: 1.75;
	}

	.mw-web-production__grid {
		grid-template-columns: 1fr;
	}

	.mw-web-production__visual {
		min-height: 300px;
	}

	.mw-web-production__visual-copy {
		left: 22px;
		bottom: 24px;
	}

	.mw-web-production__content {
		padding: 40px 18px 46px;
	}

	.mw-web-production__content h2 {
		font-size: 26px;
		margin-bottom: 14px !important;
		line-height: 1.45;
	}

	.mw-web-production__content > p {
		font-size: 13px;
		margin-bottom: 20px !important;
		line-height: 1.8;
	}

	.mw-web-production__tags {
		grid-template-columns: repeat(2, 1fr);
		gap: 7px;
		margin-bottom: 20px;
	}

	.mw-approach__heading {
		display: block;
		margin-bottom: 20px;
	}

	.mw-approach__heading > p {
		padding-top: 0;
		margin-top: 14px !important;
		font-size: 13px;
		line-height: 1.75;
	}

	.mw-approach-grid {
		grid-template-columns: 1fr;
	}

	.mw-approach-item {
		padding: 38px 10px;
	}

	.mw-approach-item + .mw-approach-item {
		border-left: 0;
		border-top: 1px solid var(--mw-border);
	}

	.mw-company {
		padding-top: 54px;
		padding-bottom: 56px;
	}

	.mw-company__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mw-company__row {
		grid-template-columns: 82px 1fr;
		min-height: 0;
	}

	.mw-company__label,
	.mw-company__value {
		padding: 12px 9px;
		font-size: 11px;
		line-height: 1.65;
	}

	.mw-approach-grid--four {
		grid-template-columns: 1fr;
	}

	.mw-approach-grid--four .mw-approach-item {
		padding: 38px 10px;
	}

	.mw-hero__brand p {
		font-size: 10px;
		line-height: 1.5;
	}

	.mw-about__body p:last-child {
		margin-bottom: 0 !important;
	}

	.mw-about__message small {
		font-size: 8px;
		line-height: 1.5;
		letter-spacing: .13em;
		color: #fff;
	}

	.mw-service-card__number {
		margin-bottom: 14px;
		font-size: 18px;
	}

	.mw-service-card a,
	.mw-service-card__more {
		margin-top: 0;
		font-size: 11px;
	}

	.mw-web-production__english {
		margin-bottom: 14px !important;
		font-size: 28px;
	}

	.mw-web-production__visual-copy > p:last-child {
		font-size: 15px;
		line-height: 1.65;
	}

	.mw-web-production__tags span {
		min-height: 40px;
		padding: 7px 6px;
		font-size: 11px;
	}

	.mw-approach {
		padding-top: 58px;
		padding-bottom: 60px;
	}

	.mw-approach-grid,
	.mw-approach-grid--four {
		grid-template-columns: 1fr;
	}

	.mw-approach-grid--four .mw-approach-item,
	.mw-approach-item {
		padding: 28px 8px;
	}

	.mw-approach-item__icon {
		width: 44px;
		height: 44px;
		margin-bottom: 15px;
	}

	.mw-approach-item h3 {
		margin-bottom: 9px !important;
		font-size: 18px;
	}

	.mw-approach-item p {
		max-width: 300px;
		font-size: 13px;
		line-height: 1.7;
	}

}

/* =========================================================
   TOP ABOUT IMAGE - SMOOTH SLIDE FROM RIGHT
========================================================= */

.mw-about__visual {
    overflow: hidden;
}

.mw-about__visual img {
    opacity: .25;
    transform: translateX(140px) scale(1.015);
    transition:
        transform 1.25s cubic-bezier(.16, 1, .3, 1),
        opacity .9s ease;
}

.mw-about__visual.is-visible img {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .mw-about__visual img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}