/*
Theme Name: Perrine Gallery
Author: Perrine Honoré
Description: A quiet gallery for paintings, collections and artist projects.
Version: 1.0.0
Text Domain: perrine-gallery
*/
:root{--paper:#f9f8f5;--ink:#252622;--muted:#696b63;--line:#d7d7cf;--space:clamp(22px,4.5vw,76px)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.6 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid #424d40;outline-offset:6px}a:hover{text-decoration:underline;text-underline-offset:5px}img{display:block;max-width:100%;height:auto}h1,h2,p,figure,blockquote{margin:0}h1,h2,blockquote{font-weight:400}h1,blockquote{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(30px,3vw,46px);line-height:1.3;letter-spacing:-.015em}h2{font-size:24px;line-height:1.3}p+p{margin-top:1em}.site-header{min-height:126px;padding:24px var(--space);display:flex;align-items:center;justify-content:space-between;gap:32px}.signature{display:block;width:155px;flex-shrink:0}.signature img{width:155px;height:78px;object-fit:contain}.site-header nav{display:flex;gap:clamp(20px,3vw,48px);font-size:14px}.site-header nav [aria-current]{text-decoration:underline;text-underline-offset:7px}.opening{margin:0 var(--space)}.opening-image{width:100%;height:clamp(400px,62vw,780px);object-fit:contain;object-position:center}.opening-caption{display:flex;justify-content:space-between;padding-top:15px;font-size:12px;letter-spacing:.015em}.opening-caption a span{margin-left:20px}.catalogue{padding:110px var(--space) 100px}.catalogue-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;margin-bottom:52px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.17em;margin-bottom:22px}.gallery-intro{width:290px;font-size:15px;line-height:1.7;color:var(--muted);padding-bottom:4px}.collections{display:flex;flex-wrap:wrap;gap:12px 32px;border-top:1px solid var(--line);padding:23px 0 0;font-size:12px}.collections [aria-current]{text-decoration:underline;text-underline-offset:7px}.collection-intro{max-width:750px;padding-top:48px;color:var(--muted)}.collection-intro h2{color:var(--ink);font-family:Georgia,serif;font-size:35px;margin-bottom:20px}.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:75px clamp(24px,5vw,82px);padding:65px 0 0;align-items:start}.artwork{min-width:0}.artwork:not(.wide):nth-child(even){padding-top:0}.art-link{display:block}.art-link:hover{text-decoration:none}.art-link:hover h2{text-decoration:underline;text-underline-offset:5px}.art-link img{width:auto;max-width:100%;height:auto;max-height:690px;margin:auto}.art-caption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:19px}.art-caption h2{font-size:15px}.art-caption span{font-size:17px}.collection-label{font-size:11px;color:var(--muted);margin-top:5px}.artwork.wide{grid-column:1/-1;width:84%;justify-self:center;padding:18px 0}.artwork.wide img{width:100%;max-height:none}.editorial{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:8vw;border-top:1px solid var(--line);padding:90px var(--space) 110px}.editorial-image img{width:100%}.editorial-copy blockquote{font-size:clamp(27px,3.1vw,47px);line-height:1.3;letter-spacing:-.025em;margin-bottom:35px}.text-link{display:inline-block;border-bottom:1px solid var(--ink);padding:8px 0;font-size:13px}.text-link:hover{text-decoration:none;opacity:.65}.work-top{display:flex;justify-content:space-between;align-items:center;padding:20px var(--space) 40px;font-size:12px;color:var(--muted)}.work-detail{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:7vw;padding:0 var(--space) 100px;align-items:center}.work-main-image img{max-height:790px;width:100%;object-fit:contain}.work-info h1{font-size:clamp(38px,4.1vw,60px);margin-bottom:30px}.description{max-width:460px;color:var(--muted);line-height:1.85}.collect-links{display:flex;align-items:flex-start;flex-direction:column;gap:18px;margin-top:35px}.enquire{font-size:12px;color:var(--muted)}.work-extras{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:5vw;padding:70px var(--space) 110px;align-items:start}.work-extras img{max-height:750px;object-fit:contain;width:100%}figcaption{font-size:11px;color:var(--muted);margin-top:12px}.page-content{padding:70px var(--space) 120px;max-width:1200px;margin:auto;min-height:65vh}.page-content h1{margin-bottom:55px}.page-body{max-width:780px;font-size:18px;line-height:1.8}.page-body p{margin-bottom:24px}.page-body h2{margin:46px 0 20px;font-size:26px}.page-body a{border-bottom:1px solid var(--line);overflow-wrap:anywhere}.page-body img{max-height:650px;width:auto}.page-body blockquote{font-size:30px;line-height:1.4;padding:20px 0}.page-body li{margin:8px 0}.news-item{padding:30px 0;border-top:1px solid var(--line)}.news-item time{font-size:12px}.news-item h2{margin:12px 0}.site-footer{border-top:1px solid var(--line);margin:0 var(--space);padding:35px 0;display:flex;justify-content:space-between;align-items:baseline;gap:22px;font-size:12px}.site-footer span{color:var(--muted)}.site-footer small{font-size:10px;color:var(--muted)}.skip{position:absolute;top:-100px;left:20px;background:white;padding:10px;z-index:99}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1700px){main,.site-header,.site-footer{max-width:1700px;margin-left:auto;margin-right:auto}}
@media(max-width:960px){.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:62px 32px}.artwork.wide{width:100%}}
@media(max-width:720px){.site-header{padding-top:18px;padding-bottom:22px;min-height:135px;gap:15px;flex-direction:column;align-items:flex-start}.signature,.signature img{width:120px}.signature img{height:60px}.site-header nav{width:100%;justify-content:space-between;gap:12px;font-size:12px}.opening-image{height:auto;aspect-ratio:auto;object-fit:contain}.opening-caption{font-size:10px}.catalogue{padding-top:70px;padding-bottom:65px}.catalogue-heading{display:block;margin-bottom:32px}.gallery-intro{width:auto;max-width:340px;margin-top:25px;font-size:14px}.collections{gap:14px 22px;font-size:11px;padding-top:20px}.art-grid{padding:48px 0 0;gap:48px 22px}.artwork:not(.wide):nth-child(even){padding-top:0}.art-caption h2{font-size:13px}.art-caption span{font-size:13px}.collection-label{font-size:10px}.artwork.wide{width:100%;padding:0}.editorial{grid-template-columns:1fr;gap:35px;padding-top:55px;padding-bottom:65px}.editorial-image{width:88%}.editorial-copy{max-width:470px}.editorial-copy blockquote{font-size:31px}.work-top{padding-top:8px;padding-bottom:30px;gap:20px}.work-detail{grid-template-columns:1fr;gap:40px;padding-bottom:60px}.work-main-image img{max-height:70vh}.work-info h1{font-size:43px}.work-extras{grid-template-columns:1fr;padding-top:40px;padding-bottom:60px;gap:40px}.page-content{padding-top:45px;padding-bottom:70px}.page-content h1{margin-bottom:35px}.page-body{font-size:16px}.site-footer{display:grid;grid-template-columns:1fr 1fr;font-size:11px;gap:15px}.site-footer span{order:3}.site-footer small{order:4}.site-footer>a:nth-of-type(2){text-align:right}.collection-intro{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(max-width:520px){.art-grid{grid-template-columns:1fr;gap:48px}.artwork:not(.wide),.artwork:not(.wide):nth-child(even){width:100%;justify-self:stretch}.artwork.wide{width:100%}.art-caption h2{font-size:14px}}.editorial-statement{font-family:Georgia,'Times New Roman',serif;font-size:clamp(20px,2.2vw,30px);line-height:1.45;letter-spacing:-.015em;margin-bottom:28px}
.about-intro{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:clamp(35px,7vw,100px);align-items:center;margin:0 0 80px!important}.about-intro>.wp-block-column{margin:0!important}.about-intro figure{margin:0}.about-intro img{width:100%;max-height:600px;object-fit:cover;object-position:center 35%}.page-body .about-section-title{border-bottom:1px solid var(--line);padding-bottom:13px;margin:70px 0 28px;font-family:Georgia,serif;font-size:30px;line-height:1.3}.page-body .about-subheading{margin:35px 0 8px;font-size:16px;font-weight:600}.about-record{margin:0!important;font-size:16px;line-height:1.85}.about-record p{margin:0 0 12px}.about-record strong{display:inline-block;min-width:66px;color:var(--ink);font-weight:500}.about-service{border-top:1px solid var(--line);padding-top:18px;margin:28px 0 0!important}.about-service strong{display:block;margin-bottom:5px;font-size:16px;font-weight:600}
@media(max-width:720px){.about-intro{grid-template-columns:1fr;gap:30px;margin-bottom:50px!important}.about-intro>.wp-block-column:last-child{max-width:390px}.page-body .about-section-title{margin-top:50px}}

/* Gallery and About revision — complete catalogue */
.opening-image{height:clamp(330px,49vw,690px);object-fit:cover;object-position:50% 56%}
.catalogue-heading h1{font-size:clamp(42px,5.7vw,84px);line-height:1.1;letter-spacing:-.045em}.title-line{display:block}.gallery-intro{width:250px;flex:0 0 250px;font-size:14px}
.art-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:70px 48px;padding:65px 0 0;align-items:end;grid-auto-flow:row dense}
.artwork,.artwork.wide,.artwork.full,.artwork:not(.wide):nth-child(even){width:100%;padding:0;justify-self:stretch}.artwork.wide{grid-column:span 2}.art-grid .artwork.full{grid-column:1/-1;width:min(100%,1080px);justify-self:center;margin:20px 0}.art-image{height:auto;aspect-ratio:.7;position:relative;display:block}.art-link .art-image img{position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;object-fit:contain;object-position:center bottom}.artwork.wide .art-image{aspect-ratio:1.47}.artwork.full .art-image{height:auto;aspect-ratio:auto}.artwork.full .art-image img{position:static;height:auto}.art-caption{padding-top:17px}.art-caption h2{font-size:14px}.collection-label{font-size:10px;letter-spacing:.015em;margin-top:4px}
.editorial{grid-template-columns:1fr 1fr}.editorial-image img{width:100%;max-height:680px;object-fit:contain;object-position:left center}.editorial-copy blockquote{font-size:clamp(27px,3.1vw,47px);line-height:1.3;letter-spacing:-.025em;margin-bottom:35px}
.about-page{max-width:1580px;padding-top:45px}.about-page>h1{font-size:clamp(45px,5vw,68px);margin-bottom:45px}.about-page>.eyebrow{margin-bottom:14px}.about-page .page-body{max-width:none}.about-intro{grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,100px);align-items:start;margin:0!important}.about-intro>.wp-block-column{margin:0!important;min-width:0}.about-intro figure{margin:0}.about-intro img{width:100%;height:auto;max-height:none;object-fit:contain}.about-intro .about-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(22px,2vw,28px);line-height:1.5;letter-spacing:-.01em}.about-intro p{font-size:16px;line-height:1.8;margin:0 0 25px}.about-intro .artist-statement{font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.55;margin:30px 0 0;border-left:1px solid var(--line);padding:0 0 0 25px;color:var(--muted)}
.about-career{display:grid!important;grid-template-columns:1.1fr 1fr;gap:clamp(55px,8vw,130px);border-top:1px solid var(--line);margin:85px 0 0!important;padding-top:55px}.about-career>.wp-block-column{margin:0!important;min-width:0}.page-body .about-section-title{border:0;padding:0;font:400 30px/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.02em;margin:55px 0 28px}.page-body .about-career>.wp-block-column>.about-section-title:first-child{margin-top:0}.cv-record{display:grid;grid-template-columns:74px minmax(0,1fr);gap:15px;margin:0 0 22px!important}.cv-record p{margin:0!important;font-size:14px;line-height:1.8}.cv-record .cv-date{font-size:11px;letter-spacing:.015em;color:var(--muted);padding-top:3px}.about-service{border:0;padding:0;margin:0 0 23px!important;font-size:14px;line-height:1.8}.about-service strong{display:block;font-size:14px;font-weight:500;margin-bottom:3px}
@media(max-width:1100px){.catalogue-heading{display:block}.gallery-intro{width:360px;max-width:100%;margin-top:25px}.art-grid{gap:60px 30px}.about-intro{gap:40px}.about-career{gap:50px}}
@media(max-width:960px){.art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.artwork.wide .art-image{height:auto;aspect-ratio:auto}.artwork.wide .art-image img{position:static;height:auto}.art-grid .artwork.full{margin:0}.about-intro p{font-size:15px}.about-intro .about-lead{font-size:23px}.about-intro .artist-statement{font-size:19px}.about-career{gap:40px}.cv-record{grid-template-columns:60px minmax(0,1fr);gap:10px}}
@media(max-width:720px){.opening-image{height:auto;object-fit:contain}.catalogue-heading h1{font-size:clamp(30px,8vw,52px);letter-spacing:-.035em}.gallery-intro{font-size:14px}.art-grid{padding-top:45px;gap:45px 22px}.editorial{grid-template-columns:1fr}.editorial-image{width:100%;max-width:460px}.editorial-copy blockquote{font-size:31px}.about-intro{grid-template-columns:1fr;gap:32px}.about-intro>.wp-block-column:last-child{max-width:none}.about-intro img{width:100%;max-height:none}.about-intro .about-lead{font-size:25px}.about-intro p{font-size:16px}.about-career{grid-template-columns:1fr;gap:48px;margin-top:55px!important;padding-top:40px}.page-body .about-section-title{font-size:29px;margin-top:42px}.cv-record{grid-template-columns:65px 1fr;gap:15px}.cv-record p{font-size:14px}}
@media(max-width:520px){.art-grid{grid-template-columns:1fr;gap:42px}.artwork.wide,.art-grid .artwork.full{grid-column:auto;width:100%;margin:0}.art-image,.artwork.full .art-image{height:auto;aspect-ratio:auto}.art-link .art-image img{position:static;height:auto;width:100%}.art-caption h2{font-size:14px}}
.cv-record{display:block}.cv-record>.wp-block-group__inner-container{display:grid;grid-template-columns:74px minmax(0,1fr);gap:15px}
@media(max-width:960px){.cv-record>.wp-block-group__inner-container{grid-template-columns:60px minmax(0,1fr);gap:10px}}
@media(max-width:720px){.cv-record>.wp-block-group__inner-container{grid-template-columns:65px minmax(0,1fr);gap:15px}}

