/* ==========================================================================
   Bo Mogę Tattoo — arkusz stylów strony publicznej
   "Teal & Bone" — realne wnętrze studia w hero, paproć jako tło stron,
   mosiądz/drewno jako akcent. Pojedynczy plik CSS, bez preprocesora.
   ========================================================================== */

/* Czcionki hostowane lokalnie (assets/fonts, licencja SIL OFL) — strona nie łączy się
   z serwerami Google przy wczytywaniu. Podział latin / latin-ext jak w Google Fonts:
   polskie ą ę ł ń ś ź ż leżą w latin-ext, przeglądarka pobiera podzbiór tylko wtedy,
   gdy go potrzebuje. Sora to czcionka zmienna (jeden plik na podzbiór, wagi 100–800). */
@font-face {
    font-family: 'Libre Caslon Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/libre-caslon-display-latin-ext-400-normal-VMAFqOA.woff2") format('woff2');
    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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Libre Caslon Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/libre-caslon-display-latin-400-normal-MnSRGDR.woff2") format('woff2');
    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: 'Sora';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/sora-latin-ext-wght-normal-edQZR3t.woff2") format('woff2');
    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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/sora-latin-wght-normal-owdio4Q.woff2") format('woff2');
    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 {
    --color-bg: #171512;
    --color-bg-alt: #1D3A2F;
    --color-bg-elevated: #24493B;
    --color-fg: #F7EFE1;
    --color-fg-muted: #D4C4A8;
    --color-fg-faint: #9C8A70;
    --color-accent: #2F6B5E;
    --color-accent-hover: #4C9184;
    --color-accent-fg: #6DB6A6;
    --color-secondary: #D9A94E;
    --color-secondary-hover: #F0C374;
    --color-wood: #9C6539;
    --color-wood-soft: #BA8956;
    --color-line: rgba(247, 239, 225, 0.10);
    --color-line-strong: rgba(247, 239, 225, 0.20);

    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    --shadow-elevated: 0 16px 40px rgba(23, 21, 18, .35);
    --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, .7);

    --ease-slow: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease: var(--ease-snap);

    --font-display: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container: 1180px;
    --max-width: var(--container);

    /* Spacing scale, kept from the previous theme — used across contact/
       pricing/FAQ/featured sections that have no direct mockup equivalent. */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: 6.5rem;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

/* Full-bleed real photo of the studio's own reception area. Legibility comes
   from the glass panel (.hero__panel--content) rather than a heavy tint, so
   the overlay here only needs to fade the bottom edge into the section below. */
.hero {
    position: relative;
    background-image: url('/img/hero-interior.webp');
    background-size: cover;
    background-position: center 50%;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(23, 21, 18, 0) 0%, rgba(23, 21, 18, .2) 88%, rgba(23, 21, 18, .75) 100%);
}

/* Subtle whole-page fern-photo background, visible below the hero (pinned to
   the viewport, low opacity). */
.page-fern-bg {
    position: fixed;
    inset: -20px;
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(23, 21, 18, .45) 0%, rgba(23, 21, 18, .6) 60%, var(--color-bg) 100%),
        url('/img/fern-gemini-macro-texture.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(1.55);
    opacity: .4;
    pointer-events: none;
}
.site-header, .site-footer, .site-banner, main { position: relative; z-index: 1; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    width: 100%;
}

/* Locked on <html>, not <body>: <html> is already the real scrolling
   element (its scrollTop holds the page's actual scroll offset), so
   freezing overflow there just stops further scrolling in place. Body
   never scrolls itself -- giving *it* overflow:hidden instead makes the
   layout engine treat body as a brand-new scroll container starting at
   scrollTop 0, which becomes the reference frame .site-header's
   position: sticky recalculates against, detaching the header from the
   viewport's actual (unrelated) scroll position -- the header/nav-toggle
   jumps to its static offset instead of staying pinned to top:0. */
html.no-scroll { overflow-y: hidden; }

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

a { color: inherit; text-decoration: none; }
/* Text links in page content (anything that is not a button, nav item or icon,
   i.e. has no class) are underlined so they read as links, as in the footer.
   :where() keeps this easy to override by component styles further down. */
:where(main) a:not([class]) { text-decoration: underline; text-decoration-color: var(--color-fg-faint); text-underline-offset: 3px; transition: color .25s var(--ease-snap), text-decoration-color .25s var(--ease-snap); }
:where(main) a:not([class]):hover { color: var(--color-accent-fg); text-decoration-color: currentColor; }

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 .6em;
    color: var(--color-fg);
}

p { margin: 0 0 1em; color: var(--color-fg-muted); }

button { font: inherit; cursor: pointer; }

:focus-visible {
    outline: 2px solid var(--color-accent-fg);
    outline-offset: 3px;
}

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

/* ---------- Layout helpers ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(.625rem, 2vw, 1.25rem);
}
.section { padding: var(--space-6) 0; padding-top: 0; position: relative; }
.section--tight { padding: var(--space-5) 0; }

.section-head {
    max-width: 620px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; margin: 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--color-accent-fg);
    margin-bottom: var(--space-1);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 2.1rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    border: none;
    cursor: pointer;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap),
        transform .3s var(--ease-snap), box-shadow .3s var(--ease-snap), border-color .3s var(--ease-snap);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-fg);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(47, 107, 94, .35);
}

.btn-outline {
    background: transparent;
    color: var(--color-fg);
    box-shadow: inset 0 0 0 1.5px var(--color-fg-faint);
}
.btn-outline:hover {
    box-shadow: inset 0 0 0 1.5px var(--color-accent-fg);
    color: var(--color-accent-fg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-wood);
    color: var(--color-fg);
}
.btn-secondary:hover { background: var(--color-wood-soft); transform: translateY(-2px); }

.btn-sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn-lg { padding: 1.15rem 2.7rem; font-size: 1rem; }

/* ---------- Site banner (featured content promotion) ---------- */
.site-banner {
    background: var(--color-wood);
    border-bottom: 1px solid rgba(247, 239, 225, .15);
}
.site-banner-inner {
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: .7rem clamp(.625rem, 2vw, 1.25rem);
    position: relative;
}
.site-banner-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-right: 2.5rem;
    transition: opacity .2s var(--ease-snap);
}
.site-banner-link:hover { opacity: .85; }
.site-banner-badge {
    background: var(--color-fg);
    color: var(--color-wood);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}
