/* Das Portrait Atelier — responsive, standalone presentation. */
:root{color-scheme:light;--ink:#26333b;--accent:#8d562f;--menu:#985440;--line:#d9dee0;--paper:#fff;--quiet:#f2f4f4}
*{box-sizing:border-box}
html{font-size:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:1.0625rem;line-height:1.75;overflow-wrap:break-word}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-underline-offset:.23em;text-decoration-thickness:1px}
a:hover{color:var(--accent)}
a:focus-visible{outline:3px solid #a7622c;outline-offset:5px}
p{margin:0 0 1.3em}
p:empty{display:none}
strong{font-weight:600}
.masthead{padding:28px 24px 24px;background:#fff}
.brand{display:block;max-width:760px;margin:auto}
.brand img{width:100%}
nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 28px;padding:17px 24px;background:var(--menu);color:white;border-bottom:3px solid #c89873}
nav>div{display:flex;align-items:center}
nav a{display:inline-block;min-height:44px;padding:8px 0;text-decoration:none;font-size:1rem}
nav em{font-style:normal}
nav a:hover{color:white;text-decoration:underline}
nav a:focus-visible{outline-color:white}
main{max-width:1120px;margin:auto;padding:60px 32px 80px}
h1,.intro{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.38;letter-spacing:-.025em}
h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 36px}
h1 strong,h1 em{font-weight:400;font-style:normal}
.intro{font-size:clamp(1.6rem,2.7vw,2.25rem);max-width:1000px;margin-bottom:36px;padding-left:24px;border-left:3px solid #b88c64}
.intro em{font-style:normal}
.prose{min-width:0}
.introduction{max-width:900px;margin-bottom:44px}
.introduction em{font-style:normal}
.portrait-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;margin:48px 0 56px}
.portrait-options section{min-width:0}
.option-label{font-family:Georgia,serif;font-size:1.35rem;line-height:1.5;min-height:66px;margin-bottom:20px}
.option-label p{margin:0}
.artwork{min-width:0}
.artwork img{margin:auto;max-height:750px;object-fit:contain;box-shadow:0 8px 28px #182a3510}
.portrait-options .artwork{background:var(--quiet);padding:24px}
.portrait-options .artwork img{height:420px;width:auto;max-width:100%;object-fit:contain;box-shadow:none}
.caption{margin-top:20px;font-size:1rem}
.closing{max-width:850px;margin:44px auto}
.closing:last-child{margin-bottom:0}
.story{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:64px;align-items:start;margin:56px 0 80px}
.story.reverse .artwork{grid-column:1;grid-row:1}
.story.reverse .prose{grid-column:2}
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 56px;margin:56px 0}
.gallery>.artwork{align-self:center}
figure{margin:0;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.paintings img{max-height:550px}
figcaption{font-size:.9375rem;color:#56636a;text-align:center;padding-top:22px}
figcaption p{margin:0}
figcaption p+p{display:none}
.next-page{border-top:1px solid var(--line);padding:28px 0;text-align:center;font-size:1.1rem}
.image-heading img{margin:0 auto 40px}
.atelier-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:56px;align-items:start}
.studio-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.studio-gallery>.artwork:first-child{grid-column:1/-1}
.studio-gallery img{width:100%}
.pastel-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}
.pastel-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-content:start;align-items:center}
.pastel-gallery>.artwork:first-child{grid-column:1/-1}
.pastel-gallery>.artwork:last-child{grid-column:1/-1}
.pastel-gallery img{max-height:440px}
.page-heading p{max-width:850px;margin-left:auto;margin-right:auto}
.page-heading:has(>p+p){max-width:850px;margin:auto}
.page-heading:has(>p+p) h1{margin-bottom:40px}
.payment-heading{max-width:850px;margin:36px auto 20px;font-family:Georgia,serif;font-size:1.5rem}
.payment-options{max-width:850px;margin:auto}
.payment-options p{margin:0}
.payment-options a{display:block;min-height:56px;padding:16px 22px;border:1px solid var(--line);margin:0 0 12px;text-decoration:none;background:var(--quiet)}
.payment-options a:hover{border-color:var(--accent);background:#faf5f0}
.link-directory{max-width:850px;margin:auto}
.link-directory p{padding-bottom:12px;border-bottom:1px solid var(--line)}
footer{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 32px;max-width:1120px;margin:auto;border-top:1px solid var(--line);padding:32px;color:#56636a;font-size:1rem}
footer p{margin:0}
footer a{display:inline-block;padding:8px 0;min-height:44px}
@media(min-width:1500px){main{max-width:1240px}.portrait-options .artwork img{height:460px}}
@media(max-width:800px){nav{gap:4px 22px;padding:12px 20px}main{padding:36px 24px 52px}.story,.atelier-layout,.pastel-layout{gap:32px}.gallery{gap:40px 28px}.portrait-options{gap:28px}.portrait-options .artwork{padding:14px}.portrait-options .artwork img{height:340px}.studio-gallery{grid-template-columns:1fr}.studio-gallery>.artwork:first-child{grid-column:auto}.pastel-gallery{grid-template-columns:1fr}.pastel-gallery>.artwork:first-child,.pastel-gallery>.artwork:last-child{grid-column:auto}}
@media(max-width:600px){body{font-size:1rem;line-height:1.75}.masthead{padding:16px 12px}nav{justify-content:flex-start;gap:0; padding:10px 16px}nav>div{flex:1 1 50%;padding:0 8px}nav a{font-size:.9375rem}main{padding:32px 20px 40px}.intro{padding-left:16px;font-size:1.65rem;margin-bottom:28px}.portrait-options,.story,.gallery,.atelier-layout,.pastel-layout{grid-template-columns:1fr;gap:32px}.portrait-options{margin:32px 0}.option-label{min-height:0;margin-bottom:16px}.portrait-options .artwork{padding:20px}.portrait-options .artwork img{height:auto;max-height:none;width:auto}.story{margin:32px 0 48px}.story.reverse .artwork,.story.reverse .prose{grid-column:auto;grid-row:auto}.story .artwork{grid-row:2}.artwork img{max-height:none}.gallery{margin:36px 0;gap:44px}.paintings img{max-height:none}.closing{margin:32px auto}.studio-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.studio-gallery>.artwork:first-child{grid-column:1/-1}.pastel-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pastel-gallery>.artwork:first-child,.pastel-gallery>.artwork:last-child{grid-column:1/-1}footer{justify-content:flex-start;padding:24px 20px;gap:10px 24px}h1{font-size:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{nav,footer{display:none}main{max-width:none;padding:20px}.masthead{padding:0}.brand{max-width:500px}body{font-size:12pt;color:black}.artwork img{max-height:18cm}a{color:inherit}.story,figure{break-inside:avoid}}
.contact-page{max-width:900px}
.contact-page form{margin-top:32px}
.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-page label{display:block;font-weight:600;margin:0 0 8px}
.contact-page label span{font-weight:400;font-size:.875rem}
.contact-page input:not([type=hidden]),.contact-page textarea{font:inherit;width:100%;min-width:0;border:1px solid #899397;border-radius:4px;background:white;color:var(--ink);padding:12px 14px;margin:0 0 24px}
.contact-page textarea{resize:vertical;min-height:180px}
.contact-page input:focus-visible,.contact-page textarea:focus-visible{outline:3px solid var(--menu);outline-offset:2px}
.contact-note{font-size:.9375rem;color:#45545c}
.contact-page button{font:inherit;font-weight:600;background:var(--menu);color:white;border:0;border-radius:4px;padding:14px 24px;min-height:48px;cursor:pointer}
.contact-page button:hover:not(:disabled){background:#81432f}
.contact-page button:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.contact-page button:disabled{opacity:.6;cursor:default}
.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#contact-status{margin-top:20px}
.contact-error{color:#9b3024}
.contact-success{color:#285b3c}
nav a[aria-current=page]{text-decoration:underline}
@media(max-width:600px){.contact-fields{grid-template-columns:1fr;gap:0}.contact-page button{width:100%}}
