/* =============================================================
   10000stvari — theme stylesheet
   ============================================================= */

@font-face {
    font-family: 'Inconsolata';
    font-weight: 400;
    font-display: swap;
    src: url('https://10000stvari.com/wp-content/uploads/2022/09/inconsolata-v31-latin-ext_latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Greycliff';
    font-weight: 800;
    font-display: swap;
    src: url('https://10000stvari.com/wp-content/uploads/2021/10/font.woff2') format('woff2'),
         url('https://10000stvari.com/wp-content/uploads/2021/10/font.woff') format('woff');
}

:root {
    --bg: #f5f2ea;
    --ink: #0a0a0a;
    --mute: #7a756a;
    --line: #0a0a0a;
    --red: #ff0000;
    --radius: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inconsolata', ui-monospace, Menlo, monospace;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: var(--bg); }

@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* =============================================================
   HEADER
   ============================================================= */
.site-head {
    position: sticky; top: 0; z-index: 20;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    font-size: 0.85rem;
}
.brand {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.brand .dot { color: var(--red); }

/* Uploaded custom logo — cap the size so giant SVGs don't blow up the header */
.site-head .custom-logo-link { display: inline-block; line-height: 0; }
.site-head .custom-logo {
    height: var(--stvari-logo-h, 44px);
    width: auto;
    max-width: 320px;
    display: block;
}
@media (max-width: 780px) {
    .site-head .custom-logo { height: var(--stvari-logo-h-mobile, 32px); }
}
.nav { display: flex; gap: 1.5rem; font-size: 0.85rem; list-style: none; margin: 0; padding: 0; }
.nav li { list-style: none; }
.nav a::before { content: "./"; color: var(--mute); margin-right: 2px; }
.nav a:hover::before { color: var(--red); }
.nav .current-menu-item > a { color: var(--red); }
.nav .current-menu-item > a::before { color: var(--red); }
.meta-tag {
    font-size: 0.75rem;
    color: var(--mute);
    letter-spacing: 0.02em;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 780px) {
    .site-head { flex-wrap: wrap; padding: 1rem 1.25rem; }
    .meta-tag { display: none; }
    .nav-toggle { display: inline-block; }
    .nav {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 1rem;
        display: none;
    }
    .nav.is-open { display: flex; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 88vh;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
}
.hero__text {
    padding: 6rem 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.hero__eyebrow {
    font-size: 0.85rem;
    color: var(--mute);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}
.hero__eyebrow::before {
    content: "// ";
    color: var(--red);
}
.hero__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}
.hero__title .red { color: var(--red); }
.hero__title .cursor,
.foot__prompt .cursor {
    display: inline-block;
    width: 0.55em;
    height: 0.85em;
    background: var(--red);
    vertical-align: -0.08em;
    margin-left: 0.08em;
    animation: blink 1.1s infinite steps(1);
}
.hero__sub {
    font-size: 0.95rem;
    max-width: 44ch;
    color: var(--ink);
    margin-bottom: 3rem;
    line-height: 1.65;
}
.hero__cta, .btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    align-self: flex-start;
    padding: 0.9rem 1.4rem;
    border: 1px solid var(--ink);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--bg);
    transition: all .2s ease;
    cursor: pointer;
    font-family: inherit;
    color: var(--ink);
}
.hero__cta::before, .btn::before { content: "→"; color: var(--red); }
.hero__cta:hover, .btn:hover { background: var(--ink); color: var(--bg); }
.hero__cta:hover::before, .btn:hover::before { color: var(--red); }

.hero__shape {
    position: relative;
    border-left: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .hero__shape { border-left: none; border-top: 1px solid var(--line); aspect-ratio: 1/1; }
}
.shape-stage { position: relative; width: 70%; aspect-ratio: 1/1; }
.shape-asterisk {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    user-select: none;
}
.shape-asterisk--lg { font-size: min(55vh, 48vw); animation: spin 40s linear infinite; }
.shape-asterisk--md { font-size: min(35vh, 30vw); animation: spin 25s linear infinite reverse; mix-blend-mode: multiply; opacity: 0.85; }
.shape-asterisk--sm { font-size: min(20vh, 18vw); animation: spin 15s linear infinite; color: var(--ink); mix-blend-mode: multiply; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.corners {
    position: absolute; inset: 1rem;
    pointer-events: none;
    font-size: 0.7rem;
    color: var(--mute);
}
.corners > span { position: absolute; }
.corners .tl { top: 0; left: 0; }
.corners .tr { top: 0; right: 0; }
.corners .bl { bottom: 0; left: 0; }
.corners .br { bottom: 0; right: 0; }

@media (prefers-reduced-motion: reduce) {
    .shape-asterisk, .hero__title .cursor, .foot__prompt .cursor { animation: none; }
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
    padding: 6rem 2.5rem;
    border-bottom: 1px solid var(--line);
}
.section--narrow { max-width: 70rem; margin: 0 auto; }
.section__label {
    font-size: 0.85rem;
    color: var(--mute);
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: baseline;
}
.section__label .num { color: var(--red); font-weight: 400; }
.section__label::before { content: "§"; color: var(--red); margin-right: 0.25rem; }
.section__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 20ch;
    margin-bottom: 1.5rem;
}
.section__title .red { color: var(--red); }
.section__intro {
    max-width: 60ch;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* =============================================================
   PORTFOLIO
   ============================================================= */
.portfolio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--line);
}
.portfolio-row {
    display: grid;
    grid-template-columns: 3rem 1fr 10rem 4rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    transition: background .2s ease, color .2s ease;
    position: relative;
    cursor: pointer;
}
.portfolio-row:hover { background: var(--ink); color: var(--bg); padding-left: 1rem; padding-right: 1rem; }
.portfolio-row:hover .portfolio-row__arrow { transform: translateX(6px); color: var(--red); }
.portfolio-row:hover .portfolio-row__hover-img { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.portfolio-row__num { color: var(--mute); }
.portfolio-row:hover .portfolio-row__num { color: var(--red); }
.portfolio-row__name {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.portfolio-row__meta { font-size: 0.85rem; color: var(--mute); text-align: right; }
.portfolio-row:hover .portfolio-row__meta { color: var(--bg); }
.portfolio-row__arrow { text-align: right; color: var(--mute); transition: all .25s ease; font-size: 1.25rem; }
.portfolio-row__hover-img {
    position: fixed;
    pointer-events: none;
    width: 320px; height: 240px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    object-fit: cover;
    z-index: 30;
    border: 1px solid var(--line);
    transition: opacity .25s ease, transform .25s ease;
}
@media (max-width: 700px) {
    .portfolio-row { grid-template-columns: 2rem 1fr 2rem; grid-auto-rows: min-content; padding: 1rem 0; }
    .portfolio-row__name { font-size: 1.1rem; }
    .portfolio-row__meta { grid-column: 2; font-size: 0.75rem; text-align: left; }
    .portfolio-row__hover-img { display: none; }
}

/* =============================================================
   NUMBERED CONTENT
   ============================================================= */
.numbered-row { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
@media (max-width: 800px) { .numbered-row { grid-template-columns: 1fr; gap: 2rem; } }
.numbered-row__body p { font-size: 1rem; line-height: 1.7; max-width: 60ch; margin-bottom: 1.25rem; }
.numbered-row__cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--ink);
    padding: 0.4rem 0;
    margin-top: 1rem;
}
.numbered-row__cta::after { content: "→"; color: var(--red); transition: transform .2s ease; }
.numbered-row__cta:hover::after { transform: translateX(4px); }

/* =============================================================
   FEATURES
   ============================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; gap: 2rem; } }
.features__col h4 {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.25rem;
}
.features__col h4::before { content: "//"; position: absolute; left: 0; color: var(--red); }
.features__col p { font-size: 0.95rem; line-height: 1.65; color: var(--ink); }

/* =============================================================
   BLOG TEASERS
   ============================================================= */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
@media (max-width: 800px) { .teasers { grid-template-columns: 1fr; } }
.teaser { display: block; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.teaser__tag { font-size: 0.75rem; color: var(--red); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.teaser__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    transition: color .2s ease;
}
.teaser:hover .teaser__title { color: var(--red); }
.teaser__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition: filter .3s ease;
}
.teaser:hover .teaser__img { filter: grayscale(0%) contrast(1); }
.teaser__read {
    display: inline-flex; gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--mute);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.teaser__read::before { content: "→"; color: var(--red); }

/* =============================================================
   FOOTER
   ============================================================= */
.foot {
    padding: 4rem 2.5rem 2rem;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.85rem;
}
.foot a { color: var(--bg); }
.foot a:hover { color: var(--red); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__prompt {
    font-size: 1.6rem;
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.foot__prompt .prompt { color: var(--red); margin-right: 0.5rem; }
.foot__col h6 {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 1rem;
}
.foot__col ul { list-style: none; }
.foot__col li { margin-bottom: 0.4rem; }
.foot__bar {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.7rem;
    color: #999;
    font-family: 'Inconsolata', monospace;
}

/* =============================================================
   GENERIC CONTENT / BLOG
   ============================================================= */
.page-hero {
    padding: 6rem 2.5rem 3rem;
    border-bottom: 1px solid var(--line);
}
.page-hero__eyebrow {
    font-size: 0.85rem;
    color: var(--mute);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}
.page-hero__eyebrow::before { content: "// "; color: var(--red); }
.page-hero__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    max-width: 22ch;
}
.page-hero__title .red { color: var(--red); }
.page-hero__sub {
    margin-top: 1.5rem;
    max-width: 60ch;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
}

.entry {
    padding: 4rem 2.5rem;
    max-width: 70rem;
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
}
.entry__meta {
    font-size: 0.8rem;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.entry__meta::before { content: "// "; color: var(--red); }

.entry-content { max-width: 68ch; font-size: 1.05rem; line-height: 1.7; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 2rem 0 1rem;
    line-height: 1.15;
}
.entry-content h1 { font-size: 2.6rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { border-bottom: 1px solid var(--ink); }
.entry-content a:hover { color: var(--red); border-bottom-color: var(--red); }
.entry-content ul, .entry-content ol { margin: 0 0 1.5rem 1.25rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content blockquote {
    border-left: 3px solid var(--red);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: 'Greycliff', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.entry-content img { margin: 2rem 0; border: 1px solid var(--line); }
.entry-content code {
    background: #eee6d4;
    padding: 0.1em 0.35em;
    font-family: 'Inconsolata', monospace;
    font-size: 0.95em;
}
.entry-content pre {
    background: var(--ink);
    color: var(--bg);
    padding: 1.25rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9rem;
}
.entry-content pre code { background: transparent; padding: 0; }

.post-nav {
    display: flex; justify-content: space-between; gap: 2rem;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.post-nav a { border-bottom: 1px solid transparent; }
.post-nav a:hover { border-color: var(--red); color: var(--red); }

/* Pagination */
.pagination {
    display: flex; gap: 0.5rem; padding: 3rem 2.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--bg);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.pagination .page-numbers:hover { background: var(--ink); color: var(--bg); }
.pagination .page-numbers.current:hover { background: var(--red); color: var(--bg); border-color: var(--red); }

/* Archive grid (blog index & portfolio archive) */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 4rem 2.5rem;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .archive-grid { grid-template-columns: 1fr; } }

/* Contact form */
.form-wrap { max-width: 38rem; }
.form-wrap label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
    color: var(--mute);
}
.form-wrap label::before { content: "// "; color: var(--red); }
.form-wrap input[type=text],
.form-wrap input[type=email],
.form-wrap input[type=tel],
.form-wrap textarea,
.form-wrap select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    background: var(--bg);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0;
}
.form-wrap input:focus, .form-wrap textarea:focus, .form-wrap select:focus {
    outline: 2px solid var(--red); outline-offset: 2px;
}
.form-wrap textarea { min-height: 10rem; resize: vertical; }

/* =============================================================
   USLUGE (Services) page
   ============================================================= */
.usluge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 2rem;
}
.usluga {
    display: grid;
    grid-template-columns: minmax(260px, 34%) 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
@media (max-width: 800px) {
    .usluga { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
}
.usluga__head { display: flex; flex-direction: column; gap: 0.75rem; }
.usluga__num {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--red);
    letter-spacing: 0.05em;
}
.usluga__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}
.usluga__body p { font-size: 1rem; line-height: 1.7; max-width: 60ch; margin-bottom: 1rem; }
.usluga__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    border-top: 1px solid var(--line);
}
.usluga__list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.75rem;
}
.usluga__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--red);
}

