/* v2.1.3: the supplied logo stays intact in every animation and hero state. */
.site-intro__brush { display: none !important; }
.site-intro__logo {
	width: min(43vw, 390px);
	opacity: 0;
	transform: scale(.16) rotate(0deg);
}
.site-intro.is-loaded .site-intro__logo {
	animation: chisou-intro-logo-spin 1080ms cubic-bezier(.18, .82, .22, 1) .08s forwards;
}
@keyframes chisou-intro-logo-spin {
	0% { opacity: 0; transform: scale(.16) rotate(0deg); }
	16% { opacity: 1; }
	100% { opacity: 1; transform: scale(1) rotate(360deg); }
}

.brand-hero__official-logo {
  position: absolute;
  top: 50%;
  /* The supplied PNG has transparent left-side space. Offset its visible mark to the brush-circle center. */
  left: calc(50% + clamp(26px, 3vw, 42px));
	width: min(34vw, 430px);
	margin: 0;
	transform: translate3d(-50%, -50%, 0) scale(.95);
	animation-name: chisou-centered-logo-reveal;
}
@keyframes chisou-centered-logo-reveal {
	to { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
}
.brand-hero__statement {
	position: absolute;
	top: calc(50% + min(19vw, 238px));
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
}

/* Keep the v2.0 washi frame, while clipping it to its own category row. */
.material-row, .material-row:nth-child(even) { overflow: hidden; }
.material-row__photo, .material-row:nth-child(even) .material-row__photo {
	position: relative;
	width: min(100%, 560px);
	height: 380px;
	padding: 0;
	overflow: visible;
	isolation: isolate;
	background: transparent;
	border: 0;
}
.material-row__photo::before {
	position: absolute;
	z-index: 0;
	inset: -18px -24px;
	display: block;
	content: "";
	background-image: var(--material-washi-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 148% auto;
	opacity: .3;
	transform: rotate(-3deg);
	transition: opacity 320ms ease, transform 480ms ease;
}
.material-row:nth-child(even) .material-row__photo::before { transform: rotate(3deg); }
.material-row__photo img {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: contain;
	object-position: center;
}
.material-row:hover .material-row__photo::before { opacity: .47; transform: rotate(0) scale(1.03); }

@media (max-width: 767px) {
	.site-intro__logo { width: min(66vw, 300px); }
  .brand-hero__official-logo {
    left: calc(50% + 22px);
    width: min(67vw, 320px);
  }
	.brand-hero__statement { top: calc(50% + 182px); padding: 0 24px; font-size: 20px; }
	.material-row__photo, .material-row:nth-child(even) .material-row__photo { width: min(100%, 312px); height: 258px; margin: 0 auto; }
	.material-row__photo::before { inset: -15px -20px; background-size: 150% auto; opacity: .34; }
}

@media (prefers-reduced-motion: reduce) {
	.site-intro__logo, .brand-hero__official-logo { opacity: 1; animation: none !important; transform: translate3d(-50%, -50%, 0) scale(1); }
	.site-intro__logo { transform: scale(1); }
}
