@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-geist-sans: "Geist";
  --ink: #0b0c0c;
  --ivory: #f1ece3;
  --muted: #aaa49a;
  --brass: #c29a5b;
  --line: rgba(241, 236, 227, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--font-geist-sans), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-geist-sans), Arial, sans-serif; }

.hero { min-height: 100svh; position: relative; overflow: hidden; background: #070808; }
.hero::before { content: ""; position: absolute; inset: 0; background: url('/assets/images/hero-main-user.jpeg') center/cover no-repeat; background-image: image-set(url('/assets/images/hero-main-user-2048.webp') type('image/webp'), url('/assets/images/hero-main-user.jpeg') type('image/jpeg')); filter: brightness(.78) contrast(1.08) saturate(.88) sepia(.05); transform: scale(1.01); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.78) 34%, rgba(5,6,6,.13) 68%, rgba(5,6,6,.08) 100%); }
.site-header { --header-padding: clamp(24px, 3.4vw, 56px); --header-height: 104px; position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header-height); padding: 0 var(--header-padding); display: flex; align-items: center; justify-content: space-between; background: transparent; }
.site-header::before { content: ""; position: absolute; z-index: 0; inset: 0; width: 100%; height: var(--header-height); background: rgba(8,9,9,.58); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header > * { position: relative; z-index: 1; }
.brand { display: grid; gap: 2px; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
.brand small { color: var(--brass); font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.header-brand-logo { position: relative; z-index: 2; width: 340px; height: 68px; display: block; flex: 0 0 340px; margin-left: calc(clamp(24px, 6vw, 100px) - var(--header-padding)); }
.header-brand-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 56px); margin-left: auto; margin-right: clamp(24px, 4vw, 68px); }
.desktop-nav a { position: relative; font-size: 14px; color: rgba(255,255,255,.78); transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--brass); transition: right .25s ease; }
.desktop-nav a:hover { color: white; }
.desktop-nav a:hover::after { right: 0; }
.desktop-nav a.is-active { color: var(--brass); }
.desktop-nav a.is-active::after { right: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-right: 12px; }
.header-cta { min-height: 52px; display: grid; place-items: center; margin-right: 12px; padding: 0 26px; border: 1px solid var(--brass); color: #d4b37d; font-size: 14px; font-weight: 600; transition: .25s ease; }
.header-actions .header-cta { margin: 0; }
.header-cta:hover { background: var(--brass); color: var(--ink); }
.hero-content { position: relative; z-index: 2; width: min(720px, 48vw); padding: 190px 0 120px clamp(24px, 6vw, 100px); min-height: 100svh; display: flex; justify-content: center; flex-direction: column; animation: reveal .8s cubic-bezier(.22,1,.36,1) both; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; color: var(--brass); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow span { width: 36px; height: 1px; background: var(--brass); }
h1 { margin: 0; max-width: 700px; color: #f7f3ed; font-size: clamp(50px, 5.25vw, 84px); line-height: 1.04; letter-spacing: -.055em; font-weight: 590; }
.hero-lead { margin: 30px 0 0; max-width: none; color: rgba(241,236,227,.72); font-size: clamp(16px, 1.12vw, 18px); line-height: 1.65; white-space: nowrap; }
.hero-actions { display: flex; gap: 18px; margin-top: 38px; }
.button { min-height: 60px; padding: 0 29px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-size: 14px; font-weight: 650; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button span { font-size: 18px; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(2px,-2px); }
.button-primary { background: var(--brass); color: #111; }
.button-primary:hover { background: #d3ad71; }
.button-outline { border: 1px solid rgba(194,154,91,.85); color: #d0ab70; }
.button-outline:hover { background: rgba(194,154,91,.1); }
.hero-index { position: absolute; z-index: 3; left: clamp(24px, 3.4vw, 56px); bottom: 28px; display: grid; gap: 5px; color: var(--brass); font-size: 11px; }
.hero-index .index-line { width: 1px; height: 45px; margin-bottom: 7px; background: var(--brass); }
.hero-index b { font-weight: 600; }
.hero-index i { font-style: normal; opacity: .65; }
.scroll-hint { position: absolute; z-index: 3; right: clamp(24px, 3.4vw, 56px); bottom: 32px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.scroll-hint i { color: var(--brass); font-size: 17px; font-style: normal; animation: bounce 1.8s ease-in-out infinite; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); padding: 48px clamp(24px, 5vw, 84px); background: #111211; border-top: 1px solid #2b2a28; }
.promise > div { display: flex; align-items: flex-start; gap: 22px; padding: 12px 34px; border-right: 1px solid #302f2c; }
.promise > div:last-child { border: 0; }
.promise b { color: var(--brass); font-size: 11px; letter-spacing: .15em; }
.promise span { color: #d9d4cc; line-height: 1.5; font-size: 14px; }

.section { padding: 132px clamp(24px, 6vw, 100px); }
.section-tag { margin: 0 0 25px; color: var(--brass); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.section-tag::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 14px 3px 0; background: currentColor; }
.section-tag.light { color: #d0aa6d; }
.section h2, .contact h2 { margin: 0; color: #eee9e1; font-size: clamp(44px, 5.3vw, 80px); line-height: 1.02; letter-spacing: -.055em; font-weight: 560; }
.section-head { display: grid; grid-template-columns: 1.2fr .55fr; align-items: end; gap: 80px; margin-bottom: 70px; }
.section-head > p, .offer-title > p { max-width: 490px; margin: 0 0 7px; color: #938e86; font-size: 16px; line-height: 1.8; }
.projects { background: #e6e0d6; color: #171716; }
.projects h2 { color: #1b1a18; }
.projects .section-head > p { color: #625e58; }
.project-grid { display: grid; gap: 20px; }
.project-set { height: 430px; min-height: 430px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.project-set-reverse { grid-template-columns: 1fr 1fr 2fr; }
.project-stack { min-height: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.project-card { height: 100%; min-width: 0; min-height: 0; display: flex; flex-direction: column; scroll-margin-top: 28px; }
.project-image { position: relative; display: block; flex: 1; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #211b16; }
.project-card-large .project-image { min-height: 0; aspect-ratio: auto; }
.project-image::after { content: "Zobacz detal  ↗"; position: absolute; right: 18px; bottom: 18px; padding: 13px 16px; background: rgba(10,10,9,.82); color: #e9dfd1; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .35s ease; }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.project-card:hover img { transform: scale(1.025); }
.project-card:hover .project-image::after { opacity: 1; transform: none; }
.project-caption { height: 94px; min-height: 94px; flex-shrink: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; padding: 20px 2px; border-bottom: 1px solid rgba(24,23,21,.25); }
.project-caption span { display: block; margin-bottom: 5px; color: #81796e; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.project-caption h3 { margin: 0; font-size: 22px; font-weight: 550; letter-spacing: -.02em; }
.project-caption b { color: #81796e; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.project-stack .project-caption h3 { font-size: 18px; }
.project-card:not(.project-card-large) .project-caption h3 { font-size: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 54px; color: #171716; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; transition: color .25s ease; }
.text-link::before { content: ""; width: 36px; height: 1px; flex: 0 0 36px; background: currentColor; }
.text-link span { color: currentColor; font-size: 18px; letter-spacing: 0; transition: transform .2s ease; }
.text-link:hover { color: var(--brass); }
.text-link:hover span { transform: translateX(5px); }

.offer { background: #0d0e0e; }
.offer-title { display: grid; grid-template-columns: 1.2fr .6fr; gap: 60px; align-items: end; margin-bottom: 82px; }
.offer-list { border-top: 1px solid #302f2c; }
.offer-list article { min-height: 112px; display: grid; grid-template-columns: 80px 1fr 40px; gap: 28px; align-items: center; border-bottom: 1px solid #302f2c; outline: none; cursor: default; transition: min-height .45s cubic-bezier(.22,1,.36,1), padding .35s ease, background .35s ease; }
.offer-list article:hover, .offer-list article:focus-within { min-height: 245px; padding: 0 22px; background: #141514; }
.offer-list article > span { color: var(--brass); font-size: 11px; letter-spacing: .12em; }
.offer-list h3 { margin: 0; color: #e5e0d8; font-size: clamp(23px, 2.2vw, 34px); font-weight: 520; letter-spacing: -.035em; }
.offer-list p { max-width: 750px; max-height: 0; margin: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); color: #9e9991; font-size: 14px; line-height: 1.75; transition: max-height .45s cubic-bezier(.22,1,.36,1), margin .35s ease, opacity .3s ease, transform .35s ease; }
.offer-list article:hover p, .offer-list article:focus-within p { max-height: 105px; margin-top: 18px; opacity: 1; transform: none; }
.offer-action { max-height: 0; display: inline-flex; align-items: center; gap: 18px; margin-top: 0; overflow: hidden; opacity: 0; color: #d0aa6d; font-size: 12px; font-weight: 650; transition: max-height .35s ease, margin .35s ease, opacity .3s ease; }
.offer-action span { font-size: 16px; transition: transform .2s ease; }
.offer-action:hover span { transform: translateX(4px); }
.offer-list article:hover .offer-action, .offer-list article:focus-within .offer-action { max-height: 30px; margin-top: 18px; opacity: 1; }
.offer-list i { color: var(--brass); font-size: 21px; font-style: normal; transition: transform .35s ease; }
.offer-list article:hover i, .offer-list article:focus-within i { transform: rotate(45deg); }

.about { display: grid; grid-template-columns: 1fr .9fr; padding-top: 0; padding-bottom: 0; background: #e6e0d6; color: #24211e; }
.about h2 { color: #191817; font-size: clamp(44px, 4.8vw, 72px); }
.about-copy { padding: 125px 8vw 125px 0; }
.about-copy > p:not(.section-tag) { max-width: 620px; margin: 36px 0 0; color: #5d5953; font-size: 16px; line-height: 1.8; }
.about-makers { color: var(--brass); font-weight: 700; }
.about-makers-and { color: #1c1b19; font-weight: 400; }
.about-panel { min-height: 650px; padding: 80px 6vw; display: flex; flex-direction: column; justify-content: center; background: #32261e; color: #ede6dc; }
.about-panel blockquote { position: relative; margin: 0; font-size: clamp(25px, 2.5vw, 39px); line-height: 1.38; letter-spacing: -.025em; }
.about-panel blockquote::before { content: "“"; display: block; margin-bottom: 18px; color: var(--brass); font-family: Georgia, serif; font-size: 76px; line-height: .5; }
.signature { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; margin-top: 48px; }
.signature-person { display: flex; align-items: center; gap: 17px; }
.signature-person > span { width: 48px; height: 48px; display: grid; flex: 0 0 48px; place-items: center; border: 1px solid var(--brass); color: var(--brass); font-size: 13px; }
.signature-person b { font-size: 13px; font-weight: 650; white-space: nowrap; }

.process { background: #151615; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #373633; }
.process-steps article { min-height: 305px; padding: 35px 30px 30px 0; border-right: 1px solid #373633; }
.process-steps article + article { padding-left: 30px; }
.process-steps article:last-child { border-right: 0; }
.process-steps b { color: var(--brass); font-size: 11px; font-weight: 600; }
.process-steps h3 { margin: 28px 0 18px; color: #ded9d1; font-size: 20px; font-weight: 550; }
.process-steps p { margin: 0; color: #8c8881; font-size: 13px; line-height: 1.75; }

.contact { display: grid; grid-template-columns: 1fr 1fr; background: #291f19; }
.contact-intro { padding: 120px clamp(28px, 7vw, 110px); background: linear-gradient(145deg, #36271f, #201915); }
.contact h2 { font-size: clamp(48px, 5.2vw, 78px); }
.contact-intro > p:not(.section-tag) { max-width: 500px; margin: 34px 0; color: #aaa098; font-size: 15px; line-height: 1.8; }
.contact-details { display: grid; gap: 31px; margin-top: 38px; }
.contact-detail-group { display: grid; justify-items: start; gap: 8px; }
.contact-detail-group h3 { margin: 0 0 10px; color: #ded9d1; font-size: 20px; font-weight: 550; }
.contact-value { color: #d6b174; font-size: 14px; line-height: 1.55; transition: color .2s ease; }
.contact-value:hover { color: #f0cca0; }
.contact-email { display: inline-flex; align-items: center; gap: 24px; }
.contact-arrow { position: relative; width: 11px; height: 11px; display: inline-block; flex: 0 0 11px; }
.contact-arrow::before { content: ""; position: absolute; left: 1px; bottom: 1px; width: 10px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: left center; }
.contact-arrow::after { content: ""; position: absolute; top: 0; right: 0; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.contact-form { padding: 100px clamp(28px, 6vw, 90px); background: #e6e0d6; color: #1f1c19; }
.contact-form > label { display: grid; gap: 10px; margin-bottom: 29px; }
.contact-form label > span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #aaa297; border-radius: 0; outline: none; background: transparent; color: #1f1c19; font: inherit; font-size: 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #755332; box-shadow: 0 1px #755332; }
.contact-form ::placeholder { color: #878076; opacity: 1; }
.contact-form .consent { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.contact-form .consent input { accent-color: #9c7646; }
.contact-form .consent span { color: #6d675f; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.contact-form .button { border: 0; cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .68; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 24px; margin: 18px 0 0; font-size: 13px; line-height: 1.5; }
.form-status.success { color: #755332; }
.form-status.error { color: #934b42; }

.inbox { min-height: 100svh; background: #111211; color: var(--ivory); }
.inbox-header { min-height: 96px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #302f2d; }
.inbox-header > a:last-child { color: var(--brass); font-size: 13px; }
.inbox-content { padding: 80px clamp(24px, 6vw, 100px) 120px; }
.inbox-content > h1 { max-width: none; font-size: clamp(44px, 6vw, 76px); }
.inbox-lead { margin: 24px 0 55px; color: #9f9a92; }
.inbox-list { display: grid; gap: 16px; }
.inbox-card { padding: 28px 30px; background: #1a1b1a; border: 1px solid #33322f; }
.inbox-card > div { display: flex; justify-content: space-between; gap: 20px; color: #8e8981; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.inbox-card > div b { color: var(--brass); font-weight: 600; }
.inbox-card h2 { margin: 28px 0 7px; color: #eee9e1; font-size: 24px; }
.inbox-card > a { color: #cfaa70; font-size: 14px; }
.inbox-card > p { max-width: 800px; margin: 22px 0 0; color: #b8b2aa; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.inbox-empty { padding: 35px 0; color: #918c84; border-top: 1px solid #343330; }

footer { --footer-edge-padding: clamp(24px, 3.4vw, 56px); --footer-notch-depth: 48px; --footer-notch-base-width: calc(var(--footer-edge-padding) + 244px); --footer-notch-slope: 72px; position: relative; display: flex; align-items: center; justify-content: center; min-height: 122px; padding: 38px clamp(24px, 6vw, 100px); overflow: hidden; background: #090a0a; }
footer::before { content: ""; position: absolute; z-index: 0; top: -1px; left: 0; width: calc(var(--footer-notch-base-width) + var(--footer-notch-slope)); height: calc(var(--footer-notch-depth) + 1px); background: linear-gradient(90deg, #28201b 0%, #251e19 100%); clip-path: polygon(0 0, 100% 0, calc(100% - var(--footer-notch-slope)) 100%, 0 100%); -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--footer-notch-slope)) 100%, 0 100%); pointer-events: none; }
footer > * { position: relative; z-index: 1; }
footer > p, .footer-meta > span { margin: 0; color: #77736d; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
footer > p { text-align: center; }
.footer-meta { position: absolute; right: clamp(24px, 6vw, 100px); display: grid; justify-items: start; gap: 4px; }
.footer-login { color: #8c8881; font-size: 13px; line-height: 1.75; transition: color .2s ease; }
.footer-login:hover { color: var(--brass); }
.footer-login.has-new-submissions { color: var(--brass); }
footer nav { display: flex; gap: 28px; }
footer nav a { color: #a8a39c; font-size: 11px; }
footer nav a:hover { color: var(--brass); }

.gallery-page { min-height: 100vh; background: #0b0c0c; }
.gallery-header { min-height: 98px; padding: 0 clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; border-bottom: 1px solid #292a28; }
.gallery-header .header-cta { justify-self: end; }
.gallery-back { color: #a7a198; font-size: 12px; letter-spacing: .04em; transition: color .2s ease; }
.gallery-back:hover { color: var(--brass); }
.gallery-hero { padding: 130px clamp(24px, 8vw, 130px) 100px; background: linear-gradient(135deg, #0c0d0d 50%, #211a15); }
.gallery-hero h1 { max-width: 950px; font-size: clamp(56px, 8vw, 118px); }
.gallery-hero > p:last-child { max-width: 620px; margin: 42px 0 0; color: #9d9890; font-size: 16px; line-height: 1.8; }
.gallery-nav { position: sticky; z-index: 6; top: 0; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(13,14,14,.95); border-top: 1px solid #2f2e2b; border-bottom: 1px solid #2f2e2b; backdrop-filter: blur(16px); }
.gallery-nav a { min-height: 76px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid #2f2e2b; color: #a6a199; font-size: 11px; text-align: center; transition: background .2s ease, color .2s ease; }
.gallery-nav a:last-child { border-right: 0; }
.gallery-nav a:hover { background: #1a1917; color: #e5dfd6; }
.gallery-nav span { color: var(--brass); font-size: 9px; }
.gallery-list { background: #e6e0d6; color: #1c1b19; }
.gallery-category { scroll-margin-top: 76px; padding: 115px clamp(24px, 7vw, 112px); border-bottom: 1px solid #c4bdb2; }
.gallery-category:nth-child(even) { background: #dcd5ca; }
.gallery-category-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 48px; }
.gallery-category-head > span { color: #9b7647; font-size: 11px; letter-spacing: .14em; }
.gallery-category-head h2 { margin: 0; color: #1c1b19; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 550; letter-spacing: -.045em; }
.gallery-realization { display: grid; grid-template-columns: 1.55fr .75fr; min-height: 530px; background: #131414; }
.gallery-photo { position: relative; min-height: 530px; overflow: hidden; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.gallery-realization:hover .gallery-photo img { transform: scale(1.018); }
.gallery-description { padding: clamp(38px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; color: #eee9e1; }
.gallery-description h3 { margin: 0; font-size: clamp(30px, 3vw, 46px); font-weight: 530; letter-spacing: -.04em; }
.gallery-description > p:not(.section-tag) { margin: 28px 0 42px; color: #9f9991; font-size: 14px; line-height: 1.8; }
.gallery-description > span { padding-top: 18px; border-top: 1px solid #383632; color: #b89159; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.gallery-cta { padding: 120px 24px; display: grid; justify-items: center; text-align: center; background: #251c17; }
.gallery-cta > p { margin: 0 0 18px; color: var(--brass); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.gallery-cta h2 { margin: 0 0 42px; color: #eee8de; font-size: clamp(45px, 6vw, 82px); font-weight: 540; letter-spacing: -.05em; }
.gallery-footer { grid-template-columns: 1.4fr 1fr auto; }
.gallery-footer::before { background: #251c17; }

.contact-form .consent a { color: #755332; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.contact-form .consent a:hover { color: #9c7646; }

.privacy-page { min-height: 100vh; background: #e6e0d6; }
.privacy-hero { min-height: 510px; padding: 195px clamp(24px, 8vw, 130px) 90px; background: linear-gradient(135deg, #0b0c0c 45%, #291f19); }
.privacy-hero h1 { margin: 0; max-width: 900px; color: #f1ece3; font-size: clamp(58px, 8vw, 116px); line-height: .94; letter-spacing: -.06em; font-weight: 560; }
.privacy-date { margin: 42px 0 0; color: #a9a198; font-size: 15px; }
.privacy-date strong { color: #d0aa6d; font-weight: 600; }
.privacy-content { padding: 110px clamp(24px, 8vw, 130px) 130px; background: #e6e0d6; color: #2b2824; }
.privacy-section { width: min(920px, 100%); margin: 0 auto; padding: 0 0 64px; border-bottom: 1px solid #c5bdb2; }
.privacy-section + .privacy-section { padding-top: 64px; }
.privacy-section:last-child { padding-bottom: 0; border-bottom: 0; }
.privacy-section h2 { margin: 0 0 34px; display: flex; align-items: baseline; gap: 18px; color: #1c1b19; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 560; }
.privacy-section h2 span { flex: 0 0 auto; color: #9b7647; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.privacy-section h3 { margin: 46px 0 18px; color: #2c241e; font-size: 21px; line-height: 1.35; font-weight: 650; }
.privacy-section p, .privacy-section li { color: #5c554e; font-size: 15px; line-height: 1.85; }
.privacy-section p { margin: 0 0 19px; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul { margin: 18px 0 28px; padding: 0; display: grid; gap: 8px; list-style: none; }
.privacy-section li { position: relative; padding-left: 25px; }
.privacy-section li::before { content: ""; position: absolute; top: .78em; left: 0; width: 10px; height: 1px; background: #a47d4b; }
.privacy-section a { color: #8f673d; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.privacy-section a:hover { color: #5f4025; }
.privacy-admin-card { margin: 26px 0 30px; padding: 32px 36px; display: grid; gap: 8px; border-left: 3px solid #c29a5b; background: #251c17; color: #d6cec4; }
.privacy-admin-card strong { margin-bottom: 5px; color: #f1ece3; font-size: 18px; letter-spacing: .06em; }
.privacy-admin-card span, .privacy-admin-card a { color: #bdb3a8; font-size: 14px; line-height: 1.55; text-decoration: none; }
.privacy-admin-card a:hover { color: #d6b174; }
.privacy-example { margin: 25px 0 32px; padding: 26px 30px; border: 0; border-left: 3px solid #c29a5b; background: #d8d0c5; color: #3e3934; font-size: 14px; line-height: 1.8; }
.privacy-footer::before { background: #e6e0d6; }

@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
@keyframes bounce { 50% { transform: translateY(5px); } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero-content { width: min(720px, 70vw); }
  .header-actions { margin-left: auto; }
  .header-cta { margin-left: auto; margin-right: 12px; }
  .mobile-menu { display: block; position: relative; z-index: 8; }
  .mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.28); cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 18px; height: 1px; background: white; }
  .mobile-menu nav { position: absolute; top: 51px; right: 0; width: min(310px, calc(100vw - 48px)); padding: 22px; display: grid; gap: 0; background: rgba(12,13,13,.98); border: 1px solid #36332f; box-shadow: 0 22px 60px rgba(0,0,0,.42); }
  .mobile-menu nav a { padding: 14px 5px; border-bottom: 1px solid #2d2b28; color: #ddd7ce; font-size: 14px; }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .mobile-menu nav a.is-active { color: var(--brass); }
  .section-head, .offer-title { grid-template-columns: 1fr; gap: 35px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps article:nth-child(2) { border-right: 0; }
  .process-steps article:nth-child(-n+2) { border-bottom: 1px solid #373633; }
  footer { grid-template-columns: 1fr 1fr; }
  footer nav { justify-content: flex-end; }
  .gallery-header { grid-template-columns: 1fr auto; }
  .gallery-header .gallery-back { display: none; }
  .gallery-nav { grid-template-columns: repeat(3, 1fr); }
  .gallery-nav a { min-height: 58px; }
  .gallery-realization { grid-template-columns: 1.2fr .8fr; }
}
@media (min-width: 1051px) { .mobile-menu { display: none; } }
@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .site-header { --header-height: 80px; height: var(--header-height); }
  footer { --footer-notch-depth: 33px; --footer-notch-base-width: calc(var(--footer-edge-padding) + 178px); --footer-notch-slope: 50px; }
  .header-brand-logo { width: 210px; height: 45px; flex-basis: 210px; margin-left: 0; }
  .header-actions { gap: 8px; }
  .header-cta { min-height: 42px; padding: 0 13px; font-size: 11px; }
  .brand { font-size: 20px; }
  .hero::before { background-image: url('/assets/images/hero-main-user.jpeg'); background-image: image-set(url('/assets/images/hero-main-user-960.webp') type('image/webp'), url('/assets/images/hero-main-user.jpeg') type('image/jpeg')); background-position: 61% center; }
  .hero::after { background: linear-gradient(180deg, rgba(5,6,6,.82), rgba(5,6,6,.87)); }
  .hero-content { width: 100%; min-height: 100svh; padding: 135px 24px 100px; }
  h1 { font-size: clamp(43px, 13vw, 58px); }
  .hero-lead { font-size: 16px; white-space: normal; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .scroll-hint { display: none; }
  .promise { grid-template-columns: 1fr; padding: 25px 24px; }
  .promise > div { padding: 20px 0; border-right: 0; border-bottom: 1px solid #302f2c; }
  .section { padding: 88px 24px; }
  .section h2, .contact h2 { font-size: 44px; }
  .section-head { margin-bottom: 45px; }
  .project-grid { grid-template-columns: 1fr; gap: 42px; }
  .project-set, .project-set-reverse { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 42px; }
  .project-stack { display: grid; grid-template-rows: auto; gap: 42px; }
  .project-card-large .project-image { min-height: 0; aspect-ratio: 4 / 3; }
  .project-image { flex: none; aspect-ratio: 4 / 3; }
  .project-caption { height: auto; min-height: 112px; align-items: flex-start; padding-bottom: 24px; }
  .project-caption h3 { line-height: 1.22; }
  .project-caption b { padding-top: 6px; }
  .offer-title { margin-bottom: 48px; }
  .offer-list article, .offer-list article:hover, .offer-list article:focus-within { min-height: auto; grid-template-columns: 40px 1fr 25px; gap: 12px; padding: 27px 0; }
  .offer-list article p { max-height: none; margin-top: 14px; opacity: 1; transform: none; font-size: 13px; }
  .offer-list .offer-action { max-height: 30px; margin-top: 15px; opacity: 1; }
  .offer-list article i { grid-column: 3; grid-row: 1; }
  .about { grid-template-columns: 1fr; padding: 0; }
  .about-copy { padding: 88px 24px; }
  .about-panel { min-height: 520px; padding: 72px 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article, .process-steps article + article { min-height: auto; padding: 28px 0 34px; border-right: 0; border-bottom: 1px solid #373633; }
  .process-steps article:last-child { border-bottom: 0; }
  .process-steps h3 { margin-top: 18px; }
  .contact { grid-template-columns: 1fr; }
  .contact-intro, .contact-form { padding: 82px 24px; }
  footer { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
  .footer-meta { position: static; justify-items: center; }
  footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .gallery-header { min-height: 80px; }
  .gallery-header .header-cta { min-height: 42px; padding: 0 12px; font-size: 10px; }
  .gallery-hero { padding: 90px 24px 72px; }
  .gallery-hero h1 { font-size: 54px; }
  .gallery-nav { position: static; grid-template-columns: 1fr 1fr; }
  .gallery-nav a { justify-content: flex-start; min-height: 56px; padding: 12px; font-size: 10px; }
  .gallery-category { scroll-margin-top: 0; padding: 78px 24px; }
  .gallery-category-head { gap: 12px; margin-bottom: 32px; }
  .gallery-category-head h2 { font-size: 40px; }
  .gallery-realization { grid-template-columns: 1fr; }
  .gallery-photo { min-height: 310px; }
  .gallery-description { padding: 42px 24px; }
  .gallery-footer { grid-template-columns: 1fr; }
  .privacy-hero { min-height: 390px; padding: 150px 24px 70px; }
  .privacy-hero h1 { font-size: 52px; }
  .privacy-date { margin-top: 30px; }
  .privacy-content { padding: 72px 24px 90px; }
  .privacy-section { padding-bottom: 48px; }
  .privacy-section + .privacy-section { padding-top: 48px; }
  .privacy-section h2 { align-items: start; gap: 12px; margin-bottom: 27px; font-size: 31px; }
  .privacy-section h3 { margin-top: 38px; font-size: 19px; }
  .privacy-section p, .privacy-section li { font-size: 14px; line-height: 1.75; }
  .privacy-admin-card { padding: 26px 24px; }
  .privacy-example { padding: 22px 20px; }
}
@media (max-width: 620px) {
  .header-actions { display: none; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .brand { margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.install-page, .panel-page { min-height: 100svh; padding: 42px 24px; background: #111211; color: var(--ivory); }
.setup-card, .login-card { width: min(720px, 100%); margin: 30px auto; padding: clamp(28px, 5vw, 58px); background: #e6e0d6; color: #211e1a; }
.setup-card h1, .login-card h1 { margin: 0 0 14px; color: #1d1b18; font-size: clamp(36px, 6vw, 58px); }
.setup-card > p, .login-card > p { color: #686159; line-height: 1.65; }
.setup-form { display: grid; gap: 20px; margin-top: 35px; }
.setup-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 650; }
.setup-form input { width: 100%; padding: 13px 14px; border: 1px solid #aaa196; background: #f4f0e8; font: inherit; }
.setup-form fieldset { display: grid; gap: 18px; padding: 24px; border: 1px solid #bcb3a8; }
.setup-form legend { padding: 0 8px; font-weight: 700; }
.notice { margin: 22px 0; padding: 16px 18px; border-left: 3px solid var(--brass); background: rgba(194,154,91,.12); line-height: 1.55; }
.notice.error { border-color: #a24e45; background: rgba(162,78,69,.12); color: #7c2e29; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 55px; }
.panel-toolbar nav { display: flex; gap: 20px; }
.panel-toolbar a { color: var(--brass); font-size: 13px; }
.panel-wrap { width: min(1180px, 100%); margin: 0 auto; }
.panel-title { margin: 0; color: #eee9e1; font-size: clamp(42px, 7vw, 76px); }
.panel-count { margin: 15px 0 40px; color: #9e9991; }
.panel-message { display: grid; gap: 14px; margin-bottom: 16px; padding: 26px; border: 1px solid #343330; background: #1a1b1a; }
.panel-message.is-new { border-color: rgba(194,154,91,.8); box-shadow: inset 3px 0 var(--brass); }
.panel-message-head { display: flex; justify-content: space-between; gap: 18px; color: #8e8981; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.panel-message h2 { margin: 8px 0 0; color: #eee9e1; font-size: 24px; }
.panel-message a { color: #cfaa70; }
.panel-message p { margin: 4px 0 0; color: #b8b2aa; line-height: 1.7; white-space: pre-wrap; }
.panel-message-actions { display: flex; justify-content: flex-end; padding-top: 4px; }
.panel-delete-form { margin: 0; }
.panel-delete-button { min-width: 82px; min-height: 40px; padding: 9px 16px; border: 1px solid rgba(196,103,90,.58); background: transparent; color: #d88a7e; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.panel-delete-button:hover, .panel-delete-button:focus-visible { border-color: #a24e45; background: #a24e45; color: #fff; outline: none; }
.logout-button { border: 0; background: transparent; color: var(--brass); cursor: pointer; font: inherit; font-size: 13px; }

/* Automatyczna galeria realizacji */
.auto-gallery-hero { padding-top: 210px; padding-bottom: 82px; }
.auto-gallery-intro { max-width: 900px; margin-top: 42px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.auto-gallery-intro > p { max-width: 620px; margin: 0; color: #9d9890; font-size: 16px; line-height: 1.8; }
.auto-gallery-intro > span { flex: 0 0 auto; padding-bottom: 6px; color: var(--brass); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.auto-gallery-nav { position: static; top: auto; padding: 26px clamp(24px, 5vw, 84px); background: #111211; border-top: 1px solid #2b2a28; }
.auto-gallery-nav a { min-height: 0; padding: 12px clamp(14px, 1.8vw, 34px); display: flex; align-items: flex-start; justify-content: flex-start; gap: 18px; border-right: 1px solid #302f2c; }
.auto-gallery-nav a:hover { background: transparent; }
.auto-gallery-nav a b { color: #d9d4cc; font-size: 13px; font-weight: 500; line-height: 1.5; }
.auto-gallery-nav a span { flex: 0 0 auto; padding-top: 2px; color: var(--brass); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.auto-gallery-nav a i { display: none; }
.auto-gallery-category { padding-top: 96px; padding-bottom: 120px; }
.auto-gallery-category-head { justify-content: space-between; align-items: flex-end; }
.auto-gallery-category-head > div { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.auto-gallery-category-head p { flex: 0 0 auto; margin: 0 0 5px; color: #8e867c; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.auto-realizations { display: grid; gap: 92px; }
.auto-realization { display: grid; gap: 26px; }
.auto-realization + .auto-realization { padding-top: 92px; border-top: 1px solid rgba(45,42,38,.18); }
.auto-realization-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.auto-realization-head span { display: block; margin-bottom: 8px; color: #927044; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.auto-realization-head h3 { margin: 0; color: #1c1b19; font-family: var(--font-geist-sans), Arial, sans-serif; font-size: clamp(20px, 2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.auto-realization-head > p { margin: 0 0 5px; color: #7b746b; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.auto-realization-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.auto-realization-photos.single-photo { grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 0; }
.auto-gallery-photo { position: relative; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #1b1b1a; }
.auto-gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease; }
.auto-gallery-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.46)); opacity: 0; transition: opacity .35s ease; }
.auto-gallery-photo > span { position: absolute; z-index: 2; right: 18px; bottom: 16px; color: #f1ece4; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .35s ease; }
.auto-gallery-photo:hover img { transform: scale(1.025); }
.auto-gallery-photo:hover::after, .auto-gallery-photo:hover > span { opacity: 1; }
.auto-gallery-photo:hover > span { transform: none; }
.auto-realization-description { max-width: 760px; margin: 2px 0 0 auto; color: #5f5952; font-size: 14px; line-height: 1.8; }
.gallery-empty { min-height: 300px; padding: 55px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(46,43,39,.17); }
.gallery-empty span { color: #1d1c1a; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.gallery-empty p { margin: 13px 0 0; color: #817a72; font-size: 13px; }
.gallery-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,6,6,.96); color: #eee9e1; overflow: hidden; }
.gallery-lightbox::backdrop { background: rgba(0,0,0,.9); }
.gallery-lightbox[open] { display: grid; grid-template-columns: 80px minmax(0,1fr) 80px; align-items: center; }
.gallery-lightbox figure { grid-column: 2; grid-row: 1; height: 100%; min-height: 0; margin: 0; padding: 42px 0 28px; display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 16px; }
.gallery-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 1; transition: opacity .18s ease; }
.gallery-lightbox figure img.is-loading { opacity: 0; transition: none; }
.gallery-lightbox figcaption { color: #8e8981; font-size: 10px; text-align: center; letter-spacing: .14em; }
.gallery-lightbox button { width: 52px; height: 52px; padding: 0; border: 1px solid #3a3936; border-radius: 50%; background: rgba(18,18,17,.65); color: #eee9e1; cursor: pointer; font: inherit; font-size: 20px; transition: border-color .2s ease, color .2s ease; }
.gallery-lightbox button:hover { border-color: var(--brass); color: var(--brass); }
.gallery-lightbox-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.gallery-lightbox-next { grid-column: 3; grid-row: 1; justify-self: center; }
.gallery-lightbox-close { position: fixed; z-index: 2; top: 24px; right: 24px; font-size: 30px !important; font-weight: 250; }

@media (max-width: 1050px) {
  .auto-gallery-nav { padding: 18px 24px; grid-template-columns: repeat(3, 1fr); }
  .auto-gallery-nav a { min-height: 0; padding: 12px 18px; }
  .auto-realization-photos,
  .auto-realization-photos.single-photo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .auto-gallery-hero { padding-top: 135px; padding-bottom: 64px; }
  .auto-gallery-intro { margin-top: 32px; display: block; }
  .auto-gallery-intro > span { display: block; margin-top: 25px; }
  .auto-gallery-nav { position: static; top: auto; padding: 16px 24px; grid-template-columns: 1fr 1fr; }
  .auto-gallery-nav a { min-height: 0; padding: 12px; }
  .auto-gallery-nav a b { max-width: 120px; }
  .auto-gallery-category { padding-top: 72px; padding-bottom: 82px; }
  .auto-gallery-category-head { align-items: flex-start; }
  .auto-gallery-category-head > div { display: block; }
  .auto-gallery-category-head p { margin-top: 13px; }
  .auto-realizations { gap: 68px; }
  .auto-realization + .auto-realization { padding-top: 68px; }
  .auto-realization-head { display: block; }
  .auto-realization-head > p { margin-top: 16px; }
  .auto-realization-photos, .auto-realization-photos.single-photo { grid-template-columns: 1fr; gap: 9px; }
  .auto-gallery-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .auto-gallery-photo > span { opacity: 1; transform: none; }
  .auto-gallery-photo::after { opacity: .55; }
  .auto-realization-description { margin-left: 0; }
  .gallery-empty { min-height: 230px; padding: 34px 22px; }
  .gallery-lightbox[open] { grid-template-columns: 50px minmax(0,1fr) 50px; }
  .gallery-lightbox figure { padding: 75px 0 22px; }
  .gallery-lightbox button { width: 40px; height: 40px; }
  .gallery-lightbox-close { top: 16px; right: 16px; }
}

/* Informacja o plikach cookie */
.cookie-notice { position: fixed; z-index: 120; left: clamp(24px, 6vw, 100px); bottom: max(24px, env(safe-area-inset-bottom)); width: min(660px, calc(100% - clamp(48px, 12vw, 200px))); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; padding: 24px 26px 23px; border: 1px solid rgba(194,154,91,.28); border-left: 3px solid var(--brass); background: rgba(16,17,16,.96); box-shadow: 0 18px 55px rgba(0,0,0,.28); color: var(--ivory); opacity: 0; transform: translateY(18px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .24s ease, transform .24s ease; }
.cookie-notice[hidden] { display: none; }
.cookie-notice.is-visible { opacity: 1; transform: translateY(0); }
.cookie-notice.is-closing { pointer-events: none; opacity: 0; transform: translateY(12px); }
.cookie-notice-copy { min-width: 0; }
.cookie-notice-copy > span { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--brass); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.cookie-notice-copy > span::before { content: ""; width: 26px; height: 1px; background: var(--brass); }
.cookie-notice-copy strong { display: block; margin-bottom: 8px; color: #f0ebe3; font-size: 20px; font-weight: 620; letter-spacing: -.015em; }
.cookie-notice-copy p { max-width: 470px; margin: 0; color: #b8b2aa; font-size: 12px; line-height: 1.65; }
.cookie-notice-actions { display: flex; align-items: center; gap: 18px; }
.cookie-notice-actions a { color: #cfaa70; font-size: 10px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.cookie-notice-actions a:hover, .cookie-notice-actions a:focus-visible { color: #f0c984; outline: none; }
.cookie-notice-actions button { min-height: 42px; padding: 11px 18px; border: 1px solid var(--brass); background: var(--brass); color: #111211; cursor: pointer; font: inherit; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease; }
.cookie-notice-actions button:hover, .cookie-notice-actions button:focus-visible { background: transparent; color: var(--brass); outline: none; }

@media (max-width: 700px) {
  .cookie-notice { left: 24px; right: 24px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; grid-template-columns: 1fr; gap: 18px; padding: 21px 20px 20px; }
  .cookie-notice-actions { justify-content: space-between; }
  .cookie-notice-actions button { min-width: 112px; }
}

/* Panel klienta i zarządzanie dostępami */
.panel-wrap-wide { width: min(1380px, 100%); }
.panel-toolbar nav { align-items: center; flex-wrap: wrap; }
.panel-toolbar nav .is-current { color: #f0c984; }
.panel-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .55fr); align-items: end; gap: 60px; margin-bottom: 54px; }
.panel-heading > p { max-width: 460px; margin: 0 0 7px; color: #9e9991; font-size: 14px; line-height: 1.75; }
.notice.success { border-color: var(--brass); color: #eee9e1; }
.notice.warning { border-color: #d69b3d; color: #eee9e1; }
.panel-admin-grid { display: grid; grid-template-columns: 1fr; align-items: start; gap: 22px; margin-bottom: 70px; }
.panel-admin-card { padding: clamp(26px, 4vw, 44px); border: 1px solid #343330; background: #1a1b1a; }
.panel-admin-card h2, .panel-section h2 { margin: 0; color: #eee9e1; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.035em; }
.panel-admin-card > p:not(.section-tag) { max-width: 560px; margin: 16px 0 0; color: #9e9991; line-height: 1.7; }
.panel-form { display: grid; gap: 17px; margin-top: 28px; }
.panel-form label { display: grid; gap: 8px; color: #d5cfc7; font-size: 12px; font-weight: 650; }
.panel-form input, .panel-form select, .panel-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #45433f; border-radius: 0; background: #111211; color: #eee9e1; font: inherit; }
.panel-form textarea { resize: vertical; line-height: 1.55; }
.panel-form input:focus, .panel-form select:focus, .panel-form textarea:focus { border-color: var(--brass); outline: none; }
.panel-form .button { justify-self: start; min-height: 50px; margin-top: 4px; border: 0; cursor: pointer; }
.panel-form > small { color: #817d76; font-size: 10px; }
.create-client-form { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: start; column-gap: 28px; }
.create-client-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.create-client-fields label:nth-child(n+3) { grid-column: 1 / -1; }
.create-client-upload { display: grid; gap: 8px; }
.create-client-upload-label { color: #d5cfc7; font-size: 12px; font-weight: 650; }
.create-client-upload > small { color: #817d76; font-size: 10px; }
.create-client-upload .file-picker { height: 135px; min-height: 135px; gap: 3px !important; padding: 10px 18px !important; }
.create-client-upload .file-picker-icon { width: 32px; height: 32px; margin-bottom: 0; font-size: 19px; }
.create-client-upload .file-picker strong { font-size: 13px; }
.create-client-upload .file-picker > span:not(.file-picker-icon) { font-size: 10px; }
.create-client-upload .file-picker small { font-size: 9px; }
.file-picker-previews.create-client-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 35px; }
.create-client-form > .button { grid-column: 1 / -1; }
.file-picker { position: relative; min-height: 210px; place-content: center; justify-items: center; gap: 8px !important; padding: 28px !important; border: 1px dashed #69645c; background: #111211; color: #d8d2ca !important; text-align: center; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.file-picker:hover, .file-picker:focus-within, .file-picker.is-dragging { border-color: var(--brass); background: rgba(194,154,91,.08); }
.file-picker.has-files { border-style: solid; border-color: var(--brass); }
.file-picker input[type="file"] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.file-picker-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass); font-size: 25px; font-weight: 300; line-height: 1; }
.file-picker strong { color: #eee9e1; font-size: 15px; }
.file-picker > span:not(.file-picker-icon) { color: #8e8981; font-size: 11px; font-weight: 400; }
.file-picker small { max-width: 100%; color: #cfaa70; font-size: 10px; font-weight: 500; overflow-wrap: anywhere; }
.file-picker-previews { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; margin-top: 2px; }
.file-picker-previews[hidden] { display: none; }
.file-picker-preview { position: relative; width: 100%; height: 119px; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #3d3b37; background: #111211; }
.file-picker-preview-media { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: #0b0c0c; }
.file-picker-preview-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.file-picker-preview-media span { color: var(--brass); font-size: 20px; font-weight: 650; letter-spacing: .08em; }
.file-picker-preview figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 18px 9px 8px; background: linear-gradient(transparent, rgba(8,9,9,.92)); color: #d8d2ca; font-size: 9px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credential-details { display: grid; gap: 8px; margin: 18px 0 12px; }
.credential-details > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; }
.credential-details dt { color: #9e9991; }
.credential-details dd { margin: 0; color: #f0c984; font-weight: 700; overflow-wrap: anywhere; }
.notice > small { color: #9e9991; }
.panel-section { margin-top: 78px; }
.client-access-section { margin-top: 0; }
.panel-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.panel-section-title > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #3d3b37; color: var(--brass); }
.client-admin-list, .admin-project-list { display: grid; gap: 14px; }
.client-admin-row { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(380px, 1.4fr) auto; align-items: center; gap: 34px; padding: 25px 26px; border: 1px solid #343330; background: #1a1b1a; }
.client-admin-main h3 { margin: 8px 0 5px; color: #eee9e1; font-size: 21px; }
.client-admin-main a { color: #cfaa70; font-size: 13px; }
.client-admin-main p { margin: 10px 0 0; color: #8e8981; font-size: 12px; }
.client-admin-main p strong { color: #d8d2ca; }
.client-status { display: inline-block; color: #aba69e; font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.client-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #756f67; }
.client-status.is-active::before { background: #80a77c; }
.client-status.is-paused::before { background: #b36e63; }
.client-admin-stats { display: grid; grid-template-columns: 90px 70px minmax(150px, 1fr); gap: 20px; margin: 0; }
.client-admin-stats div { display: grid; gap: 6px; }
.client-admin-stats dt { color: #77736d; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.client-admin-stats dd { margin: 0; color: #d8d2ca; font-size: 12px; }
.client-admin-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.client-admin-actions button, .admin-file-list button, .client-edit-button { min-height: 38px; padding: 8px 12px; border: 1px solid #4b4843; background: transparent; color: #c6c0b7; cursor: pointer; font: inherit; font-size: 10px; transition: .2s ease; }
.client-edit-button { display: inline-flex; align-items: center; border-color: var(--brass); color: var(--brass); }
.client-admin-actions button:hover, .client-admin-actions button:focus-visible, .admin-file-list button:hover, .admin-file-list button:focus-visible, .client-edit-button:hover, .client-edit-button:focus-visible { border-color: var(--brass); color: var(--brass); outline: none; }
.client-edit-button:hover, .client-edit-button:focus-visible { background: var(--brass); color: #111211; }
.client-delete-form { margin: 0; }
.client-admin-actions .client-delete-button { display: inline-flex; align-items: center; border-color: rgba(196,103,90,.72); color: #d88a7e; }
.client-admin-actions .client-delete-button:hover, .client-admin-actions .client-delete-button:focus-visible { border-color: #a24e45; background: #a24e45; color: #fff; }
.admin-project-card { display: grid; grid-template-columns: minmax(250px, 1fr) auto; align-items: center; gap: 36px; padding: clamp(26px, 4vw, 42px); border: 1px solid #343330; background: #1a1b1a; }
.admin-project-copy > span { color: var(--brass); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-project-copy h3 { margin: 12px 0 0; color: #eee9e1; font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -.03em; }
.admin-project-copy p { margin: 16px 0 0; color: #aaa49a; line-height: 1.7; }
.admin-project-summary { display: grid; justify-items: end; gap: 2px; }
.admin-project-summary > span { color: var(--brass); font-size: 34px; font-weight: 500; line-height: 1; }
.admin-project-summary > small { color: #77736d; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.upload-form { margin: 0; }
.admin-file-list { grid-column: 1 / -1; display: grid; border-top: 1px solid #343330; }
.admin-file-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid #2a2927; }
.admin-file-list a { color: #cfaa70; font-size: 12px; overflow-wrap: anywhere; }
.admin-file-list span { color: #7f7b74; font-size: 10px; }
.admin-file-list form { margin: 0; }
.client-panel-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr); align-items: end; gap: 50px; margin: 40px 0 82px; }
.client-panel-hero .section-tag { grid-column: 1 / -1; margin-bottom: -24px; }
.client-panel-hero h1 { color: #eee9e1; font-size: clamp(48px, 6.2vw, 88px); }
.client-panel-hero > p:last-child { max-width: 460px; margin: 0 0 8px; color: #9e9991; font-size: 15px; line-height: 1.75; }
.client-empty { padding: clamp(35px, 7vw, 80px); border: 1px solid #343330; background: #1a1b1a; }
.client-empty > span { color: var(--brass); font-size: 11px; letter-spacing: .12em; }
.client-empty h2 { margin: 24px 0 12px; color: #eee9e1; font-size: clamp(34px, 4vw, 56px); }
.client-empty p { max-width: 580px; margin: 0; color: #9e9991; line-height: 1.7; }
.client-projects { display: grid; gap: 30px; }
.client-project { padding: clamp(28px, 5vw, 56px); border: 1px solid #343330; background: #151615; }
.client-project > header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.client-project h2 { margin: 0; color: #eee9e1; font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -.045em; }
.client-project time { margin-bottom: 8px; color: #77736d; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.client-project-description { max-width: 820px; margin: 28px 0 38px; color: #aaa49a; line-height: 1.75; }
.client-file-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.client-file-card { min-width: 0; border: 1px solid #343330; background: #1a1b1a; transition: border-color .2s ease, transform .2s ease; }
.client-file-card:hover, .client-file-card:focus-visible { border-color: var(--brass); transform: translateY(-2px); outline: none; }
.client-file-preview { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #0f100f; }
.client-file-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.client-file-preview b { color: var(--brass); font-size: 35px; letter-spacing: .1em; }
.client-file-meta { display: grid; gap: 7px; padding: 15px 16px 17px; }
.client-file-meta strong { color: #ddd7cf; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-file-meta small { color: #77736d; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }

.client-panel-page { padding: 0; }
.client-panel-shell { padding-top: 190px; padding-bottom: 82px; }
.private-panel-page { padding: 0; }
.private-panel-shell { padding-top: 190px; padding-bottom: 82px; }
.panel-site-header { color: var(--ivory); }
.panel-header-logout-form { margin: 0; }
.panel-site-header .header-cta { margin-left: auto; border-radius: 0; background: transparent; cursor: pointer; font-family: inherit; }
.panel-site-header .header-cta:hover, .panel-site-header .header-cta:focus-visible { border-color: var(--brass); background: var(--brass); color: var(--ink); outline: none; }
.client-password-card { margin-top: 190px; margin-bottom: 70px; }

.panel-file-lightbox figcaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.panel-editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.panel-editor-heading .panel-title { margin-top: 12px; }
.panel-editor-heading > div > p:last-child { margin: 14px 0 0; color: #8e8981; font-size: 12px; }
.panel-back-link { display: inline-flex; margin-bottom: 32px; color: #cfaa70; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.client-editor-top { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(420px, 1.3fr); align-items: start; gap: 22px; }
.file-picker-compact { min-height: 170px; }
.client-project-editor-list { display: grid; gap: 24px; }
.client-new-project-card { width: 100%; margin-top: 24px; }
.client-project-editor { padding: clamp(26px, 4vw, 44px); border: 1px solid #343330; background: #171817; }
.client-project-editor-head { display: flex; align-items: start; justify-content: space-between; gap: 30px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid #343330; }
.client-project-editor-head span { color: var(--brass); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.client-project-editor-head h3 { margin: 10px 0 0; color: #eee9e1; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; }
.panel-danger-button { min-height: 38px; padding: 8px 13px; border: 1px solid rgba(196,103,90,.55); background: transparent; color: #d88a7e; cursor: pointer; font: inherit; font-size: 10px; }
.panel-danger-button:hover, .panel-danger-button:focus-visible { border-color: #a24e45; background: #a24e45; color: white; outline: none; }
.project-edit-form { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: stretch; gap: 26px; margin-top: 0; }
.project-edit-copy { display: grid; gap: 17px; }
.project-edit-upload { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); align-self: stretch; gap: 8px; }
.project-edit-upload-label { color: #d5cfc7; font-size: 12px; font-weight: 650; }
.project-edit-upload .file-picker { height: 100%; min-height: 0; gap: 3px !important; padding: 10px 18px !important; }
.project-edit-upload .file-picker-icon { width: 32px; height: 32px; margin-bottom: 0; font-size: 19px; }
.project-edit-upload .file-picker strong { font-size: 13px; }
.project-edit-upload .file-picker > span:not(.file-picker-icon) { font-size: 10px; }
.project-edit-upload .file-picker small { font-size: 9px; }
.project-edit-upload > small { position: absolute; top: calc(100% + 8px); left: 0; color: #817d76; font-size: 10px; }
.project-file-previews { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
.new-project-file-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
.project-edit-form > .button { grid-column: 1 / -1; }
.editor-file-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-top: 36px; padding-top: 30px; border-top: 1px solid #343330; }
.editor-file-card { min-width: 0; border: 1px solid #343330; background: #111211; }
.editor-file-card > a { display: grid; gap: 10px; padding: 9px; }
.editor-file-preview { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0c0c; }
.editor-file-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.editor-file-preview b { color: var(--brass); font-size: 26px; letter-spacing: .08em; }
.editor-file-card > a > strong { min-width: 0; padding: 0 3px 3px; color: #d8d2ca; font-size: 10px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-file-card > form { padding: 0 9px 9px; }
.editor-file-card button { width: 100%; min-height: 34px; border: 1px solid rgba(196,103,90,.42); background: transparent; color: #d88a7e; cursor: pointer; font: inherit; font-size: 9px; }
.editor-file-card button:hover, .editor-file-card button:focus-visible { background: #a24e45; border-color: #a24e45; color: white; outline: none; }

@media (max-width: 1050px) {
  .panel-admin-grid { grid-template-columns: 1fr; }
  .client-admin-row { grid-template-columns: 1fr 1fr; }
  .client-admin-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .client-file-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editor-file-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .install-page, .panel-page { padding: 26px 20px; }
  .client-panel-page { padding: 0; }
  .client-panel-shell { padding: 145px 20px 65px; }
  .private-panel-page { padding: 0; }
  .private-panel-shell { padding: 145px 20px 65px; }
  .client-password-card { width: calc(100% - 40px); margin-top: 145px; }
  .panel-site-header .header-cta { display: grid; min-height: 42px; margin-right: 0; padding: 0 13px; font-size: 11px; }
  .panel-toolbar { align-items: flex-start; margin-bottom: 42px; }
  .panel-toolbar nav { justify-content: flex-end; gap: 13px; }
  .panel-toolbar nav a, .logout-button { font-size: 11px; }
  .panel-heading, .panel-admin-grid, .client-panel-hero, .admin-project-card { grid-template-columns: 1fr; gap: 24px; }
  .create-client-form, .create-client-fields, .client-editor-top, .project-edit-form { grid-template-columns: 1fr; }
  .create-client-fields label:nth-child(n+3), .create-client-form > .button, .project-file-previews, .project-edit-form > .button { grid-column: auto; }
  .project-edit-upload .file-picker { min-height: 170px; }
  .panel-heading { margin-bottom: 38px; }
  .panel-admin-grid { margin-bottom: 50px; }
  .client-admin-row { grid-template-columns: 1fr; gap: 22px; }
  .client-admin-actions { grid-column: auto; }
  .client-admin-stats { grid-template-columns: 70px 60px minmax(120px, 1fr); }
  .admin-file-list { grid-column: auto; }
  .client-panel-hero { margin: 28px 0 55px; }
  .client-panel-hero .section-tag { grid-column: auto; margin-bottom: 0; }
  .client-project > header { display: grid; }
  .client-file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credential-details > div { grid-template-columns: 1fr; gap: 2px; }
  .panel-editor-heading { align-items: start; }
  .editor-file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .panel-toolbar { display: grid; }
  .panel-toolbar nav { justify-content: flex-start; }
  .client-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .client-admin-stats div:last-child { grid-column: 1 / -1; }
  .client-file-grid { grid-template-columns: 1fr; }
  .admin-file-list > div { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-file-list form { grid-column: 1 / -1; }
  .panel-editor-heading, .client-project-editor-head { display: grid; }
  .editor-file-grid { grid-template-columns: 1fr; }
  .panel-site-header .header-brand-logo { width: 200px; height: 43px; flex-basis: 200px; }
  .panel-site-header .header-cta { display: grid; padding: 0 11px; font-size: 10px; }
}
