:root {
    --bg: #f4f1ea;
    --paper: #fbfaf7;
    --ink: #171612;
    --muted: #6f6a60;
    --dark: #0d0d0c;
    --accent: #d29a42;
    --line: rgba(23, 22, 18, .14);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --section: clamp(5rem, 9vw, 9rem);
    --max: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.7 var(--sans);
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

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

img {
    display: block;
    max-width: 100%
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

.skip {
    position: fixed;
    top: -5rem;
    left: 1rem;
    z-index: 999;
    background: #fff;
    padding: .7rem 1rem
}

.skip:focus {
    top: 1rem
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 78px;
    padding: 0 max(20px, calc((100% - var(--max))/2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: .4s;
    background: linear-gradient(#0009, transparent)
}

.site-header.scrolled {
    height: 68px;
    background: #0d0d0cf2;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px #0002
}

.logo {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -.04em
}

.logo::first-letter {
    color: var(--accent)
}

nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: .87rem
}

nav a {
    position: relative
}

nav>a:not(.social)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 1px;
    background: var(--accent);
    transition: .3s
}

nav>a:hover::after {
    right: 0
}

.social {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center
}

.social img {
    width: 20px;
    filter: invert(1)
}

.navbtn {
    display: none;
    border: 1px solid #ffffff55;
    background: transparent;
    color: #fff;
    padding: .5rem .8rem
}

.hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    background: #111;
    isolation: isolate
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, #c68b3030, transparent 25%), radial-gradient(circle at 82% 72%, #fff1, transparent 20%), linear-gradient(120deg, #080808, #24211d);
    z-index: -2
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, #000, transparent)
}

.hero-content {
    width: min(94%, 980px);
    text-align: center;
    padding: 110px 0 70px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .72rem;
    font-weight: 900;
    color: var(--accent);
    margin: 0 0 1rem
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    margin: 0
}

h1 {
    font-size: clamp(3.7rem, 10vw, 8.8rem);
    letter-spacing: -.07em
}

h2 {
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    letter-spacing: -.045em
}

.hero-frame {
    width: min(690px, 82vw);
    height: clamp(180px, 31vw, 340px);
    margin: 1.5rem auto;
    position: relative;
    border: 1px solid #ffffff35;
    padding: 10px;
    box-shadow: 0 36px 100px #000a
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.frame-mark {
    position: absolute;
    right: -1px;
    bottom: -27px;
    font-size: .62rem;
    letter-spacing: .13em;
    color: #ffffff99
}

.hero-lead {
    font: clamp(1.2rem, 2.6vw, 2rem)/1.4 var(--serif);
    margin: 1.7rem 0 .4rem
}

.hero-copy {
    color: #ffffffb3;
    margin: .4rem auto 1.6rem;
    max-width: 650px
}

.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #17120b;
    padding: .85rem 1.3rem;
    font-weight: 850;
    transition: .3s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #d29a4240
}

.ghost {
    background: transparent;
    color: #fff;
    border-color: #ffffff80
}

.ghost:hover {
    background: #fff;
    color: #111;
    box-shadow: none
}

.scroll {
    position: absolute;
    bottom: 1.5rem;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase
}

.scroll span {
    color: var(--accent);
    font-size: 1rem
}

.section {
    padding: var(--section) max(20px, calc((100% - var(--max))/2));
    scroll-margin-top: 70px
}

.about {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: clamp(3rem, 9vw, 9rem);
    align-items: center
}

.portrait {
    position: relative
}

.portrait::before {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    border: 1px solid var(--accent);
    z-index: -1
}

.portrait img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover
}

.portrait span {
    position: absolute;
    right: -30px;
    bottom: 70px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .65rem
}

.about-copy p:not(.eyebrow) {
    color: var(--muted);
    max-width: 630px
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: #895a19;
    font-weight: 850
}

.soft {
    background: #ebe6dc
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 3rem
}

.section-title>p {
    max-width: 430px;
    color: var(--muted)
}

.equipment {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.equip-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: .35s
}

.equip-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px #3c302015
}

.equip-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover
}

.equip-card div {
    padding: 1.4rem
}

.equip-card small {
    color: var(--accent);
    font-weight: 900
}

.equip-card h3 {
    font-size: 1.55rem;
    margin: .45rem 0
}

.equip-card p {
    color: var(--muted);
    margin: 0
}

.albums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.album {
    position: relative;
    background: #111;
    color: #fff;
    overflow: hidden;
    min-height: 420px;
    transform-style: preserve-3d;
    transition: transform .25s
}

.album img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    transition: .65s
}

.album::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, #000e)
}

.album div {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 4rem 1.4rem 1.5rem;
    transform: translateZ(24px)
}

.album small {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 900
}

.album h3 {
    font-size: 2rem;
    margin: .3rem 0
}

