/* =========================================================
   Ewelina Atelier Makijażu — style strony publicznej
   Niewielki, ręcznie zbudowany system stylów. Bez frameworków.
   ========================================================= */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Allura';
    src: url('../fonts/allura-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #1a1a1a;
    --ink-soft: #3b3834;
    --muted: #6c645b;
    --muted-light: #6f665d;
    --paper: #fcfaf6;
    --cream: #f4ede3;
    --cream-deep: #ece2d5;
    --sand: #dfd0bd;
    --nude: #c2a28a;
    --gold: #d8b99a;
    --line: rgba(26, 26, 26, 0.14);
    --line-strong: rgba(26, 26, 26, 0.28);
    --white: #fffdf9;
    --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --script: 'Allura', 'Snell Roundhand', cursive;
    --container: 1320px;
    --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
    --section-y: clamp(5.5rem, 10vw, 9.5rem);
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open,
body.dialog-open {
    overflow: hidden;
}

::selection {
    background: var(--sand);
    color: var(--ink);
}

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

img {
    height: auto;
}

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

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

button,
input,
textarea,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

.icon--xs {
    width: 0.9em;
    height: 0.9em;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    transform: translateY(-160%);
    transition: transform 0.2s;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.23em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow__line {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.eyebrow__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 20px;
    border: 1px solid currentColor;
    border-radius: 100px;
    font-family: var(--serif);
    font-size: 10px;
    font-style: italic;
    letter-spacing: 0;
    opacity: 0.68;
}

.eyebrow--light {
    color: rgba(255, 250, 242, 0.7);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.17em;
    line-height: 1.6;
    text-transform: uppercase;
    transition: border-color 0.3s, gap 0.3s;
}

.text-link .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s var(--ease);
}

.text-link:hover {
    border-color: var(--ink);
    gap: 16px;
}

.text-link:hover .icon {
    transform: translateX(2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 1px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.17em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn--dark:hover {
    background: transparent;
    color: var(--ink);
}

.btn--cream {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
}

.btn--cream:hover {
    background: transparent;
    color: var(--cream);
}

.btn--outline {
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn--outline-light {
    border-color: rgba(255, 250, 242, 0.48);
    color: var(--white);
}

.btn--outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.btn--compact {
    min-height: 42px;
    padding: 0 23px;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
    font-size: 9px;
}

.btn--compact:hover {
    background: transparent;
    color: var(--ink);
}

.circle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 250, 242, 0.28);
    border-radius: 50%;
    color: var(--cream);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.circle-button:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
}

.circle-button:disabled {
    cursor: default;
    opacity: 0.3;
}

.circle-button--dark {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.circle-button--dark:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.66fr);
    gap: clamp(32px, 6vw, 100px);
    align-items: end;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-head h2 {
    margin-top: 20px;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    line-height: 0.96;
}

.section-head__aside {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-bottom: 8px;
}

.section-head__aside > p {
    max-width: 380px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.section-head--light {
    color: var(--cream);
}

.section-head--light .eyebrow {
    color: rgba(255, 250, 242, 0.56);
}

.section-head--light h2 {
    color: var(--cream);
}

/* Pasek ogłoszeń */
.announcement {
    position: relative;
    z-index: 90;
    background: var(--ink);
    color: var(--cream);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.announcement__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding-block: 8px;
    padding-inline: 44px;
}

.announcement p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    text-align: center;
}

.announcement__dot {
    width: 4px;
    height: 4px;
    margin-right: 2px;
    background: var(--gold);
    border-radius: 50%;
}

.announcement a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(255, 250, 242, 0.45);
    color: var(--white);
    transition: border-color 0.25s;
}

.announcement a:hover {
    border-color: var(--white);
}

.announcement__close {
    position: absolute;
    top: 50%;
    right: max(12px, calc(var(--gutter) - 18px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255, 250, 242, 0.7);
    transform: translateY(-50%);
    transition: color 0.2s, transform 0.25s;
}

.announcement__close:hover {
    color: var(--white);
    transform: translateY(-50%) rotate(90deg);
}

.announcement-dismissed .announcement {
    display: none;
}

/* Nagłówek */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(252, 250, 246, 0.88);
    border-bottom: 1px solid transparent;
    transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

@supports (backdrop-filter: blur(12px)) {
    .site-header {
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
}

.site-header.is-scrolled {
    background: rgba(252, 250, 246, 0.97);
    border-bottom-color: rgba(26, 26, 26, 0.08);
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 86px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    width: fit-content;
}

.brand__name {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    letter-spacing: 0.19em;
    line-height: 0.95;
    text-transform: uppercase;
}

.brand__descriptor {
    padding-left: 1px;
    color: var(--muted);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.34em;
    line-height: 1.5;
    text-transform: uppercase;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.8vw, 40px);
}

.primary-nav__list a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.primary-nav__list a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.primary-nav__list a:hover::after,
.primary-nav__list a.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-nav__extra {
    display: none;
}

.header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.header__instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--ink);
    transition: opacity 0.2s, transform 0.3s var(--ease);
}