/* Relative physical scale and reversible removal of dark image perimeters. */
.art-grid{container-type:inline-size;--gallery-columns:3;--gallery-gap:48px}
.art-grid .artwork.proportional{width:min(100%,calc((100cqw - (var(--gallery-columns) - 1)*var(--gallery-gap))/var(--gallery-columns)*var(--relative-width)))}
.art-link .art-image img{width:auto;height:auto;max-width:100%;max-height:100%;inset:auto;bottom:0;left:50%;transform:translateX(-50%)}
.artwork.full .art-image img{width:100%;height:auto;max-height:none;position:static;transform:none}
.work-main-image img,.work-extras img{width:auto;height:auto;max-width:100%;margin-left:auto;margin-right:auto;object-fit:initial}
@media(max-width:1100px){.art-grid{--gallery-gap:30px}}
@media(max-width:960px){.art-grid{--gallery-columns:2}.artwork.wide .art-image img{width:100%;height:auto;max-height:none;position:static;transform:none}}
@media(max-width:720px){.art-grid{--gallery-gap:22px}}
@media(max-width:520px){.art-grid{--gallery-columns:1}.art-grid .artwork.proportional{width:calc(100%*var(--relative-scale));justify-self:center}.art-link .art-image img{width:100%;height:auto;max-height:none;position:static;transform:none}}

