/*
Theme Name: Conception & Co. Vorschau
Description: Private WordPress-Fassung der Website von Conception & Co.
Version: 1.1.2
Requires PHP: 8.0
Text Domain: conception-und-co
*/
:root{--ink:#282c22;--paper:#faf7ef;--sage:#dbe1d0;--olive:#414c37;--mustard:#b78028;--line:#cbc9bc}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 system-ui,sans-serif}a{color:inherit;text-underline-offset:.23em}button{font:inherit;color:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #76510b;outline-offset:4px}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:.5rem;z-index:2}.skip:focus{top:1rem}.private{background:var(--olive);color:white;text-align:center;font-size:.69rem;letter-spacing:.23em;padding:.32rem}header,main,footer{max-width:1360px;margin:auto;padding-inline:clamp(1rem,5vw,5rem)}header{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;padding-block:1rem;border-bottom:1px solid var(--line)}.logo{width:200px;display:block}nav{display:flex;flex-wrap:wrap;gap:.55rem 1.35rem}nav a{text-decoration:none;font-size:.88rem}nav a:hover{text-decoration:underline}section{padding-block:clamp(2.5rem,6vw,6rem);border-bottom:1px solid var(--line)}.hero,.bio{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,5vw,5rem);align-items:center}.hero p{max-width:52ch}.hero img{aspect-ratio:1.13;object-fit:cover;object-position:center}.kicker{font-size:.73rem;font-weight:750;letter-spacing:.15em;color:#4c563e}h1,h2,h3,h4{font-family:Georgia,serif;font-weight:400;line-height:1.08;margin:.3em 0}h1{font-size:clamp(2.25rem,4.25vw,4.5rem);letter-spacing:-.045em;overflow-wrap:anywhere}h2{font-size:clamp(2.4rem,5vw,5rem);letter-spacing:-.05em}h3{font-size:clamp(1.7rem,3.25vw,3.2rem)}h4{font-size:1.65rem}figure{margin:0}figure img{width:100%;display:block}figcaption,.note{font-size:.85rem;color:#54584b}figcaption{padding-top:.4rem}.cta{display:inline-block;background:var(--olive);color:white;padding:.7rem 1rem;text-decoration:none;margin-top:.5rem}.intro{margin-top:clamp(3rem,7vw,7rem)}.index a{display:grid;grid-template-columns:2rem minmax(8rem,1fr) 2fr 1rem;gap:1rem;align-items:center;text-decoration:none;border-top:1px solid var(--line);padding:1rem .5rem}.index a:hover{background:var(--sage)}.index strong{font:1.35rem Georgia,serif}.index span{font-size:.85rem}.teaser{margin-top:2rem;background:var(--sage);padding:1.5rem}.teaser a{display:inline-block;margin-right:1rem}.service{display:grid;grid-template-columns:1fr 2fr;gap:2rem;padding:2rem 0;border-top:1px solid var(--line)}.tags{font-size:.88rem;font-weight:650;color:#4c563e}.gallery{display:grid;grid-template-columns:1.45fr 1fr;gap:1.5rem;align-items:start}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.project button{width:100%;display:block;border:1px solid transparent;background:none;padding:.25rem;text-align:left}.project button[aria-pressed=true]{border-color:var(--olive)}.cover{display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:3/4;padding:.65rem;background:#dae0ce;overflow-wrap:anywhere}.cover-1,.cover-4{background:#e8d9ba}.cover-2{background:#e7ddd3}.cover strong{font:clamp(1rem,2vw,1.7rem) Georgia,serif}.cover span,.cover small,.tile-label{font-size:.72rem}.details{position:sticky;top:1rem;min-height:19rem;background:#eee9de;border-top:4px solid var(--mustard);padding:1rem 1.3rem}.names{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.names span{display:grid;place-items:center;text-align:center;min-height:5rem;padding:.7rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .25s}.names span:hover{background:var(--sage)}.names span.arrive{animation:arrive .45s ease both}@keyframes arrive{from{opacity:.4;transform:translateY(5px)}}.bio{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;margin-top:2rem}.bio img{max-width:460px}.bio h3{margin-top:1.4rem}footer{display:flex;flex-wrap:wrap;gap:1.3rem;padding-block:2rem;font-size:.87rem}summary{cursor:pointer}[hidden]{display:none!important}@media(max-width:760px){header{align-items:flex-start;flex-direction:column}.logo{width:170px}.hero,.bio,.service,.gallery{grid-template-columns:1fr}.hero img{aspect-ratio:auto}.bio img{max-width:340px}.index a{grid-template-columns:1.6rem 1fr 1rem;gap:.4rem}.index a span:nth-child(3){grid-column:2;grid-row:2}.index b{grid-column:3;grid-row:1}.names{grid-template-columns:repeat(2,1fr)}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.details{display:none}.project .panel{background:#eee9de;padding:.7rem;margin:.4rem 0}.project .panel h3{font-size:1.25rem}.project .panel p{font-size:.85rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Masthead and reading flow */
:root{--paper:#f8f6ef;--line:#d2cfc3;--ink:#292d24}
header{display:grid;justify-items:center;gap:1.2rem;padding-block:1.35rem 1rem}
.logo{width:clamp(245px,31vw,385px);max-width:100%;height:auto}
nav{justify-content:center;gap:.55rem clamp(.7rem,3vw,2.4rem)}
nav a{font-size:.86rem}
section{padding-block:clamp(2.8rem,6vw,5rem)}
.hero,.bio{display:block;max-width:760px;margin-inline:auto}
.hero h1{max-width:23ch;font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.035em;overflow-wrap:normal}
.hero p,.bio p{max-width:65ch}
.hero figure,.bio figure{width:min(100%,380px);margin:2.15rem 0 0 auto}
.hero img{aspect-ratio:auto;object-fit:contain}
.bio figure{margin:0 0 2rem auto}
h2{font-size:clamp(1.95rem,3.5vw,3rem);letter-spacing:-.035em}
h3{font-size:clamp(1.45rem,2.55vw,2.15rem)}
h4{font-size:1.35rem}
.intro{margin-top:clamp(2.7rem,5.5vw,4.6rem)}
.teaser{background:transparent;border-block:1px solid var(--line);padding:1rem 0}
.service{display:block;padding:1.45rem 0}
.service p{max-width:72ch}
.service h4{margin-top:.65rem}
.gallery{margin-top:1.35rem}
.details{min-height:19rem;background:#efede5}
.cover{aspect-ratio:4/5}
@media(max-width:760px){
  header{justify-items:center}
  .hero figure,.bio figure{width:min(90%,340px)}
}

/* Navigation and editorial page rhythm */
header{grid-template-columns:1fr;gap:1rem}
nav a{padding:.4rem .1rem;border-bottom:2px solid transparent}
nav a[aria-current=page]{border-color:var(--mustard);font-weight:700}
main>section{min-height:48vh}
main>section:not(#start)>h2{margin-bottom:.85em}
main>section:not(#start)>.kicker,.home-index>.kicker{display:flex;align-items:center;gap:.7rem}
main>section:not(#start)>.kicker::before,.home-index>.kicker::before{content:"";width:1.7rem;height:2px;background:var(--mustard)}
.hero{max-width:790px}
.hero>div{border-left:3px solid var(--mustard);padding-left:clamp(.85rem,3vw,2.2rem)}
.hero figure{margin-top:2.8rem}
.home-index{background:#e8ebdf;padding:clamp(1rem,4vw,2.5rem);margin-bottom:1rem}
.home-index p:last-child{margin-bottom:0}
.service{max-width:820px}
.teaser a{font-weight:650}

.portfolio-features{margin-top:2.5rem}
.feature{border-top:1px solid var(--line);padding-block:clamp(1.5rem,4vw,3rem)}
.feature.has-covers{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:clamp(1.2rem,4vw,3.5rem)}
.cover-spread{background:#e8ebdf;padding:clamp(.8rem,3vw,2rem);display:flex;justify-content:center;align-items:end;gap:clamp(.5rem,2vw,1.2rem)}
.feature:nth-child(2) .cover-spread{background:#ebe5d8}
.feature:nth-child(3) .cover-spread{background:#e9e1d8}
.cover-spread figure{min-width:0;max-width:210px;flex:1}
.cover-spread img{height:auto;max-height:280px;object-fit:contain}
.cover-spread figcaption{font-size:.74rem;text-align:center}
.project-copy p{max-width:52ch}
.text-project{padding-left:1.2rem;border-left:2px solid var(--mustard)}
@media(max-width:720px){.feature.has-covers{grid-template-columns:1fr}}

header{max-width:none;padding:0;gap:0}
header .masthead{width:100%;background:#899176;display:grid;place-items:center;padding:.65rem 1rem}
header nav{padding:.55rem 1rem}
header .logo{width:clamp(245px,34vw,395px)}
.cover-trigger{display:block;width:100%;padding:0;border:0;background:transparent}
.cover-trigger:hover img,.cover-trigger[aria-expanded=true] img{outline:2px solid var(--olive);outline-offset:3px}
.feature.has-covers .project-copy{visibility:hidden}
.feature.show-info .project-copy{visibility:visible}
.cover-spread:has(figure:nth-child(4)){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}
.cover-spread:has(figure:nth-child(4)) img{height:auto;aspect-ratio:3/4}
@media(max-width:720px){
  .cover-spread:has(figure:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature.has-covers:not(.show-info) .project-copy{display:none}
}


.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.3rem,3vw,2.6rem) clamp(1rem,2.4vw,2.1rem);margin-top:2rem}
.book-tile{min-width:0;--book-mat:#e4e8dc}
.book-tile:nth-child(3n+2){--book-mat:#ece5da}
.book-tile:nth-child(3n+3){--book-mat:#eee7db}
.book-tile .cover-trigger{aspect-ratio:1;display:grid;place-items:center;grid-template-rows:minmax(0,1fr);padding:15% 18%;background:var(--book-mat)}
.book-tile img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.book-caption{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem;border-top:1px solid var(--line);margin-top:.6rem;padding-top:.45rem}
.book-caption h3{font-size:clamp(1rem,1.6vw,1.3rem);margin:0}
.book-caption time{font-size:.83rem;font-variant-numeric:tabular-nums}
.book-tile .project-copy{visibility:hidden;font-size:.83rem;line-height:1.45}
.book-tile.show-info .project-copy{visibility:visible}
.book-tile .project-copy p{margin:.25rem 0}
.book-meta{font-weight:650}
@media(max-width:720px){
  .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem .9rem}
  .book-tile:not(.show-info) .project-copy{display:none}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.book-tile{position:relative}
.book-tile.show-info{z-index:1}
.book-tile .project-copy{position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:.75rem;border:1px solid var(--line);box-shadow:0 .5rem 1rem #25291f26}
.book-tile .project-copy h3{font-size:1.05rem;margin:0 0 .45rem}
.book-tile .project-copy .book-role{margin-top:.65rem}

/* Clip the white studio backgrounds at the edges of the photographed books. */
.book-tile .cover-trigger img{width:auto;max-width:100%;height:100%}
.book-tile img[src$="/emmi.webp"]{clip-path:polygon(2.8% 8.5%,4.3% 6.8%,8% 5.2%,12% 4.7%,96.7% 4.7%,96.7% 93.1%,92.4% 93.1%,92.4% 96%,2.8% 96%)}
.book-tile img[src$="/istanbul.webp"]{clip-path:polygon(3.1% 5.5%,9.3% 2.2%,96.8% 2.2%,96.8% 94.5%,92% 95%,92% 97.8%,3.1% 97.8%)}
.book-tile img[src$="/nelson.webp"]{clip-path:polygon(2.9% 5.4%,9.5% 2.2%,97.1% 2.2%,97.1% 94.6%,94.5% 94.6%,94.5% 97.8%,2.9% 97.8%)}
#portfolio .names{grid-template-columns:repeat(6,minmax(0,1fr))}
#portfolio .names span{min-height:2.5rem;padding:.35rem .45rem;font-size:.76rem;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:800px){#portfolio .names{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){#portfolio .names{grid-template-columns:repeat(3,minmax(0,1fr))}}
.book-tile img[src$="/land.webp"]{clip-path:polygon(3.2% 6.9%,6.3% 5.1%,9.2% 4.4%,94.1% 4.4%,94.1% 94.6%,91.3% 94.6%,91.3% 96.4%,3.2% 96.4%)}
.book-tile img[src$="/pako.webp"]{clip-path:polygon(0 2%,7% 0,15% 0,100% 2.7%,100% 95%,8% 100%,5% 100%,0 97.4%)}
.book-tile img[src$="/rosin.webp"]{clip-path:polygon(0 2.8%,2% 1.1%,5% 0,100% 0,100% 97%,96% 97%,96% 99%,0 99%)}

/* Service cards echo the quiet mats in the book gallery. */
#start .hero h1{font-size:clamp(1.85rem,3.5vw,2.85rem)}
#start .hero figure{width:min(82%,300px);margin-top:1.6rem}
#leistungen .home-index{background:none;padding:0;margin-bottom:1.2rem}
#leistungen .index,.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.8rem,2vw,1.35rem)}
#leistungen .index a,.service-grid .service{background:#e4e8dc;padding:clamp(.85rem,2vw,1.35rem);border:0}
#leistungen .index a:nth-child(3n+2),.service-grid .service:nth-child(3n+2){background:#ece5da}
#leistungen .index a:nth-child(3n+3),.service-grid .service:nth-child(3n+3){background:#eee7db}
#leistungen .index a{position:relative;display:flex;flex-direction:column;align-items:start;justify-content:start;gap:.45rem;padding-right:1.65rem}
#leistungen .index a:hover strong{text-decoration:underline;text-underline-offset:.2em}
#leistungen .index a b{position:absolute;right:.65rem;top:.65rem}
#leistungen .index a span:last-of-type,.service-grid p{line-height:1.5}
.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.service-grid .service{scroll-margin-top:1rem}
.service-grid .service h3{font-size:1.55rem}
.service-grid .service h4{font-size:1.16rem}
.service-grid .service p{font-size:.92rem;margin:.65rem 0}
.service-grid .service .tags{font-size:.8rem}
.service-grid .service:target{outline:2px solid var(--olive);outline-offset:3px}
@media(max-width:760px){#leistungen .index{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.service-grid{grid-template-columns:1fr}}
@media(max-width:360px){#leistungen .index{grid-template-columns:1fr}}

.hero figcaption,.bio figcaption{font-size:calc(.85rem - 2pt)}
#leistungen .home-index{margin-top:1rem}
#leistungen .index{margin-bottom:2rem}
.bio{display:grid;grid-template-columns:minmax(0,185px) minmax(0,1fr);gap:clamp(1rem,4vw,2.5rem);align-items:start;max-width:920px}
.bio figure{width:100%;margin:0}
.bio>div>p:first-child{margin-top:0}
@media(max-width:560px){
  .bio{grid-template-columns:1fr}
  .bio figure{width:min(50%,145px)}
}

/* Shared mustard accent and consistent page-title scale. */
main>section:not(#start)>h2{border-left:3px solid var(--mustard);padding-left:clamp(.85rem,3vw,2.2rem);font-size:clamp(1.85rem,3.5vw,2.85rem)}
main>section:not(#start)>.kicker{margin-bottom:.7rem}
#leistungen .service-grid{align-items:start;gap:clamp(1.25rem,3.5vw,2.8rem);margin-top:2rem}
.service-grid .service{position:relative;padding:clamp(1rem,2.7vw,1.8rem);max-width:none}
.service-grid .service:nth-child(even){margin-top:1.5rem}
.service-grid .service:last-child{grid-column:1/-1;width:55%;justify-self:center}
.service-trigger{display:inline-flex;gap:.45rem;align-items:center;margin-top:.45rem;padding:.25rem 0;border:0;border-bottom:1px solid currentColor;background:none;font-size:.79rem}
.service .project-copy{visibility:hidden;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:.65rem .85rem;border:1px solid var(--line);box-shadow:0 .5rem 1rem #25291f26;font-size:.83rem}
.service.show-info{z-index:2}
.service.show-info .project-copy{visibility:visible}
@media(max-width:520px){
  .service-grid .service:nth-child(even){margin-top:0}
  .service-grid .service:last-child{grid-column:auto;width:100%}
}

/* Frame the approved logo for the full-width masthead. */
header .masthead{background:#5e6957;padding:clamp(.55rem,1.2vw,.8rem) 1rem}
header .masthead a{display:block;width:clamp(220px,36vw,350px);max-width:100%;aspect-ratio:4.6;overflow:hidden;position:relative}
header .masthead .logo{position:absolute;display:block;width:145%;max-width:none;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}

.client-list{display:flex;flex-wrap:wrap;gap:.25rem .55rem;list-style:none;padding:0;margin:1rem 0 0;font-size:.95rem}
.client-list li{max-width:100%;overflow-wrap:anywhere}
.client-list li span{margin-left:.28rem;color:var(--olive)}

.portfolio-hint{display:none}
@media(max-width:760px){
  header nav{gap:.12rem .75rem;padding:.35rem .7rem}
  main>section{padding-top:1.65rem}
  main>section:not(#start)>h2{margin-bottom:.55em}
  .portfolio-hint{display:block;font-size:.85rem;color:#54584b;margin-bottom:.4rem}
  .book-grid{margin-top:1rem;align-items:start}
  .book-tile .project-copy,.service .project-copy{display:none;position:static;box-shadow:none;overflow-wrap:anywhere}
  .book-tile.show-info .project-copy,.service.show-info .project-copy{display:block}
  .service-trigger{min-height:44px}
}
@media(min-width:761px) and (pointer:coarse){.portfolio-hint{display:block}}

.service h3 .service-trigger{display:inline-block;font:inherit;color:inherit;text-align:left;margin:0;padding:0;border:0;cursor:pointer}
.service h3 .service-trigger:hover,.service h3 .service-trigger[aria-expanded=true]{text-decoration:underline;text-underline-offset:.16em}

.book-tile .book-specs { font-size: .94em; }
.book-tile .book-credit { overflow-wrap: anywhere; }

.legal h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.75em; }
.legal p { max-width: 72ch; }
