/* Homepage studio layout. Scoped so catalog, product and account pages keep their own UI. */
body.mall-home-page {
  --studio-ink: #171716;
  --studio-muted: #77736d;
  --studio-line: #d8d3ca;
  --studio-paper: #f0eee9;
  --studio-red: #b94b39;
  background: #f0eee9;
}
body.mall-home-page .kd-main { background: #f0eee9; }
body.mall-home-page .kd-footer { margin-top: 0; }
.studio-home { overflow: hidden; color: var(--studio-ink); }
.studio-home img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-overline { margin: 0; color: var(--studio-muted); font-size: 10px; letter-spacing: 3px; line-height: 1.4; }
.studio-button { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; padding: 0 20px; font-size: 12px; letter-spacing: 1px; transition: background .25s, color .25s, transform .25s; }
.studio-button:hover { transform: translateY(-3px); }
.studio-button-dark { background: var(--studio-ink); color: #fff; }
.studio-button-dark:hover { background: var(--studio-red); color: #fff; }
.studio-button-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.studio-button-light:hover { background: #fff; color: var(--studio-ink); }
.studio-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--studio-ink); font-size: 12px; white-space: nowrap; }
.studio-text-link i { transition: transform .25s; }
.studio-text-link:hover { color: var(--studio-red); }
.studio-text-link:hover i { transform: translate(3px, -3px); }

.studio-hero { position: relative; min-height: 680px; background: #292725; color: #fff; }
.studio-hero-image { position: absolute; inset: 0 0 0 35%; overflow: hidden; }
.studio-hero-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #292725 0%, rgba(41,39,37,.74) 20%, rgba(41,39,37,.06) 72%); }
.studio-hero-image img { filter: saturate(.72); object-position: center; animation: studioHeroIn 1.1s ease both; }
.studio-hero-copy { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 130px 70px 90px; }
.studio-hero-copy .studio-overline { color: rgba(255,255,255,.58); }
.studio-hero-copy h1 { margin: 24px 0; font-family: var(--font-serif); font-size: clamp(54px, 7vw, 102px); font-weight: 900; line-height: .98; letter-spacing: -3px; }
.studio-hero-copy h1 i { color: #e7a08a; font-style: normal; }
.studio-lead { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 2; }
.studio-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.studio-hero-actions .studio-text-link { color: rgba(255,255,255,.78); }
.studio-hero-actions .studio-text-link:hover { color: #fff; }
.studio-hero-mark { position: absolute; z-index: 2; right: 7%; bottom: 55px; color: rgba(255,255,255,.66); font-size: 10px; line-height: 1.6; letter-spacing: 4px; }
.studio-hero-index { position: absolute; z-index: 2; right: 28px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: 1px; }
.studio-hero-index i { width: 1px; height: 64px; background: rgba(255,255,255,.55); }

.studio-announcement { display: flex; align-items: center; gap: 22px; max-width: 1240px; margin: 0 auto; padding: 18px 0; border-bottom: 1px solid var(--studio-line); }
.studio-announcement-label { display: inline-flex; align-items: center; gap: 8px; color: var(--studio-red); font-size: 11px; letter-spacing: 2px; }
.studio-announcement-window { position: relative; height: 22px; min-width: 0; flex: 1; overflow: hidden; }
.studio-announcement-track { display: flex; flex-direction: column; animation: studioAnnouncementUp 16s ease-in-out infinite; }
.studio-announcement-track a { display: flex; align-items: center; gap: 12px; height: 22px; overflow: hidden; color: var(--studio-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.studio-announcement-track a:hover { color: var(--studio-red); }
.studio-announcement-track a span { color: var(--studio-red); font-size: 10px; letter-spacing: 1px; }
.studio-announcement button { border: 0; padding: 0; background: none; color: var(--studio-ink); font-size: 11px; white-space: nowrap; }
.studio-announcement button:hover { color: var(--studio-red); }

.studio-intro { position: relative; max-width: 1240px; min-height: 410px; margin: 0 auto; padding: 118px 25% 80px 8%; }
.studio-intro h2 { margin: 28px 0 0; font-family: var(--font-serif); font-size: clamp(38px, 5vw, 72px); font-weight: 900; line-height: 1.15; letter-spacing: -2px; }
.studio-intro h2 em { color: var(--studio-red); font-style: normal; }
.studio-intro-side { position: absolute; right: 4%; bottom: 75px; display: flex; gap: 17px; align-items: flex-start; }
.studio-intro-side span { color: var(--studio-red); font-size: 12px; }
.studio-intro-side p { margin: 0; color: var(--studio-muted); font-size: 12px; line-height: 1.8; }

.studio-category-row, .studio-lookbook, .studio-drop, .studio-latest, .studio-shops { max-width: 1240px; margin: 0 auto; }
.studio-category-row { display: grid; grid-template-columns: 190px 1fr; gap: 50px; padding: 38px 0 115px; border-top: 1px solid var(--studio-line); }
.studio-section-label { display: flex; flex-direction: column; gap: 12px; color: var(--studio-muted); }
.studio-section-label span { color: var(--studio-red); font-size: 11px; }
.studio-section-label strong { font-size: 10px; font-weight: 600; letter-spacing: 2px; }
.studio-category-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.studio-category { display: flex; flex-direction: column; justify-content: space-between; min-height: 125px; padding: 0 20px; border-left: 1px solid var(--studio-line); transition: background .25s, color .25s; }
.studio-category:hover { background: var(--studio-ink); color: #fff; }
.studio-category-number { color: var(--studio-red); font-size: 11px; }
.studio-category-name { font-family: var(--font-serif); font-size: 24px; }
.studio-category i { align-self: flex-end; font-size: 15px; }

.studio-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 35px; }
.studio-section-heading > div > span { color: var(--studio-muted); font-size: 10px; letter-spacing: 2px; }
.studio-section-heading h2 { margin: 15px 0 0; font-family: var(--font-serif); font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -2px; }
.studio-heading-note { margin: 13px 0 0; color: var(--studio-muted); font-size: 12px; line-height: 1.7; }
.studio-lookbook { padding-bottom: 125px; }
.studio-lookbook-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 260px 260px; gap: 14px; }
.studio-look { position: relative; overflow: hidden; color: #fff; }
.studio-look img { transition: transform .8s, filter .8s; filter: saturate(.7); }
.studio-look:hover img { transform: scale(1.06); filter: saturate(1); }
.studio-look::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 60%); }
.studio-look-main { grid-row: span 2; }
.studio-look-wide { grid-column: span 2; }
.studio-look-copy { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; }
.studio-look-copy span { display: block; margin-bottom: 9px; color: #e7a08a; font-size: 9px; letter-spacing: 2px; }
.studio-look-copy strong { display: block; font-family: var(--font-serif); font-size: 25px; line-height: 1.15; }
.studio-look-copy i { position: absolute; right: 0; bottom: 2px; font-size: 15px; }

.studio-drop { padding-bottom: 125px; }
.studio-drop-head { display: grid; grid-template-columns: 190px 1fr auto; gap: 50px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--studio-line); }
.studio-drop-title h2 { margin: 0; font-family: var(--font-serif); font-size: 45px; line-height: 1; }
.studio-drop-title p { margin: 10px 0 0; color: var(--studio-muted); font-size: 12px; }
.studio-product-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; width: 100%; min-width: 0; padding-top: 25px; align-items: start; }
.studio-product { display: block; width: 100%; min-width: 0; overflow: hidden; }
.studio-product-image { position: relative; aspect-ratio: .78; overflow: hidden; background: #e5e1d9; }
.studio-product-image img { transition: transform .5s; }
.studio-product:hover .studio-product-image img { transform: scale(1.04); }
.studio-product-image span { position: absolute; left: 12px; top: 12px; color: #fff; font-size: 10px; letter-spacing: 1px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.studio-product-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; padding-top: 13px; }
.studio-product-info > div { min-width: 0; flex: 1 1 auto; }
.studio-product-info small { color: var(--studio-muted); font-size: 10px; }
.studio-product-info h3 { display: block; width: 100%; margin: 6px 0 0; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.studio-product-info strong { color: var(--studio-red); font-size: 14px; white-space: nowrap; }

.studio-editorial { display: grid; grid-template-columns: 1.35fr .9fr; min-height: 560px; margin: 0 auto 125px; background: var(--studio-ink); color: #fff; }
.studio-editorial-image { min-height: 560px; overflow: hidden; }
.studio-editorial-image img { filter: saturate(.68); }
.studio-editorial-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 12%; }
.studio-editorial-copy .studio-overline { color: #e7a08a; }
.studio-editorial-copy h2 { margin: 24px 0; font-family: var(--font-serif); font-size: clamp(38px, 4vw, 62px); line-height: 1.1; }
.studio-editorial-copy h2 em { color: #e7a08a; font-style: normal; }
.studio-editorial-copy p { max-width: 270px; margin: 0 0 32px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 2; }

.studio-latest { padding-bottom: 125px; }
.studio-latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px 18px; width: 100%; min-width: 0; align-items: start; }
.studio-latest-item { display: block; width: 100%; min-width: 0; overflow: hidden; }
.studio-latest-image { position: relative; aspect-ratio: .82; overflow: hidden; background: #e5e1d9; }
.studio-latest-image img { transition: transform .6s; }
.studio-latest-item:hover .studio-latest-image img { transform: scale(1.045); }
.studio-latest-image > span { position: absolute; left: 12px; top: 12px; color: #fff; font-size: 9px; letter-spacing: 2px; text-shadow: 0 1px 5px #333; }
.studio-latest-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-width: 0; padding-top: 13px; }
.studio-latest-copy { min-width: 0; flex: 1 1 auto; }
.studio-latest-shop { display: block; overflow: hidden; color: var(--studio-muted); font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.studio-latest-shop i { margin-right: 5px; color: var(--studio-red); font-size: 10px; }
.studio-latest-meta h3 { display: -webkit-box; min-width: 0; margin: 7px 0 0; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.studio-latest-meta strong { padding-top: 1px; color: var(--studio-red); font-size: 14px; white-space: nowrap; }

.studio-shops { padding-bottom: 125px; }
.studio-shop-list { border-top: 1px solid var(--studio-line); }
.studio-shop { display: grid; grid-template-columns: 72px 1fr 30px; gap: 25px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--studio-line); transition: padding .25s, background .25s; }
.studio-shop:hover { padding-left: 18px; padding-right: 18px; background: #e8e5df; }
.studio-shop-avatar { width: 58px; height: 58px; overflow: hidden; border-radius: 50%; background: #ddd; }
.studio-shop-name { display: grid; grid-template-columns: 35px 1fr; align-items: baseline; }
.studio-shop-name > span { color: var(--studio-red); font-size: 11px; }
.studio-shop-name h3 { margin: 0; font-family: var(--font-serif); font-size: 23px; font-weight: 700; }
.studio-shop-name p { grid-column: 2; margin: 5px 0 0; color: var(--studio-muted); font-size: 11px; }
.studio-shop-arrow { color: var(--studio-red); font-size: 18px; }
.studio-empty { grid-column: 1 / -1; padding: 45px 0; color: var(--studio-muted); font-size: 13px; text-align: center; }

.studio-final { position: relative; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; min-height: 390px; padding: 55px max(24px, calc((100% - 1240px) / 2)); background: var(--studio-red); color: #fff; }
.studio-final-word { color: rgba(255,255,255,.36); font-size: 10px; line-height: 1.7; letter-spacing: 4px; }
.studio-final h2 { margin: 18px 0 25px; font-family: var(--font-serif); font-size: clamp(34px, 4vw, 56px); }
.studio-final .studio-overline { color: rgba(255,255,255,.62); }
.studio-final .studio-button-dark { background: #fff; color: var(--studio-red); }
.studio-final .studio-button-dark:hover { background: var(--studio-ink); color: #fff; }
.studio-final-index { justify-self: end; align-self: end; color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: 2px; }
.studio-final-index i { margin-left: 12px; }

.studio-reveal { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s ease; }
.studio-reveal.in { opacity: 1; transform: none; }
.studio-notice-modal[hidden] { display: none; }
.studio-notice-modal { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 20px; }
.studio-notice-backdrop { position: absolute; inset: 0; background: rgba(18,17,16,.65); backdrop-filter: blur(6px); }
.studio-notice-panel { position: relative; width: 490px; max-width: 100%; padding: 38px 38px 32px; background: #f0eee9; box-shadow: 0 25px 80px rgba(0,0,0,.24); animation: studioModalIn .4s ease both; }
.studio-notice-close { position: absolute; top: 16px; right: 18px; border: 0; background: none; color: var(--studio-muted); }
.studio-notice-close:hover { color: var(--studio-red); }
.studio-notice-panel h2 { margin: 13px 0 27px; font-family: var(--font-serif); font-size: 32px; }
.studio-notice-copy { color: var(--studio-muted); font-size: 13px; line-height: 2; }
.studio-notice-copy p { margin: 0 0 8px; }
.studio-notice-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 24px 0 28px; padding-top: 18px; border-top: 1px solid var(--studio-line); color: var(--studio-ink); font-size: 12px; }
.studio-notice-points i { margin-right: 5px; color: var(--studio-red); }
.studio-notice-button { margin-top: 2px; }
.studio-notice-list { border-top: 1px solid var(--studio-line); }
.studio-notice-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--studio-line); font-size: 13px; }
.studio-notice-list a:hover { color: var(--studio-red); }
body.studio-modal-open { overflow: hidden; }
@keyframes studioHeroIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes studioModalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes studioAnnouncementUp {
  0%, 16% { transform: translateY(0); }
  22%, 38% { transform: translateY(-22px); }
  44%, 60% { transform: translateY(-44px); }
  66%, 82% { transform: translateY(-66px); }
  88%, 100% { transform: translateY(-88px); }
}

@media (max-width: 900px) {
  .studio-hero { min-height: 600px; }
  .studio-hero-image { left: 18%; }
  .studio-hero-copy { padding: 100px 34px 80px; }
  .studio-category-row, .studio-drop-head { grid-template-columns: 130px 1fr; gap: 24px; }
  .studio-category-list { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .studio-category { min-height: 92px; }
  .studio-product-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .studio-product:nth-child(n+4) { display: none; }
  .studio-editorial { grid-template-columns: 1fr 1fr; }
  .studio-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; }
  .studio-latest-item:nth-child(n+7) { display: none; }
}
@media (max-width: 640px) {
  .studio-hero { min-height: 590px; }
  .studio-hero-image { left: 0; opacity: .68; }
  .studio-hero-image::after { background: linear-gradient(90deg, rgba(35,33,31,.85), rgba(35,33,31,.18)); }
  .studio-hero-copy { padding: 80px 22px 70px; }
  .studio-hero-copy h1 { font-size: 54px; letter-spacing: -2px; }
  .studio-lead { font-size: 13px; }
  .studio-hero-mark { display: none; }
  .studio-hero-index { right: 16px; }
  .studio-announcement { margin: 0 16px; gap: 10px; }
  .studio-announcement-track a { font-size: 11px; }
  .studio-announcement button { font-size: 10px; }
  .studio-intro { min-height: 370px; padding: 85px 22px 70px; }
  .studio-intro h2 { font-size: 39px; }
  .studio-intro-side { right: 22px; bottom: 45px; }
  .studio-category-row, .studio-lookbook, .studio-drop, .studio-latest, .studio-shops { margin-left: 22px; margin-right: 22px; }
  .studio-category-row { display: block; padding-bottom: 80px; }
  .studio-category-row .studio-section-label { margin-bottom: 30px; }
  .studio-category-list { grid-template-columns: repeat(2, 1fr); }
  .studio-category { padding: 0 12px; }
  .studio-category-name { font-size: 19px; }
  .studio-section-heading { align-items: flex-start; gap: 20px; flex-direction: column; margin-bottom: 24px; }
  .studio-section-heading h2 { font-size: 42px; }
  .studio-lookbook { padding-bottom: 80px; }
  .studio-lookbook-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 170px; gap: 8px; }
  .studio-look-main { grid-column: span 2; grid-row: span 1; }
  .studio-look-wide { grid-column: span 2; }
  .studio-look-copy { right: 14px; bottom: 13px; left: 14px; }
  .studio-look-copy strong { font-size: 20px; }
  .studio-drop { padding-bottom: 80px; }
  .studio-drop-head { display: block; padding-bottom: 22px; }
  .studio-drop-head .studio-section-label { margin-bottom: 24px; }
  .studio-drop-title h2 { font-size: 38px; }
  .studio-drop-head > .studio-text-link { display: none; }
  .studio-product-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; padding-top: 18px; }
  .studio-product:nth-child(n+5) { display: none; }
  .studio-product-info { display: block; }
  .studio-product-info strong { display: block; margin-top: 7px; }
  .studio-editorial { display: block; margin-bottom: 80px; }
  .studio-editorial-image { min-height: 350px; }
  .studio-editorial-copy { min-height: 380px; padding: 45px 28px; }
  .studio-latest { padding-bottom: 80px; }
  .studio-latest-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 10px; }
  .studio-latest-item:nth-child(n+7) { display: none; }
  .studio-latest-meta { display: block; }
  .studio-latest-meta strong { display: block; margin-top: 8px; }
  .studio-shops { padding-bottom: 80px; }
  .studio-shop { grid-template-columns: 54px 1fr 22px; gap: 14px; }
  .studio-shop-avatar { width: 48px; height: 48px; }
  .studio-shop-name h3 { font-size: 19px; }
  .studio-final { display: block; min-height: 420px; padding: 58px 22px; }
  .studio-final-word { margin-bottom: 58px; }
  .studio-final-index { margin-top: 55px; }
  .studio-notice-panel { padding: 32px 22px 25px; }
  .studio-notice-points { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-home *, .studio-home *::before, .studio-home *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
