/*
Theme Name: Katia Atelier
Description: Sito Katia / Spazi che accolgono. Pagine modificabili e fotografie sostituibili da Aspetto → Fotografie Katia.
Version: 1.4.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: katia-atelier
*/
@font-face{font-family:Albert Sans;src:url(assets/albert-400.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Albert Sans;src:url(assets/albert-700.ttf) format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Roboto;src:url(assets/roboto-300.ttf) format('truetype');font-weight:300 400;font-display:swap}
@font-face{font-family:Roboto;src:url(assets/roboto-500.ttf) format('truetype');font-weight:500 700;font-display:swap}
:root{--paper:#f4f4f4;--ink:#323335;--taupe:#615e55;--sage:#b4bcac;--line:#b5b3aa;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:300 18px/1.6 Roboto,Arial,sans-serif}a{color:inherit;text-underline-offset:5px}a:hover{text-decoration-thickness:2px}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #416449;outline-offset:5px}img{max-width:100%;display:block}h1,h2,h3,h4{font-family:Albert Sans,Arial,sans-serif;line-height:1.22;font-weight:400;margin:0 0 24px}h1{font-size:48px}h2{font-size:36px}h3{font-size:28px}p{margin:0 0 24px}strong{font-weight:700}figure{margin:0}.skip-link{position:absolute;top:-100px;left:20px;z-index:99999;background:white;padding:12px}.skip-link:focus{top:10px}
.site-header{background:var(--taupe);color:var(--paper);padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:136px}.brand{display:inline-block;text-decoration:none;flex-shrink:0}.brand .brand-name{display:block;font:italic 54px/1 Georgia,serif;letter-spacing:1px}.brand .brand-caption{display:block;font:400 10px/1.5 Roboto,sans-serif;text-transform:uppercase;letter-spacing:1px;text-align:center}.brand img{width:190px;height:82px;object-fit:contain}.site-nav ul{display:flex;list-style:none;gap:40px;padding:0;margin:0}.site-nav a{font-size:16px;text-decoration:none;display:block;padding:8px 0}.site-nav .current-menu-item>a,.site-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px}.menu-toggle{display:none;border:1px solid currentColor;color:inherit;background:transparent;padding:8px 16px;font-size:16px}
.wrap{max-width:1440px;padding-inline:40px;margin:auto}.section{padding:80px 0}.section-taupe{background:var(--taupe);color:var(--paper)}.section-sage{background:var(--sage)}.section-white{background:var(--paper)}.intro{text-align:center;padding:80px 24px}.intro .copy{max-width:850px;margin:auto}.intro p:last-child{margin-bottom:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.split .copy{padding:20px 0}.split.narrow-copy{grid-template-columns: .8fr 1.2fr}.two-cards{display:grid;grid-template-columns:1fr 1fr;gap:30px}.two-cards .copy{padding-top:24px}.two-cards .copy h2{font-size:28px;font-weight:700}.button,.wp-block-button__link{display:inline-block;background:var(--taupe);border:1px solid var(--taupe);color:#fff;padding:14px 34px;text-decoration:none;font-weight:400;border-radius:0;text-align:center}.button:hover{background:#49473f}.section-taupe .button{background:var(--paper);color:var(--ink);border-color:var(--paper)}
.photo-slot{position:relative;overflow:hidden;background:#e3e0d8;aspect-ratio:var(--ratio,4/3);width:100%}.photo-slot img{width:100%;height:100%;object-fit:cover;object-position:center}.photo-placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:110px;padding:30px;text-align:center;background:linear-gradient(135deg,#e3e0d8,#ccc9bf);color:#666458;border:1px solid #c5c2b7}.photo-placeholder:before,.photo-placeholder:after{content:'';position:absolute;width:140%;height:1px;background:#bab7ac;opacity:.28;transform:rotate(35deg);pointer-events:none}.photo-placeholder:after{transform:rotate(-35deg)}.photo-label{position:relative;z-index:1;background:#e7e4dbed;padding:14px 22px;font:400 13px/1.6 Roboto,sans-serif;letter-spacing:.08em}.photo-label b{display:block;font-family:Albert Sans,sans-serif;font-size:21px;margin-bottom:4px}.photo-label small{display:block;font-size:11px;letter-spacing:.03em}
.hero{position:relative;height:640px;overflow:hidden;background:var(--taupe);color:white}.hero .slide{position:absolute;inset:0;display:none;align-items:center;justify-content:center}.hero .slide.is-active{display:flex}.hero .photo-slot{position:absolute;inset:0;aspect-ratio:auto;height:100%}.hero .photo-placeholder{background:linear-gradient(135deg,#89877b,#615e55);border:0}.hero .photo-label{position:absolute;bottom:22px;left:22px;padding:6px 12px;background:#f4f4f41a;color:#fff;font-size:11px}.hero .photo-label b{display:inline;font-size:12px}.hero .photo-label small{display:none}.hero .photo-placeholder:before,.hero .photo-placeholder:after{background:#eeece4;opacity:.12}.hero .photo-slot:after{content:'';position:absolute;inset:0;background:#0003}.hero .hero-copy{position:relative;z-index:2;border:3px solid #f4f4f4;padding:72px 64px;text-align:center;width:min(690px,calc(100% - 160px))}.hero h1,.hero h2{font-size:48px;font-weight:700}.hero p{margin:0}.hero-controls{position:absolute;z-index:3;bottom:36px;left:0;right:0;display:flex;gap:16px;justify-content:center}.hero-controls button{background:transparent;border:0;color:#fff;min-width:32px;min-height:32px;padding:8px}.hero-controls .dot:before{content:'';display:block;width:10px;height:10px;border:1px solid #fff;border-radius:50%;background:transparent}.hero-controls .dot[aria-pressed=true]:before{background:#fff}.hero-arrow{position:absolute;top:50%;z-index:3;background:none;border:0;color:white;font-size:52px;line-height:1;transform:translateY(-50%);padding:16px}.hero-arrow.prev{left:6%}.hero-arrow.next{right:6%}
.banner{position:relative;min-height:440px;display:grid;place-items:center;padding:70px 30px;color:white;text-align:center}.banner .photo-slot{position:absolute;inset:0;aspect-ratio:auto}.banner .photo-placeholder{background:#858277}.banner .photo-slot:after{content:'';position:absolute;inset:0;background:#0005}.banner .photo-label{position:absolute;bottom:12px;left:12px;padding:6px 12px}.banner .photo-label b{font-size:13px;display:inline}.banner .photo-label small{display:none}.banner .copy{position:relative;max-width:950px;z-index:2}.banner p:last-child{margin-bottom:0}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:64px 32px}.service .copy{padding-top:25px}.service h2{font-size:27px;font-weight:700}.service p{margin:0}.gallery-triptych{display:grid;grid-template-columns:1fr 1fr;gap:26px}.gallery-triptych>.photo-slot:first-child{grid-row:span 2;height:100%;aspect-ratio:auto}.gallery-triptych>.photo-slot{aspect-ratio:1.92}.gallery-triptych.reverse>.photo-slot:first-child{grid-column:2}.gallery-triptych.reverse>.photo-slot:not(:first-child){grid-column:1}.gallery-text{max-width:880px;margin:0 auto 46px;text-align:center}.gallery-text h2{font-size:28px}.legal{max-width:950px;margin:auto;padding:80px 30px}.legal h1{margin-bottom:50px}.legal h2{font-size:26px;margin-top:40px}.legal ul{padding-left:25px}
.contact{padding:90px 24px 80px;background:var(--paper)}.contact-inner{max-width:800px;margin:auto}.contact h2{text-align:center;margin-bottom:44px}.contact form{display:grid;grid-template-columns:1fr 1fr;gap:22px}.contact label{display:block;font-size:16px;font-weight:400}.contact input,.contact textarea{display:block;width:100%;border:1px solid #9d9b94;background:transparent;color:var(--ink);padding:12px;border-radius:0;margin-top:7px}.contact textarea{min-height:160px;resize:vertical}.contact .full{grid-column:1/-1}.contact .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.contact .privacy-note{font-size:14px;margin:0}.contact .privacy-check{display:flex;align-items:flex-start;gap:12px}.contact .privacy-check input{width:18px;height:18px;flex-shrink:0;margin-top:4px}.contact button{justify-self:start}.notice{padding:18px 22px;margin:0 0 28px;border:1px solid #697861;background:#e5ebdf}.notice.error{background:#f5e7e3;border-color:#a66b59}.site-footer{background:var(--paper);padding:65px 24px 70px;text-align:center;font-size:16px}.site-footer .footer-signature{display:block}.site-footer .footer-company{display:block;margin-top:5px;font-size:12px;line-height:1.55;letter-spacing:.01em}.site-footer .legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin-top:36px;font-size:14px}.site-footer p{margin:0}.content-page .entry-title{max-width:1000px;margin:60px auto 30px;padding:0 24px}.empty-page{min-height:45vh;text-align:center;padding:90px 24px}.wp-block-image img{height:auto}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
@media(min-width:1440px){.wrap{padding-inline:0}.site-header{padding-inline:40px}}
@media(max-width:1024px){h1{font-size:38px}h2{font-size:32px}.site-nav ul{gap:28px}.wrap{padding-inline:30px}.split{gap:40px}.projects-split{grid-template-columns:1fr}.projects-split .photo-slot{max-height:850px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1,.hero h2{font-size:38px}.hero .hero-copy{padding:55px 40px}.site-header{min-height:115px;padding:20px 30px}}
@media(max-width:700px){body{font-size:17px}.site-header{min-height:96px;padding:18px 22px;position:relative;flex-wrap:wrap}.brand .brand-name{font-size:43px}.brand img{width:145px;height:62px}.menu-toggle{display:block}.site-nav{width:100%;display:none}.site-nav.is-open{display:block}.site-nav ul{display:block;padding:15px 0 0}.site-nav a{padding:12px 0;font-size:18px}.hero{height:590px}.hero .hero-copy{width:calc(100% - 90px);padding:42px 23px;border-width:2px}.hero h1,.hero h2{font-size:34px}.hero-arrow{font-size:36px;padding:8px}.hero-arrow.prev{left:0}.hero-arrow.next{right:0}.hero-controls{bottom:50px}.hero .photo-label{bottom:7px;left:7px}.wrap{padding-inline:24px}.section{padding:55px 0}.intro{padding:58px 24px}h1{font-size:34px}h2{font-size:29px}h3{font-size:25px}.split,.split.narrow-copy,.two-cards,.services-grid{grid-template-columns:1fr;gap:38px}.split .copy{padding:0}.split .copy:first-child{order:1}.split .photo-slot{order:0}.projects-split .photo-slot{max-height:none}.banner{min-height:480px;padding:60px 25px}.banner h1{font-size:34px}.gallery-triptych{gap:12px}.gallery-triptych>.photo-slot:first-child{min-height:240px}.gallery-triptych .photo-label{padding:8px;font-size:10px}.gallery-triptych .photo-label b{font-size:15px}.gallery-triptych .photo-label small{display:none}.contact{padding:55px 24px}.contact form{grid-template-columns:1fr}.contact h2{margin-bottom:30px}.site-footer{padding:40px 24px}.site-footer .legal-links{gap:12px 20px}.legal{padding:55px 24px}.legal h1{font-size:34px}.photo-placeholder{padding:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Refinements: readable text, visible keyboard focus and generous touch targets. */
:where(p,li,h1,h2,h3,a){overflow-wrap:break-word}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}
.copy>p,.legal>p,.legal>ul{max-width:68ch}
.intro .copy>p,.banner .copy>p{margin-inline:auto}
.site-nav a{min-height:44px;display:flex;align-items:center}
.site-nav a:hover{text-decoration:underline;text-underline-offset:7px}
:is(a,button,input,textarea):focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #323335}
.hero .hero-copy{background:rgba(35,35,31,.76)}
.banner .copy{background:rgba(35,35,31,.76);padding:32px 40px}
.hero-controls button{min-width:44px;min-height:44px;display:grid;place-items:center;background:#323335;border-radius:50%}
.hero-arrow{min-width:44px;min-height:48px;background:rgba(35,35,31,.8);border-radius:3px}
.hero-controls{gap:8px}
.contact input,.contact textarea{background:#fff;min-height:48px}
.contact .privacy-check{padding-block:10px;min-height:44px;cursor:pointer}
.contact .privacy-check input{min-height:22px;width:22px;height:22px;accent-color:#615e55}
.site-footer{border-top:1px solid #d8d6cf}
.site-footer .legal-links a{display:inline-flex;align-items:center;min-height:44px}
.notice{scroll-margin-top:24px}.photo-placeholder{color:#4d4c43}
@media(max-width:700px){
 .hero{height:auto;min-height:660px}
 .hero .hero-copy{padding:28px 20px;width:calc(100% - 108px)}
 .hero h1,.hero h2{font-size:clamp(26px,7.3vw,34px)}
 .hero-controls{bottom:44px}
 .banner .copy{padding:24px 18px}.banner{padding:36px 18px}
 .gallery-triptych,.gallery-triptych.reverse{grid-template-columns:1fr;gap:18px}
 .gallery-triptych>.photo-slot:first-child,.gallery-triptych.reverse>.photo-slot:first-child{grid-row:auto;grid-column:auto;aspect-ratio:3/4;height:auto;min-height:0}
 .gallery-triptych.reverse>.photo-slot:not(:first-child){grid-column:auto}
 .gallery-triptych>.photo-slot:not(:first-child){aspect-ratio:4/3}
 html:not(.js) .site-nav{display:block}html:not(.js) .menu-toggle{display:none}
 .menu-toggle{min-height:44px}.contact button{width:100%}
}
@media(forced-colors:active){.hero-controls .dot[aria-pressed=true]:before{background:Highlight}.photo-placeholder{border:1px solid CanvasText}}

/* Lettering selected by Fulvio: Fraunces headings, Manrope text and controls. */
@font-face{font-family:Fraunces;src:url(assets/fraunces-400.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Fraunces;src:url(assets/fraunces-500.ttf) format('truetype');font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/manrope-400.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/manrope-500.ttf) format('truetype');font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/manrope-700.ttf) format('truetype');font-weight:700;font-style:normal;font-display:swap}
body{font-family:Manrope,Arial,sans-serif;font-weight:400;line-height:1.7}
h1,h2,h3,h4,.hero h1,.hero h2,.two-cards .copy h2,.service h2{font-family:Fraunces,Georgia,serif;font-weight:500;line-height:1.18;letter-spacing:-.015em}
h1 strong,h2 strong,h3 strong,h4 strong{font-weight:inherit}
.site-nav a,.button,.menu-toggle,.contact button{font-family:Manrope,Arial,sans-serif;font-weight:500}
.photo-label,.brand .brand-caption{font-family:Manrope,Arial,sans-serif}
.photo-label b{font-family:Fraunces,Georgia,serif}
@media(max-width:700px){.hero{min-height:700px}.hero .hero-copy{padding:28px 18px}.hero h1,.hero h2{font-size:clamp(26px,7.3vw,34px)}}

/* Informational notice: only technical cookies are used. */
.cookie-notice{position:fixed;z-index:99999;left:24px;right:24px;bottom:24px;margin:auto;max-width:1100px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 24px;background:#fff;color:var(--ink);border:1px solid #8d8a80;box-shadow:0 12px 45px rgba(30,30,26,.22)}
.cookie-notice[hidden]{display:none}.cookie-notice__copy{max-width:720px}.cookie-notice__copy strong{display:block;font-family:Fraunces,Georgia,serif;font-size:22px;margin-bottom:4px}.cookie-notice__copy p{font-size:14px;line-height:1.55;margin:0}.cookie-notice__actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.cookie-notice__actions a{font-size:14px;font-weight:500}.cookie-notice__actions button{min-height:44px;padding:10px 20px;border:1px solid var(--taupe);background:var(--taupe);color:#fff;font-weight:500}
@media(max-width:700px){.cookie-notice{left:12px;right:12px;bottom:12px;display:block;padding:18px}.cookie-notice__actions{justify-content:space-between;margin-top:16px;gap:12px}.cookie-notice__actions button{min-width:116px}}
