/* bschorer.de: clarity, hierarchy, generous spacing. Native system fonts. */
:root:root{--paper:#fff;--ink:#1d1d1f;--muted:#626269;--line:#e5e5e7;--soft:#f5f5f7;--accent:#0066cc;--serif:inherit}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body.wp-theme-elmar-bschorer{background:#fff;color:#1d1d1f;font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body .shell{max-width:1360px;margin:auto;padding:0 64px}
body :is(h1,.site-h1-claim):where(:not(.site-h1-topic)),body h2,body h3{font-family:inherit;letter-spacing:-.035em;font-weight:600;color:#1d1d1f}
body a{transition:color .18s ease;text-underline-offset:5px}
body a:hover{color:#0066cc}
body a:focus-visible,body button:focus-visible,body summary:focus-visible{outline:3px solid #0071e3;outline-offset:5px;border-radius:4px}
body .site-header{padding:22px 0;border:0}
body .header-row{min-height:44px;gap:24px}
body .brand{font:600 21px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.04em;color:#1d1d1f}
body .brand small{display:none}
body .main-nav{gap:24px;font-size:13px}
body .main-nav a{padding:12px 0;min-height:44px;color:#515157;text-decoration:none;border:0;border-radius:0}
body .main-nav a:hover,body .main-nav a[aria-current=page]{color:#0066cc;background:none}
body .main-nav .wedding-link{display:none}
body.home .portfolio-intro{position:static;width:auto;height:auto;clip-path:none;overflow:visible;display:block;padding:78px 0 66px;max-width:950px}
body .portfolio-intro .eyebrow{font-size:13px;line-height:1.5;letter-spacing:.04em;font-weight:500;color:#626269;margin:0 0 20px}
body .portfolio-intro :is(h1,.site-h1-claim):where(:not(.site-h1-topic)){font:600 clamp(44px,5.4vw,76px)/1.06 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.055em;max-width:940px}
body .portfolio-intro .intro-copy{font-size:20px;line-height:1.55;color:#626269;max-width:650px;margin:24px 0 0}
body .intro-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:30px}
body .eb-button,body a.eb-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 23px;border-radius:999px;background:#0071e3;color:#fff;text-decoration:none;font-size:15px;font-weight:500;line-height:1.5}
body a.eb-button:hover{background:#0062c4;color:#fff}
body .eb-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:#0066cc;text-decoration:none}
body .eb-text-link:hover{text-decoration:underline}
body.home .portfolio-selection{padding:0 0 88px}
body .work-grid,body.home .work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:54px 36px;align-items:start}
body.home .work-card:first-child{grid-column:1/-1;margin:0 0 12px}
body.home .work-card:nth-child(3){margin-top:0}
body.home .work-card:last-child:nth-child(even){grid-column:auto}
body .work-card .image{background:#f5f5f7;overflow:hidden;border-radius:0}
body .work-card img,body.home .work-card:first-child img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;transition:opacity .2s}
body .work-card a:hover img{opacity:.96}
body .work-card .card-text{padding:18px 0 0;display:flex;flex-direction:column;align-items:flex-start}
body .work-card .eyebrow{order:2;font-size:12px;letter-spacing:.01em;color:#626269;margin:7px 0 0}
body .work-card h3{font:600 22px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.025em;max-width:600px}
body.home .work-card:first-child h3{font-size:28px;max-width:900px}
body.home .work-card:first-child .card-text{padding-right:0}
body.home .work-card:first-child .card-text:after{content:none}
body.home .work-card .card-text>p:last-child{display:none}
body .section{border-top:1px solid #e5e5e7;padding:60px 0 68px}
body .section-head{display:flex;align-items:baseline;justify-content:space-between;gap:28px;margin-bottom:30px}
body .section-head h2{font-size:36px;line-height:1.2;font-weight:600}
body .section-head>p{max-width:430px;font-size:16px;color:#626269}
body .notebook-entry{display:grid;grid-template-columns:100px 1fr 32px;gap:24px;padding:28px 0;border-color:#e5e5e7}
body .notebook-entry time{font-size:12px;color:#626269}
body .notebook-entry h3{font:600 21px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em}
body .notebook-entry p{font-size:15px;color:#626269;max-width:700px}
body .notebook-entry>a{font-size:20px;min-height:44px;color:#0066cc}
body .wedding-support{background:#f5f5f7;padding:50px 48px;margin:0 0 72px;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;border-radius:20px}
body .wedding-support .eyebrow{font-size:12px;color:#626269;margin:0 0 10px}
body .wedding-support h2{font-size:36px;line-height:1.15;margin:0}
body .wedding-support p.support-copy{font-size:17px;line-height:1.6;max-width:640px;color:#626269;margin-top:16px}
body .page-head{padding:64px 0 48px;max-width:900px}
body .page-head :is(h1,.site-h1-claim):where(:not(.site-h1-topic)){font-size:clamp(36px,4.5vw,60px);line-height:1.1;font-weight:600}
body .page-head .lead{font-size:19px;line-height:1.6;color:#626269;margin-top:22px}
body .page-body{padding-bottom:72px}
body .prose,body .post-content{font-size:18px;line-height:1.85}
body .prose{max-width:760px}
body .prose h2,body .post-content>h2{font-size:30px;font-weight:600;margin-top:42px}
body .post-header{padding:64px 0 48px;max-width:980px}
body .post-header :is(h1,.site-h1-claim):where(:not(.site-h1-topic)){font-size:clamp(34px,4.4vw,58px);line-height:1.12;font-weight:600;letter-spacing:-.045em;max-width:960px}
body .post-header .lead{font-size:19px;line-height:1.7;color:#626269;margin-top:22px}
body .post-content .wp-block-gallery{gap:40px 30px;margin:42px 0;align-items:start}
body .post-content .wp-block-gallery img{height:auto!important;object-fit:contain!important}
body .post-content .wp-block-gallery figcaption{position:static!important;background:none!important;color:#626269!important;font-size:13px;padding:12px 0!important}
body .site-footer{border-top:1px solid #e5e5e7;padding:28px 0 32px;color:#626269}
body .footer-main{padding-bottom:26px;gap:28px}
body .footer-main p{font-size:13px;color:#1d1d1f}
body .footer-links{font-size:12px;gap:24px}
body .footer-small{font-size:12px}
body .mobile-nav summary{min-height:44px;padding:9px 14px;background:#f5f5f7;border-radius:999px}
body .mobile-nav[open] nav{background:#fff;border:1px solid #e5e5e7;border-radius:14px;box-shadow:0 12px 40px #0000000d;z-index:20}
body .mobile-nav nav a{padding:12px;min-height:44px}
@media(max-width:1000px){body .shell{padding:0 36px}body .main-nav{gap:18px}body.home .portfolio-intro{padding:60px 0 54px}body .wedding-support{padding:40px 32px;grid-template-columns:1fr;gap:24px}body .wedding-support .eb-button{justify-self:start}}
@media(max-width:760px){body.wp-theme-elmar-bschorer{font-size:16px}body .shell{padding:0 22px}body .site-header{padding:18px 0}body .brand{font-size:20px}body .main-nav{display:none}body .mobile-nav{display:block}body .mobile-nav[open] nav{top:78px;left:22px;right:22px}body.home .portfolio-intro{padding:45px 0 42px}body .portfolio-intro :is(h1,.site-h1-claim):where(:not(.site-h1-topic)){font-size:44px;line-height:1.07;letter-spacing:-.05em}body .portfolio-intro .intro-copy{font-size:18px;margin-top:20px}body .portfolio-intro .eyebrow{margin-bottom:16px}body .intro-actions{gap:20px;margin-top:24px}body .work-grid,body.home .work-grid{grid-template-columns:1fr;gap:38px}body.home .work-card:first-child{grid-column:auto;margin:0}body .work-card h3,body.home .work-card:first-child h3{font-size:21px}body.home .portfolio-selection{padding-bottom:54px}body .section{padding:38px 0 44px}body .section-head{display:block;margin-bottom:24px}body .section-head h2{font-size:30px}body .section-head>p{margin-top:12px;font-size:15px}body .notebook-entry{grid-template-columns:1fr 28px;gap:10px 16px;padding:24px 0}body .notebook-entry time{grid-column:1/-1}body .notebook-entry h3{font-size:20px}body .wedding-support{padding:30px 24px;border-radius:16px;margin-bottom:44px;gap:22px}body .wedding-support h2{font-size:30px}body .wedding-support p.support-copy{font-size:16px}body .page-head,body .post-header{padding:40px 0 34px}body .post-header :is(h1,.site-h1-claim):where(:not(.site-h1-topic)){font-size:34px}body .prose,body .post-content{font-size:17px}body .post-content .wp-block-gallery{gap:26px}body .footer-main{display:block}body .footer-links{margin-top:20px;gap:12px 20px}body .footer-small{display:block}body .footer-small div{margin-top:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *,body *:before,body *:after{transition:none!important;animation:none!important}}


/* Image containers follow the photo; disable intrinsic placeholder sizing. */
body .work-card .image{display:block;height:auto;min-height:0;max-height:none;aspect-ratio:auto;padding:0;margin:0;background:transparent;outline:none;border:0}
body .work-card .image img,body.home .work-card:first-child .image img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;contain:none!important;contain-intrinsic-size:none!important;content-visibility:visible;padding:0;margin:0;border:0;object-fit:contain}

/* Reserve the photo ratio so lazy-loaded auto-sized images cannot collapse. */
body .work-card .image img,body.home .work-card:first-child .image img{aspect-ratio:auto 3 / 2}
body .work-card .image img[width="1024"][height="681"]{aspect-ratio:auto 1024 / 681}
body .work-card .image img[width="1024"][height="682"]{aspect-ratio:auto 1024 / 682}
body .work-card .image img[width="1024"][height="768"]{aspect-ratio:auto 4 / 3}
/* Shared system typography for page titles, articles and the notebook. */
body :is(.page-head,.post-header) :is(h1,.site-h1-claim):where(:not(.site-h1-topic)) {
  font:600 clamp(36px,4.5vw,60px)/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}
body.wp-theme-elmar-bschorer :is(h2,h3) {
  font-family:inherit;
}
body h4,body h5,body h6 {
  font-family:inherit;
  font-weight:600;
  letter-spacing:-.025em;
}
body .footer-main > div > p {
  font-family:inherit;
  font-weight:600;
}
