@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
    --ink: #15120f;
    --deep: #211b16;
    --paper: #eee8de;
    --copper: #a87543;
    --line: #ffffff32;
    --serif: 'Playfair Display', serif;
    --mono: 'DM Mono', monospace
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif
}

.intro {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #a8754333, transparent 35%), var(--ink);
    transition: opacity .8s, visibility .8s;
}

.intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro button {
    position: absolute;
    right: 25px;
    top: 25px;
    padding: 10px 14px;
    border: 1px solid #a8754377;
    background: none;
    color: var(--paper);
    font: 11px var(--mono);
    cursor: pointer
}

.intro img {
    position: relative;
    z-index: 2;
    width: min(350px, 70vw);
    mix-blend-mode: screen;
    animation: rise 1.6s ease both
}

.shutter {
    position: absolute;
    width: min(500px, 78vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden
}

.shutter i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 130%;
    height: 36%;
    background: linear-gradient(135deg, #c99968, #715039);
    transform-origin: 0 50%;
    clip-path: polygon(0 0, 100% 35%, 100% 65%, 0 100%);
    animation: blade 1.9s cubic-bezier(.2, 1, .3, 1) forwards
}

.shutter i:nth-child(2) {
    transform: rotate(60deg)
}

.shutter i:nth-child(3) {
    transform: rotate(120deg)
}

.shutter i:nth-child(4) {
    transform: rotate(180deg)
}

.shutter i:nth-child(5) {
    transform: rotate(240deg)
}

.shutter i:nth-child(6) {
    transform: rotate(300deg)
}

@keyframes blade {
    to {
        transform: translate(45%, -50%) rotate(-18deg) scale(1)
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1
    }
}

header {
    position: absolute;
    z-index: 2;
    width: 100%;
    padding: 28px 4vw;
    display: flex;
    justify-content: space-between;
    color: var(--paper);
    font: 12px var(--mono)
}

header a {
    color: inherit;
    text-decoration: none
}

.wordmark {
    font: 700 23px sans-serif;
    letter-spacing: -2px
}

.wordmark span,
.tag,
em {
    color: var(--copper)
}

nav {
    display: flex;
    gap: 25px
}

.hero {
    min-height: 100svh;
    padding: 125px 8vw 35px;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.tag {
    margin: 0;
    font: 11px var(--mono);
    letter-spacing: 1px;
    text-transform: uppercase
}

h1,
h2,
h3 {
    margin: 0;
    font: 500 clamp(46px, 7vw, 100px)/.93 var(--serif);
    letter-spacing: -.06em
}

.hero h1 {
    margin: 25px 0
}

.lead {
    font: italic 20px var(--serif);
    color: #ccbcaa
}

/* Klatki taśmy filmowej w Hero */
.film {
    display: flex;
    margin: 45px 0 30px;
    padding: 12px 0;
    background: #0d0b09;
    border-top: 2px dashed #ffffff44;
    border-bottom: 2px dashed #ffffff44;
    position: relative;
    box-shadow: inset 0 0 20px #0009
}

.film::before,
.film::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 7px;
    background: repeating-linear-gradient(90deg, #0d0b09 0 12px, transparent 12px 18px, #eee8de88 18px 26px, transparent 26px 32px)
}

.film::before {
    top: -10px
}

.film::after {
    bottom: -10px
}

.film a {
    min-height: 165px;
    flex: 1;
    padding: 20px;
    margin: 0 6px;
    background: #1a1612;
    border: 1px solid #ffffff22;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--paper);
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.film a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #ffffff0a, transparent);
    pointer-events: none
}

.film a:hover {
    background: #a87543;
    color: var(--ink);
    transform: translateY(-3px);
    border-color: #d8c5ab;
    box-shadow: 0 10px 25px #000a
}

.film a:hover span {
    color: var(--ink)
}

.film span,
.film small {
    font: 11px var(--mono)
}

.film span {
    color: var(--copper);
    letter-spacing: 2px;
    font-weight: 700
}

.film b {
    font: 500 26px var(--serif);
    display: block;
    margin: 8px 0 2px
}

.film small {
    opacity: .85
}

.location {
    display: flex;
    justify-content: space-between;
    font: 11px/1.6 var(--mono);
    color: #c7b6a5
}

.location p {
    margin: 0
}

.location a {
    color: var(--paper)
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #d8c7b5
}

.services article {
    min-height: 500px;
    padding: 45px 3.8vw;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-right: 1px solid #9a8571
}

.services h3 {
    font-size: 65px;
    margin: 20px 0
}

.services p:not(.tag) {
    line-height: 1.55
}

.services strong {
    font: 500 26px var(--serif);
    color: var(--copper);
    margin-top: 15px
}

.services small {
    margin-top: 10px;
    font: 10px var(--mono)
}

.services a {
    color: var(--ink);
    font: 12px var(--mono);
    margin-top: 20px
}

.service-image {
    position: relative;
    overflow: hidden;
    background: #161310;
    min-height: 500px
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .75;
    filter: contrast(1.05) brightness(.9);
    transition: transform .6s ease, opacity .6s ease
}

.service-image:hover img {
    transform: scale(1.04);
    opacity: .9
}

.service-image span {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    color: #f0dfc9;
    font: 11px/1.8 var(--mono);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px #000a;
    background: #00000055;
    padding: 6px 12px;
    backdrop-filter: blur(4px);
    border-left: 2px solid var(--copper)
}

.porcelain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--deep);
    color: var(--paper)
}