.site-banner-title {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .01em;
    color: var(--color-fg);
}
.site-banner-cta {
    font-size: .8rem;
    color: var(--color-fg);
    text-decoration: underline;
    white-space: nowrap;
}
.site-banner-close {
    position: absolute;
    right: clamp(.625rem, 2vw, 1.25rem);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-fg);
    font-size: 1.4rem;
    line-height: 1;
    padding: .2rem .5rem;
    opacity: .75;
}
.site-banner-close:hover { opacity: 1; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(23, 21, 18, .86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(247, 239, 225, .08);
}

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .9rem .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark { height: 44px; width: auto; }
.brand__wordmark {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: .01em;
    white-space: nowrap;
}
.brand__wordmark em { font-style: normal; color: var(--color-accent-fg); }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav ul { display: flex; align-items: center; gap: 2rem; }
.site-nav ul a {
    display: inline-block;
    font-size: .92rem;
    font-weight: 500;
    color: var(--color-fg-muted);
    position: relative;
    padding: .3rem 0;
    transition: color .25s var(--ease-snap);
}
.site-nav ul a:hover { color: var(--color-fg); }
.site-nav ul a.is-active { color: var(--color-fg); }
.site-nav ul a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}
.site-nav ul a.nav-featured {
    background: var(--color-wood);
    color: var(--color-fg);
    padding: .4rem 1rem;
    border-radius: var(--radius-pill);
}
.site-nav ul a.nav-featured:hover { background: var(--color-wood-soft); color: var(--color-fg); }
.site-nav ul a.nav-featured.is-active::after { content: none; }

/* ---------- Rozwijane menu ("Tattoo") ---------- */
.has-dropdown { position: relative; }
.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    font: inherit;
    font-size: .92rem;
    font-weight: 500;
    color: var(--color-fg-muted);
    padding: .3rem 0;
    cursor: pointer;
    transition: color .25s var(--ease-snap);
}
.has-dropdown:hover .nav-dropdown-toggle,
.has-dropdown.is-open .nav-dropdown-toggle,
.has-dropdown.is-active .nav-dropdown-toggle { color: var(--color-fg); }
/* Active-page underline, matching .site-nav ul a.is-active::after — on
   ::before rather than ::after since ::after is already the chevron below. */
.has-dropdown.is-active .nav-dropdown-toggle::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}
/* Chevron always stays in the surrounding text color (currentColor) — it
   must NOT pick up --color-accent green on .is-active, or it reads as an
   error/highlight rather than a plain direction indicator. */
.nav-dropdown-toggle::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s var(--ease-snap);
}

/* `.site-nav ul` above (specificity 0,1,1: one class + one type selector)
   outranks a bare `.subnav` (0,1,0) for any property they both declare —
   including `display` — regardless of source order or @media scoping. Every
   .subnav rule below is written as `.site-nav .subnav` (0,2,0) specifically
   to beat it; do not simplify back to a bare `.subnav` selector. */

/* Desktop-only flyout layout, scoped to its own breakpoint so it can never
   cascade-conflict with the mobile accordion rules below on the shared
   `.site-nav .subnav` selector. */
@media (min-width: 769px) {
    /* Chevron always points down on desktop, regardless of open/closed state
       — deliberate, per explicit request; don't add a rotate-on-hover/open
       rule back here (mobile's accordion below still rotates its chevron on
       .is-open, since a static arrow wouldn't signal open/closed state there
       the way the flyout panel's own visibility already does on desktop). */

    /* Invisible hover-bridge spanning the gap between the toggle and the
       flyout panel (the panel's margin-top). Without it, moving the mouse
       from the button straight down into the panel crosses empty space with
       no hoverable element in between, so :hover drops for a moment and the
       panel visibly flickers closed-then-open before the cursor lands on it. */
    .has-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: .75rem;
    }

    /* Solid var(--color-bg) + a thin var(--color-line) border, matching the
       header's own near-black/translucent tone and border-bottom, instead of
       the teal --color-bg-alt used for cards/the mobile drawer elsewhere —
       that mismatch (plus the --radius-md/--shadow-elevated card treatment)
       was what made the flyout read as a bolted-on card instead of part of
       the nav. --radius-sm keeps it closer to a plain menu than a card, and
       the ::before caret below visually pins it to its trigger word. */
    /* Centered on the toggle (left:50% + translateX(-50%)) rather than
       left-aligned to it — the panel is wider than the "Tattoo" word itself,
       so left-aligning left it visually lopsided, drifting off to the right
       of its own trigger. translateX is combined with the existing
       open/close translateY in one `transform` (see below). */
    .site-nav .subnav {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 180px;
        margin-top: .75rem;
        padding: .35rem;
        background: var(--color-bg);
        border: 1px solid var(--color-line);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-soft);
        display: flex;
        flex-direction: column;
        gap: .1rem;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 4px);
        transition: opacity .2s var(--ease-snap), transform .2s var(--ease-snap), visibility 0s linear .2s;
    }
    .site-nav .subnav::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        margin-left: -4.5px;
        width: 9px;
        height: 9px;
        background: var(--color-bg);
        border-left: 1px solid var(--color-line);
        border-top: 1px solid var(--color-line);
        transform: rotate(45deg);
    }
    .site-nav .has-dropdown:hover .subnav,
    .site-nav .has-dropdown.is-open .subnav,
    .site-nav .has-dropdown:focus-within .subnav {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition: opacity .2s var(--ease-snap), transform .2s var(--ease-snap), visibility 0s;
    }
}
.site-nav .subnav a { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); }
.site-nav .subnav a:hover { background: rgba(247, 239, 225, .06); }