.header__instagram:hover {
    opacity: 0.58;
    transform: translateY(-1px);
}

.header__instagram .icon {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 82;
    width: 42px;
    height: 42px;
    margin-right: -10px;
    padding: 12px 8px;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Sekcja powitalna */
.hero {
    position: relative;
    display: flex;
    min-height: 680px;
    height: calc(100svh - 125px);
    max-height: 940px;
    overflow: hidden;
    background: #2a2622;
    color: var(--white);
}

.hero__media,
.hero__media img,
.hero__veil {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 36%;
    transform: scale(1.035);
    animation: hero-settle 1.8s var(--ease) forwards;
}

@keyframes hero-settle {
    to {
        transform: scale(1);
    }
}

.hero__veil {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(22, 19, 16, 0.78) 0%, rgba(22, 19, 16, 0.47) 43%, rgba(22, 19, 16, 0.08) 78%),
        linear-gradient(0deg, rgba(22, 19, 16, 0.53) 0%, rgba(22, 19, 16, 0) 48%),
        linear-gradient(180deg, rgba(22, 19, 16, 0.18), transparent 25%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 130px;
    padding-bottom: 38px;
}

.hero__content {
    width: min(100%, 880px);
    margin-top: auto;
}

.hero__title {
    max-width: 900px;
    margin-top: 24px;
    font-size: clamp(3.9rem, 7.7vw, 7.4rem);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.hero__title em {
    font-weight: 400;
    color: var(--cream);
}

.hero__lead {
    max-width: 500px;
    margin-top: 29px;
    color: rgba(255, 250, 242, 0.8);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 250, 242, 0.22);
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 250, 242, 0.65);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.25s;
}

.scroll-cue:hover {
    color: var(--white);
}

.scroll-cue__line {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 250, 242, 0.35);
}

.scroll-cue__line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateX(-100%);
    animation: scroll-line 2.6s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 20% {
        transform: translateX(-100%);
    }
    60%, 100% {
        transform: translateX(100%);
    }
}

.hero__note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 250, 242, 0.68);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(216, 185, 154, 0.13);
}

/* Filozofia */
.philosophy {
    position: relative;
    padding-block: clamp(6.5rem, 11vw, 11rem);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 253, 249, 0.8), transparent 48%),
        var(--cream);
    text-align: center;
}

.philosophy__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-mark {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 31px;
}

.section-mark span {
    display: block;
    width: 52px;
    height: 1px;
    background: var(--nude);
}

.section-mark i {
    display: block;
    width: 6px;
    height: 6px;
    border: 1px solid var(--nude);
    transform: rotate(45deg);
}

.philosophy .eyebrow {
    justify-content: center;
}

.philosophy__quote {
    max-width: 1000px;
    margin-top: 30px;
}

.philosophy__quote p {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 4.4vw, 4.25rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.philosophy__quote footer {
    margin-top: 35px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* O mnie */
.about {
    background: var(--paper);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(56px, 8vw, 132px);
    align-items: center;
}

.about__media {
    position: relative;
    width: min(100%, 540px);
    margin-left: clamp(0px, 2vw, 24px);
}

.about__figure {
    position: relative;
    z-index: 1;
}

.about__figure::before {
    content: '';
    position: absolute;
    top: -22px;
    right: 44px;
    bottom: 44px;
    left: -22px;
    z-index: -1;
    border: 1px solid var(--nude);
    pointer-events: none;
}

.about__figure img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.85);
}

.about__figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about__stamp {
    position: absolute;
    right: -26px;
    bottom: 54px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: var(--cream);
    border: 1px solid var(--nude);
    border-radius: 50%;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 38px;
    font-style: italic;
    line-height: 1;
}

.about__copy h2 {
    max-width: 560px;
    margin-top: 22px;
    font-size: clamp(2.9rem, 5vw, 5rem);
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 560px;
    margin-top: 32px;
}

.about__body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.credentials {
    max-width: 560px;
    margin-top: 38px;
    border-top: 1px solid var(--line);
}

.credentials li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.5;
}

