@font-face {
    font-family: 'Anaktoria';
    src: url('../fonts/anaktoria.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

body {
    margin: 0;
    background: #0d0e18
}

html {
    scroll-behavior: smooth
}

a {
    color: #e2c27f
}

a:hover {
    color: #f3dcaa
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box
}

.nav-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center
}

.nav-links a {
    color: #d9d4e3;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 12px 0
}

.nav-links a:hover {
    color: #e2c27f
}

.nav-links a.btn-gold,
.nav-links a.btn-gold:hover {
    color: #000000
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid #d9b36a;
    background: #d9b36a;
    color: #14121c;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600
}

.btn-gold:hover {
    background: #ecc983;
    color: #14121c
}

.btn-silver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid #c7ccd8;
    color: #e6e9f0;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.btn-silver:hover {
    background: rgba(199, 204, 216, .12);
    color: #ffffff
}

.fixed-art {
    position: fixed;
    right: -4vw;
    bottom: 0;
    height: 96vh;
    width: auto;
    pointer-events: none;
    z-index: 0
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px
}

.gloss {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px
}

.hero-title {
    font-size: clamp(56px, 7vw, 88px);
    white-space: nowrap
}

summary {
    cursor: pointer;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

@media (max-width:900px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr)
    }

    .gloss {
        grid-template-columns: minmax(0, 1fr)
    }

    .hero-title {
        font-size: 56px;
        white-space: normal
    }

    .fixed-art {
        right: 50%;
        transform: translateX(50%);
        height: 80vh
    }

    .nav-links {
        gap: 18px
    }
}

@media (max-width:560px) {
    .grid-4 {
        grid-template-columns: minmax(0, 1fr)
    }

    .hero-title {
        font-size: 44px
    }

    .wrap {
        padding: 0 22px
    }
}

.hero-in {
    animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) both
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        translate: 0 48px;
        scale: .98
    }

    to {
        opacity: 1;
        translate: 0 0;
        scale: 1
    }
}

@supports (animation-timeline: view()) {
    .reveal {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%
    }
}

.card {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s
}

.card .art {
    transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s;
    filter: saturate(.92) brightness(.94)
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(217, 179, 106, .20);
    border-color: rgba(226, 194, 127, .9) !important
}

.card:hover .art {
    transform: scale(1.06);
    filter: saturate(1.08) brightness(1.04)
}

.frame {
    transition: box-shadow .6s, outline-color .6s
}

.frame img {
    transition: transform .9s cubic-bezier(.2, .7, .2, 1)
}

.frame:hover {
    box-shadow: 0 0 48px rgba(217, 179, 106, .28);
    outline-color: rgba(226, 194, 127, .8) !important
}

.frame:hover img {
    transform: scale(1.05)
}

.float-art {
    transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s
}

.float-art:hover {
    transform: translateY(-10px) scale(1.03);
    filter: drop-shadow(0 0 28px rgba(226, 194, 127, .45))
}

.corte {
    transition: transform .5s, border-color .5s, background-color .5s
}

.corte:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 194, 127, .85) !important
}

@media (prefers-reduced-motion: reduce) {

    .hero-in,
    .reveal {
        animation: none !important
    }

    .card,
    .card .art,
    .frame img,
    .float-art,
    .corte {
        transition: none !important
    }

    .card:hover,
    .card:hover .art,
    .frame:hover img,
    .float-art:hover,
    .corte:hover {
        transform: none !important
    }
}

.pic::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .7s, transform 1.1s cubic-bezier(.2, .7, .2, 1)
}

.card-aya {
    box-shadow: 0 0 22px rgba(217, 179, 106, .16)
}

.card-aya .pic::after {
    background: radial-gradient(circle at 50% 30%, rgba(255, 221, 150, .32), rgba(255, 221, 150, 0) 62%)
}

.card-aya:hover {
    box-shadow: 0 0 34px rgba(226, 194, 127, .45), 0 0 90px rgba(217, 179, 106, .22);
    border-color: #e2c27f !important
}

.card-aya:hover .pic::after {
    opacity: 1
}

.card-sebastian {
    box-shadow: 0 0 22px rgba(205, 212, 226, .12)
}

.card-sebastian .pic::after {
    background: radial-gradient(circle at 50% 30%, rgba(228, 234, 246, .34), rgba(228, 234, 246, 0) 62%)
}

.card-sebastian:hover {
    box-shadow: 0 0 34px rgba(214, 220, 232, .40), 0 0 90px rgba(199, 204, 216, .18);
    border-color: #e3e7ef !important
}

.card-sebastian:hover .pic::after {
    opacity: 1
}