.porcelain-copy {
    padding: 120px 10vw
}

.porcelain h2 {
    margin: 24px 0
}

.porcelain-copy>p:not(.tag) {
    max-width: 430px;
    line-height: 1.6
}

.facts {
    margin-top: 40px;
    font-size: 12px
}

.facts p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #ffffff2e
}

.facts span {
    color: #bcae9f
}

.porcelain-object {
    display: grid;
    place-items: center;
    position: relative;
    background: radial-gradient(circle, #b28151, #4e3829 35%, #211b16 68%)
}

.oval-photo {
    width: 52%;
    aspect-ratio: 1.3;
    border-radius: 50%;
    border: 11px solid #d8c5ab;
    box-shadow: 0 25px 50px #0009;
    overflow: hidden;
    position: relative;
    background: #211f1d
}

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

.porcelain-object small {
    position: absolute;
    bottom: 35px;
    font: 10px var(--mono);
    letter-spacing: 2px
}

.prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 110px 8vw
}

.prices h2 {
    font-size: 60px
}

.price-list p {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 10px;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #c5baac
}

.price-list .head,
.price-list small {
    font: 10px var(--mono);
    color: #786f66
}

.price-list small {
    display: block;
    margin-top: 22px
}

.qr {
    padding: 130px 8vw;
    text-align: center;
    background: var(--copper)
}

.qr .tag {
    color: #422f1e
}

.qr h2 {
    margin: 23px 0
}

.qr>p:not(.tag) {
    max-width: 470px;
    margin: 0 auto 30px;
    line-height: 1.55
}

.qr b {
    display: inline-block;
    margin: 4px;
    padding: 13px 20px;
    border: 1px solid #5d432c;
    font: 11px var(--mono)
}

.qr strong {
    font: 500 23px var(--serif)
}

.prints {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    padding: 110px 8vw;
    background: #e3dcd2
}

.prints h2 {
    font-size: 61px;
    margin-top: 20px
}

.prints a {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 22px;
    background: var(--copper);
    color: var(--ink);
    text-decoration: none;
    font: 12px var(--mono);
    font-weight: 700;
    transition: .3s
}

.prints a:hover {
    background: var(--ink);
    color: var(--paper)
}

.prints div+div p {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    margin: 0;
    border-bottom: 1px solid #c5baac
}

.prints b {
    font: 500 22px var(--serif);
    color: var(--copper)
}

.contact {
    padding: 125px 8vw;
    background: var(--ink);
    color: var(--paper)
}

.contact h2 {
    margin: 25px 0
}

.contact>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 65px;
    border-top: 1px solid #ffffff33
}

.contact>div>* {
    padding: 25px;
    margin: 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #ffffff33;
    border-right: 1px solid #ffffff33;
    font: 11px var(--mono);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.contact>div>*:nth-child(2n) {
    border-right: 0
}

.contact strong {
    display: block;
    margin-top: auto;
    padding-top: 10px;
    font: 500 20px/1.35 var(--serif)
}

footer {
    padding: 20px 4vw;
    background: var(--ink);
    border-top: 1px solid #ffffff22;
    color: #aa9d8e;
    display: flex;
    justify-content: space-between;
    font: 10px var(--mono)
}

@media(max-width:700px) {
    .shutter {
        width: 82vw;
        max-width: 380px;
    }

    .intro img {
        width: 62vw;
        max-width: 260px;
    }

    .intro button {
        top: 18px;
        right: 18px;
        padding: 8px 12px;
        font-size: 10px;
    }
}

@media(max-width:700px) {
    header {
        padding: 22px 5vw
    }

    nav {
        display: none
    }

    .hero {
        padding: 110px 7vw 30px
    }

    .film {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 35px 0 20px;
        gap: 12px 0
    }

    .film a {
        min-height: 130px;
        margin: 4px
    }

    .film b {
        font-size: 22px
    }

    .location {
        font-size: 9px
    }

    .services,
    .porcelain,
    .prints {
        grid-template-columns: 1fr
    }

    .services article {
        min-height: 390px;
        padding: 38px 7vw
    }

    .service-image {
        min-height: 280px !important
    }

    .porcelain-copy {
        padding: 80px 7vw
    }

    .porcelain-object {
        min-height: 400px
    }

    .prices {
        display: block;
        padding: 80px 7vw
    }

    .prices h2 {
        margin-bottom: 40px
    }

    .price-list p {
        font-size: 12px;
        gap: 4px
    }

    .price-list .head {
        font-size: 8px
    }

    .qr,
    .contact {
        padding: 90px 7vw
    }

    .prints {
        padding: 80px 7vw
    }

    .contact>div {
        grid-template-columns: 1fr;
        margin-top: 45px
    }

    .contact>div>*:nth-child(even) {
        padding-left: 0;
        border-left: 0
    }

    footer {
        padding: 18px 5vw;
        font-size: 8px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .intro {
        display: none
    }

    .site {
        opacity: 1
    }

    .shutter i,
    .intro img {
        animation: none
    }
}