.nav-backdrop { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-fg);
    border-radius: 2px;
    transition: transform .3s var(--ease-snap), opacity .3s var(--ease-snap);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero — split panel over a full-bleed photo of the studio
   ========================================================================== */
.hero {
    display: flex;
    /* Capped by vw too: the source photo is close to square, so on a
       narrower/shorter desktop window (e.g. 1024x768) a pure vh height
       stretches background-size:cover far enough to drag a dim, empty
       floor area into view. The vw term keeps that from happening while
       still going noticeably taller than before on typical wide screens. */
    min-height: min(80vh, 62vw);
    padding-left: max(0px, calc((100% - var(--container)) / 2));
}

.hero__panel { flex: 0 1 680px; display: flex; position: relative; z-index: 1; }

.hero__panel--content {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3.5rem .75rem;
}

/* The glass-panel look (tint/blur/shadow/edge fade) lives on ::before rather
   than the element itself, on purpose: the left edge has almost no buffer
   before real text starts (unlike the right, where the title/subhead's
   max-width leaves unused panel space to fade into). Fading the plate on
   its own layer lets both edges dissolve into the photo symmetrically
   without ever fading the actual text/logo -- only the tint/blur behind it.

   The plate overhangs the panel by 10rem on the left and 4rem on the right,
   so its fades (9rem left, 13rem right) finish *before* the text column
   (which starts 10.75rem in from the plate's left edge: the overhang plus
   the panel's own .75rem padding, and ends ~692px in) -- otherwise the tint
   is ~transparent right where the text begins and the subhead reads
   straight against the chalk lettering / plant in the photo. Blur is what
   really kills the thin white script strokes; tint alone can't. The fade
   curve is an S-shaped (smoothstep-like) ramp rather than a straight line,
   which is what keeps the blurred-to-sharp handoff from reading as an edge. */
.hero__panel--content::before {
    --fade-l: 9rem;
    --fade-r: 13rem;
    --plate-mask: linear-gradient(90deg,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, .16) calc(var(--fade-l) * .25),
        rgba(0, 0, 0, .5) calc(var(--fade-l) * .5),
        rgba(0, 0, 0, .84) calc(var(--fade-l) * .75),
        #000 var(--fade-l),
        #000 calc(100% - var(--fade-r)),
        rgba(0, 0, 0, .84) calc(100% - var(--fade-r) * .75),
        rgba(0, 0, 0, .5) calc(100% - var(--fade-r) * .5),
        rgba(0, 0, 0, .16) calc(100% - var(--fade-r) * .25),
        rgba(0, 0, 0, 0) 100%);
    content: '';
    position: absolute;
    inset: 0 -4rem 0 -10rem;
    background: rgba(23, 21, 18, .6);
    backdrop-filter: blur(7px) saturate(1.1);
    -webkit-backdrop-filter: blur(7px) saturate(1.1);
    box-shadow: 0 -20px 80px rgba(23, 21, 18, 1);
    mask-image: var(--plate-mask);
    -webkit-mask-image: var(--plate-mask);
}

.hero__panel--content > * { position: relative; z-index: 1; flex: none; }

.hero__mark { height: 64px; width: auto; margin: 0 0 1.1rem; }

.hero__title {
    text-align: left;
    max-width: 520px;
    margin: 0 0 .5em;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.hero__subhead {
    text-align: left;
    max-width: 460px;
    margin: 0 0 1.4rem;
    font-size: 1.02rem;
    /* Brighter than the global muted <p> tan: on top of a photo the muted
       tone loses too much contrast. The soft dark halo is a second line of
       defence where a bright part of the photo still shows through. */
    color: var(--color-fg);
    text-shadow: 0 1px 10px rgba(23, 21, 18, .85);
}

.hero__panel--content .btn { margin: 0; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Stat strip ---------- */
.stats { background: var(--color-bg-alt); padding: 3.5rem .75rem; }
.stats__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3.5rem;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: .85rem; text-align: center; }
.stat__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: .65rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-secondary);
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-fg);
}
.stat__label {
    color: var(--color-fg-muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .09em;
}

/* ==========================================================================
   Specialization grid (Nasze specjalizacje — powered by Category)
   ========================================================================== */
.specialties { padding: 5.5rem .75rem; }

.specialty-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.specialty-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: var(--color-bg-alt);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    padding: 2.4rem 1.75rem;
    text-align: center;
    transition: transform .45s var(--ease-slow), box-shadow .45s var(--ease-slow);
}
.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(23, 21, 18, .45);
}

.specialty-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 1.4rem;
    border-radius: var(--radius-pill);
    background:
        radial-gradient(circle at 28% 22%, rgba(156, 101, 57, .46), transparent 62%),
        linear-gradient(155deg, var(--color-bg-elevated), var(--color-bg-alt));
    color: var(--color-accent-fg);
}
.specialty-card__icon svg { width: 40px; height: 40px; display: block; }

.specialty-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.specialty-card p { font-size: .92rem; margin: 0; }

/* ==========================================================================
   Gallery grid — lightbox
   ========================================================================== */
.gallery-preview { padding: 0 .75rem 6rem; }
.gallery-page { max-width: var(--container); margin: 0 auto; padding: 0 .75rem 6rem; }

.gallery-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-tile {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: filter .45s var(--ease-slow), transform .45s var(--ease-slow);
}
.gallery-tile:hover img,
.gallery-tile:focus-visible img { filter: brightness(0.85); transform: scale(1.03); }

