/*
 * Home page (canvas "Korshid Arena Pro": Home — Desktop 1440 / Home — Mobile 390).
 * Phones first; desktop from 900 px. All rules start with .sc-site.sc-home or .sc-home + class.
 */

.sc-site.sc-home { display: block; background: #fff; color: #111; font-size: 16px; line-height: 1.5; overflow-x: clip; }
.sc-home img { display: block; max-width: 100%; }
.sc-home a { text-decoration: none; }
.sc-home .sc-home__h2 { margin: 0; font: 600 32px/1.1 var(--sc-font-body); letter-spacing: -.015em; color: inherit; text-transform: none; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.sc-home .sc-home__h2--xl { font-size: 42px; line-height: 1.05; letter-spacing: -.02em; }
.sc-home .sc-home__h3 { display: block; margin: 0; font: 600 28px/1.1 var(--sc-font-body); letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.sc-home .sc-home__lead { margin: 0; font-size: 17px; line-height: 1.6; color: #444; text-wrap: pretty; }
.sc-home .sc-home__eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Buttons */
.sc-home .sc-home__btn {
	display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 26px; border-radius: 999px;
	font: 500 16px/1.2 var(--sc-font-body); white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.sc-home .sc-home__btn--dark { background: #111; color: #fff; }
.sc-home .sc-home__btn--dark:hover { background: #a08d66; color: #111; }
.sc-home .sc-home__btn--red { background: #eb0a1e; color: #fff; }
.sc-home .sc-home__btn--red:hover { background: #c40818; color: #fff; }
.sc-home .sc-home__btn--line { border: 1.5px solid #111; color: #111; padding: 0 20px; }
.sc-home .sc-home__btn--line:hover { background: #111; color: #fff; }

/* 1 Hero */
.sc-home .sc-home__hero { position: relative; margin-top: calc(-1 * var(--sc-hdr-h, 60px)); height: clamp(500px, 140vw, 640px); overflow: hidden; background: #000; }
.sc-home .sc-home__hero picture { position: absolute; inset: 0; }
.sc-home .sc-home__hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.sc-home .sc-home__hero-shade { position: absolute; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(180deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / 0) 100%); }

/* 2 Welcome + tiles */
.sc-home .sc-home__welcome-text { padding: 56px 20px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sc-home .sc-home__welcome-text .sc-home__btn { margin-top: 12px; }
.sc-home .sc-home__welcome-photo { display: none; }
.sc-home .sc-home__tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #222; color: #fff; }
.sc-home .sc-home__tile + .sc-home__tile { margin-top: 0; }
.sc-home a.sc-home__tile:hover { color: #fff; }
.sc-home .sc-home__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sc-home a.sc-home__tile:hover img { transform: scale(1.03); }
.sc-home .sc-home__tile-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .68) 0%, rgb(0 0 0 / 0) 55%); }
.sc-home .sc-home__tile-text { position: absolute; left: 20px; right: 20px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.sc-home .sc-home__tile-desc { font-size: 16px; line-height: 1.5; color: rgb(255 255 255 / .92); max-width: 520px; }

/* 3 Stories */
.sc-home .sc-home__stories { padding: 56px 0 48px; }
.sc-home .sc-home__head { padding: 0 20px; margin-bottom: 28px; }
.sc-home .sc-home__head .sc-home__more { display: none; }
.sc-home .sc-home__more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #111; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; white-space: nowrap; }
.sc-home .sc-home__more .sc-i { color: #a08d66; }
.sc-home .sc-home__more:hover { color: #7a6a48; }
.sc-home .sc-home__more--end { margin: 28px 20px 0; }
.sc-home .sc-home__story-list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; padding: 0 20px 8px; margin: 0; list-style: none; scrollbar-width: none; }
.sc-home .sc-home__story-list::-webkit-scrollbar { display: none; }
.sc-home .sc-home__story { flex: 0 0 84%; scroll-snap-align: start; }
.sc-home .sc-home__story-link { display: flex; flex-direction: column; color: #111; }
.sc-home a.sc-home__story-link:hover { color: #111; }
.sc-home a.sc-home__story-link:hover .sc-home__story-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sc-home .sc-home__story-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #eee; }
.sc-home .sc-home__story-photo img { width: 100%; height: 100%; object-fit: cover; }
.sc-home .sc-home__story-title { margin-top: 18px; font: 600 21px/1.25 var(--sc-font-body); letter-spacing: -.01em; text-wrap: pretty; overflow-wrap: break-word; hyphens: auto; }
.sc-home .sc-home__story-text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #222; text-wrap: pretty; }

/* 4 Rental */
.sc-home .sc-home__rental { position: relative; height: 540px; overflow: hidden; background: #111; color: #fff; }
.sc-home .sc-home__rental-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sc-home .sc-home__rental-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .25) 55%, rgb(0 0 0 / 0) 80%); }
.sc-home .sc-home__rental-text { position: absolute; left: 20px; right: 20px; bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sc-home .sc-home__rental .sc-home__lead { font-size: 16px; color: rgb(255 255 255 / .9); }
.sc-home .sc-home__rental .sc-home__btn { margin-top: 8px; padding: 0 24px; }
.sc-home .sc-home__rental.is-plain { height: auto; }
.sc-home .sc-home__rental.is-plain .sc-home__rental-text { position: static; padding: 56px 20px; }

/* 5 Shop */
.sc-home .sc-home__shop { padding-top: 56px; }
.sc-home .sc-home__shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sc-home .sc-home__shop-intro { grid-column: 1 / -1; background: #f7f7f7; padding: 48px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sc-home .sc-home__shop-text { margin: 0; font-size: 16px; line-height: 1.45; color: #111; max-width: 400px; }
.sc-home .sc-home__shop-intro .sc-home__btn { margin-top: 12px; }
.sc-home .sc-home__shop-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: repeating-linear-gradient(135deg, #ececec 0 12px, #e4e4e4 12px 24px); }
.sc-home .sc-home__shop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sc-home a.sc-home__shop-photo:hover img { transform: scale(1.03); }
.sc-home .sc-home__shop-links { list-style: none; margin: 0; padding: 36px 20px 56px; display: flex; flex-direction: column; gap: 28px; }
.sc-home .sc-home__shop-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 14px; border-bottom: 1.5px solid #111; color: #111; font: 600 22px/1.15 var(--sc-font-body); letter-spacing: -.01em; }
.sc-home .sc-home__shop-link .sc-i { width: 22px; height: 22px; }
.sc-home .sc-home__shop-link:hover { color: #7a6a48; border-color: #7a6a48; }
.sc-home .sc-home__shop:not(:has(.sc-home__shop-links)) { padding-bottom: 56px; }

/* 6 Help */
.sc-home .sc-home__help { background: #f7f7f7; padding: 56px 20px; }
.sc-home .sc-home__help .sc-home__h2 { margin-bottom: 24px; }
.sc-home .sc-home__help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.sc-home .sc-home__help-list > li { display: flex; }
.sc-home .sc-home__help-card { flex: 1; display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 22px 18px; color: #111; border-radius: 8px; }
.sc-home a.sc-home__help-card:hover { color: #7a6a48; }
.sc-home .sc-home__help-icon { display: flex; color: #7a6a48; }
.sc-home .sc-home__help-icon .sc-i { width: 26px; height: 26px; }
.sc-home .sc-home__help-body { display: flex; flex-direction: column; gap: 6px; }
.sc-home .sc-home__help-title { font: 600 18px/1.2 var(--sc-font-body); overflow-wrap: break-word; hyphens: auto; }
.sc-home .sc-home__help-text { font-size: 14px; line-height: 1.45; color: #58595b; }
.sc-home .sc-home__help-arrow { display: none; color: #a08d66; margin-top: auto; }

/* ================= ≥ 900 px ================= */
@media (min-width: 900px) {
	.sc-home { --gut: max(48px, calc((100% - 1200px) / 2)); }
	.sc-home .sc-home__h2 { font-size: 44px; }
	.sc-home .sc-home__h2--xl { font-size: 60px; line-height: 1.04; letter-spacing: -.025em; }
	.sc-home .sc-home__h3 { font-size: 34px; }
	.sc-home .sc-home__lead { font-size: 18px; line-height: 1.65; }

	.sc-home .sc-home__hero { height: clamp(640px, 58vw, 920px); }
	.sc-home .sc-home__hero-media { object-position: 50% 40%; }
	.sc-home .sc-home__hero-shade { height: 180px; }

	.sc-home .sc-home__welcome { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sc-home .sc-home__welcome > * { height: clamp(420px, 34vw, 600px); }
	.sc-home .sc-home__welcome-text { justify-content: center; gap: 28px; padding: 48px 64px 48px max(48px, calc(100% - 600px)); }
	.sc-home .sc-home__welcome-text .sc-home__lead { max-width: 520px; }
	.sc-home .sc-home__welcome-text .sc-home__btn { margin-top: 20px; padding: 0 30px; min-height: 52px; }
	.sc-home .sc-home__welcome-photo { display: block; position: relative; overflow: hidden; background: #222; border-radius: 8px; }
	.sc-home .sc-home__welcome-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	.sc-home .sc-home__tile { aspect-ratio: auto; }
	.sc-home .sc-home__tile-text { left: 0; right: 0; bottom: 0; gap: 14px; padding: 0 48px 48px 44px; }
	.sc-home .sc-home__tile--1 .sc-home__tile-text { padding-left: max(48px, calc(100% - 600px)); }
	.sc-home .sc-home__tile-desc { font-size: 17px; }
	.sc-home .sc-home__welcome.has-one-tile .sc-home__tile { grid-column: 1 / -1; }

	.sc-home .sc-home__stories { padding: 96px var(--gut); }
	.sc-home .sc-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0; margin-bottom: 48px; }
	.sc-home .sc-home__head .sc-home__more { display: inline-flex; min-height: 0; }
	.sc-home .sc-home__more--end { display: none; }
	.sc-home .sc-home__story-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; overflow: visible; padding: 0; }
	.sc-home .sc-home__story-title { margin-top: 24px; font-size: 24px; }
	.sc-home .sc-home__story-text { margin-top: 18px; font-size: 16px; line-height: 1.6; }

	.sc-home .sc-home__rental { height: clamp(480px, 40vw, 620px); }
	.sc-home .sc-home__rental-shade { background: linear-gradient(0deg, rgb(0 0 0 / .66) 0%, rgb(0 0 0 / .18) 55%, rgb(0 0 0 / 0) 80%); }
	.sc-home .sc-home__rental-text { left: var(--gut); right: 48px; bottom: 64px; max-width: 620px; gap: 16px; }
	.sc-home .sc-home__rental .sc-home__lead { font-size: 18px; }
	.sc-home .sc-home__rental .sc-home__btn { margin-top: 12px; padding: 0 30px; min-height: 52px; }
	.sc-home .sc-home__rental.is-plain .sc-home__rental-text { padding: 96px var(--gut); }

	.sc-home .sc-home__shop { padding-top: 96px; }
	.sc-home .sc-home__shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.sc-home .sc-home__shop-intro { grid-column: auto; aspect-ratio: 4 / 5; gap: 16px; border-radius: 8px; overflow: hidden; padding: clamp(48px, 9%, 120px) 48px 48px max(48px, calc((300% + 20px - 1200px) / 2)); }
	.sc-home .sc-home__shop-text { font-size: 18px; line-height: 1.4; }
	.sc-home .sc-home__shop-intro .sc-home__btn { margin-top: 18px; padding: 0 22px; font-size: 17px; min-height: 50px; }
	.sc-home .sc-home__shop-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; padding: 56px var(--gut) 96px; }
	.sc-home .sc-home__shop-link { padding-bottom: 18px; font-size: 28px; letter-spacing: -.015em; }
	.sc-home .sc-home__shop-link .sc-i { width: 26px; height: 26px; }
	.sc-home .sc-home__shop:not(:has(.sc-home__shop-links)) { padding-bottom: 96px; }

	.sc-home .sc-home__help { padding: 96px var(--gut); }
	.sc-home .sc-home__help .sc-home__h2 { margin-bottom: 48px; }
	.sc-home .sc-home__help-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sc-home .sc-home__help-card { gap: 20px; padding: 32px 28px; }
	.sc-home .sc-home__help-icon .sc-i { width: 30px; height: 30px; }
	.sc-home .sc-home__help-body { gap: 8px; }
	.sc-home .sc-home__help-title { font-size: 22px; letter-spacing: -.01em; }
	.sc-home .sc-home__help-text { font-size: 15px; line-height: 1.5; }
	.sc-home .sc-home__help-arrow { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
	.sc-home * { transition: none !important; }
}