/* Proces steps */
.proces {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .proces { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .proces { grid-template-columns: 1fr; } }
.proces__step {
    padding: 1.75rem 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.proces__num {
    display: block;
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--red);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.proces__title {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}
.proces__step p { font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* =============================================================
   KONTAKT page layout
   ============================================================= */
.kontakt-layout {
    display: grid;
    grid-template-columns: minmax(280px, 34%) 1fr;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .kontakt-layout { grid-template-columns: 1fr; } }

.kontakt-layout__side {
    border-right: 1px solid var(--line);
    padding: 3rem 2.5rem;
    background: #eee6d4;
}
@media (max-width: 900px) { .kontakt-layout__side { border-right: none; border-bottom: 1px solid var(--line); } }
.kontakt-layout__main { padding: 3rem 2.5rem; }

.kontakt-info { display: grid; gap: 2rem; }
.kontakt-info__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    margin: 0 0 0.5rem;
}
.kontakt-info__value {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}
.kontakt-info__value a { border-bottom: 1px solid var(--ink); }
.kontakt-info__value a:hover { color: var(--red); border-color: var(--red); }

.kontakt-layout__extra { margin-top: 2.5rem; font-size: 0.95rem; }

/* Contact notices */
.kontakt-notice {
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    font-size: 0.9rem;
}
.kontakt-notice--success { background: #e8f7e8; border-color: #0a0a0a; }
.kontakt-notice--error   { background: #ffe5e5; border-color: var(--red); color: var(--red); }

/* =============================================================
   Contact form
   ============================================================= */
.kontakt-form { max-width: 40rem; }
.kontakt-form__lead {
    font-size: 0.75rem;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}
.form-row { margin-bottom: 1.5rem; }
.form-row label,
.form-wrap label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    color: var(--mute);
}
.form-row label::before,
.form-wrap label::before { content: "// "; color: var(--red); }
.form-row .req { color: var(--red); }

.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: var(--bg);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: 2px solid var(--red); outline-offset: 2px;
}
.form-row textarea { min-height: 10rem; resize: vertical; line-height: 1.55; }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.form-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    margin-top: 0.5rem;
}
@media (max-width: 600px) { .form-check-grid { grid-template-columns: 1fr; } }
.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--ink);
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: background .15s ease;
}
.form-check::before { content: none; }
.form-check:hover { background: #eee6d4; }
.form-check input { accent-color: var(--red); }
.form-check input:checked + span { color: var(--red); font-weight: 600; }

.form-note {
    font-size: 0.75rem;
    color: var(--mute);
    line-height: 1.5;
    margin: 1rem 0 1.75rem;
}
.form-note .req { color: var(--red); }

/* =============================================================
   SINGLE PROJECT LAYOUT — text LEFT, photos RIGHT
   ============================================================= */
.projekt-layout {
    display: grid;
    grid-template-columns: minmax(340px, 38%) 1fr;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
    .projekt-layout { grid-template-columns: 1fr; }
}

.projekt-layout__side {
    border-right: 1px solid var(--line);
    padding: 3rem 2.5rem;
}
@media (max-width: 900px) {
    .projekt-layout__side { border-right: none; border-bottom: 1px solid var(--line); }
}

.projekt-layout__sticky {
    position: sticky;
    top: 5rem;
}
@media (max-width: 900px) { .projekt-layout__sticky { position: static; } }

.projekt-meta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    display: grid;
    gap: 1rem;
}
.projekt-meta__row dt {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.25rem;
}
.projekt-meta__row dd {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    margin: 0;
}
.projekt-meta__row dd a { border-bottom: 1px solid var(--ink); }
.projekt-meta__row dd a:hover { color: var(--red); border-color: var(--red); }