/* Smaller diptychs share rows instead of forcing a break. */
.art-grid>.artwork.shared.proportional{grid-column:span 2;margin:0}
@media(max-width:520px){.art-grid>.artwork.shared.proportional{grid-column:auto}}

/* Native WordPress news posts. */
.news-page{max-width:1480px}.news-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(36px,6vw,90px);align-items:start;padding:48px 0 65px}.news-photo{margin:0}.news-photo img{width:100%;height:auto}.news-copy{min-width:0}.news-copy h2{font:400 clamp(32px,3vw,46px)/1.2 Georgia,serif;margin:0 0 30px}.news-copy .page-body,.news-copy.page-body{font-size:16px;line-height:1.85;max-width:600px}.news-copy .page-body p,.news-copy.page-body p{margin:0 0 24px}.news-back{margin-bottom:35px}.news-page>.news-item:last-child{padding-bottom:0}
@media(max-width:720px){.news-item{grid-template-columns:1fr;gap:30px;padding-top:30px}.news-photo{max-width:480px}.news-copy h2{font-size:34px}.news-page h1{margin-bottom:35px}}

.news-copy .wp-block-image{margin:32px 0 0}.news-copy .wp-block-image img{width:100%;max-width:320px;height:auto;max-height:none}

.site-footer{flex-wrap:wrap}.footer-legal{flex-basis:100%;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:11px;color:var(--muted)}