.credentials__number {
    color: var(--muted-light);
    font-family: var(--serif);
    font-size: 12px;
    font-style: italic;
}

.signature {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 35px;
}

.signature__script {
    font-family: var(--script);
    font-size: clamp(3rem, 4.5vw, 4rem);
    line-height: 0.8;
}

.signature__role {
    max-width: 90px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.6;
    text-transform: uppercase;
}

.about__copy > .text-link {
    margin-top: 34px;
}

/* Usługi */
.services {
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 28px 26px 25px;
    background: rgba(255, 253, 249, 0.35);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.service-card:hover,
.service-card:focus-within {
    background: var(--ink);
    color: var(--cream);
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.service-card__index {
    color: var(--muted-light);
    font-family: var(--serif);
    font-size: 12px;
    font-style: italic;
}

.service-card:hover .service-card__index,
.service-card:focus-within .service-card__index {
    color: rgba(255, 250, 242, 0.55);
}

.service-card__note {
    max-width: 105px;
    color: var(--muted);
    font-size: 7.5px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-align: right;
    text-transform: uppercase;
    transition: color 0.35s;
}

.service-card:hover .service-card__note,
.service-card:focus-within .service-card__note {
    color: rgba(255, 250, 242, 0.5);
}

.service-card__body {
    margin-top: 45px;
}

.service-card h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    line-height: 1.04;
}

.service-card__price {
    margin-top: 14px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    line-height: 1.4;
    transition: color 0.35s;
}

.service-card:hover .service-card__price,
.service-card:focus-within .service-card__price {
    color: var(--cream);
}

.service-card__description {
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
    transition: color 0.35s;
}

.service-card:hover .service-card__description,
.service-card:focus-within .service-card__description {
    color: rgba(255, 250, 242, 0.64);
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.service-card__duration {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: color 0.35s;
}

.service-card:hover .service-card__duration,
.service-card:focus-within .service-card__duration {
    color: rgba(255, 250, 242, 0.48);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 0 4px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.35s, border-color 0.35s;
}

.service-card:hover .service-card__cta,
.service-card:focus-within .service-card__cta {
    border-color: rgba(255, 250, 242, 0.4);
    color: var(--cream);
}

.service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.service-card__arrow .icon {
    width: 11px;
    height: 11px;
}

.service-card:hover .service-card__arrow {
    background: var(--cream);
    color: var(--ink);
}

.services__footnote {
    max-width: 650px;
    margin-top: 27px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

/* Portfolio */
.portfolio {
    background: var(--paper);
}

.portfolio__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
    gap: clamp(30px, 6vw, 100px);
    align-items: end;
}

.portfolio__head h2 {
    margin-top: 20px;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    line-height: 0.96;
}

.portfolio__intro {
    max-width: 370px;
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: clamp(2.8rem, 5vw, 4.4rem);
    border-bottom: 1px solid var(--line);
}

.filter {
    position: relative;
    padding: 0 0 15px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.25s, color 0.25s;
}

.filter::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.filter:hover,
.filter.is-active {
    color: var(--ink);
    opacity: 1;
}

.filter.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.3vw, 34px);
    row-gap: clamp(34px, 4.5vw, 62px);
    margin-top: clamp(2.4rem, 4vw, 3.6rem);
}

.gallery-card:nth-child(3n + 2) {
    margin-top: clamp(22px, 4vw, 58px);
}

.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--cream-deep);
}

.gallery-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.gallery-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter 0.7s;
}

.gallery-card:hover .gallery-card__media img,
.gallery-card:focus-visible .gallery-card__media img {
    transform: scale(1.035);
    filter: brightness(0.93);
}

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 24px;
    background: linear-gradient(0deg, rgba(16, 14, 12, 0.68), rgba(16, 14, 12, 0) 52%);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
}

.gallery-card:hover .gallery-card__overlay,
.gallery-card:focus-visible .gallery-card__overlay {
    opacity: 1;
}

.gallery-card__meta {
    margin-bottom: 6px;
    color: rgba(255, 250, 242, 0.65);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gallery-card__title {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.1;
}

.gallery-card__view {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 250, 242, 0.55);
    border-radius: 50%;
    color: var(--white);
}

.gallery-card__view .icon {
    width: 15px;
    height: 15px;
}

.gallery-empty {
    margin-top: 45px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 24px;
    font-style: italic;
    text-align: center;
}

.portfolio__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.portfolio__foot p {
    max-width: 530px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* Opinie */
.testimonials {
    overflow: hidden;
    background: #171513;
    color: var(--cream);
}

.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding-bottom: 8px;
}