.projekt-layout__content { font-size: 1rem; line-height: 1.7; max-width: none; }

.projekt-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
}
.projekt-nav a { border-bottom: 1px solid transparent; }
.projekt-nav a:hover { border-color: var(--red); color: var(--red); }

.projekt-layout__main { padding: 3rem 2.5rem; background: var(--bg); }
@media (max-width: 900px) {
    .projekt-layout__main { padding: 2rem 1.25rem; }
}
.projekt-gallery { display: grid; gap: 1.5rem; }
.projekt-gallery__fig { margin: 0; }
.projekt-gallery__img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--line);
}
.projekt-gallery__cap {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--mute);
    margin-top: 0.5rem;
    text-transform: uppercase;
}
.projekt-gallery--empty { min-height: 60vh; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; }

/* =============================================================
   USLUGA hover image (floating, cursor-following)
   ============================================================= */
.usluga-hover-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 260px;
    object-fit: cover;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    border: 1px solid var(--line);
}
.usluga-hover-cursor.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.usluga[data-hover-img] { cursor: none; }
.usluga[data-hover-img] .usluga__title { transition: color 0.2s ease; }
.usluga[data-hover-img]:hover .usluga__title { color: var(--red); }
@media (max-width: 800px) {
    .usluga-hover-cursor { display: none; }
    .usluga[data-hover-img] { cursor: default; }
}

/* 404 */
.fourohfour {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}
.fourohfour__code {
    font-family: 'Greycliff', sans-serif;
    font-weight: 800;
    font-size: clamp(5rem, 15vw, 11rem);
    color: var(--red);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

/* Skip link */
.skip-link {
    position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus {
    position: fixed; left: 1rem; top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--ink); color: var(--bg);
    z-index: 9999;
}

/* Utility */
.u-hide { display: none !important; }
.u-center { text-align: center; }

/* Admin bar offset */
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
