.ysk-shell {
    box-sizing: border-box;
    max-width: 1120px;
    margin: 28px auto 72px;
    padding: 0 20px;
}

.ysk-shell:focus {
    outline: none;
}

.ysk,
.ysk * {
    box-sizing: border-box;
}

.ysk {
    color: #2c261f;
    font-size: 16px;
    line-height: 1.5;
}

.ysk-head {
    margin-bottom: 28px;
}

.ysk h1,
.ysk h2,
.ysk-card__title {
    color: #241c16;
    font-weight: 560;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ysk h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 4vw, 48px);
}

.ysk h2,
.ysk-card__title {
    margin: 0;
    font-size: 22px;
}

.ysk-head p,
.ysk-lead {
    max-width: 62ch;
    margin: 0;
    color: #5e564c;
}

.ysk-filters {
    margin-bottom: 22px;
}

.ysk-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.ysk-filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    color: #4e463d;
    font-size: 13px;
    font-weight: 600;
}

.ysk-filters input,
.ysk-filters select {
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #ddd4c8;
    border-radius: 10px;
    background: #fff;
    color: #241c16;
    font: inherit;
    font-weight: 400;
}

.ysk-filters button,
.ysk-button,
.ysk-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #3f342c;
    border-radius: 999px;
    background: #3f342c;
    color: #f7f4ef;
    font: inherit;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.ysk-button--ghost,
.ysk-clear {
    background: transparent;
    color: #3f342c;
}

.ysk-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
    margin-bottom: 14px;
}

.ysk-filter-toggle {
    gap: 8px;
}

.ysk-filter-toggle svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.ysk-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #3f342c;
    font-size: 12px;
    font-weight: 700;
}

.ysk-sort {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: auto;
    font-weight: 600;
}

.ysk-sort select {
    min-width: 160px;
}

.ysk-filter-panel {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #e7dfd4;
    border-radius: 16px;
    background: #fff;
}

.ysk-filter-panel[hidden] {
    display: none !important;
}

.ysk-filter-group {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.ysk-filter-group legend {
    margin-bottom: 8px;
    padding: 0;
    color: #4e463d;
    font-size: 13px;
    font-weight: 700;
}

.ysk-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ysk-filters .ysk-option {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    min-width: 0;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.ysk-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ysk-option span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #ddd4c8;
    border-radius: 999px;
    background: #fff;
    color: #241c16;
}

.ysk-option input:checked + span {
    border-color: #3f342c;
    background: #3f342c;
    color: #f7f4ef;
}

.ysk-option input:focus-visible + span {
    outline: 2px solid #3f342c;
    outline-offset: 2px;
}

.ysk-cat-tiles {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.ysk-filters .ysk-cat-tile {
    position: relative;
    display: flex;
    min-width: 0;
    color: #241c16;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.ysk-cat-tile input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ysk-cat-tile__box {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-height: 188px;
    padding: 14px 16px 16px;
    border: 1px solid #e7dfd4;
    border-radius: 18px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ysk-cat-tile__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 120px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.ysk-cat-tile__box strong {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ysk-cat-tile__box small {
    margin-top: auto;
    color: #6a6158;
    font-size: 13px;
}

.ysk-cat-tile:hover .ysk-cat-tile__box {
    border-color: #3f342c;
}

.ysk-cat-tile input:checked + .ysk-cat-tile__box {
    border-color: #3f342c;
    box-shadow: inset 0 0 0 1px #3f342c;
    background: #f7f4ef;
}

.ysk-cat-tile input:checked + .ysk-cat-tile__box::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #3f342c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f7f4ef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.ysk-cat-tile input:focus-visible + .ysk-cat-tile__box {
    outline: 2px solid #3f342c;
    outline-offset: 3px;
}

@media (min-width: 981px) {
    .ysk-cat-tiles {
        display: grid;
    }

    .ysk-filter-group--kategori {
        display: none;
    }
}

.ysk-count {
    margin: 0 0 14px;
    color: #6a6158;
    font-size: 14px;
}

.ysk-grid,
.ysk-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.ysk-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7dfd4;
    border-radius: 18px;
    background: #fff;
}

.ysk-card__media,
.ysk-stage,
.ysk-shot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #f6f3ef;
    cursor: pointer;
}

.ysk-card__media {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    cursor: pointer;
}

.ysk .ysk-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ysk-card__swipe {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.ysk-card__swipe:active {
    cursor: grabbing;
}

.ysk-card__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .28s ease;
}

.ysk-card__track.is-dragging {
    transition: none;
}

.ysk .ysk-card__media .ysk-card__track img {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.ysk-card__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #241c16;
    box-shadow: 0 1px 4px rgba(36, 28, 22, 0.2);
    cursor: pointer;
}

.ysk-card__arrow svg {
    width: 18px;
    height: 18px;
}

.ysk-card__arrow.is-prev {
    left: 8px;
}

.ysk-card__arrow.is-next {
    right: 8px;
    transform: scaleX(-1);
}

.ysk-card__arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.ysk-card__dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.ysk-card__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(36, 28, 22, 0.28);
}

