
/* DDSIL / EDITION 01 — isolated preview home. No changes to card behavior or publication data. */
body[data-page="home"] {
  --home-paper:#f1eee7;
  --home-muted:#b4b8bf;
  --home-rule:#ffffff26;
  --home-surface:var(--panel);
  --home-accent:#e5c899;
  font-family:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  font-size:15px;
}
body[data-page="home"][data-theme="night"] {
  --bg:#101113; --panel:#191b1f; --panel2:#23262b; --fg:#f1eee7;
  --sub:#c2c4c9; --muted:#a8adb5; --line:#373b41; --edge:#66615a;
  --amber:#e5c899; --amber-light:#f0d8b1;
}
body[data-page="home"] .shell{width:min(1680px,calc(100% - clamp(36px,8vw,144px)));max-width:none}
body[data-page="home"] .site-header{background:var(--bg);border-bottom:1px solid var(--home-rule);backdrop-filter:none}
body[data-page="home"] .site-header .nav-wrap{min-height:76px;gap:clamp(14px,3vw,48px)}
body[data-page="home"] .brand-letters{color:var(--home-paper);font-size:36px;letter-spacing:-.095em;font-weight:900}
body[data-page="home"] .brand-caption{color:var(--home-muted);border-color:var(--home-rule);font-weight:650;letter-spacing:.13em}
body[data-page="home"] .main-nav a{color:var(--home-muted);font-size:14px;font-weight:650;position:relative;padding-block:12px}
body[data-page="home"] .main-nav a:hover,body[data-page="home"] .main-nav a[aria-current="page"]{color:var(--home-paper)}
body[data-page="home"] .main-nav a[aria-current="page"]::after{content:"";position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--home-accent)}
body[data-page="home"] .search-toggle,body[data-page="home"] .ddsil-member-link{border:1px solid var(--home-rule);border-radius:4px;background:transparent;color:var(--home-paper)}
body[data-page="home"] .top-actions{gap:8px}
body[data-page="home"] .home-banner-slider{width:100%;max-width:none;position:relative}
body[data-page="home"] .home-banner-viewport{border-radius:0}
body[data-page="home"] .home-banner-viewport>.home-hero{
 margin-top:0;min-height:clamp(470px,68vh,770px);border:0;border-bottom:1px solid var(--home-rule);border-radius:0;
 background:var(--bg);
}
body[data-page="home"] .home-banner-viewport>.home-hero:not(.has-banner-image){
 background:radial-gradient(ellipse at 85% 36%,#47474b80,transparent 50%),linear-gradient(120deg,var(--bg) 24%,var(--panel2) 100%);
}
body[data-page="home"] .home-banner-viewport>.home-hero:not(.has-banner-image)::before{background:linear-gradient(90deg,var(--bg) 5%,transparent 85%);opacity:.48}
body[data-page="home"] .hero-copy{width:68%;max-width:1100px;padding:clamp(40px,8vw,144px);padding-right:clamp(16px,3vw,50px)}
body[data-page="home"] .hero-copy h1{color:var(--home-paper);font-size:clamp(44px,5.4vw,92px);line-height:1.12;letter-spacing:-.065em;font-weight:800;margin:22px 0}
body[data-page="home"] .hero-copy h1 span{color:var(--home-accent)}
body[data-page="home"] .hero-description{color:#d3d4d8;font-size:clamp(14px,1.1vw,18px);max-width:620px;line-height:1.85}
body[data-page="home"] .eyebrow,body[data-page="home"] .section-kicker{font-size:11px;letter-spacing:.17em;font-weight:750;color:var(--home-accent)}
body[data-page="home"] .hero-actions{gap:12px;margin-top:32px}
body[data-page="home"] .hero-actions .btn{min-height:52px;padding:13px 23px;border-radius:4px;font-size:14px}
body[data-page="home"] .btn-accent{background:var(--home-paper);color:#161719;border-color:var(--home-paper)}
body[data-page="home"] .btn-accent:hover{background:var(--home-accent)}
body[data-page="home"] .btn-outline{background:transparent;color:var(--home-paper);border-color:#ffffff45;border-radius:4px}
body[data-page="home"] .btn-outline:hover{background:#ffffff12}
body[data-page="home"] .hero-status{color:#b9bdc4;font-size:12px}
body[data-page="home"] .hero-art{width:44%;opacity:1;right:4%;top:8%;bottom:8%;border-left:1px solid #ffffff20}
body[data-page="home"] .glass-tile{width:32%;height:57%;border-radius:2px;box-shadow:0 30px 75px #0006;transform:none;padding:clamp(10px,1.7vw,25px);border-color:#ffffff35}
body[data-page="home"] .tile-one{top:6%;right:54%;background:linear-gradient(145deg,#83766b,#342c32)}
body[data-page="home"] .tile-two{top:21%;right:29%;background:linear-gradient(145deg,#576e75,#202a32)}
body[data-page="home"] .tile-three{top:36%;right:4%;background:linear-gradient(145deg,#787970,#333a37)}
body[data-page="home"] .glass-tile span{font-size:clamp(8px,.9vw,13px);letter-spacing:.09em}
body[data-page="home"] .glass-tile i{font-size:clamp(46px,6vw,100px);font-weight:650}
body[data-page="home"] .art-note{bottom:1%;right:4%;color:#d8d8d3;font-size:10px}
body[data-page="home"] .home-banner-viewport>.home-hero .home-banner-image{opacity:.88}
body[data-page="home"] .home-banner-viewport>.home-hero.has-banner-image::before{background:linear-gradient(90deg,#101113ed 0%,#101113ba 30%,#10111324 75%),linear-gradient(0deg,#10111366,transparent 40%)}
body[data-page="home"] .home-banner-viewport>.home-hero.is-work-banner-link .hero-copy{position:static}
body[data-page="home"] .home-banner-controls{justify-content:flex-end;width:min(1680px,calc(100% - clamp(36px,8vw,144px)));margin-inline:auto;padding:14px 0}
body[data-page="home"] .home-banner-controls>button,body[data-page="home"] .genre-controls button{border-radius:4px;background:var(--panel);color:var(--home-paper);border-color:var(--home-rule)}
body[data-page="home"] .home-banner-dot[aria-current="true"]{background:var(--home-accent)}
body[data-page="home"] .home-catalog,body[data-page="home"] .genre-section{padding-top:clamp(52px,6vw,96px)}
body[data-page="home"] .section-heading{margin:10px 0 26px;align-items:flex-end}
body[data-page="home"] .section-heading h2{font-size:clamp(27px,3vw,46px);color:var(--home-paper);letter-spacing:-.055em;font-weight:750}
body[data-page="home"] .section-heading p{font-size:14px;color:var(--home-muted);line-height:1.65}
body[data-page="home"] .text-link{color:var(--home-paper);border-color:var(--home-rule);font-size:13px}
body[data-page="home"] .result-info{color:var(--home-muted)}
body[data-page="home"] .home-catalog .work-grid{gap:clamp(12px,1.7vw,26px)}
/* Keep the existing image fit, card column counts and below-card hover panel. */
body[data-page="home"] .home-catalog .work-grid .work-card.archive-card{border-radius:5px;border-color:var(--home-rule);background:var(--panel);box-shadow:none}
body[data-page="home"] .home-catalog .work-grid .work-card.archive-card .work-cover{border-radius:4px 4px 0 0;background-color:#141619}
body[data-page="home"] .home-catalog .archive-card .work-cover::before,body[data-page="home"] .home-catalog .archive-card .work-cover::after{display:none}
body[data-page="home"] .home-catalog .work-grid .archive-card .work-body{padding:clamp(10px,1.2vw,20px)}
body[data-page="home"] .home-catalog .work-grid .archive-card .work-body h3{font-size:clamp(14px,1.5vw,23px);letter-spacing:-.035em;color:var(--home-paper);font-weight:750}
body[data-page="home"] .home-catalog .archive-card .work-title-link{display:block}
body[data-page="home"] .home-catalog .archive-card .work-title-link h3::after{content:"↗";float:right;margin-left:8px;color:var(--home-muted);font-weight:400}
body[data-page="home"] .home-catalog .archive-card-panel{background:var(--panel);border-color:var(--home-rule);border-radius:0 0 5px 5px;padding:clamp(14px,1.4vw,22px);box-shadow:0 22px 40px #0006}
body[data-page="home"] .home-catalog .archive-card .archive-card-panel .work-description{color:var(--home-muted);font-size:13px;line-height:1.7}
body[data-page="home"] .home-catalog .archive-card .genre-pill{color:var(--home-accent);border-color:var(--home-rule);background:transparent;border-radius:3px;font-size:11px}
body[data-page="home"] .home-catalog .archive-card .work-meta-flow .work-formats span{background:var(--panel2);border-color:var(--home-rule);border-radius:3px;color:var(--home-paper);font-size:11px}
body[data-page="home"] .home-catalog .archive-card .work-meta-flow .studio-public-tags span{color:var(--home-muted);border-color:var(--home-rule);font-size:11px}
body[data-page="home"] .home-catalog .archive-card .rating-line{color:var(--home-muted);font-size:12px}
body[data-page="home"] .home-catalog .archive-card .card-actions .card-details{background:var(--home-paper);color:#141619;border-color:var(--home-paper);border-radius:4px}
body[data-page="home"] .home-catalog .archive-card .card-actions .fav,body[data-page="home"] .home-catalog .archive-card .card-rating-link{border-radius:4px;border-color:var(--home-rule)}
body[data-page="home"] .home-catalog .archive-card .card-actions .fav[aria-pressed="true"]{background:#693c48;color:#ffe0e7}
body[data-page="home"] .home-catalog .archive-card-open{border-color:var(--home-accent)}
body[data-page="home"] .shelf-bottom{display:flex;justify-content:flex-end;padding:24px 0}
body[data-page="home"] .genre-section{border-top:1px solid var(--home-rule);margin-top:clamp(32px,4vw,64px)}
body[data-page="home"] .genre-grid{--genre-gap:16px;scrollbar-color:#77746f transparent}
body[data-page="home"] .genre-block{border-radius:14px;border:1px solid #ffffff19;min-height:clamp(132px,10.5vw,178px);padding:20px 24px;justify-content:flex-end;gap:6px;overflow:hidden}
body[data-page="home"] .genre-block:nth-child(4n+1){background:linear-gradient(155deg,#523c43,#27232a)}
body[data-page="home"] .genre-block:nth-child(4n+2){background:linear-gradient(155deg,#344d55,#202b30)}
body[data-page="home"] .genre-block:nth-child(4n+3){background:linear-gradient(155deg,#555044,#282821)}
body[data-page="home"] .genre-block:nth-child(4n+4){background:linear-gradient(155deg,#44435b,#262635)}
body[data-page="home"] .genre-block span{position:absolute;top:18px;left:24px;color:#e2d6c9;font-size:10px}
body[data-page="home"] .genre-block strong{font-size:clamp(20px,2vw,30px);color:var(--home-paper);letter-spacing:-.05em}
body[data-page="home"] .genre-block small{color:#e0dce0;line-height:1.5}
body[data-page="home"] .genre-block i{color:var(--home-paper);font-size:24px}
body[data-page="home"] .genre-block:hover{border-color:var(--home-accent)}
body[data-page="home"] .about{border-top:1px solid var(--home-rule);margin-top:clamp(56px,7vw,112px);padding-block:clamp(48px,7vw,96px)}
body[data-page="home"] .about h2{font-size:clamp(27px,3vw,46px);color:var(--home-paper);letter-spacing:-.055em;margin:12px 0}
body[data-page="home"] .about p{color:var(--home-muted);font-size:15px}
body[data-page="home"] .site-footer{background:var(--bg);border-color:var(--home-rule)}
body[data-page="home"] .foot-row b{color:var(--home-paper)}
@media(max-width:780px){
 body[data-page="home"] .shell{width:calc(100% - 32px)}
 body[data-page="home"] .site-header .nav-wrap{min-height:68px;gap:8px;padding-block:10px}
 body[data-page="home"] .brand-letters{font-size:31px}
 body[data-page="home"] .main-nav{gap:19px}
 body[data-page="home"] .main-nav a{font-size:12px;padding-block:8px}
 body[data-page="home"] .home-banner-slider{width:100%}
 body[data-page="home"] .home-banner-viewport>.home-hero{min-height:440px;align-items:flex-end}
 body[data-page="home"] .hero-copy{width:100%;padding:112px 24px 38px}
 body[data-page="home"] .hero-copy h1{font-size:clamp(34px,7vw,52px);margin:16px 0;line-height:1.18}
 body[data-page="home"] .hero-description{font-size:14px}
 body[data-page="home"] .hero-art{width:56%;height:46%;right:3%;top:3%;opacity:.36;border:0}
 body[data-page="home"] .home-banner-viewport>.home-hero.has-banner-image::before{background:linear-gradient(0deg,#101113f5 3%,#101113c4 40%,#10111318 100%)}
 body[data-page="home"] .hero-actions{margin-top:20px;gap:8px}
 body[data-page="home"] .hero-actions .btn{font-size:12px;min-height:44px;padding:11px 13px}
 body[data-page="home"] .home-banner-controls{width:calc(100% - 32px)}
 body[data-page="home"] .section-heading{align-items:flex-start;gap:10px}
 body[data-page="home"] .home-catalog .work-grid{gap:10px}
 body[data-page="home"] .home-catalog .work-grid .archive-card .work-body{padding:10px}
 body[data-page="home"] .home-catalog .work-grid:not([data-layout="single"]) .archive-card .archive-card-toggle{font-size:11px;padding:7px;min-height:40px;width:100%}
 body[data-page="home"] .home-catalog .archive-card-panel{padding:10px;box-shadow:none}
 body[data-page="home"] .home-catalog .archive-card .archive-card-panel .work-description{font-size:12px}
 body[data-page="home"] .home-catalog .work-grid:not([data-layout="single"]) .archive-card .archive-card-panel .card-actions{grid-template-columns:1fr;gap:6px}
 body[data-page="home"] .home-catalog .work-grid:not([data-layout="single"]) .archive-card .archive-card-panel .card-actions>*{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
 body[data-page="home"] .genre-block{padding:16px 18px;min-height:138px;border-radius:12px}
 body[data-page="home"] .genre-block span{left:18px;top:14px}
 body[data-page="home"] .about{grid-template-columns:1fr;gap:12px}
}
@media(max-width:430px){
 body[data-page="home"] .hero-copy{padding-inline:20px}
 body[data-page="home"] .hero-copy h1{font-size:35px}
 body[data-page="home"] .home-catalog .work-grid[data-layout="triple"] .archive-card .work-body{padding:7px}
 body[data-page="home"] .home-catalog .work-grid[data-layout="triple"] .archive-card .work-body h3{font-size:12px}
 body[data-page="home"] .home-catalog .work-grid[data-layout="triple"] .archive-card .archive-card-panel{padding:7px;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] .archive-card-panel:not([hidden]){animation:none}
}


/* Artwork layers keep the original genre card dimensions and label positions. */
body[data-page="home"] .genre-block{isolation:isolate}
.genre-art-image,.genre-art-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;visibility:hidden}
.genre-art-image{object-fit:cover;z-index:-2}
.genre-art-shade{z-index:-1}
.genre-has-art>.genre-art-image,.genre-has-art>.genre-art-shade{visibility:visible}
body[data-page="home"] .genre-block.genre-has-art span,
body[data-page="home"] .genre-block.genre-has-art strong,
body[data-page="home"] .genre-block.genre-has-art small,
body[data-page="home"] .genre-block.genre-has-art i{text-shadow:0 1px 8px #000;color:#fff}
body[data-page="home"] .genre-block{transition:border-color .2s ease,box-shadow .2s ease}
body[data-page="home"] .genre-block:hover{box-shadow:inset 0 0 0 1px #ffffff29}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body[data-page="home"] .genre-art-image{transition:transform .45s cubic-bezier(.2,.75,.25,1)}
 body[data-page="home"] .genre-block:hover>.genre-art-image{transform:scale(1.035)}
 body[data-page="home"] .home-catalog .work-grid .work-card.archive-card{transition:border-color .2s ease,box-shadow .2s ease}
 body[data-page="home"] .home-catalog .archive-card-open{box-shadow:0 10px 28px #0004}
 body[data-page="home"] .home-catalog .archive-card .work-cover{filter:none}
 body[data-page="home"] .home-catalog .archive-card .cover-art{transition:filter .3s ease,transform .45s cubic-bezier(.2,.75,.25,1)}
 body[data-page="home"] .home-catalog .archive-card-open .cover-art{filter:saturate(1) brightness(1.035)}
 body[data-page="home"] .home-catalog .archive-card-open .cover-art[style*="object-fit: cover"]{transform:scale(1.025)}
 body[data-page="home"] .home-catalog .archive-card-panel:not([hidden]){animation:ddsil-panel-reveal .22s ease-out;transform:none}
 @keyframes ddsil-panel-reveal{from{opacity:.45}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] .genre-block,body[data-page="home"] .genre-art-image,body[data-page="home"] .home-catalog .archive-card,body[data-page="home"] .home-catalog .archive-card .work-cover,body[data-page="home"] .home-catalog .archive-card .cover-art{transition:none!important;animation:none!important;transform:none}
 body[data-page="home"] .home-catalog .archive-card-panel:not([hidden]){animation:none}
}


/* Preview-only cinematic banner: native horizontal swipe remains intact. */
body[data-page="home"] .home-banner-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:0;pointer-events:none}
body[data-page="home"] .banner-video-playing .home-banner-video{opacity:.88}
body[data-page="home"] .banner-video-playing .home-banner-image{visibility:hidden}
body[data-page="home"] .home-hero.banner-video-playing .hero-art{display:none}
@media(prefers-reduced-motion:no-preference){
 body[data-page="home"] .home-banner-video{transition:opacity .3s ease}
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .home-banner-image,
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .hero-art{animation:ddsil-banner-art var(--banner-motion,500ms) ease-out both}
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .hero-copy h1,
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .hero-copy .hero-description,
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .hero-copy .eyebrow{animation:ddsil-banner-copy var(--banner-motion,500ms) cubic-bezier(.2,.7,.2,1) both}
 body[data-page="home"] .home-hero.banner-active[data-banner-effect="cinematic"] .hero-copy .hero-description{animation-delay:70ms}
 @keyframes ddsil-banner-art{from{filter:brightness(.72);transform:scale(1.015)}to{filter:brightness(1);transform:scale(1)}}
 @keyframes ddsil-banner-copy{from{opacity:.35;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] .home-banner-video{display:none}
 body[data-page="home"] .banner-video-playing .home-banner-image{visibility:visible}
 body[data-page="home"] .home-hero .hero-copy>*{animation:none!important}
}