.testimonial-track {
    display: flex;
    gap: clamp(20px, 2.4vw, 32px);
    margin-top: clamp(2.8rem, 5vw, 4.5rem);
    padding: 3px 1px 14px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial {
    display: flex;
    flex: 0 0 calc((100% - clamp(40px, 4.8vw, 64px)) / 3);
    flex-direction: column;
    min-height: 310px;
    padding: 29px 0 0;
    border-top: 1px solid rgba(255, 250, 242, 0.18);
    scroll-snap-align: start;
}

.testimonial__stars {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.18em;
    line-height: 1;
}

.testimonial__stars-muted {
    color: rgba(255, 250, 242, 0.16);
}

.testimonial blockquote {
    max-width: 380px;
    margin-top: 27px;
    color: var(--cream);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 30px;
}

.testimonial__name {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.testimonial__service {
    color: rgba(255, 250, 242, 0.58);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.testimonial-hint {
    display: none;
    margin-top: 20px;
    color: rgba(255, 250, 242, 0.52);
    font-size: 8px;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

/* Kontakt */
.contact {
    background: var(--cream);
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
}

.contact__intro h2 {
    max-width: 530px;
    margin-top: 22px;
    font-size: clamp(2.9rem, 4.8vw, 4.8rem);
    line-height: 0.98;
}

.contact__lead {
    max-width: 480px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.contact__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 30px;
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-detail__label {
    color: var(--muted-light);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-detail a,
.contact-detail address {
    font-size: 12px;
    line-height: 1.7;
}

.contact-detail a {
    width: fit-content;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
}

.contact-detail a:hover {
    border-color: var(--line-strong);
}

.contact-detail address span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.05em;
}

.hours {
    margin-top: 32px;
}

.hours dl {
    margin-top: 11px;
}

.hours dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.07);
    font-size: 10px;
}

.hours dt {
    color: var(--muted);
}

.hours dd {
    color: var(--ink-soft);
}

.contact__links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 25px;
    margin-top: 31px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: border-color 0.25s;
}

.social-link:hover {
    border-color: var(--ink);
}

.social-link .icon {
    width: 14px;
    height: 14px;
}

.contact__form-wrap {
    padding: clamp(26px, 4.2vw, 52px);
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.11);
}

.form-heading h3 {
    margin-top: 15px;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1;
}

.form-heading > p:last-child {
    margin-top: 13px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.inquiry-form {
    margin-top: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.field__label {
    color: var(--muted-light);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    outline: 0;
    transition: border-color 0.25s, background-color 0.25s;
}

.field input,
.field select {
    min-height: 40px;
    padding: 5px 0;
}

.field select {
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    appearance: none;
}

.field textarea {
    min-height: 99px;
    padding: 9px 0;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #7c7369;
    font-weight: 300;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--ink);
}

.field input:user-invalid,
.field textarea:user-invalid {
    border-bottom-color: #a95845;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.7;
    cursor: pointer;
}

.checkbox input {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin: 2px 0 0;
    accent-color: var(--ink);
}

.checkbox a {
    border-bottom: 1px solid var(--line-strong);
}

.checkbox a:hover {
    border-color: var(--ink);
}

.form-submit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 26px;
}

.form-submit .btn {
    min-height: 51px;
}

.form-note {
    max-width: 185px;
    color: var(--muted-light);
    font-size: 8px;
    line-height: 1.5;
}

.form-alt-link {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.form-status {
    min-height: 0;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.6;
}

.form-status:empty {
    display: none;
}

.form-status.is-error {
    color: #934435;
}

.form-status.is-success {
    color: #3b6247;
}

.form-status.is-loading {
    color: var(--muted);
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 21px;
    padding: 13px 14px;
    border: 1px solid;
    font-size: 10.5px;
    line-height: 1.6;
}

.notice .icon {
    width: 15px;
    height: 15px;
    margin-top: 1px;
}

.notice--success {
    background: #f2f7f0;
    border-color: #bdcfba;
    color: #355a39;
}

.notice--error {
    background: #fbf3f0;
    border-color: #e4c4bb;
    color: #854331;
}

.form-success {
    margin-top: 30px;
    padding: 30px 0 4px;
    text-align: center;
}

.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

.form-success__icon .icon {
    width: 20px;
    height: 20px;
}

.form-success h3 {
    margin-top: 19px;
    font-size: 2rem;
}

.form-success p {
    max-width: 350px;
    margin: 10px auto 23px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Stopka */
.site-footer {
    overflow: hidden;
    padding-top: clamp(4.5rem, 8vw, 7.5rem);
    background: #131210;
    color: var(--cream);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.45fr 0.6fr 0.9fr 1fr;
    gap: clamp(30px, 5vw, 72px);
    padding-bottom: clamp(3.8rem, 7vw, 6rem);
}

.brand--footer .brand__name {
    font-size: 32px;
    color: var(--cream);
}

.brand--footer .brand__descriptor {
    color: rgba(255, 250, 242, 0.42);
}

.footer__brand > p {
    max-width: 330px;
    margin-top: 25px;
    color: rgba(255, 250, 242, 0.58);
    font-size: 11px;
    line-height: 1.8;
}

.footer__socials {
    display: flex;
    gap: 9px;
    margin-top: 25px;
}

.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 250, 242, 0.18);
    border-radius: 50%;
    color: rgba(255, 250, 242, 0.72);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.footer__socials a:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
}

.footer__socials .icon {
    width: 14px;
    height: 14px;
}

.footer__label {
    margin-bottom: 22px;
    color: rgba(255, 250, 242, 0.48);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.21em;
    text-transform: uppercase;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer__nav a {
    color: rgba(255, 250, 242, 0.7);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer__nav a:hover,
.footer__contact a:hover {
    color: var(--white);
}

.footer__contact,
.footer__hours {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__contact address {
    margin-bottom: 11px;
    color: rgba(255, 250, 242, 0.7);
    font-size: 10px;
    line-height: 1.75;
}

.footer__contact a {
    color: rgba(255, 250, 242, 0.68);
    font-size: 10px;
    line-height: 1.9;
    transition: color 0.2s;
}

.footer__hours p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    max-width: 220px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 250, 242, 0.09);
    color: rgba(255, 250, 242, 0.62);
    font-size: 9px;
    line-height: 1.5;
}

.footer__hours span:last-child {
    color: rgba(255, 250, 242, 0.52);
    text-align: right;
}

.footer__word {
    margin: 8px 0 0;
    color: rgba(255, 250, 242, 0.055);
    font-family: var(--serif);
    font-size: clamp(6rem, 21vw, 19rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 0.65;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: clamp(2rem, 4vw, 3.2rem);
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 250, 242, 0.13);
    color: rgba(255, 250, 242, 0.48);
    font-size: 8px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.footer__legal {
    display: flex;
    gap: 18px;
}

.footer__legal a {
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: var(--cream);
}

.footer__location {
    text-align: right;
}

/* Okno dialogowe / rezerwacja */
dialog {
    color: var(--ink);
}

dialog::backdrop {
    background: rgba(12, 11, 9, 0.7);
    backdrop-filter: blur(3px);
}

.modal {
    width: min(720px, calc(100vw - 30px));
    max-width: none;
    max-height: calc(100svh - 30px);
    margin: auto;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
}

.modal[open] {
    animation: modal-in 0.38s var(--ease);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal__panel {
    position: relative;
    max-height: calc(100svh - 30px);
    padding: clamp(28px, 5.5vw, 58px);
    overflow-y: auto;
    background: var(--paper);
    border-radius: 1px;
}

.modal__close,
.lightbox__close {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.modal__close:hover,
.lightbox__close:hover {
    background: var(--ink);
    color: var(--white);
    transform: rotate(90deg);
}

.modal__header h2 {
    margin-top: 15px;
    padding-right: 30px;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.modal__header > p:last-child {
    max-width: 460px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.modal .inquiry-form {
    margin-top: 30px;
}

/* Powiększenie zdjęć */
.lightbox {
    width: min(1180px, calc(100vw - 24px));
    max-width: none;
    height: min(880px, calc(100svh - 24px));
    max-height: none;
    margin: auto;
    padding: 0;
    background: #0e0e0d;
    border: 0;
    color: var(--cream);
}

.lightbox[open] {
    display: flex;
    flex-direction: column;
    animation: lightbox-in 0.3s var(--ease);
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox::backdrop {
    background: rgba(5, 5, 4, 0.92);
}

.lightbox__close {
    border-color: rgba(255, 250, 242, 0.28);
    color: var(--cream);
}

.lightbox__close:hover {
    background: var(--cream);
    color: var(--ink);
}

.lightbox__stage {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 50px 50px 12px;
    overflow: hidden;
}

.lightbox__stage img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 0 0 auto;
    padding: 13px 25px 20px;
}

.lightbox__title {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

.lightbox__count {
    margin-top: 3px;
    color: rgba(255, 250, 242, 0.44);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lightbox__nav {
    display: flex;
    gap: 8px;
}

.lightbox__nav .circle-button {
    width: 41px;
    height: 41px;
}

/* Animacje przy przewijaniu — JavaScript stosuje je tylko do elementów poniżej ekranu */
[data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(24px);
}

[data-reveal].reveal-pending.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

/* Widoki responsywne */
@media (max-width: 1180px) {
    .primary-nav__list {
        gap: 23px;
    }

    .service-card {
        padding-inline: 21px;
    }

    .service-card__description {
        font-size: 11.5px;
    }
}

@media (max-width: 1050px) {
    .header__inner {
        grid-template-columns: 1fr auto;
        min-height: 76px;
    }

    .header__actions {
        gap: 11px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 79;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 116px var(--gutter) 32px;
        background: var(--paper);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
        overflow-y: auto;
    }

    body.nav-open .primary-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .primary-nav__list li {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav__list a {
        display: block;
        padding: 14px 0 15px;
        font-family: var(--serif);
        font-size: clamp(2rem, 5vw, 2.9rem);
        font-weight: 400;
        letter-spacing: -0.01em;
        text-transform: none;
    }

    .primary-nav__list a::after {
        display: none;
    }

    .primary-nav__extra {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 21px;
        margin-top: 38px;
    }

    .primary-nav__extra .btn {
        width: 100%;
        max-width: 340px;
    }

    .nav-instagram {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .nav-instagram .icon {
        width: 15px;
        height: 15px;
    }

    .primary-nav__note {
        color: var(--muted);
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .hero {
        height: calc(100svh - 115px);
    }

    .about__grid {
        gap: 60px;
    }

    .about__stamp {
        right: -16px;
        width: 76px;
        height: 76px;
        font-size: 32px;
    }

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

    .service-card {
        min-height: 370px;
        padding: 27px 28px 25px;
    }

    .testimonial {
        flex-basis: calc((100% - 26px) / 2);
    }

    .contact__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
        gap: 48px;
    }

    .contact__form-wrap {
        padding: 34px 28px;
    }

    .footer__top {
        grid-template-columns: 1.35fr 0.7fr 1fr;
    }

    .footer__hours {
        display: none;
    }
}

@media (max-width: 860px) {
    :root {
        --gutter: clamp(1.25rem, 5vw, 2.7rem);
    }

    .section-head,
    .portfolio__head {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-head__aside {
        padding-bottom: 0;
    }

    .section-head__aside > p {
        max-width: 510px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .about__media {
        width: min(100%, 500px);
        margin-inline: auto;
    }

    .about__copy {
        max-width: 620px;
    }

    .about__figure img {
        aspect-ratio: 5 / 5.55;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        row-gap: 18px;
    }

    .gallery-card:nth-child(3n + 2) {
        margin-top: 0;
    }

    .gallery-card:nth-child(even) {
        margin-top: 40px;
    }

    .gallery-card__overlay {
        opacity: 1;
        padding: 18px;
        background: linear-gradient(0deg, rgba(16, 14, 12, 0.64), rgba(16, 14, 12, 0) 60%);
    }

    .gallery-card__title {
        font-size: 21px;
    }

    .gallery-card__view {
        top: 13px;
        right: 13px;
        width: 34px;
        height: 34px;
    }

    .portfolio__foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .contact__intro {
        max-width: 650px;
    }

    .contact__form-wrap {
        padding: clamp(26px, 5vw, 44px);
    }

    .footer__top {
        grid-template-columns: 1.25fr 0.75fr;
        row-gap: 48px;
    }

    .footer__hours {
        display: none;
    }

    .footer__bottom {
        flex-wrap: wrap;
    }

    .footer__location {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 78px;
    }

    .announcement {
        font-size: 8.5px;
        letter-spacing: 0.08em;
    }

    .announcement__inner {
        min-height: 35px;
        padding-inline: 37px;
    }

    .announcement__close {
        right: 6px;
        width: 27px;
        height: 27px;
    }

    .announcement p {
        gap: 4px 8px;
    }

    .announcement__dot {
        display: none;
    }

    .header__inner {
        min-height: 67px;
    }

    .brand__name {
        font-size: 23px;
    }

    .brand__descriptor {
        font-size: 6px;
    }

    .primary-nav {
        padding-top: 99px;
    }

    .header__book {
        display: none;
    }

    .header__instagram {
        width: 30px;
        height: 30px;
    }

    .hero {
        min-height: 630px;
        height: calc(100svh - 102px);
        max-height: 820px;
    }

    .hero__media img {
        object-position: 63% center;
    }

    .hero__veil {
        background:
            linear-gradient(0deg, rgba(20, 17, 14, 0.87) 0%, rgba(20, 17, 14, 0.46) 55%, rgba(20, 17, 14, 0.28) 100%),
            linear-gradient(90deg, rgba(20, 17, 14, 0.36), transparent);
    }

    .hero__inner {
        padding-top: 110px;
        padding-bottom: 25px;
    }

    .hero__title {
        margin-top: 18px;
        font-size: clamp(3.2rem, 14vw, 4.6rem);
        line-height: 0.9;
    }

    .hero__lead {
        margin-top: 23px;
        font-size: 12.5px;
        line-height: 1.75;
    }

    .hero__actions {
        gap: 9px;
        margin-top: 28px;
    }

    .hero__actions .btn {
        min-height: 48px;
        padding-inline: 21px;
        font-size: 9px;
    }

    .hero__footer {
        margin-top: 35px;
        padding-top: 16px;
    }

    .scroll-cue {
        font-size: 8px;
    }

    .scroll-cue__line {
        width: 26px;
    }

    .hero__note {
        max-width: 180px;
        font-size: 8px;
        line-height: 1.5;
        text-align: right;
    }

    .eyebrow {
        font-size: 8.5px;
        letter-spacing: 0.18em;
    }

    .philosophy {
        padding-block: 5.5rem;
    }

    .philosophy__quote {
        margin-top: 23px;
    }

    .philosophy__quote p {
        font-size: clamp(1.9rem, 7.2vw, 2.7rem);
        line-height: 1.14;
    }

    .philosophy__quote footer {
        margin-top: 25px;
        font-size: 8px;
    }

    .section-mark {
        margin-bottom: 24px;
    }

    .about__stamp {
        right: 6px;
        bottom: 42px;
        width: 66px;
        height: 66px;
        font-size: 29px;
    }

    .about__figure::before {
        top: -13px;
        right: 26px;
        bottom: 29px;
        left: -13px;
    }

    .about__figure figcaption {
        font-size: 7px;
    }

    .credentials {
        margin-top: 29px;
    }

    .signature {
        margin-top: 29px;
    }

    .signature__script {
        font-size: 3.2rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 325px;
        padding: 25px 23px 23px;
    }

    .service-card__body {
        margin-top: 33px;
    }

    .service-card h3 {
        font-size: 2rem;
    }

    .service-card__description {
        max-width: 440px;
        margin-top: 16px;
        font-size: 12px;
    }

    .gallery-filters {
        gap: 22px;
        margin-top: 31px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .filter {
        flex: 0 0 auto;
        font-size: 8px;
    }

    .gallery-grid {
        margin-top: 25px;
    }

    .gallery-card:nth-child(even) {
        margin-top: 23px;
    }

    .gallery-card__overlay {
        padding: 13px;
    }

    .gallery-card__meta {
        margin-bottom: 3px;
        font-size: 6.5px;
    }

    .gallery-card__title {
        font-size: 17px;
    }

    .gallery-card__view {
        top: 9px;
        right: 9px;
        width: 27px;
        height: 27px;
    }

    .gallery-card__view .icon {
        width: 12px;
        height: 12px;
    }

    .portfolio__foot p {
        font-size: 10px;
    }

    .testimonial-controls {
        display: none;
    }

    .testimonial-track {
        margin-top: 31px;
        gap: 18px;
    }

    .testimonial {
        flex-basis: 84%;
        min-height: 280px;
        padding-top: 23px;
    }

    .testimonial blockquote {
        margin-top: 22px;
        font-size: 1.5rem;
    }

    .testimonial-hint {
        display: block;
    }

    .contact__details {
        gap: 24px;
        margin-top: 33px;
        padding-top: 23px;
    }

    .contact__form-wrap {
        padding: 27px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .field--full {
        grid-column: auto;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-submit .btn {
        width: 100%;
    }

    .form-note {
        max-width: none;
    }

    .modal {
        width: calc(100vw - 16px);
        max-height: calc(100svh - 16px);
    }

    .modal__panel {
        max-height: calc(100svh - 16px);
        padding: 29px 19px;
    }

    .modal__header h2 {
        font-size: 2.5rem;
    }

    .lightbox {
        width: calc(100vw - 10px);
        height: calc(100svh - 10px);
    }

    .lightbox__stage {
        padding: 48px 10px 4px;
    }

    .lightbox__bar {
        padding: 11px 12px 13px;
    }

    .lightbox__title {
        font-size: 17px;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 38px 26px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__brand > p {
        max-width: 300px;
    }

    .footer__word {
        font-size: 27vw;
        line-height: 0.7;
    }

    .footer__bottom {
        gap: 13px;
        font-size: 7.5px;
    }

    .footer__legal {
        order: 3;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: clamp(3rem, 14.5vw, 3.9rem);
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero__note {
        max-width: none;
        text-align: left;
    }

    .contact__details {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__word {
        font-size: 29vw;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__legal {
        order: unset;
    }

    .footer__location {
        width: auto;
    }

    .gallery-card__title {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__media img {
        transform: none;
    }

    [data-reveal].reveal-pending {
        opacity: 1;
        transform: none;
    }
}

/* Strony prawne */
.legal-body {
    background:
        radial-gradient(circle at 85% 0%, rgba(231, 219, 203, 0.38), transparent 34%),
        var(--paper);
}

.legal-header {
    border-bottom: 1px solid var(--line);
}

.legal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 88px;
}

.legal-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.legal-header__back:hover {
    color: var(--ink);
}

.legal-header__back .icon--back {
    width: 13px;
    height: 13px;
    transform: rotate(180deg);
}

.legal-main {
    width: min(100% - calc(var(--gutter) * 2), 920px);
    margin-inline: auto;
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.legal-main h1 {
    max-width: 760px;
    margin-top: 20px;
    font-size: clamp(3rem, 6.7vw, 6rem);
    line-height: 0.94;
}

.legal-intro {
    max-width: 650px;
    margin-top: 30px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-style: italic;
    line-height: 1.4;
}

.legal-content {
    margin-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.legal-content section {
    display: grid;
    grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
    gap: 24px 55px;
    padding: 29px 0;
    border-bottom: 1px solid var(--line);
}

.legal-content h2 {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.legal-content p {
    max-width: 650px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.legal-content p + p {
    margin-top: 13px;
}

.legal-content a {
    padding-bottom: 1px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink);
}

.legal-content a:hover {
    border-color: var(--ink);
}

.legal-updated {
    margin-top: 29px;
    color: var(--muted-light) !important;
    font-size: 8px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-footer {
    padding: 24px 0 32px;
    border-top: 1px solid var(--line);
}

.legal-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.05em;
}

.legal-footer__inner div {
    display: flex;
    gap: 19px;
}

.legal-footer__inner a:hover {
    color: var(--ink);
}

@media (max-width: 700px) {
    .legal-header__inner {
        min-height: 70px;
    }

    .legal-header__back {
        font-size: 8px;
    }

    .legal-main {
        padding-block: 3.6rem 4.2rem;
    }

    .legal-content section {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 23px 0;
    }

    .legal-content p {
        font-size: 12px;
    }

    .legal-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Zapewnia czytelność drugiego przycisku w sekcji powitalnej na jasnych zdjęciach. */
.btn--outline-light {
    background: rgba(22, 19, 16, 0.28);
    border-color: rgba(255, 250, 242, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.btn--outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

/* Utrzymuje naturalną wysokość zdjęć w siatce portfolio. */
.gallery-grid {
    align-items: start;
}

/* Filtr tła nagłówka tworzy blok zawierający dla pozycjonowanej mobilnej
   nawigacji. Wyłączamy go w tym punkcie przerwania, aby menu mogło pokryć
   całe okno przeglądarki. */
@media (max-width: 1050px) {
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(252, 250, 246, 0.98);
    }
}

@media (max-width: 1050px) {
    .header__inner > .brand {
        position: relative;
        z-index: 82;
    }
}

.legal-content section > p {
    grid-column: 2;
}

.legal-content section > p + p {
    margin-top: 0;
}

@media (max-width: 700px) {
    .legal-content section > p {
        grid-column: 1;
    }
}

/* Wysokość sekcji powitalnej dokładnie odpowiada nagłówkowi — z paskiem ogłoszeń i bez niego. */
body.has-announcement .hero {
    height: calc(100svh - 125px);
}

body:not(.has-announcement) .hero {
    height: calc(100svh - 86px);
}

@media (max-width: 700px) {
    body.has-announcement .hero {
        height: calc(100svh - 102px);
    }

    body:not(.has-announcement) .hero {
        height: calc(100svh - 67px);
    }
}


/* Polskie znaki diakrytyczne — podzbiór latin-ext */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Allura';
    src: url('../fonts/allura-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Dane do przelewu w sekcji kontaktowej */
.contact-detail--bank {
    grid-column: 1 / -1;
    margin-top: 3px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.bank-account {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.055em;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bank-note {
    color: var(--muted-light);
    font-size: 9px;
    line-height: 1.55;
}

@media (max-width: 480px) {
    .bank-account {
        font-size: 11px;
        letter-spacing: 0.025em;
    }
}