.item-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(23, 21, 18, .85));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    opacity: 0;
    transition: opacity .3s var(--ease-snap);
}
.gallery-tile:hover .item-overlay,
.gallery-tile:focus-visible .item-overlay { opacity: 1; }
.item-overlay .cat-tag {
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-accent-fg);
}
.item-overlay .item-title { font-size: .88rem; color: var(--color-fg); }

.gallery-preview__cta { display: flex; justify-content: center; margin-top: 3rem; }

/* ==========================================================================
   Mode tabs (Piercing page — Galeria / Cennik switcher)
   ========================================================================== */
.mode-tabs {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin: 0 auto 3rem;
}
.mode-tab {
    padding: .6rem 1.6rem;
    border-radius: var(--radius-pill);
    background: var(--color-bg-alt);
    color: var(--color-fg-muted);
    border: none;
    font-size: .92rem;
    font-weight: 500;
    transition: background .25s var(--ease-snap), color .25s var(--ease-snap);
}
.mode-tab:hover { color: var(--color-fg); }
.mode-tab[aria-selected="true"] { background: var(--color-accent); color: var(--color-fg); }

/* ---------- Piercing price list ---------- */
.piercing-price-category { max-width: 780px; margin: 0 auto 3rem; }
/* No margin below the title: its border doubles as the first row's top
   divider, so the first row is spaced exactly like the rest. The heading
   stands out through a brass rule instead of the rows' faint one. */
.piercing-price-category__title {
    font-size: 1.4rem;
    padding-bottom: .6rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(217, 169, 78, .55);
}

.piercing-price-row, .piercing-price-item summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
    cursor: pointer;
    list-style: none;
}
.piercing-price-row::-webkit-details-marker,
.piercing-price-item summary::-webkit-details-marker { display: none; }
.piercing-price-row { cursor: default; }

.piercing-price-row__name, .piercing-price-item__heading {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: 1.02rem;
    color: var(--color-fg);
}
.piercing-price-row__note, .piercing-price-item__summary {
    font-size: .85rem;
    color: var(--color-fg-faint);
}
/* Light brass, not --color-accent-fg like .price-card: these rows sit
   straight on the fern background with no card behind them, where the teal
   blends into the green leaves. */
.piercing-price-row__price, .piercing-price-item__price {
    flex-shrink: 0;
    font-family: var(--font-display);
    color: var(--color-secondary-hover);
    white-space: nowrap;
}

.piercing-price-item__body { padding: 0 0 1.5rem; }
.piercing-price-item__body p { white-space: pre-line; }
.piercing-price-item__bullets { margin-top: 1rem; }
.piercing-price-item__bullets h4 { font-size: .95rem; margin-bottom: .5rem; }
.piercing-price-item__bullets ul { list-style: disc; padding-left: 1.25rem; }
.piercing-price-item__bullets li { color: var(--color-fg-muted); margin-bottom: .25rem; }

.piercing-price-tiers { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .92rem; }
.piercing-price-tiers th, .piercing-price-tiers td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--color-line); }
.piercing-price-tiers th { color: var(--color-fg-faint); font-weight: 500; }

/* ---------- Filter pills (Galeria page) ---------- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.filter-pill {
    padding: .55rem 1.45rem;
    border-radius: var(--radius-pill);
    background: var(--color-bg-alt);
    color: var(--color-fg-muted);
    border: none;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap);
}
.filter-pill:hover { color: var(--color-fg); }
.filter-pill.is-active { background: var(--color-accent); color: var(--color-fg); }

/* The pill row on a style page sits right under the heading, without the 6rem a gallery section keeps below it */
.gallery-page--pills { padding-bottom: 0; }

/* Link list on a style page (the artists): same look as the pills */
.style-links { list-style: none; margin: 0 auto; padding: 0; max-width: var(--container); display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.style-links a {
    display: inline-block;
    padding: .55rem 1.45rem;
    border-radius: var(--radius-pill);
    background: var(--color-bg-alt);
    color: var(--color-fg-muted);
    font-size: .88rem;
    font-weight: 500;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap);
}
.style-links a:hover { color: var(--color-fg); }

/* ==========================================================================
   Testimonials — numbered tab pager, autoplay-driven (settings-configurable)
   ========================================================================== */
.quotes { padding: 5.5rem .75rem; background: var(--color-bg-alt); }

.quote-block { max-width: 760px; margin: 0 auto; text-align: center; }

.quote-block__quotes { position: relative; min-height: 210px; margin-bottom: 2.25rem; }

.quote { display: none; }
.quote.is-active { display: block; animation: quoteReveal .55s var(--ease-slow); }

@keyframes quoteReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote p {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    color: var(--color-fg);
    line-height: 1.45;
    margin: 0 0 1.25rem;
}
.quote cite {
    font-style: normal;
    color: var(--color-secondary);
    font-size: .88rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.quote-block__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.quotes__cta { display: flex; justify-content: center; margin-top: 2.5rem; }
.quote-tab {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-elevated);
    color: var(--color-fg-muted);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap), transform .3s var(--ease-snap);
}
.quote-tab:hover { color: var(--color-fg); transform: translateY(-2px); }
.quote-tab.is-active { background: var(--color-accent); color: var(--color-fg); }

/* ==========================================================================
   Closing CTA band
   ========================================================================== */