.album:hover img {
    transform: scale(1.06)
}

.demo {
    cursor: default
}

.dark {
    background: var(--dark);
    color: #fff
}

.offers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #ffffff24;
    margin-top: 3rem
}

.offer {
    background: var(--dark);
    padding: 2rem;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    transition: .35s
}

.offer:hover {
    background: #191815;
    transform: translateY(-5px)
}

.offer p {
    color: #ffffff99
}

.offer strong {
    margin: auto 0 1.3rem;
    color: var(--accent)
}

.offer a {
    font-weight: 850
}

.client-zone {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #171612;
    color: #fff
}

.client-zone>div:last-child {
    position: relative;
    max-width: 800px;
    margin: auto
}

.client-zone p:not(.eyebrow) {
    color: #ffffffa0
}

.client-zone form {
    display: flex;
    gap: .6rem;
    max-width: 620px;
    margin: 2rem auto 0
}

.client-zone input {
    flex: 1;
    min-width: 0;
    padding: .9rem 1rem;
    border: 1px solid #ffffff40;
    background: #ffffff0b;
    color: #fff
}

.orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #d29a4224;
    filter: blur(80px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 10vw, 10rem)
}

.contact>div:first-child p:last-child {
    color: var(--muted)
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2rem;
    display: grid;
    gap: 1rem;
    align-content: start
}

.contact-card>a:not(.btn) {
    font: 1.35rem var(--serif)
}

.contact-card span {
    color: var(--muted)
}

footer {
    background: #080808;
    color: #ffffffa0;
    padding: 4rem max(20px, calc((100% - var(--max))/2)) 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem
}

footer>div {
    display: grid;
    align-content: start;
    gap: .5rem
}

footer>p {
    grid-column: 1/-1;
    border-top: 1px solid #ffffff1c;
    padding-top: 1.2rem;
    font-size: .8rem
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.cursor-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: #d29a4210;
    filter: blur(55px);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%)
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px
}

@media(max-width:1000px) {
    .offers {
        grid-template-columns: repeat(2, 1fr)
    }

    .equipment {
        grid-template-columns: repeat(2, 1fr)
    }

    nav {
        position: fixed;
        inset: 68px 0 auto;
        background: #0d0d0cf8;
        display: grid;
        padding: 2rem 24px;
        transform: translateY(-140%);
        transition: .35s
    }

    .site-header nav.open {
        transform: none
    }

    .navbtn {
        display: block
    }

    .social {
        display: inline-grid
    }

    .albums {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {

    .about,
    .contact {
        grid-template-columns: 1fr
    }

    .section-title {
        display: block
    }

    .equipment,
    .albums,
    .offers {
        grid-template-columns: 1fr
    }

    .portrait span {
        right: 5px
    }

    .client-zone form {
        display: grid
    }

    .hero-content {
        padding-top: 95px
    }

    .hero-frame {
        width: 88vw
    }

    .album {
        min-height: 480px
    }

    footer {
        grid-template-columns: 1fr
    }

    .cursor-glow {
        display: none
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .album,
    .equip-card,
    .btn {
        transition: none
    }

    .cursor-glow {
        display: none
    }
}

/* Slider główny */
.hero-slider {
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px) !important;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity .9s ease, transform 6s ease
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1)
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: .45rem
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    background: transparent;
    border-radius: 50%;
    padding: 0
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent)
}

/* Podglądy albumów zmieniające zdjęcia */
.album-preview img {
    opacity: 1
}

.album-preview.changing img {
    opacity: .18
}

.album-preview img {
    transition: opacity .38s ease, transform .65s ease
}

/* Formularz kontaktowy */
.contact-links {
    display: grid;
    gap: .55rem;
    margin-top: 2rem
}

.contact-links a {
    font: 1.25rem var(--serif)
}

.contact-links span {
    color: var(--muted)
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.field {
    display: grid;
    gap: .4rem
}

.field label,
.consent {
    font-size: .84rem;
    font-weight: 800
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #bbb4a8;
    background: #fff;
    padding: .82rem;
    color: var(--ink);
    font: inherit
}

.contact-form textarea {
    resize: vertical
}

.full {
    grid-column: 1/-1
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem
}

.consent input {
    width: 1.1rem;
    margin-top: .3rem
}

.form-status {
    min-height: 1.5rem;
    color: var(--muted)
}

.form-status.success {
    color: #276a3d
}

.form-status.error {
    color: #a22
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important
}

.contact-form [aria-invalid="true"] {
    border-color: #a22;
    box-shadow: 0 0 0 2px #aa222218
}

@media(max-width:700px) {
    .contact-form {
        grid-template-columns: 1fr
    }

    .full {
        grid-column: auto
    }
}

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

    .hero-slide,
    .album-preview img {
        transition: none
    }
}