.ysk-card__dots span.is-current {
    background: #241c16;
}

.ysk-card--ref .ysk-card__media {
    aspect-ratio: 3 / 4;
}

.ysk .ysk-card--ref .ysk-card__media img {
    object-fit: cover;
}

[data-ysk="references"] .ysk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 720px) {
    [data-ysk="references"] .ysk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    [data-ysk="references"] .ysk-grid {
        grid-template-columns: 1fr;
    }
}

.ysk-card__media img,
.ysk-stage img,
.ysk-shot img,
.ysk-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ysk-placeholder,
.ysk-stage--empty {
    color: #8a8176;
}

.ysk-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 18px;
}

.ysk-card__cats,
.ysk-kicker,
.ysk-code,
.ysk-card__meta {
    margin: 0;
    color: #6d645b;
    font-size: 13px;
}

.ysk-card__title a,
.ysk-kicker a,
.ysk a {
    color: inherit;
}

.ysk-card__title a {
    text-decoration: none;
}

.ysk-card__title a:hover,
.ysk-kicker a:hover {
    text-decoration: underline;
}

.ysk-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 36px;
    align-items: start;
}

.ysk-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    cursor: zoom-in;
}

.ysk-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(36, 28, 22, 0.78);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    pointer-events: none;
}

.ysk-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ysk-thumb {
    width: 72px;
    height: 72px;
    padding: 4px;
    border: 1px solid #e7dfd4;
    border-radius: 12px;
    background: #f6f3ef;
    cursor: pointer;
}

.ysk-thumb.is-active {
    border-color: #3f342c;
}

.ysk-prose {
    margin-top: 16px;
}

.ysk-specs {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.ysk-specs div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee6dc;
}

.ysk-specs dt {
    color: #6d645b;
}

.ysk-specs dd {
    margin: 0;
}

.ysk-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ysk-related {
    margin-top: 48px;
}

.ysk-related h2 {
    margin-bottom: 16px;
}

.ysk-project-grid {
    margin-top: 22px;
}

.ysk-shot {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}

.ysk .ysk-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.ysk-shot--back {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid #ddd4c8;
    color: #3f342c;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ysk-shot--back svg {
    width: 36px;
    height: 36px;
    transition: transform 0.15s ease;
}

.ysk .ysk-shot--back:hover,
.ysk .ysk-shot--back:focus-visible {
    background: #3f342c;
    color: #f7f4ef;
}

.ysk-shot--back:hover svg {
    transform: translateX(-4px);
}

.ysk-back {
    margin: 0 0 18px;
    font-size: 14px;
}

.ysk .ysk-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #4e463d;
    font-weight: 600;
    text-decoration: none;
}

.ysk .ysk-back a:hover {
    text-decoration: underline;
}

.ysk-back svg {
    width: 18px;
    height: 18px;
}

.ysk-empty {
    margin: 12px 0 0;
    padding: 28px;
    border: 1px dashed #ddd4c8;
    border-radius: 16px;
    background: #fff;
}

.ysk-pages {
    margin-top: 22px;
}

.ysk-pages .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0 4px 4px 0;
    padding: 0 12px;
    border-radius: 999px;
    color: #3f342c;
    text-decoration: none;
}

.ysk-pages .page-numbers.current {
    background: #3f342c;
    color: #f7f4ef;
}

.ysk-pages ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

html.ysk-locked {
    overflow: hidden;
}

.ysk-lightbox {
    position: fixed;
    inset: 0;
    width: min(1100px, calc(100vw - 32px));
    max-width: none;
    height: min(860px, calc(100vh - 32px));
    height: min(860px, calc(100dvh - 32px));
    max-height: none;
    margin: auto;
    padding: 0;
    border: 1px solid #d9dbde;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    color: #2a2e30;
    opacity: var(--ysk-lb-alpha, 1);
    overflow: hidden;
    overscroll-behavior: contain;
}

.ysk-lightbox[open] {
    display: flex;
    flex-direction: column;
    animation: ysk-lb-in 0.22s ease-out;
}

.ysk-lightbox::backdrop {
    background: rgba(26, 28, 30, 0.72);
}

@keyframes ysk-lb-in {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
}

.ysk-lightbox__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px 6px 14px;
}

.ysk-lightbox__count {
    padding-left: 6px;
    color: #5c6166;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.ysk-lightbox__tools {
    display: flex;
    gap: 6px;
}