.cta-band {
    padding: 5.5rem .75rem;
    text-align: center;
    background:
        linear-gradient(rgba(23, 21, 18, .28), rgba(23, 21, 18, .28)),
        linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-wood) 55%, var(--color-accent) 130%);
}
.cta-band__inner { max-width: 620px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.cta-band p { color: rgba(247, 239, 225, .82); font-size: 1.05rem; margin-bottom: 2rem; }

/* ==========================================================================
   Page header (Galeria / Zespół / Wycena i FAQ)
   ========================================================================== */
.page-header--centered {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem .75rem 3rem;
    text-align: center;
}
.page-header--centered h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.page-header--centered p { font-size: 1.05rem; margin: 0; }

/* Simple hero used by error pages and any page needing just a heading band. */
.page-hero { padding: 3rem .75rem 3rem; text-align: center; }
.page-hero .container { max-width: 700px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* Profile hero (artist/piercer show page): wraps a two-column .team-show-hero,
   which needs the full container width and left-aligned text, not the narrow
   centered layout the rest of .page-hero's usages (simple heading blocks) want. */
.page-hero--profile { text-align: left; }
.page-hero--profile .container { max-width: var(--container); }

/* ==========================================================================
   Team — card grid + slider (autoplay/interval from settings)
   ========================================================================== */
.team { padding: 1rem .75rem 6rem; }

.team-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--color-bg-alt);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    padding: 2rem 1.75rem 2.25rem;
    text-align: center;
    transition: transform .45s var(--ease-slow), box-shadow .45s var(--ease-slow);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(23, 21, 18, .45); }

.team-card__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__name { font-size: 1.35rem; margin-bottom: .2rem; }
.team-card__tag {
    display: block;
    color: var(--color-accent-fg);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .9rem;
}
.team-card__bio { font-size: .92rem; margin: 0; }

/* ---------- Team slider (home page teaser) ---------- */
.team-slider { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 var(--space-6); }
.team-slider-track { position: relative; min-height: 340px; }
.team-slide { display: none; padding: var(--space-3) 0; animation: slide-fade-in .4s var(--ease-snap); }
.team-slide.is-active { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-4); align-items: start; }
@keyframes slide-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.team-slide-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-elevated);
}
.team-slide-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-slide-body h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.team-slide-role { color: var(--color-accent-fg); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: var(--space-2); }
.team-slide-bio { font-size: .98rem; max-width: 46ch; margin-bottom: var(--space-3); }
.team-slide-thumbs { display: flex; gap: .6rem; margin-bottom: var(--space-3); }
.team-slide-thumbs img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--radius-sm); }

.slider-nav {
    position: absolute;
    top: 170px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-elevated);
    color: var(--color-fg);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap), transform .3s var(--ease-snap);
}
.slider-nav:hover { background: var(--color-accent); transform: translateY(-50%) scale(1.05); }
.slider-nav--prev { left: 0; }
.slider-nav--next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: var(--space-1); margin-top: var(--space-3); }
.slider-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: var(--color-line-strong); padding: 0;
    transition: background .2s var(--ease-snap), transform .2s var(--ease-snap);
}
.slider-dot.is-active { background: var(--color-accent); transform: scale(1.25); }

/* ---------- Team show page (individual artist) ---------- */
.team-show-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-5); align-items: start; }
.team-show-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-elevated); }
.team-show-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-show-role { color: var(--color-accent-fg); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: var(--space-2); }
.team-show-bio { font-size: 1.05rem; white-space: pre-line; }

/* Previous/next artist: above the profile (--top) and under the portfolio grid. */
.artist-pager {
    display: flex; justify-content: space-between; gap: var(--space-2);
    max-width: var(--container); margin: 3rem auto 0;
    padding-top: var(--space-3); border-top: 1px solid var(--color-line);
}
.artist-pager__link { display: inline-flex; align-items: center; gap: .9rem; color: var(--color-fg); min-width: 0; }
.artist-pager__link--next { text-align: right; margin-left: auto; }
.artist-pager--top { margin: 0 0 var(--space-4); padding: 0 0 var(--space-2); border-top: none; border-bottom: 1px solid var(--color-line); }
.artist-pager--top .artist-pager__name { font-size: 1.05rem; }
.artist-pager--top .artist-pager__arrow { font-size: 1.6rem; }
.artist-pager__arrow { font-size: 2rem; line-height: 1; color: var(--color-accent-fg); transition: transform .25s var(--ease-snap); }
.artist-pager__link--prev:hover .artist-pager__arrow { transform: translateX(-4px); }
.artist-pager__link--next:hover .artist-pager__arrow { transform: translateX(4px); }
.artist-pager__label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-fg-faint); }
.artist-pager__name { display: block; font-family: var(--font-display); font-size: 1.25rem; overflow-wrap: anywhere; }
.artist-pager__link:hover .artist-pager__name { color: var(--color-accent-fg); }
.gallery-preview__cta { flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Terms page: list of PDF documents ---------- */
.terms-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.terms-list__item {
    display: flex; align-items: center; gap: var(--space-2);
    padding: 1.1rem 1.4rem;
    background: var(--color-bg-alt); border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px var(--color-line);
    color: var(--color-fg);
    transition: box-shadow .25s var(--ease-snap), transform .25s var(--ease-snap);
}
.terms-list__item:hover { box-shadow: inset 0 0 0 1.5px var(--color-accent-fg); transform: translateY(-2px); }
.terms-list__item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--color-accent-fg); }
.terms-list__name { flex: 1; min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--color-fg-faint); text-underline-offset: 3px; }
.terms-list__format { font-size: .72rem; letter-spacing: .1em; color: var(--color-fg-faint); }
.terms-empty { text-align: center; }

/* ---------- Long-form text pages (privacy policy, guest spot) ---------- */
.legal-text { max-width: 76ch; margin: 0 auto; font-size: .98rem; color: var(--color-fg-muted); overflow-wrap: anywhere; }
.rich-content { max-width: 72ch; font-size: 1.05rem; color: var(--color-fg-muted); overflow-wrap: anywhere; }
.rich-content > :first-child { margin-top: 0; }
.rich-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: var(--space-4) 0 var(--space-2); }
.rich-content h3 { font-size: 1.3rem; margin: var(--space-3) 0 var(--space-1); }
.rich-content p { margin: 0 0 var(--space-2); }
.rich-content ul, .rich-content ol { margin: 0 0 var(--space-2); padding-left: 1.4rem; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: .4rem; }
.rich-content li::marker { color: var(--color-accent-fg); }
.rich-content strong, .rich-content b { color: var(--color-fg); font-weight: 600; }
.rich-content a { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 2px; }
.rich-content a:hover { color: var(--color-secondary-hover); }
.rich-content blockquote { margin: 0 0 var(--space-2); padding-left: var(--space-2); border-left: 3px solid var(--color-accent); font-style: italic; }
/* Size classes written by the admin's Quill editor. */
.rich-content .ql-size-small { font-size: .85em; }
.rich-content .ql-size-large { font-size: 1.3em; }
.rich-content .ql-size-huge { font-size: 1.7em; }