/* Quiet legal information, integrated with the gallery. */
#cmplz-manage-consent{display:none!important}
.site-footer{row-gap:14px}.site-footer .footer-legal{justify-content:flex-end;gap:10px 22px;font-size:11px;line-height:1.5}
.legal-page{max-width:1280px;padding-top:55px}.legal-page>h1{font-size:clamp(42px,4.5vw,65px);line-height:1.15;margin-bottom:55px}.legal-page>.eyebrow{margin-bottom:18px}
.legal-layout{display:grid;grid-template-columns:170px minmax(0,720px);gap:clamp(40px,7vw,115px);align-items:start}
.legal-nav{display:flex;flex-direction:column;gap:14px;position:sticky;top:70px;font-size:12px;color:var(--muted)}.legal-nav [aria-current]{color:var(--ink);text-decoration:underline;text-underline-offset:5px}.legal-nav .legal-return{margin-top:23px}
.legal-body{max-width:720px;min-width:0;font-size:15px;line-height:1.85}.legal-body>p:first-child{font:400 23px/1.5 Georgia,serif;letter-spacing:-.015em;margin-bottom:38px}.legal-body p{margin:0 0 20px}.legal-body h2{font:400 27px/1.3 Georgia,serif;letter-spacing:-.015em;margin:45px 0 20px}.legal-body h3{font:400 20px/1.4 Georgia,serif;margin:28px 0 14px}.legal-body strong{font-weight:600}.legal-body table{border-collapse:collapse;width:100%;font-size:13px}.legal-body td,.legal-body th{padding:12px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.legal-body li{margin:7px 0}.legal-body a{border-bottom-color:var(--line)}
.legal-body #cmplz-document,.legal-body .cmplz-document{max-width:none;font:inherit;color:inherit}.legal-body .cmplz-service{background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;padding:18px 0!important}.legal-body .cmplz-service-header{font-family:inherit!important}.legal-body button{font:inherit;color:var(--ink);border:1px solid var(--line);background:transparent;border-radius:0;padding:9px 16px;cursor:pointer}.legal-body :is(a,button,input,summary):focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:720px){.site-footer .footer-legal{justify-content:flex-start;gap:10px 18px}.legal-page{padding-top:35px}.legal-page>h1{margin-bottom:32px}.legal-layout{grid-template-columns:1fr;gap:35px}.legal-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:12px 22px;padding-bottom:22px;border-bottom:1px solid var(--line)}.legal-nav .legal-return{margin:0}.legal-body>p:first-child{font-size:22px}.legal-body h2{font-size:25px}}

@media(max-width:720px){.site-footer .footer-legal{grid-column:1/-1;order:5}}

/* Three footer items: edges and centre on desktop; compact centred row on mobile. */
.site-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px 20px;line-height:1.5}
.site-footer>.footer-information{min-width:0;order:initial;text-align:left;justify-self:start}
.site-footer>a{min-width:0;order:initial;text-align:center;justify-self:center}
.site-footer>small{min-width:0;order:initial;text-align:right;justify-self:end;white-space:nowrap}
.site-footer a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
@media(max-width:720px){.site-footer{display:flex;justify-content:center;flex-wrap:wrap;font-size:11px;gap:6px 16px;padding:20px 0}.site-footer>.footer-information,.site-footer>a,.site-footer>small{grid-column:auto;grid-row:auto;order:initial;text-align:center;justify-self:auto}.site-footer>small{font-size:10px}}
@media(max-width:380px){.site-footer{font-size:10px;column-gap:12px}.site-footer>small{font-size:9px}}