.card-sebastian .pic::after {
    z-index: 0
}

.card-sebastian .pic .art {
    position: relative;
    z-index: 1
}

.card-dimitri {
    box-shadow: 0 0 26px rgba(0, 0, 0, .85)
}

.card-dimitri .pic::after {
    background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .75) 100%)
}

.card-dimitri:hover {
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, .95), 0 0 110px 30px rgba(0, 0, 0, .75);
    border-color: #000000 !important
}

.card-dimitri:hover .pic::after {
    opacity: 1
}

.card-dimitri:hover .art {
    filter: saturate(.8) brightness(.95) contrast(1.08)
}

@media (prefers-reduced-motion: reduce) {
    .pic::after {
        transition: none !important
    }
}

.edge {
    position: fixed;
    top: 0;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    overflow: hidden
}

.edge-light {
    right: 0;
    width: min(17vw, 240px)
}

.light-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 60% at 100% 50%, rgba(236, 201, 131, .30), rgba(217, 179, 106, .10) 45%, rgba(217, 179, 106, 0) 75%);
    animation: pulse 6s ease-in-out infinite alternate
}

@keyframes pulse {
    from {
        opacity: .65
    }

    to {
        opacity: 1
    }
}

.spark {
    position: absolute;
    bottom: -12px;
    border-radius: 50%;
    background: #f6dea4;
    box-shadow: 0 0 6px 2px rgba(246, 222, 164, .85), 0 0 16px 4px rgba(217, 179, 106, .45);
    opacity: 0;
    animation-name: rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite
}

@keyframes rise {
    0% {
        transform: translate(0, 0);
        opacity: 0
    }

    10% {
        opacity: .95
    }

    50% {
        transform: translate(-14px, -52vh);
        opacity: .8
    }

    90% {
        opacity: .5
    }

    100% {
        transform: translate(10px, -104vh);
        opacity: 0
    }
}

@media (max-width:900px) {

    .edge-left,
    .edge-light {
        width: 34px
    }

    .spark {
        box-shadow: 0 0 4px 1px rgba(246, 222, 164, .8)
    }
}

@media (prefers-reduced-motion: reduce) {

    .light-glow,
    .spark {
        animation: none !important
    }

    .spark {
        display: none
    }
}


.edge-left {
    left: 0;
    width: min(17vw, 240px)
}

.spark-dark {
    background: #07060c;
    box-shadow: 0 0 0 1px rgba(150, 144, 170, .55), 0 0 8px 3px rgba(120, 114, 140, .55), 0 0 18px 6px rgba(20, 18, 28, .9)
}

.cursor-spark {
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 7;
    opacity: 0;
    transition: opacity .4s;
    will-change: transform
}

.cursor-gold {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: #f6dea4;
    box-shadow: 0 0 8px 3px rgba(246, 222, 164, .9), 0 0 22px 6px rgba(217, 179, 106, .5)
}

@media (hover: none),
(pointer: coarse) {
    .cursor-spark {
        display: none
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-spark {
        display: none
    }
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px
}

.ig-tile {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151726;
    border: 1px solid rgba(217, 179, 106, .4);
    text-decoration: none;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s
}

.ig-tile:hover {
    transform: translateY(-6px);
    border-color: #e2c27f;
    box-shadow: 0 0 30px rgba(226, 194, 127, .35)
}

.ig-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

@media (max-width:900px) {
    .ig-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width:560px) {
    .ig-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (prefers-reduced-motion: reduce) {
    .ig-tile {
        transition: none !important
    }

    .ig-tile:hover {
        transform: none !important
    }
}

.menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(217, 179, 106, .45);
    cursor: pointer;
    padding: 0
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(5, 5, 10, .62);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 8;
    cursor: pointer
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(84vw, 340px);
    background: #10111d;
    border-left: 1px solid rgba(217, 179, 106, .45);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .6);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s;
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px 26px 28px;
    box-sizing: border-box;
    overflow-y: auto
}

.drawer-open .drawer {
    transform: none;
    visibility: visible;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto
}

.drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0
}

.drawer-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    font-family: 'Anaktoria', 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #ebe4d6;
    text-decoration: none;
    border-bottom: 1px solid rgba(199, 204, 216, .14)
}

.drawer-link:hover {
    color: #e2c27f
}

@media (min-width:901px) {
    .drawer-root {
        display: none
    }
}

@media (max-width:900px) {
    .nav-links {
        display: none
    }

    .menu-btn {
        display: inline-flex
    }
}

@media (prefers-reduced-motion: reduce) {

    .drawer,
    .drawer-overlay {
        transition: none !important
    }
}