/* ==========================================================================
   Placeholder tiles — fallback while a photo is missing
   ========================================================================== */
.placeholder-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 28% 22%, rgba(156, 101, 57, .46), transparent 62%),
        linear-gradient(155deg, var(--color-bg-elevated), var(--color-bg-alt));
    color: var(--color-fg-faint);
    border-radius: var(--radius-md);
}
.placeholder-tile svg { width: 40%; height: 40%; display: block; }

/* ==========================================================================
   Lightbox modal
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(15, 13, 10, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.lightbox__panel {
    position: relative;
    z-index: 1;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 1.5rem;
    max-width: 720px;
    width: 100%;
    text-align: center;
    animation: lightboxIn .4s var(--ease-slow);
}
@keyframes lightboxIn {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}
.lightbox__panel--zoomed { max-width: 95vw; }
.lightbox__art { position: relative; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1rem; }
.lightbox__art img { width: 100%; max-height: 70vh; object-fit: contain; display: block; margin: 0 auto; cursor: zoom-in; }
.lightbox__art--zoomed { overflow: auto; max-height: 85vh; }
.lightbox__art--zoomed img { width: auto; max-width: none; height: auto; max-height: none; cursor: zoom-out; }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-elevated);
    color: var(--color-fg);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .9;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap), opacity .2s var(--ease-snap);
}
.lightbox__nav:hover { background: var(--color-accent); opacity: 1; }
.lightbox__nav--prev { left: clamp(.5rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(.5rem, 3vw, 2rem); }
.lightbox__nav[hidden] { display: none; }
.lightbox__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.lightbox__caption { color: var(--color-fg-muted); font-size: .95rem; margin: 0; text-align: left; }
.lightbox__tools { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.lightbox__counter { color: var(--color-fg-muted); font-size: .85rem; white-space: nowrap; }
.lightbox__zoom {
    border: 1px solid var(--color-line-strong);
    background: transparent;
    color: var(--color-fg);
    border-radius: var(--radius-sm);
    padding: .35rem .8rem;
    font-size: .85rem;
    white-space: nowrap;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap);
}
.lightbox__zoom:hover { background: var(--color-accent); color: var(--color-accent-fg); }
.lightbox__close {
    position: absolute;
    top: clamp(1rem, 3vw, 1.5rem); right: clamp(1rem, 4vw, 2.5rem);
    z-index: 2;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-elevated);
    color: var(--color-fg);
    font-size: 1.5rem;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background-color .3s var(--ease-snap), color .3s var(--ease-snap);
}
.lightbox__close:hover { background: var(--color-accent); }

/* ==========================================================================
   Featured content show page
   ========================================================================== */
/* The gold wash lives on ::before with an edge-fade mask, same idea as
   .hero__panel--content::before: at 160deg it is strongest in the top-left
   corner, so as the section's own background it ended in a hard vertical
   edge on the left of the centered 700px column. Masking the plate rather
   than the section keeps long titles near the edges fully opaque. */
.featured-hero { position: relative; isolation: isolate; padding: 3rem .75rem 0; }
.featured-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, rgba(217, 169, 78, .12), transparent 60%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.featured-hero .eyebrow { color: var(--color-secondary); }
.featured-content-image { margin-top: var(--space-4); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-elevated); }
.featured-content-image img { width: 100%; display: block; }

/* ==========================================================================
   Pricing (Wycena i FAQ)
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); max-width: var(--container); margin: 0 auto; }
.price-card {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-elevated);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.price-card h3 { font-size: 1.25rem; }
.price-card .price-value { font-family: var(--font-display); font-size: 1.9rem; color: var(--color-accent-fg); }
.price-card .price-value small { font-family: var(--font-body); font-size: .85rem; color: var(--color-fg-muted); }
.price-card ul { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.price-card li { padding-left: 1.2rem; position: relative; color: var(--color-fg-muted); }
.price-card li::before { content: "❋"; position: absolute; left: 0; color: var(--color-accent-fg); font-size: .8rem; top: .1rem; }
.price-note { margin-top: var(--space-3); font-size: .88rem; color: var(--color-fg-faint); text-align: center; }

/* The three blocks of /wycena-faq (tattoo, piercing, FAQ) are bare .section
   elements, which have no side padding: give them the same .75rem gutter as
   the neighbouring sections (.specialties, .gallery-page). On phones the two
   price blocks become green bands, see the max-width: 768px block below. */
.pricing-section { padding-inline: .75rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 3.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    background: none; border: none;
    color: var(--color-fg);
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: left;
}
.faq-question .plus { color: var(--color-accent-fg); font-size: 1.4rem; transition: transform .3s var(--ease-snap); flex-shrink: 0; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-snap); }
.faq-answer-inner { padding-bottom: var(--space-3); font-size: .95rem; max-width: 66ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); max-width: var(--container); margin: 0 auto; }
.contact-info-card { background: var(--color-bg-alt); border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); padding: var(--space-4); }
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: var(--space-3); }
.contact-row { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-line); }
.contact-row:first-of-type { border-top: none; }
.contact-row svg { width: 22px; height: 22px; color: var(--color-accent-fg); flex-shrink: 0; margin-top: 2px; }
.contact-row > div { min-width: 0; flex: 1; }
.contact-row a, .contact-row span { font-size: 1rem; color: var(--color-fg); word-break: break-word; }
.contact-row .row-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-fg-faint); margin-bottom: .15rem; }
.contact-row a:hover { color: var(--color-accent-fg); }
.hours-table { width: 100%; margin-top: .2rem; font-size: .95rem; color: var(--color-fg-muted); white-space: pre-line; }
.social-row { display: flex; gap: .7rem; margin-top: var(--space-3); margin-bottom: var(--space-3); }
.social-btn {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1.5px var(--color-fg-faint);
    color: var(--color-fg);
    transition: all .25s var(--ease-snap);
}
.social-btn:hover { box-shadow: inset 0 0 0 1.5px var(--color-accent-fg); color: var(--color-accent-fg); transform: translateY(-2px); }
.social-btn svg { width: 20px; height: 20px; }

