/*
Theme Name: MARLO — Pracownia Meblarska
Description: Autorski motyw portfolio MARLO. Wymaga wtyczki MARLO — Portfolio.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Author: MARLO
License: GPL-2.0-or-later
Text Domain: marlo
*/
:root { --background:#f9f8f5; --foreground:#20201e; --card:#fff; --card-foreground:#20201e; --popover:#fff; --popover-foreground:#20201e; --primary:#20201e; --primary-foreground:#fff; --secondary:#efeee9; --secondary-foreground:#20201e; --muted:#efeee9; --muted-foreground:#62615b; --accent:#e9e7df; --accent-foreground:#20201e; --destructive:#ad3325; --border:#d8d6ce; --input:#d8d6ce; --ring:#60523e; --radius:0; color-scheme:light; }
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8a6040;outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:400}em{font-family:Georgia,'Times New Roman',serif;font-weight:400}img{display:block;max-width:100%}.site-header{height:108px;padding:0 4.4%;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--border);background:var(--background)}.brand{display:flex;align-items:center}.brand img{width:151px;height:90px;object-fit:contain;mix-blend-mode:multiply}.site-header nav{display:flex;align-items:center;gap:36px;font-size:14px}.site-header nav a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:5px}.nav-contact{border-bottom:1px solid;padding:10px 0;margin-left:20px}.nav-contact span{margin-left:30px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:690px}.hero-copy{padding:57px 10% 27px 8.8%;display:flex;align-items:flex-start;flex-direction:column}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:500;line-height:1.6}.hero h1{font-size:clamp(48px,5.3vw,88px);line-height:1.03;letter-spacing:-.065em;margin:28px 0 26px}.hero h1 em{letter-spacing:-.055em}.hero-description{font-size:16px;max-width:355px;line-height:1.75;color:#62615b}.button{background:#20201e;color:white;border:1px solid #20201e;min-height:54px;padding:14px 24px;display:inline-flex;justify-content:space-between;align-items:center;gap:35px;font-size:14px;transition:background .2s}.button:hover{background:#45443e}.hero .button{margin-top:28px}.text-link{font-size:14px;margin-top:16px}.hero-bottom{display:flex;justify-content:space-between;width:100%;gap:24px;margin-top:auto;padding-top:35px;font-size:12px;letter-spacing:.09em;color:#62615b}.hero-photo{position:relative;overflow:hidden;min-height:690px;background:#d5c6af}.hero-photo>img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 60%}.hero-photo figcaption{position:absolute;bottom:24px;left:28px;right:28px;background:rgba(249,248,245,.95);padding:17px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px}.hero-photo figcaption>span{font-size:12px;letter-spacing:.08em}.region-strip{padding:27px 4.4%;display:flex;gap:24px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);font-size:14px}.region-strip p{color:#62615b}.section{padding:100px 4.4%}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:46px;gap:32px}.section-heading h2,h2{font-size:clamp(38px,4.3vw,68px);line-height:1.1;letter-spacing:-.05em}.section-heading h2{margin-top:22px}.section-heading>p{color:#62615b;font-size:16px;padding-bottom:7px}.project-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:65px 50px}.project-card:nth-child(even){padding-top:85px}.project-image{background:#e4e1da;aspect-ratio:4/4.5;overflow:hidden}.project-card:nth-child(even) .project-image{aspect-ratio:1/1}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .65s}.project-card:hover .project-image img{transform:scale(1.025)}.project-caption{padding:20px 0 0;display:flex;justify-content:space-between;gap:20px;align-items:center}.meta{font-size:12px;letter-spacing:.04em;color:#62615b}.project-caption h3{font-size:24px;letter-spacing:-.03em;margin-top:4px}.project-arrow{font-size:28px}.contact-teaser{background:#222320;color:#fff;padding-top:80px;padding-bottom:90px}.contact-teaser h2{margin:28px 0 36px}.button.light{background:#f9f8f5;color:#20201e;border-color:#f9f8f5}.button.light:hover{background:#dfddd5}.site-footer{padding:28px 4.4%;font-size:12px;display:flex;justify-content:space-between;gap:20px}
@media(min-width:1700px){.hero{min-height:780px}.hero-photo{min-height:780px}.hero-copy{padding-top:110px}}@media(max-width:900px){.site-header{height:92px}.site-header nav{gap:20px}.nav-contact{margin-left:0}.hero-copy{padding-top:45px}.hero h1{font-size:56px}.hero-photo,.hero{min-height:650px}.hero-photo figcaption{left:16px;right:16px;bottom:16px;flex-direction:column;align-items:flex-start;gap:4px}.region-strip>p{max-width:280px}.project-grid{gap:32px}.section{padding-top:70px;padding-bottom:70px}.project-caption h3{font-size:21px}}
@media(max-width:640px){html{scroll-padding-top:80px}.site-header{height:84px;padding:0 6%}.brand img{width:113px;height:72px}.site-header nav>a:not(.nav-contact){display:none}.nav-contact{font-size:14px}.nav-contact span{margin-left:14px}.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:35px 6% 25px}.eyebrow{font-size:12px}.hero h1{font-size:clamp(49px,13vw,70px);margin:22px 0}.hero-description{font-size:16px;max-width:340px}.hero .button{margin-top:23px}.hero-bottom{padding-top:27px}.hero-photo{min-height:440px;height:440px}.hero-photo>img{object-position:50% 60%}.hero-photo figcaption{flex-direction:row;align-items:center;padding:13px 15px;gap:10px}.hero-photo figcaption>span{font-size:12px}.hero-photo figcaption a{font-size:14px}.region-strip{padding:22px 6%;flex-wrap:wrap;gap:8px}.region-strip>span{display:none}.region-strip p{max-width:none;flex:1 1 100%;font-size:14px}.region-strip a{font-size:14px}.section{padding:65px 6%}.section-heading{display:block;margin-bottom:30px}.section-heading>p{margin-top:23px}.section-heading h2,h2{font-size:43px}.project-grid{grid-template-columns:1fr;gap:34px}.project-card:nth-child(even){padding-top:0}.project-image,.project-card:nth-child(even) .project-image{aspect-ratio:4/4.5}.project-caption{padding-top:13px}.project-caption h3{font-size:23px}.site-footer{padding:25px 6%;flex-direction:column;gap:5px}.contact-teaser h2{font-size:46px}.contact-teaser .button{font-size:14px;gap:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Navigation and shared controls */
.skip-link{position:fixed;left:20px;top:-100px;background:#20201e;color:#fff;padding:12px 20px;z-index:100}.skip-link:focus{top:12px}.mobile-menu{display:none}.mobile-sheet{padding:40px 28px;background:var(--background)}.mobile-sheet nav{display:flex;flex-direction:column;gap:18px;margin:40px 0}.mobile-sheet nav a{font-size:25px}.site-footer>div{display:flex;gap:22px}.all-projects{text-align:center;margin-top:60px}.outlined-button{display:inline-flex;align-items:center;gap:56px;border:1px solid #929086;min-height:54px;padding:12px 25px;font-size:14px}.outlined-button:hover{background:#e9e7df}.button:disabled{opacity:.6;cursor:wait}.project-image{position:relative}.card-action{position:absolute;bottom:16px;right:16px;background:rgba(249,248,245,.96);padding:9px 13px;display:flex;align-items:center;gap:14px;font-size:12px;opacity:0;transform:translateY(8px);transition:.25s}.project-card:hover .card-action,.project-card:focus-visible .card-action{opacity:1;transform:none}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border);padding-bottom:22px;margin:32px 0 45px}.category-filter{display:flex!important;flex-wrap:wrap;gap:9px!important}.category-filter label{min-height:44px;padding:10px 17px;border:1px solid var(--border);font-size:13px;display:inline-flex;gap:13px;align-items:center;cursor:pointer}.category-filter label.chosen{background:#20201e;color:#fff;border-color:#20201e}.category-filter label:focus-within{outline:3px solid #8a6040;outline-offset:3px}.filter-dot{position:absolute!important;opacity:0;width:1px!important;height:1px!important}.category-filter label span{font-size:11px;opacity:.75}.gallery-intro h1,.page-title{font-size:clamp(48px,6vw,86px);line-height:1.03;letter-spacing:-.06em;margin-top:25px}.gallery-intro>p:last-child{max-width:550px;color:#62615b;margin-top:25px}.offer{border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1.1fr;gap:12%}.offer h2{margin-top:24px}.offer>div>p:last-child{max-width:390px;margin-top:26px;color:#62615b}.offer-list a{display:flex;gap:25px;padding:27px 0;border-bottom:1px solid var(--border);align-items:flex-start}.offer-list a:first-child{border-top:1px solid var(--border)}.offer-list a>span:last-child{margin-left:auto;font-size:23px}.offer-list h3{font-size:27px;letter-spacing:-.035em}.offer-list p{color:#62615b;font-size:14px;margin-top:5px}.about{background:#efeee9;display:grid;grid-template-columns:1fr 2fr;gap:8%}.about p:not(.eyebrow){max-width:660px;margin-top:25px;color:#55554e;line-height:1.8}.about .text-link{display:inline-block;margin-top:25px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.process-grid article{border-top:1px solid var(--border);padding-top:23px}.process-grid h3{font-size:25px;letter-spacing:-.035em;margin:28px 0 15px}.process-grid p{color:#62615b;max-width:330px}.contact-teaser{display:flex;justify-content:space-between;align-items:flex-end;gap:40px}.contact-teaser h2{margin-bottom:0}.teaser-action>p{color:#c5c5ba;margin-bottom:35px}.back-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#62615b;min-height:44px}.project-detail{padding-top:42px;padding-bottom:75px}.detail-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:12%;align-items:end;margin:32px 0 45px}.detail-heading h1{font-size:clamp(44px,5.4vw,78px);line-height:1.07;letter-spacing:-.055em;margin-top:20px;max-width:700px}.detail-heading>p{color:#62615b;max-width:360px;padding-bottom:5px}.detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.detail-photo{position:relative;display:block;overflow:hidden;background:#e4e1da;border:0;padding:0;text-align:left}.detail-photo:only-child{grid-column:1/-1;max-width:1100px;width:100%;margin:auto}.detail-photo img{width:100%;height:auto;max-height:900px;object-fit:contain}.detail-photo:only-child img{max-height:850px;object-fit:contain;background:#eceae4}.zoom-label{position:absolute;right:20px;bottom:20px;display:flex;align-items:center;gap:9px;background:#f9f8f5;padding:10px 15px;font-size:12px}.project-story{display:grid;grid-template-columns:1.1fr 1fr;gap:12%;margin-top:65px}.story-copy{font-size:22px;line-height:1.7;letter-spacing:-.02em;margin-top:22px}.source-note{color:#62615b;font-size:12px;margin-top:25px}.source-note a{text-decoration:underline;text-underline-offset:3px}.project-story h2{font-size:23px;letter-spacing:-.025em;line-height:1.3}.project-story ul{list-style:none;padding:0;margin:20px 0 30px}.project-story li{padding:10px 0;border-bottom:1px solid var(--border);font-size:14px}.related{border-top:1px solid var(--border)}.related .project-image{max-height:610px}.lightbox{background:#181917!important;color:#fff!important;border:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;padding:0!important;gap:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;box-shadow:none!important}.lightbox-top,.lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 28px;flex-shrink:0}.lightbox-top h2{font:400 17px/1.4 Arial,sans-serif;letter-spacing:0}.lightbox-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:0 40px;touch-action:pan-y}.lightbox-stage img{width:100%;height:100%;object-fit:contain}.lightbox-bottom{justify-content:center;gap:35px;font-size:13px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:48px;border:1px solid #66675f;background:transparent;color:inherit}.icon-button:disabled{opacity:.3;cursor:default}.lightbox button:focus-visible{outline-color:#fff}.contact-page{display:grid;grid-template-columns:.85fr 1.15fr;gap:12%;padding-top:65px}.contact-copy h1{font-size:clamp(44px,5.6vw,80px);letter-spacing:-.06em;line-height:1.06;margin-top:25px}.contact-copy>p:not(.eyebrow){color:#62615b;margin:28px 0;max-width:380px}.contact-details{margin-top:45px;display:flex;flex-direction:column;gap:25px}.contact-details>div{display:flex;flex-direction:column;gap:6px}.contact-details a{font-size:22px;letter-spacing:-.03em;overflow-wrap:anywhere}.contact-details a:hover{text-decoration:underline}.contact-form h2{font-size:28px;letter-spacing:-.035em;line-height:1.2;margin:6px 0 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px 20px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:500}.field input,.field textarea,.field select{border:1px solid #bfbbb0;background:#fff;padding:13px 15px;border-radius:0;width:100%;min-height:49px;color:#20201e;font-size:15px}.field textarea{resize:vertical}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:#ad3325}.field-error{font-size:13px;color:#a1281c}.form-privacy{font-size:12px;color:#62615b;line-height:1.7;margin:20px 0}.form-privacy a{text-decoration:underline}.form-notice,.form-result{font-size:13px;line-height:1.65;margin:18px 0;padding:15px;background:#eeeae0;border-left:3px solid #8a7456}.form-notice a{text-decoration:underline;overflow-wrap:anywhere}.form-result.error{border-color:#ad3325;color:#8c261d}.form-result.success{border-color:#47604a}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.selected-project{font-size:14px;padding:15px;background:#efeee9;margin-bottom:25px}.legal{max-width:850px;margin:auto;padding-top:65px}.legal h1{font-size:52px;line-height:1.08;letter-spacing:-.05em;margin-bottom:30px}.legal h2{font-size:25px;letter-spacing:-.025em;line-height:1.3;margin:30px 0 12px}.legal p,.legal li{color:#55554e;margin-bottom:15px}.legal a{text-decoration:underline;overflow-wrap:anywhere}.legal ul{padding-left:20px}.empty-page{min-height:55vh}.empty-page h1{font-size:50px;letter-spacing:-.04em;margin-bottom:25px}.empty-page .button{margin-top:25px}
@media(max-width:1000px){.site-header nav{gap:18px;font-size:13px}.nav-contact span{margin-left:10px}.project-grid{gap:45px 30px}.offer,.contact-page{gap:7%}.contact-teaser{align-items:flex-start;flex-direction:column}.contact-teaser h2{margin-bottom:10px}.detail-heading{gap:6%}.project-story{gap:7%}}
@media(max-width:760px){.site-header nav{display:none}.mobile-menu{display:inline-flex;min-width:48px;min-height:48px;align-items:center;justify-content:center;border:1px solid var(--border);background:transparent}.site-header{height:86px}.gallery-toolbar{align-items:flex-start;flex-direction:column;gap:15px;margin-top:28px}.gallery-toolbar>.meta{align-self:flex-end}.category-filter label{font-size:12px;padding:10px 12px}.offer,.about,.contact-page{grid-template-columns:1fr;gap:45px}.offer>div>p:last-child{max-width:500px}.offer-list h3{font-size:24px}.about{gap:25px}.process-grid{grid-template-columns:1fr;gap:32px}.process-grid h3{margin-top:17px}.process-grid p{max-width:none}.detail-heading{grid-template-columns:1fr;gap:24px}.detail-heading h1{font-size:47px}.detail-heading>p{max-width:none}.detail-gallery{grid-template-columns:1fr;gap:18px}.detail-photo img{max-height:none}.project-story{grid-template-columns:1fr;gap:38px;margin-top:40px}.story-copy{font-size:20px}.lightbox-stage{padding:0 8px}.lightbox-top{padding:12px 15px}.lightbox-top h2{font-size:15px}.contact-page{padding-top:40px}.contact-details{margin-top:30px}.contact-form{border-top:1px solid var(--border);padding-top:35px}.form-grid{grid-template-columns:1fr}.contact-copy h1{font-size:57px}.site-footer>div{flex-wrap:wrap;gap:15px}.all-projects{margin-top:38px}.legal h1{font-size:42px}.card-action{display:none}.project-card:nth-child(even){padding-top:0}.project-grid{gap:36px 24px}.teaser-action>p br{display:none}.gallery-intro h1{font-size:55px}}
@media(max-width:420px){.hero-photo figcaption>span{font-size:10px}.hero-photo figcaption a{font-size:12px}.lightbox-top h2{max-width:245px}.button{gap:18px}.contact-teaser .button{padding:13px 18px;font-size:13px}.gallery-intro h1{font-size:46px}}
.admin-page{padding-top:50px}.admin-heading{display:flex;justify-content:space-between;gap:25px;margin-bottom:40px}.admin-heading h1{font-size:54px;letter-spacing:-.05em;line-height:1.1;margin-top:17px}.editor-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:50px}.editor-list{display:flex;flex-direction:column;gap:8px;align-self:start}.editor-add{margin-bottom:15px;width:100%;min-height:44px}.editor-list>button:not(.editor-add){display:flex;align-items:center;text-align:left;gap:14px;padding:10px;background:transparent;border:1px solid transparent}.editor-list>button.active{border-color:#928c7f;background:#efeee9}.editor-list img{object-fit:cover;width:60px;height:65px}.editor-list>button span{font-size:14px}.editor-list small{display:block;font-size:11px;color:#62615b;margin-top:6px}.editor-form{background:#fff;padding:35px;min-width:0}.editor-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.editor-bar h2{font-size:28px}.editor-bar a{font-size:13px;display:flex;gap:8px;align-items:center}.editor-form fieldset{border:0;margin:0;padding:0;min-width:0}.photo-editor-heading{display:flex;justify-content:space-between;gap:20px;margin-top:35px;margin-bottom:12px;align-items:center}.photo-editor-heading h3{font-size:24px;letter-spacing:-.03em}.photo-editor{margin:20px 0}.photo-row{display:grid;grid-template-columns:110px 1fr;gap:20px;border-top:1px solid var(--border);padding:20px 0}.photo-row>img{width:110px;height:130px;object-fit:cover}.photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.publish-control{display:flex;gap:15px;align-items:center;margin:25px 0;font-size:14px}.unsaved{font-size:12px;margin-left:20px;color:#8a6040}.panel-notice p{margin:25px 0}.editor-form button:disabled{cursor:default}@media(max-width:950px){.editor-layout{grid-template-columns:1fr}.editor-list{max-height:260px;overflow:auto;border-bottom:1px solid var(--border);padding-bottom:20px}.editor-form{padding:25px}.admin-heading h1{font-size:42px}}@media(max-width:480px){.editor-form{padding:20px 13px}.photo-row{grid-template-columns:70px 1fr;gap:12px}.photo-row>img{width:70px;height:100px}.editor-bar{align-items:flex-start;flex-direction:column}.photo-editor-heading{flex-wrap:wrap}.unsaved{display:block;margin:15px 0}}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.category-filter a{min-height:44px;padding:10px 17px;border:1px solid var(--border);font-size:13px;display:inline-flex;gap:13px;align-items:center;cursor:pointer}.category-filter a.chosen{background:#20201e;color:#fff;border-color:#20201e}.category-filter a span{font-size:11px;opacity:.75}.mobile-dialog{border:0;margin:0 0 0 auto;width:min(90vw,400px);height:100dvh;max-height:100dvh;background:var(--background);padding:28px}.mobile-dialog::backdrop{background:#0008}.mobile-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.mobile-dialog h2{font:400 24px Arial,sans-serif}.mobile-dialog nav{display:flex;flex-direction:column;gap:15px;margin:40px 0}.mobile-dialog nav a{font-size:25px;padding:5px 0}.photo-dialog{margin:0;padding:0;border:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:#181917;color:#fff}.photo-dialog[open]{display:flex;flex-direction:column}.photo-dialog::backdrop{background:#181917}.photo-dialog .lightbox-stage{overflow:hidden}.photo-dialog .icon-button{font-size:26px;line-height:1}.photo-dialog .lightbox-stage img{object-fit:contain}.dialog-open{overflow:hidden}.story-copy p+p{margin-top:20px}.legal p{line-height:1.8}.legal h1{margin-top:22px}.archive .project-grid .project-card[hidden]+.project-card{padding-top:0}#gallery-count{min-height:20px}.contact-copy h1{font-size:clamp(42px,4.5vw,65px)}.contact-form .field-error:empty{display:none}.contact-form .field-error{min-height:0}.photo-dialog button:focus-visible{outline-color:#fff}body.admin-bar .mobile-dialog,body.admin-bar .photo-dialog{top:32px;height:calc(100dvh - 32px)}@media(max-width:760px){.category-filter a{font-size:12px;padding:10px 12px}.contact-copy h1{font-size:clamp(42px,10.5vw,60px)}.photo-dialog .lightbox-stage{padding:0 8px}body.admin-bar .mobile-dialog,body.admin-bar .photo-dialog{top:46px;height:calc(100dvh - 46px)}}
