.portfolio .service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.service-card{display:block;position:relative;background:#171719;border:1px solid #363638;border-radius:8px;overflow:hidden;transition:transform .2s,border-color .2s}.service-card:hover{transform:translateY(-4px);border-color:#ba6571}.service-card .service-image{height:210px;aspect-ratio:auto}.service-copy{padding:17px 14px}.service-copy small{font-size:9px;letter-spacing:1.5px;color:#a7a2a5}.service-copy h3{font-size:16px;line-height:1.5;margin:8px 0}.service-copy p{font-size:12px;color:#aaa;line-height:1.7;min-height:42px}.service-copy>span{font-size:11px;color:#df9aa5}.sample-badge{position:absolute;top:10px;right:8px;background:#000b;color:#ccc;border-radius:20px;padding:4px 8px;font-size:10px}.gallery-page{max-width:1100px;margin:40px auto;padding:0 24px}.gallery-layout{display:grid;grid-template-columns:minmax(240px,380px) 1fr;gap:45px;align-items:start}#service-gallery{border-radius:12px;overflow:hidden}#service-en{letter-spacing:2px;color:#cb7788;font-size:12px}.gallery-page h1{font-size:32px}.gallery-page p{color:#aaa;line-height:1.9}.gallery-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.gallery-actions a{padding:12px 18px;background:#653a44;border-radius:7px}#other-services{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 40px}#other-services a{border:1px solid #444;padding:8px 12px;border-radius:6px;font-size:12px}#other-services [aria-current]{border-color:#c17787;background:#342229}@media(max-width:1100px){.portfolio .service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.portfolio .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-card .service-image{height:220px}.service-copy{padding:12px}.service-copy h3{font-size:14px}.gallery-layout{grid-template-columns:1fr}#service-gallery{max-width:360px;width:100%;margin:auto}}@media(max-width:380px){.portfolio .service-grid{grid-template-columns:1fr}}
.portfolio .service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.portfolio .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.service-card .service-image{height:165px}
.service-copy{padding:12px}
.service-copy h3{font-size:14px;line-height:1.4;margin:6px 0}
.service-copy p{font-size:11px;line-height:1.5;min-height:0;margin:7px 0 10px}
.service-copy>span{font-size:10px}
@media(max-width:800px){#other-services{position:static;inset:auto;width:auto;padding:0;background:transparent;z-index:auto}.gallery-page{margin-top:24px}body:has(.gallery-page) header{height:62px;padding:0 16px}body:has(.gallery-page) header .brand{font-size:17px}body:has(.gallery-page) header .brand small{font-size:8px}body:has(.gallery-page) header>a:last-child{font-size:12px}}