.map-embed { margin-top: var(--space-3); border-radius: var(--radius-md); overflow: hidden; filter: grayscale(.5) invert(.92) contrast(.9); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form-card { background: var(--color-bg-alt); border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); padding: var(--space-4); }
.form-row { margin-bottom: var(--space-2); }
.form-row label { display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--color-fg-faint); margin-bottom: .4rem; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    padding: .75rem .9rem;
    background: var(--color-bg);
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-sm);
    color: var(--color-fg);
    font-family: var(--font-body);
    font-size: .95rem;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--color-accent-fg); outline: none; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input[type="file"] { padding: .5rem .6rem; font-size: .85rem; }
.form-hint { font-size: .8rem; color: var(--color-fg-faint); margin: .4rem 0 0; }
.form-hint--error { color: #e39b8f; }

.image-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; }
.image-upload-list { display: flex; flex-wrap: wrap; gap: 10px; }
.image-upload-item { position: relative; width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-line-strong); background: var(--color-bg); }
.image-upload-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-upload-item-remove {
    position: absolute; top: 3px; right: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(23, 21, 18, .75);
    color: var(--color-fg);
    border: none; font-size: 13px; line-height: 1;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.image-upload-item-remove:hover { background: rgba(23, 21, 18, .92); }
/* A real button, not a faint dropzone: accent outline + tint, pill like .btn.
   Prefixed with .form-row on purpose — `.form-row label` (uppercase, block,
   faint) has higher specificity than a bare class and would silently win.
   Keep .is-hidden after it (same specificity, later wins). */
.form-row .image-upload-add {
    display: inline-flex; align-items: center; gap: .5rem;
    margin: 0;
    padding: .75rem 1.5rem;
    border: 1.5px solid var(--color-accent-fg);
    border-radius: var(--radius-pill);
    font-size: .9rem; font-weight: 600; letter-spacing: .01em; text-transform: none;
    color: var(--color-accent-fg);
    background: rgba(109, 182, 166, .12);
    cursor: pointer;
    transition: background-color .3s var(--ease-snap), border-color .3s var(--ease-snap),
        color .3s var(--ease-snap), transform .3s var(--ease-snap);
}
.form-row .image-upload-add:hover {
    background: var(--color-accent); border-color: var(--color-accent); color: var(--color-fg);
    transform: translateY(-2px);
}
.image-upload-add.is-hidden { display: none; }
.image-upload .image-upload-input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.consent-row { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-fg-muted); }
.consent-row input { width: auto; margin-top: 3px; flex-shrink: 0; }
/* Beats .form-row label (uppercase, block) — the consent text is a sentence. */
.form-row .consent-label { display: flex; align-items: flex-start; gap: .6rem; margin: 0; font-size: inherit; text-transform: none; letter-spacing: normal; color: inherit; }
.consent-label a { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 2px; }
.consent-label a:hover { color: var(--color-secondary-hover); }
.contact-row .contact-row__note { font-size: .85rem; color: var(--color-fg-muted); margin: .35rem 0 0; }
.honeypot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }

.alert {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    font-size: .92rem;
    border: 1px solid;
}
.alert-success { background: rgba(47, 107, 94, .14); border-color: var(--color-accent); color: var(--color-accent-fg); }
.alert-error { background: rgba(227, 155, 143, .12); border-color: #e39b8f; color: #e39b8f; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-bg-alt); padding: 1.25rem .75rem 1.25rem; }
.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(247, 239, 225, .08);
}
.site-footer__mark { height: 36px; margin-bottom: 1rem; }
.site-footer__brand p { font-size: .9rem; margin: 0; }
.site-footer h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-fg); margin-bottom: 1rem; }
.site-footer p { font-size: .88rem; }
/* Links are underlined and brighter than the plain text around them (address, hours). */
.site-footer a { color: var(--color-fg); text-decoration: underline; text-decoration-color: var(--color-fg-faint); text-underline-offset: 3px; transition: color .25s var(--ease-snap), text-decoration-color .25s var(--ease-snap); }
.site-footer a:hover { color: var(--color-accent-fg); text-decoration-color: currentColor; }
.site-footer a.social-btn { text-decoration: none; }
/* Footer-only links, in one row next to the copyright line. */
.site-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.site-footer__bottom {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 1.5rem;
    font-size: .8rem;
    color: var(--color-fg-faint);
}
.site-footer__bottom p { margin: 0; }