.ysk-lightbox button {
    width: auto;
    margin: 0;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ysk-lightbox .ysk-lightbox__zoom,
.ysk-lightbox .ysk-lightbox__close,
.ysk-lightbox .ysk-lightbox__prev,
.ysk-lightbox .ysk-lightbox__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 1px solid #e3e4e6;
    border-radius: 50%;
    background: #f4f5f6;
    color: #2a2e30;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.ysk-lightbox .ysk-lightbox__zoom:hover,
.ysk-lightbox .ysk-lightbox__close:hover,
.ysk-lightbox .ysk-lightbox__prev:hover,
.ysk-lightbox .ysk-lightbox__next:hover,
.ysk-lightbox .ysk-lightbox__zoom:focus,
.ysk-lightbox .ysk-lightbox__close:focus,
.ysk-lightbox .ysk-lightbox__prev:focus,
.ysk-lightbox .ysk-lightbox__next:focus {
    border-color: #d9dbde;
    background: #e3e4e6;
    color: #1a1c1e;
}

.ysk-lightbox .ysk-lightbox__zoom:focus-visible,
.ysk-lightbox .ysk-lightbox__close:focus-visible,
.ysk-lightbox .ysk-lightbox__prev:focus-visible,
.ysk-lightbox .ysk-lightbox__next:focus-visible,
.ysk-lightbox .ysk-lightbox__thumb:focus-visible {
    outline: 2px solid #2a2e30;
    outline-offset: 2px;
}

.ysk-lightbox svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.ysk-lightbox.is-zoomed .ysk-lightbox__zoom-plus {
    display: none;
}

.ysk-lightbox__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
}

.ysk-lightbox__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.ysk-lightbox__viewport.is-dragging {
    cursor: grabbing;
}

.ysk-lightbox__track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.ysk-lightbox__track.is-animating {
    transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ysk-lightbox__slide {
    position: relative;
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    padding: 8px 16px;
}

.ysk-lightbox__slide img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transform-origin: center center;
    -webkit-user-drag: none;
    pointer-events: none;
}

.ysk-lightbox__slide img.is-animating {
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ysk-lightbox__slide.is-loading::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(42, 46, 48, 0.12);
    border-top-color: #2a2e30;
    border-radius: 50%;
    animation: ysk-lb-spin 0.8s linear infinite;
}

@keyframes ysk-lb-spin {
    to {
        transform: rotate(360deg);
    }
}

.ysk-lightbox .ysk-lightbox__prev,
.ysk-lightbox .ysk-lightbox__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.ysk-lightbox .ysk-lightbox__prev {
    left: 16px;
}

.ysk-lightbox .ysk-lightbox__next {
    right: 16px;
}

.ysk-lightbox .ysk-lightbox__prev[hidden],
.ysk-lightbox .ysk-lightbox__next[hidden],
.ysk-lightbox.is-zoomed .ysk-lightbox__prev,
.ysk-lightbox.is-zoomed .ysk-lightbox__next {
    display: none !important;
}

.ysk-lightbox__thumbs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ysk-lightbox__thumbs::-webkit-scrollbar {
    display: none;
}

.ysk-lightbox__thumbs[hidden] {
    display: none;
}

.ysk-lightbox .ysk-lightbox__thumb {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #e3e4e6;
    border-radius: 10px;
    background: #f4f5f6;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.ysk-lightbox__thumbs::before,
.ysk-lightbox__thumbs::after {
    content: "";
    margin: auto;
}

.ysk-lightbox .ysk-lightbox__thumb:hover {
    opacity: 0.85;
}

.ysk-lightbox .ysk-lightbox__thumb.is-active {
    border-color: #2a2e30;
    opacity: 1;
}

.ysk-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 600px) {
    .ysk-lightbox {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        border-radius: 14px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .ysk-lightbox .ysk-lightbox__prev,
    .ysk-lightbox .ysk-lightbox__next {
        display: none !important;
    }

    .ysk-lightbox__viewport {
        cursor: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ysk-lightbox[open],
    .ysk-lightbox__track.is-animating,
    .ysk-lightbox__slide img.is-animating {
        animation: none;
        transition: none;
    }
}

.ysk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ysk a:focus-visible,
.ysk button:focus-visible,
.ysk input:focus-visible,
.ysk select:focus-visible,
.ysk-lightbox__close:focus-visible {
    outline: 2px solid #3f342c;
    outline-offset: 2px;
}

@media (max-width: 800px) {
    .ysk-detail {
        grid-template-columns: 1fr;
    }

    .ysk-filters__row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ysk-filters__row label,
    .ysk-filters__row button,
    .ysk-filter-bar .ysk-filter-toggle,
    .ysk-filter-bar .ysk-clear,
    .ysk-sort {
        width: 100%;
    }

    .ysk-sort {
        margin-left: 0;
    }

    .ysk-sort select {
        flex: 1;
        min-width: 0;
    }

    .ysk-filters .ysk-option {
        width: auto;
    }
}
