/* Full-width canvas; reading columns retain a comfortable measure. */
body.reference-layout{width:100%;max-width:none;margin:0;zoom:1}
.reference-layout .wrap{width:calc(100% - clamp(32px,8vw,128px));max-width:1480px;margin-inline:auto}
.reference-layout header,.reference-layout .offer-hero,.reference-layout .sub-hero{width:100%;max-width:none}
@media(min-width:801px){
 .reference-layout .offer-hero .hero-content{padding-inline-start:max(4vw,calc((100vw - 1480px)/2))}
 .reference-layout .sub-hero .sub-hero-content{padding-inline-start:max(4vw,calc((100vw - 1480px)/2))}
}
@media(max-width:800px){.reference-layout .wrap{width:calc(100% - 32px)}}
@media(max-width:1279px){
 .reference-layout header #nav{display:none;position:absolute;inset:74px 0 auto;flex-direction:column;align-items:stretch;gap:0;padding:24px;background:#17130ff5;border-bottom:1px solid #77603e;max-height:calc(100dvh - 74px);overflow-y:auto}
 .reference-layout header #nav.open{display:flex;position:absolute;flex-direction:column;gap:0}
 .reference-layout header #nav>a{padding:11px 0;font-size:17px}
 .reference-layout .menu-toggle{display:block;font-size:13px}
 .reference-layout header>.header-actions{margin-inline-start:auto}
}
@media(max-width:800px){.reference-layout header #nav{inset-block-start:70px;max-height:calc(100dvh - 70px)}}
@media(min-width:1280px) and (max-width:1439px){
 .reference-layout header{padding-inline:20px;gap:14px}
 .reference-layout header #nav,.reference-layout header #nav.open{gap:12px}
 .reference-layout header #nav>a{font-size:12px}
 .reference-layout header>a:first-child{flex-basis:135px;max-width:135px}
 .reference-layout header .template-logo{max-width:135px}
}
@media(min-width:1280px){.reference-layout .menu-toggle{display:none}}

/* Balance the cinematic frame with the reading column on wide screens. */
@media(min-width:1440px){
 .reference-layout .hero.offer-hero{height:clamp(540px,34vw,680px)}
 .reference-layout .offer-hero .hero-media{width:calc((clamp(540px,34vw,680px) - 74px)*1.77778);max-width:72%;right:max(24px,calc((100vw - 1640px)/2));object-fit:contain;object-position:center}
 .reference-layout .offer-hero .hero-video[data-hero-media=kobieta],.reference-layout .offer-hero .hero-couple{right:max(24px,calc((100vw - 1640px)/2))}
 .reference-layout .offer-hero .hero-content{width:54%;max-width:none;padding-block:100px 36px}
 .reference-layout .offer-hero h1{font-size:clamp(58px,3.8vw,76px)}
 .reference-layout .offer-hero .hero-video-toggle{right:max(24px,calc((100vw - 1480px)/2))}
}
/* A complete card per swipe, rather than a narrow and uneven fragment. */
@media(max-width:800px){
 .reference-layout.home #nowosci>.section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:22px}
 .reference-layout.home #nowosci>.section-heading h2{font-size:clamp(32px,8vw,40px);margin:0}
 .reference-layout.home #nowosci>.section-heading .text-link{max-width:none;font-size:11px;line-height:1.5;margin:0;min-height:44px;display:inline-flex;align-items:center}
 .reference-layout.home #nowosci .ritual-grid{gap:16px;align-items:stretch;scroll-snap-type:x mandatory}
 .reference-layout.home #nowosci .ritual-grid>div{flex-basis:100%;display:flex}
 .reference-layout.home #nowosci .ritual{width:100%;height:auto}
 .reference-layout.home #nowosci .ritual-image{height:auto;flex-basis:auto;aspect-ratio:16/10;flex-shrink:0}
 .reference-layout.home #nowosci .ritual-copy{padding:18px;gap:4px}
 .reference-layout.home #nowosci .ritual-copy h3{font-size:28px;line-height:1.15;min-height:0}
 .reference-layout.home #nowosci .ritual-description{font-size:13px;line-height:1.6}
 .reference-layout.home #nowosci .ritual-meta{margin-top:14px}
 .reference-layout.home #nowosci .card-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
 .reference-layout.home #nowosci .card-actions a{white-space:normal;text-align:center;justify-content:center}
 .reference-layout.home #nowosci .novelty-controls{margin:12px 0 24px;gap:16px}
 .reference-layout .atmosphere-band{height:auto;display:grid;grid-template-columns:minmax(0,1fr);overflow:visible}
 .reference-layout .atmosphere-image{height:auto;aspect-ratio:16/9;overflow:hidden}
 .reference-layout .atmosphere-image .reference-photo{height:100%;width:100%;min-height:0}
 .reference-layout .atmosphere-band>div:nth-child(2){padding:28px 24px 32px;min-width:0}
 .reference-layout .atmosphere-band>div:nth-child(2)>p{font-size:clamp(25px,6.5vw,32px);line-height:1.4;margin:0;max-width:28ch}
 .reference-layout .atmosphere-band>div:nth-child(2)>p br{display:none}
 .reference-layout .atmosphere-band a{display:inline-flex;align-items:center;min-height:44px;font-size:11px;line-height:1.6;letter-spacing:.04em}
 .reference-layout .atmosphere-band .band-values{display:none}
 .reference-layout .preview-format-options,.reference-layout .preview-design-options{flex-wrap:wrap;gap:8px}
 .reference-layout .preview-design-options button{flex:1 1 calc(50% - 8px);min-width:0;white-space:normal;padding:12px}
 .reference-layout #voucher-preview{min-width:0;max-width:100%}
 .reference-layout .premium-print-card .live-print-image{object-fit:contain}
}

@media(max-width:600px){
 .reference-layout .principles{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:28px}
 .reference-layout .principles article{gap:16px;padding:0;min-width:0}
 .reference-layout .principles h3{font-size:25px;margin:0 0 8px}
 .reference-layout .principles p{font-size:14px;line-height:1.65;margin:0;max-width:34ch}
 .reference-layout .studio-story>div:nth-child(2){padding:24px 22px}
 .reference-layout .studio-story p:not(.eyebrow),.reference-layout .studio-visit p:not(.eyebrow){font-size:14px;line-height:1.75}
 .reference-layout .studio-story aside{gap:18px;padding:24px 22px}
 .reference-layout .studio-visit{gap:24px;padding-block:36px}
 .reference-layout .studio-visit h2{font-size:36px;line-height:1.15}
 .reference-layout .studio-visit .hero-buttons{flex-wrap:wrap}
 .reference-layout .studio-visit .hero-buttons .button{flex:1 1 140px;min-width:0;min-height:44px}
 .reference-layout .studio-story .button{min-height:44px}
}
.preview-enlarge{display:block;margin:14px auto;min-height:44px;padding:10px 18px;background:transparent;border:1px solid #a98b5a;color:#ead7b4;font:13px/1.5 var(--sans)}
.voucher-art-dialog{width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px;background:#17130f;color:#ead7b4;border:1px solid #a98b5a;box-sizing:border-box}
.voucher-art-dialog::backdrop{background:#000d}
.voucher-art-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}
.voucher-art-toolbar button{min-height:44px;padding:10px 14px;background:#2b2119;border:1px solid #a98b5a;color:#ead7b4;font:13px/1.4 var(--sans)}
.voucher-art-scroll{overflow:auto;max-height:calc(100dvh - 130px);touch-action:pan-x pan-y pinch-zoom}
.voucher-art-scroll img{display:block;width:100%;height:auto;max-width:none}
.voucher-art-scroll[data-zoom=true] img{width:max(100%,1000px)}

/* One atmosphere image, paired with a clear invitation rather than repeated still lifes. */
.reference-layout .studio-visit{grid-template-columns:minmax(0,1fr);padding-block:36px}
.reference-layout .studio-visit>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:center}
.reference-layout .studio-visit>div>.eyebrow,.reference-layout .studio-visit>div>h2,.reference-layout .studio-visit>div>p{grid-column:1}
.reference-layout .studio-visit .hero-buttons{grid-column:2;grid-row:1/4;margin:0;flex-wrap:wrap}
@media(max-width:800px){
 .reference-layout .studio-visit>div{display:block}
 .reference-layout .studio-visit .hero-buttons{margin-top:20px}
 .reference-layout .atmosphere-band{position:relative;isolation:isolate;display:block;min-height:380px;background:#17130f;overflow:hidden}
 .reference-layout .atmosphere-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;z-index:-2}
 .reference-layout .atmosphere-image .reference-photo{height:100%;width:100%}
 .reference-layout .atmosphere-image img{object-fit:cover;object-position:center}
 .reference-layout .atmosphere-band:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#100e0b0a 0%,#100e0b88 30%,#100e0bf2 67%,#100e0b 100%)}
 .reference-layout .atmosphere-band>div:nth-child(2){padding:170px 24px 28px;max-width:680px;margin-inline:auto}
 .reference-layout .atmosphere-band>div:nth-child(2)>p{font-style:normal;font-size:clamp(26px,5vw,34px);line-height:1.3;color:#f0e4ce;max-width:30ch}
 .reference-layout .atmosphere-band .gold-rule{margin-block:18px 8px}
 .reference-layout .atmosphere-band a{color:#e7c58a}
}

@media(max-width:600px){
 .reference-layout header{padding-inline:14px;gap:10px}
 .reference-layout header>a:first-child{flex-basis:125px;max-width:125px}
 .reference-layout header .template-logo{max-width:125px;width:125px}
 .reference-layout header>.header-actions{display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:center;justify-content:end}
 .reference-layout .header-actions>.site-language-links{display:flex!important;grid-column:1/-1;justify-content:flex-end;gap:2px;border:0;padding:0;font-size:11px;line-height:1}
 .reference-layout .header-actions>.site-language-links a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:28px;padding:0}
 .reference-layout header .header-actions>a[href*=rezerwacja],.reference-layout header .header-actions>a[href*=booking],.reference-layout header .header-actions>a[href*=terminbuchung]{display:none}
 .reference-layout header .account-menu>summary{min-height:32px;padding:5px 10px;font-size:11px}
 .reference-layout header .menu-toggle{min-height:32px;padding:5px;font-size:11px}
 .reference-layout .mobile-language-picker{display:none}
}
@media(min-width:601px) and (max-width:800px){
 .reference-layout .header-actions>.site-language-links{display:flex!important;font-size:12px;padding-inline:10px;gap:6px}
}
@media(min-width:601px) and (max-width:800px){
 .reference-layout.home #nowosci .ritual-grid>div{flex-basis:calc((100% - 16px)/2)}
 .reference-layout.home #nowosci .ritual-copy h3{font-size:26px}
}

/* Languages get their own navigation strip, separated from account controls. */
@media(max-width:600px){
 .reference-layout header{height:70px;margin-bottom:-28px}
 .reference-layout header>.header-actions{display:flex;gap:10px}
 .reference-layout .header-actions>.site-language-links{position:absolute;inset:70px 0 auto;min-height:42px;display:flex!important;justify-content:center;gap:12px;background:#211b14;border-block:1px solid #71593b;z-index:2;font-size:12px}
 .reference-layout .header-actions>.site-language-links a{min-width:52px;min-height:36px;border-radius:2px;color:#e4d3b8}
 .reference-layout .header-actions>.site-language-links a[aria-current=true]{background:#dbc08e;color:#20180f;text-decoration:none}
 .reference-layout .header-actions>.site-language-links>span{color:#937750}
 .reference-layout header #nav,.reference-layout header #nav.open{inset-block-start:112px;max-height:calc(100dvh - 112px)}
}
/* The email preview uses the same rasterized PDF artwork as the downloadable file. */
.reference-layout .gift-voucher[data-design=email][data-live-preview=true]{aspect-ratio:auto;background:#21170f!important}
.reference-layout .gift-voucher[data-design=email][data-live-preview=true]>.gift-voucher-content{display:none}
.reference-layout .gift-voucher[data-design=email][data-live-preview=true]>.premium-print-card{display:block;position:relative;background:#21170f}
.reference-layout .gift-voucher[data-design=email][data-live-preview=true] .live-print-image{aspect-ratio:595.276/419.528;object-fit:contain}
.reference-layout .gift-voucher[data-design=email][data-live-preview=true]:after{display:none}

@media(min-width:801px){
 .reference-layout .offer-hero .hero-media{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 26%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 26%,#000 84%,transparent 100%)}
 .reference-layout .sub-hero.team-hero{height:clamp(410px,28vw,510px);aspect-ratio:auto;padding-top:74px;box-sizing:border-box}
 .reference-layout .team-hero .sub-hero-art{left:0;right:0;bottom:0;overflow:hidden}
 .reference-layout .team-hero .sub-hero-new-photo{left:auto;right:max(0px,calc((100vw - 1640px)/2));width:min(100%,1480px);height:100%;object-fit:cover;object-position:center 58%}
 .reference-layout .team-hero .sub-hero-art:after{background:linear-gradient(90deg,#17120f 0%,#17120fd9 30%,transparent 65%,#17120f22 100%)}
 .reference-layout .sub-hero.team-hero .sub-quote{left:max(4vw,calc((100vw - 1480px)/2));bottom:22px}
 .reference-layout .team-lead{max-width:1480px;width:calc(100% - clamp(32px,8vw,128px));grid-template-columns:minmax(220px,.9fr) minmax(0,1.5fr) minmax(200px,.75fr);margin:32px auto;align-items:stretch}
 .reference-layout .team-lead-photo img{height:100%;min-height:340px;max-height:440px;object-fit:contain}
 .reference-layout .team-lead-copy{min-width:0;padding:28px}
 .reference-layout .team-lead aside{min-width:0}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero){height:clamp(420px,28vw,510px)}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero) .sub-hero-art{top:74px;left:40%;right:0;bottom:0;background:transparent}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero) .sub-hero-new-photo{object-fit:cover;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 25%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 25%,#000 88%,transparent)}
 .reference-layout .sub-hero:not(.team-hero) .sub-hero-content{padding-top:115px;width:min(680px,52%);max-width:none;padding-bottom:36px}
 .reference-layout .sub-hero .sub-values,.reference-layout .sub-hero:not(.team-hero) .sub-quote{display:none}
 .reference-layout .contact-city-hero{height:clamp(390px,27vw,490px);aspect-ratio:auto}
 .reference-layout .contact-city-hero .sub-hero-art{left:32%;right:0;top:74px!important;bottom:0}
 .reference-layout .contact-city-hero .sub-hero-new-photo{object-fit:cover;object-position:center 38%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%);mask-image:linear-gradient(90deg,transparent,#000 35%)}
}
@media(min-width:801px) and (max-width:1100px){
 .reference-layout .team-lead{grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr)}
 .reference-layout .team-lead aside{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-inline-start:0;border-top:1px solid var(--line);margin:0}
}
@media(max-width:800px){
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero){display:flex;flex-direction:column;height:auto;min-height:0;padding-top:70px}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero) .sub-hero-art{position:relative;inset:auto;width:100%;height:clamp(170px,48vw,300px);flex-shrink:0;opacity:1;z-index:0;order:0}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero) .sub-hero-new-photo{position:relative;width:100%;height:100%;object-fit:cover;object-position:center}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero) .sub-hero-content{padding:26px 24px 32px;width:100%;max-width:none;z-index:1}
 .reference-layout .sub-hero:not(.team-hero):not(.contact-city-hero):after{display:none}
 .reference-layout .sub-hero .sub-values,.reference-layout .sub-hero:not(.team-hero) .sub-quote{display:none}
 .reference-layout .voucher-hero .sub-trust{gap:16px}
 .reference-layout .sub-hero h1{font-size:clamp(36px,8vw,44px);line-height:1.1;white-space:normal}
 .reference-layout .contact-city-hero .sub-hero-art{left:0;right:0;top:70px!important;opacity:.8}
 .reference-layout .contact-city-hero .sub-hero-new-photo{object-fit:cover;object-position:70% center}
}

@media(max-width:800px){
 .reference-layout .offer-hero .hero-quote{display:block;position:relative;inset:auto;max-width:none;width:calc(100% - 48px);margin:0 auto 28px;padding:10px 0 0;text-align:center;font-size:clamp(25px,7vw,34px);line-height:1.3;color:#dfc28f}
 .reference-layout .offer-hero .hero-quote .hero-pen-writing{display:block;width:min(100%,360px);height:auto;max-height:84px;margin:auto}
 .reference-layout .offer-hero .hero-quote .hero-localized-writing{font-size:inherit}
}

@media(min-width:801px){
 .reference-layout .offer-hero:after{content:'';position:absolute;inset:74px 0 0 auto;width:max(18%,180px);pointer-events:none;z-index:1;background:linear-gradient(90deg,#17120f00,#17120f 97%)}
 .reference-layout .offer-hero .hero-quote{inset:auto auto 24px max(4vw,calc((100vw - 1480px)/2));width:clamp(280px,29vw,440px);max-width:none;margin:0;text-align:left}
 .reference-layout .offer-hero .hero-quote .hero-pen-writing{width:100%;height:auto}
 .reference-layout .offer-hero .hero-video-toggle{bottom:24px;left:auto;right:max(24px,calc((100vw - 1480px)/2));z-index:4}
 .reference-layout .offer-hero .hero-content{padding-bottom:82px}
}
@media(max-width:600px){
 .reference-layout .path-section{padding-block:24px 32px}
 .reference-layout .path-section .path-grid{gap:12px}
 .reference-layout .path-section .path-choice{display:grid;grid-template-columns:40% minmax(0,1fr);min-height:158px;height:auto}
 .reference-layout .path-section .path-choice img{height:100%;min-height:158px;aspect-ratio:auto;object-fit:cover}
 .reference-layout .path-section .path-caption{padding:16px 14px;min-width:0}
 .reference-layout .path-section .path-caption strong{font-size:29px;line-height:1.1}
 .reference-layout .path-section .path-caption small{font-size:11px;line-height:1.5;margin-top:7px}
 .reference-layout .path-section .path-cta{margin-top:12px;padding-top:9px;font-size:11px;gap:6px}
 .reference-layout .path-section .path-cta>span{width:26px;height:26px;font-size:18px;flex-shrink:0}
}
.reference-layout.home #nowosci .ritual-grid{scroll-margin-top:124px}

@media(max-width:600px){
 .reference-layout header{margin-bottom:-36px}
 .reference-layout .header-actions>.site-language-links{min-height:34px;gap:8px;font-size:11px;border-block-color:#71593b70}
 .reference-layout .header-actions>.site-language-links a{min-width:44px;min-height:28px}
 .reference-layout .header-actions>.site-language-links a[aria-current=true]{background:#58462d;color:#f0ddba}
 .reference-layout header #nav,.reference-layout header #nav.open{inset-block-start:104px;max-height:calc(100dvh - 104px)}
}

.reference-layout .offer-hero .hero-localized-writing{font:inherit;letter-spacing:0}
@media(max-width:800px){
 .reference-layout .offer-hero .hero-quote{position:absolute;top:calc(56.25vw + 10px);bottom:auto;left:22px;right:22px;width:auto;max-width:none;margin:0;padding:0;font:400 clamp(25px,6.5vw,32px)/1.1 DewiQuill,cursive;text-align:center;text-shadow:0 2px 12px #000;z-index:3}
 .reference-layout .offer-hero .hero-video-toggle{top:82px;bottom:auto;right:12px;z-index:4;max-width:150px}
}

/* Match handwriting and timing in every language; resizing does not restart it. */
.hero-script-word{display:inline-block;white-space:nowrap}
.hero-script-letter{display:inline-block;clip-path:inset(0 100% 0 -20%);animation:dewi-script-write .24s linear var(--letter-delay) forwards;animation-play-state:paused}
.ink-ready .hero-script-letter{animation-play-state:running}
@keyframes dewi-script-write{to{clip-path:inset(0 -25% 0 -20%)}}
@media(prefers-reduced-motion:reduce){.hero-script-letter{animation:none;clip-path:none}}
@media(min-width:801px){
 .reference-layout .hero.offer-hero{height:clamp(560px,34vw,680px);min-height:560px}
 .reference-layout .offer-hero .hero-media{height:calc(100% - 74px);width:calc((clamp(560px,34vw,680px) - 74px)*1.77778);max-width:74%;object-fit:contain;object-position:center}
 .reference-layout .offer-hero .hero-content{width:58%;max-width:none;min-width:0;padding-top:100px;padding-bottom:122px;justify-content:center}
 .reference-layout .offer-hero .hero-content h1{font-size:clamp(38px,3.8vw,68px);line-height:1.06;margin-block:10px 16px}
 .reference-layout .offer-hero .hero-quote{width:clamp(280px,31vw,450px);max-width:45%;font-size:clamp(28px,2.6vw,38px);line-height:1.15;bottom:24px;top:auto;text-wrap:balance}
 .reference-layout .offer-hero .hero-localized-writing{display:block;font:inherit}
}
/* Compact footer; desktop columns and their measures are unchanged. */
@media(max-width:800px){
 .reference-layout footer.template-footer.legacy-footer{padding:28px 20px 16px}
 .reference-layout .legacy-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding-bottom:22px}
 .reference-layout .legacy-footer-grid h2{font-size:25px;line-height:1.15;margin:0 0 12px}
 .reference-layout .legacy-footer-grid p,.reference-layout .legacy-footer-grid a,.reference-layout .footer-address{font-size:12px;line-height:1.65}
 .reference-layout .legacy-footer-grid p{margin:8px 0}
 .reference-layout .legacy-footer-grid .footer-brand{margin-bottom:12px}
 .reference-layout .legacy-footer .template-logo{width:150px;max-width:100%;height:34px}
 .reference-layout .legacy-footer-grid nav a{min-height:44px;display:flex;align-items:center;margin:0;padding-block:6px}
 .reference-layout .legacy-footer-grid .social-links a{min-height:44px;min-width:36px;align-items:center;margin:0}
 .reference-layout .legacy-footer .footer-lower{font-size:10px;padding-top:16px;gap:10px}
}
@media(max-width:600px){
 .reference-layout .legacy-footer-grid{gap:22px 16px}
 .reference-layout .legacy-footer-grid nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-items:start}
 .reference-layout .legacy-footer-grid nav h2{grid-column:1/-1;margin-bottom:2px}
 .reference-layout .legacy-footer-grid>div:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;align-items:start}
 .reference-layout .legacy-footer-grid>div:last-child h2{grid-column:1;margin:0}
 .reference-layout .legacy-footer-grid>div:last-child .social-links{grid-column:2;grid-row:1;justify-content:flex-end;gap:8px}
 .reference-layout .legacy-footer-grid>div:last-child p{margin:0}
 .reference-layout .legacy-footer-grid>div:first-child>a:not(.footer-brand){min-height:36px;display:flex;align-items:center;margin:0;overflow-wrap:anywhere;word-break:break-word}
 .reference-layout .legacy-footer-grid .footer-address{font-style:normal;margin-bottom:8px}
 .reference-layout .legacy-footer-grid h2{font-size:24px}
}

/* Even an unselected email sample uses one fixed PDF frame, never a CSS collage. */
.reference-layout .gift-voucher[data-design=email]{aspect-ratio:595.276/419.528;background:#30231b!important}
.reference-layout .gift-voucher[data-design=email]>.gift-voucher-content{display:none}
.reference-layout .gift-voucher[data-design=email]>.premium-print-card{display:block;position:relative;width:100%;aspect-ratio:595.276/419.528;background:#30231b}
.reference-layout .gift-voucher[data-design=email] .live-print-image{aspect-ratio:595.276/419.528;object-fit:contain;width:100%;height:auto}
.reference-layout .gift-voucher[data-design=email]:after{display:none}

@media(min-width:801px){
 .reference-layout .journal-hero .sub-hero-art{left:48%;max-width:780px;margin-inline-start:auto;right:max(0px,calc((100vw - 1640px)/2))}
 .reference-layout .journal-hero .sub-hero-new-photo{object-position:50% 29%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 20%,#000 85%,transparent)}
}
@media(max-width:800px){
 .reference-layout .journal-hero .sub-hero-art{height:clamp(210px,58vw,300px)!important}
 .reference-layout .journal-hero .sub-hero-new-photo{object-position:50% 28%}
}

.hero-pen-writing path{opacity:0;animation-play-state:paused;animation-fill-mode:forwards}
.hero-pen-writing.ink-ready path{animation-play-state:running}
@media(prefers-reduced-motion:reduce){.hero-pen-writing path{animation:none;opacity:1;stroke-dashoffset:0}}
@media(min-width:801px){
 .reference-layout .offer-hero .hero-quote .hero-pen-writing{display:block;width:100%;height:auto;max-height:72px}
 .reference-layout .journal-hero .sub-hero-art{width:min(48%,650px);max-width:650px;left:auto;display:flex;align-items:center;justify-content:center}
 .reference-layout .journal-hero .sub-hero-new-photo{width:100%;height:100%;object-fit:contain;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 88%,transparent)}
}
@media(max-width:800px){
 .reference-layout .journal-hero .sub-hero-art{height:clamp(190px,50vw,260px)!important;background:#17120f;display:flex;justify-content:center}
 .reference-layout .journal-hero .sub-hero-new-photo{object-fit:contain;object-position:center;width:100%;height:100%}
}

/* Keep the full portrait visible: override the shared wide-photo selector precisely. */
.reference-layout .sub-hero.journal-hero .sub-hero-art .sub-hero-new-photo{object-fit:contain;object-position:center;width:100%;height:100%}
.reference-layout.home #nowosci .ritual-grid{scroll-margin-top:12px}

.reference-layout .sub-hero.journal-hero .sub-hero-art{background:#17120f}

@media(max-width:600px){
 .reference-layout.page-studio .sub-hero.room-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(500px,118vw,650px);height:auto;padding:104px 24px 36px}
 .reference-layout.page-studio .sub-hero.room-hero .sub-hero-art{position:absolute;inset:0!important;width:100%;height:100%;max-height:none;opacity:1;z-index:-2;background:none;display:block}
 .reference-layout.page-studio .sub-hero.room-hero .sub-hero-new-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 35%;mask-image:none;-webkit-mask-image:none}
 .reference-layout.page-studio .sub-hero.room-hero:after{display:block;content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#100d0910 5%,#100d0940 28%,#100d09d9 64%,#100d09f5 100%)}
 .reference-layout.page-studio .sub-hero.room-hero .sub-hero-content{position:relative;z-index:1;width:100%;max-width:600px;padding:0;margin:0}
 .reference-layout.page-studio .sub-hero.room-hero h1{font-size:clamp(38px,8vw,52px);line-height:1.08;text-wrap:balance}
 .reference-layout.page-studio .sub-hero.room-hero .sub-hero-content>p:not(.eyebrow){font-size:14px;line-height:1.7;color:#e7dfd2}
}

/* Journal: a single panoramic image with the copy integrated into its frame. */
.reference-layout.page-journal .sub-hero.journal-hero{position:relative;display:flex;flex-direction:column;justify-content:center;isolation:isolate;overflow:hidden}
.reference-layout.page-journal .sub-hero.journal-hero .sub-hero-art{position:absolute;inset:0!important;width:100%;max-width:none;height:100%!important;max-height:none;margin:0;opacity:1;z-index:-2;background:none;display:block}
.reference-layout.page-journal .sub-hero.journal-hero .sub-hero-art .sub-hero-new-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 56%;mask-image:none;-webkit-mask-image:none;filter:none}
.reference-layout.page-journal .sub-hero.journal-hero:after{content:'';display:block;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#100d09ed 0%,#100d09c9 28%,#100d0950 52%,#100d0920 100%)}
.reference-layout.page-journal .sub-hero.journal-hero .sub-hero-content{position:relative;z-index:1;max-width:680px;width:52%;padding-block:126px 48px}
@media(min-width:801px){
 .reference-layout.page-journal .sub-hero.journal-hero{height:clamp(440px,31vw,600px);min-height:440px}
}
@media(max-width:800px){
 .reference-layout.page-journal .sub-hero.journal-hero{height:auto;min-height:520px;padding:140px 24px 36px;justify-content:flex-end}
 .reference-layout.page-journal .sub-hero.journal-hero .sub-hero-content{width:100%;max-width:580px;padding:0;margin:0}
 .reference-layout.page-journal .sub-hero.journal-hero .sub-hero-art .sub-hero-new-photo{object-position:50% 35%}
 .reference-layout.page-journal .sub-hero.journal-hero:after{background:linear-gradient(180deg,#100d0910 0%,#100d0940 24%,#100d09c9 60%,#100d09f5 100%)}
 .reference-layout.page-journal .sub-hero.journal-hero h1{font-size:44px;line-height:1.1;margin-block:0 14px}
 .reference-layout.page-journal .sub-hero.journal-hero h2{font-size:28px;line-height:1.2;margin-block:0 18px}
 .reference-layout.page-journal .sub-hero.journal-hero .sub-hero-content>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#e7dfd2}
}

@media(min-width:801px){.reference-layout.page-journal .sub-hero.journal-hero .sub-hero-art .sub-hero-new-photo{object-position:50% 20%}}

/* Contact: one frame geometry, independent of legacy content-box rules. */
.reference-layout.page-kontakt .sub-hero.contact-city-hero{box-sizing:border-box;position:relative;display:flex;flex-direction:column;justify-content:center;isolation:isolate;overflow:hidden;aspect-ratio:auto;height:auto;min-height:480px;padding:136px 24px 38px}
.reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-art{position:absolute;inset:0!important;width:100%;height:auto!important;max-width:none;max-height:none;opacity:1;z-index:-2;background:none}
.reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-art:after{display:none}
.reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-new-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 38%;mask-image:none;-webkit-mask-image:none}
.reference-layout.page-kontakt .sub-hero.contact-city-hero:after{content:'';position:absolute;inset:0;display:block;z-index:-1;background:linear-gradient(180deg,#100d0915 0%,#100d0950 26%,#100d09d9 64%,#100d09f5 100%)}
.reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-content{position:relative;inset:auto;transform:none;z-index:1;width:100%;max-width:580px;min-width:0;padding:0;margin:0}
.reference-layout.page-kontakt .sub-hero.contact-city-hero h1{font-size:clamp(38px,9vw,52px);line-height:1.06;overflow:visible;white-space:normal;max-width:100%;margin-inline:0}
.reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-content>p:not(.eyebrow){color:#eee4d5;line-height:1.7;font-size:14px}
@media(max-width:800px){.reference-layout.page-kontakt .sub-hero.contact-city-hero{justify-content:flex-end}}
@media(min-width:801px){
 .reference-layout.page-kontakt .sub-hero.contact-city-hero{height:calc(100vw / 3 + 74px);min-height:520px;max-height:none;padding:110px max(32px,calc((100vw - 1480px)/2)) 36px}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-art{inset:74px 0 0!important}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-new-photo{object-position:center top}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-content{width:min(650px,62%);max-width:650px}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero h1{font-size:clamp(42px,4vw,66px)}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero:after{background:linear-gradient(90deg,#100d09d9 0%,#100d09a0 33%,#100d0920 65%,#100d0900 100%)}
}

/* Wide displays: outer alignment is a margin, never padding inside a fixed text width. */
@media(min-width:801px){
 .reference-layout .sub-hero:not(.contact-city-hero) .sub-hero-content{box-sizing:border-box;padding-inline:0;margin-inline-start:max(32px,calc((100vw - 1480px)/2));width:min(680px,calc(52vw - 32px));max-width:680px;min-width:0}
 .reference-layout .sub-hero:not(.contact-city-hero) .sub-hero-content>p:not(.eyebrow){max-width:58ch}
 .reference-layout .sub-hero.voucher-hero{height:auto;min-height:500px;box-sizing:border-box;padding-block:0}
 .reference-layout .sub-hero.voucher-hero .sub-hero-content{width:min(740px,calc(56vw - 32px));max-width:740px;padding-block:124px 44px}
 .reference-layout .sub-hero.voucher-hero h1{font-size:clamp(44px,3.6vw,64px);line-height:1.08;max-width:none;white-space:normal}
 .reference-layout .sub-hero.voucher-hero h2{font-size:clamp(25px,2vw,34px);line-height:1.2;max-width:none;margin-block:0 22px}
 .reference-layout .sub-hero.voucher-hero .sub-hero-content>p br{display:none}
 .reference-layout .sub-hero.voucher-hero .sub-trust{flex-wrap:wrap;gap:20px 28px}
 .reference-layout .sub-hero.team-hero{display:flex;flex-direction:column;justify-content:center;height:auto;min-height:510px;padding-block:112px 36px}
 .reference-layout .sub-hero.team-hero .sub-hero-content{padding-block:0}
 .reference-layout .sub-hero.team-hero .sub-quote{position:relative;inset:auto;margin:24px 0 0 max(32px,calc((100vw - 1480px)/2));max-width:580px;text-align:start}
 .reference-layout.page-studio .sub-hero.room-hero{height:auto;min-height:490px;box-sizing:border-box}
 .reference-layout.page-studio .sub-hero.room-hero .sub-hero-content{padding-block:118px 48px}
 .reference-layout .offer-hero .hero-quote{left:max(49%,calc((100vw - 1480px)/2 + 700px));right:auto;top:auto;bottom:84px;width:clamp(280px,29vw,450px);max-width:36%;text-align:center}
}
@media(min-width:601px) and (max-width:800px){
 .reference-layout .offer-hero .hero-quote{left:42%;right:24px;top:calc(56.25vw - 34px);width:auto;max-width:none;margin:0}
}
.reference-layout .studio-story,.reference-layout .offer-spotlight,.reference-layout .philosophy,.reference-layout .atmosphere-band{width:calc(100% - clamp(32px,8vw,128px));max-width:1480px;margin-inline:auto;box-sizing:border-box}
.reference-layout .studio-story>*,.reference-layout .offer-spotlight>*,.reference-layout .principles>*{min-width:0}
.reference-layout .studio-story{margin-block:32px;grid-template-columns:minmax(220px,.9fr) minmax(0,1.45fr) minmax(190px,.75fr);align-items:stretch}
.reference-layout .studio-story-art>.reference-photo{width:100%;flex:1 1 auto;left:0;aspect-ratio:4/3}
.reference-layout .studio-story>div:nth-child(2){padding:28px}
.reference-layout .offer-spotlight{grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(220px,.8fr);margin-block:40px;border:1px solid var(--line)}
.reference-layout .spotlight-photo>div{padding:32px;max-width:340px}
.reference-layout .spotlight-copy{padding:32px;overflow-wrap:break-word}
.reference-layout .spotlight-actions{margin:28px 24px 28px 0;padding-inline-start:24px;min-width:0}
.reference-layout .spotlight-actions .button{white-space:normal;text-align:center;min-height:44px}
.reference-layout .philosophy>.wrap{width:100%;max-width:none}
.reference-layout .principles{grid-template-columns:repeat(4,minmax(0,1fr))}
.reference-layout .principles h3,.reference-layout .principles p{overflow-wrap:break-word}
@media(max-width:1100px){
 .reference-layout .studio-story{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 .reference-layout .studio-story aside{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--line);display:flex;flex-direction:row;flex-wrap:wrap;gap:24px}
 .reference-layout .offer-spotlight{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reference-layout .spotlight-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:0;margin:0;padding:0 28px 28px}
 .reference-layout .spotlight-actions .present-note{grid-column:1/-1}
 .reference-layout .principles{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
}
@media(max-width:800px){
 .reference-layout .studio-story,.reference-layout .offer-spotlight{grid-template-columns:minmax(0,1fr)}
 .reference-layout .studio-story aside{flex-direction:column}
 .reference-layout .studio-story>div:nth-child(2),.reference-layout .spotlight-copy{padding:24px}
}
@media(max-width:600px){.reference-layout .principles{grid-template-columns:minmax(0,1fr)}}
/* Keep the panorama visible in a shorter contact frame on monitors. */
@media(min-width:801px){
 .reference-layout.page-kontakt .sub-hero.contact-city-hero{height:auto;min-height:500px;padding-block:118px 40px}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-art{background:#100d09}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-new-photo{object-fit:contain;object-position:center top}
}
/* Consent controls must never inherit the text-field minimum height. */
.reference-layout .deposit-explanation .check,.reference-layout .native-checkout .native-terms{display:flex;flex-direction:row;align-items:flex-start;gap:12px;min-height:0;padding:12px 0;background:transparent;border:0;color:#e8ddcb;font-size:13px;line-height:1.65}
.reference-layout .deposit-explanation .check input[type=checkbox],.reference-layout .native-checkout .native-terms input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px!important;min-width:18px;max-width:18px;height:18px!important;min-height:18px!important;max-height:18px;padding:0;margin:4px 0 0;border-radius:2px;accent-color:#c9a464}
.reference-layout .native-checkout .native-terms a{min-width:0;white-space:normal;line-height:1.65;text-decoration:underline;text-underline-offset:3px}
/* Contact stays photographic edge to edge, without dark side panels. */
@media(min-width:801px){
 .reference-layout.page-kontakt .sub-hero.contact-city-hero{min-height:460px;padding-block:124px 40px}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-new-photo{object-fit:cover;object-position:center 8%;mask-image:none;-webkit-mask-image:none}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero:after{background:linear-gradient(180deg,#100d0920,#100d0950)}
 .reference-layout.page-kontakt .sub-hero.contact-city-hero .sub-hero-content{text-shadow:0 2px 16px #000c}
}
.reference-layout #existing-purchase{display:none!important}
.reference-layout .offer-hero .hero-incense{max-width:100%;clip-path:inset(-30% 0 0)}
.reference-layout .guest-reviews .reviews-window{width:100%;max-width:100%;min-width:0;overflow:hidden;contain:inline-size}
@media(max-width:800px){
 .reference-layout .novelty-controls button,.reference-layout .review-controls button{appearance:none;-webkit-appearance:none;color:#e4bf78!important;-webkit-text-fill-color:#e4bf78;background:linear-gradient(145deg,#36291c,#1a140f)!important;border:1px solid #b99052!important;min-width:48px;min-height:48px;border-radius:3px;font-weight:800;font-size:25px;line-height:1;box-shadow:inset 0 1px 0 #e7c38722}
 .reference-layout .review-controls [data-review-pause]{font-size:12px;padding-inline:16px}
 .reference-layout .novelty-controls button:focus-visible,.reference-layout .review-controls button:focus-visible{outline:2px solid #e4bf78;outline-offset:3px}
}