/* ==========================================================================
   Responsive — tablet ~768px
   ========================================================================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-backdrop { display: block; }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        background: var(--color-bg-alt);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 6rem 1rem 2rem;
        box-shadow: var(--shadow-elevated);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .4s var(--ease-slow), visibility 0s linear .4s;
    }
    .site-nav.is-open { transform: translateX(0); visibility: visible; transition: transform .4s var(--ease-slow), visibility 0s; }
    /* .site-header's backdrop-filter establishes the containing block for its
       fixed-position .site-nav descendant, so .site-nav's top/right resolve
       against the header's own box instead of the viewport (e.g. when the
       featured-content banner pushes the header down). Neutralize it while
       the drawer is open so .site-nav positions against the viewport. */
    body.nav-open .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(23, 21, 18, .6);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s var(--ease-slow), visibility 0s linear .4s;
    }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-slow), visibility 0s; }
    .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
    .site-nav ul a { font-size: 1.05rem; }
    .nav-cta { width: 100%; }

    /* Dropdown "Tattoo" na mobile: accordion wewnątrz szuflady, nie flyout.
       Selector must be `.site-nav .subnav` (0,2,0), not bare `.subnav`
       (0,1,0) — `.site-nav ul` above (0,1,1) would otherwise win the
       `display` property regardless of source order — see the comment at
       the desktop flyout rule above for the full explanation. */
    .has-dropdown { width: 100%; }
    /* row-reverse flips which edge "flex-start"/"flex-end" mean too: with the
       main axis reversed, flex-end is what visually hugs the left edge here
       (matching the other, non-dropdown menu items) — flex-start would push
       the whole group to the right instead. */
    .nav-dropdown-toggle { font-size: 1.05rem; width: 100%; flex-direction: row-reverse; justify-content: flex-end; }
    /* Mobile has no :hover at all, so (unlike the desktop rule above) the
       chevron correctly follows the click-driven .is-open state here. */
    .has-dropdown.is-open .nav-dropdown-toggle::after { transform: rotate(-135deg); }
    .site-nav .subnav {
        position: static;
        min-width: 0;
        margin: .5rem 0 0;
        padding: 0 0 0 1rem;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        display: none;
    }
    .site-nav .has-dropdown.is-open .subnav { display: flex; }
    .site-nav .subnav a { padding: .5rem 0; }

    .hero { min-height: auto; }
    .hero::before { background: linear-gradient(180deg, rgba(23, 21, 18, .28) 0%, rgba(23, 21, 18, .4) 55%, rgba(23, 21, 18, .7) 100%); }
    .hero__panel { flex-basis: auto; width: 100%; }
    .hero__panel--content {
        align-items: center;
        text-align: center;
        margin: 0;
        padding: 3rem .75rem;
    }
    /* The plate spans the whole hero here (no edges to fade into the photo),
       so it stays lighter than on desktop -- a full-bleed desktop-strength
       blur would smear the entire photo. The brighter subhead + text-shadow set on
       .hero__subhead carry most of the legibility on this layout. */
    .hero__panel--content::before {
        inset: 0;
        background: rgba(23, 21, 18, .38);
        backdrop-filter: blur(4px) saturate(1.1);
        -webkit-backdrop-filter: blur(4px) saturate(1.1);
        box-shadow: none;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero__title, .hero__subhead { text-align: center; margin-left: auto; margin-right: auto; }
    .hero__panel--content .btn { margin: 0 auto; }
    .hero__actions { justify-content: center; }

    .specialty-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; max-width: 420px; }
    .team-slide.is-active { grid-template-columns: 1fr; text-align: center; }
    /* The desktop slider reserves --space-6 (104px) per side for the prev/next
       arrows, which on a phone left the slide ~150px wide. Here the slide gets
       the full width (like the single-artist page) and the arrows move down
       beside the dots instead. */
    .team-slider { padding: 0 0 1rem; }
    .team-slider .slider-nav { top: auto; bottom: 3px; transform: none; }
    .team-slider .slider-nav:hover { transform: scale(1.05); }
    .team-slide-bio { margin-left: auto; margin-right: auto; }
    .team-slide .social-row,
    .team-slide-thumbs { justify-content: center; }
    .team-show-hero { grid-template-columns: 1fr; }
    .page-hero--profile { text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr 1fr; }
    /* /wycena-faq on phones: each price block is a green band, and its cards
       are raised one step (--color-bg-elevated + a hairline) so they don't melt
       into the band they sit on. The FAQ needs its own top padding because a
       bare .section has none and would touch the end of the last band. */
    .pricing-section--band { background: var(--color-bg-alt); padding-block: var(--space-5); }
    .pricing-section--band + .pricing-section--band { border-top: 1px solid var(--color-line); }
    .pricing-section--band .price-card { background: var(--color-bg-elevated); border: 1px solid var(--color-line); }
    .pricing-section--faq { padding-top: var(--space-5); }
    .form-grid-2 { grid-template-columns: 1fr; }

    .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .stats__inner { gap: 1.5rem; }
    .stat { flex: 1 1 0; min-width: 0; max-width: 210px; }

    .slider-nav, .opinion-nav { width: 34px; height: 34px; font-size: 1.2rem; }

    .lightbox__nav { width: 34px; height: 34px; font-size: 1.2rem; }
    .lightbox__footer { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
}

/* ==========================================================================
   Responsive — mobile ~480px
   ========================================================================== */
@media (max-width: 480px) {
    .brand__wordmark { font-size: 1.02rem; }
    .brand__mark { height: 36px; }

    .hero__title { font-size: 1.85rem; }
    .hero__subhead { font-size: .98rem; }

    .specialty-grid { grid-template-columns: 1fr; }
    .gallery-grid { gap: 1rem; }
    .gallery-tile { border-radius: var(--radius-md); }
    .gallery-tile img { border-radius: var(--radius-md); }
    .price-grid { grid-template-columns: 1fr; }

    .stats { padding: 2.75rem .75rem; }
    .stats__inner { flex-direction: column; align-items: center; gap: 1.1rem; }
    .stat { flex: none; flex-direction: row; align-items: center; gap: 1rem; width: 100%; max-width: 300px; text-align: left; }
    .stat__number { width: 108px; min-width: 0; padding: .65rem .5rem; font-size: 1.35rem; }
    .stat__label { flex: 1; }

    .quote-block__quotes { min-height: 260px; }

    .cta-band h2 { font-size: 1.55rem; }

    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; }

    .lightbox__panel { padding: 1.25rem; }
}
