/* Atelier ZESTREA — geometric frames inspired by the artist's wax ornament. */
:root{--paper:#f4f1e8;--ink:#202320;--muted:#62665d;--line:#cfcec1;--dark:#202520;--ivory:#f4f1e8;--accent:#877347;--frame:#20211f;--frame-line:#c5bda5}
body{background:var(--paper)}
.section-shell,.header{width:90%;max-width:1320px}
.section-space{padding-block:100px}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif}
h1{font-size:clamp(3rem,4.7vw,5.2rem);letter-spacing:-.055em;line-height:1.05}
h2{font-size:clamp(2.5rem,4.2vw,4.5rem);letter-spacing:-.045em}
.eyebrow{font-size:.875rem;letter-spacing:.15em}
.header{padding-block:25px;border-bottom:1px solid #a8aa9c}
.wordmark{font-size:1.7rem;letter-spacing:-.045em;gap:7px}
.wordmark small{font-size:.75rem;letter-spacing:.16em}
.site-navigation{gap:21px}
.site-navigation a{position:relative}
.site-navigation a:hover{text-decoration:none;color:#776439}
.header:after{content:'';position:absolute;bottom:-4px;left:50%;width:7px;height:7px;transform:rotate(45deg);background:var(--paper);border:1px solid var(--accent)}
.hero{grid-template-columns:1.03fr 1fr;gap:30px 8%;padding-block:66px 90px;align-items:center}
.hero-brand{font: .875rem/1.5 Arial,Helvetica,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-bottom:27px;color:#686e60}
.hero-brand span{display:none}
.hero-copy{align-self:end}
.intro{font-size:1rem;line-height:1.8;max-width:525px;margin-top:28px}
.intro p+p{margin-top:15px}
.intro strong{font-weight:400;color:var(--ink)}
.hero-links{align-self:start}
.hero-art{padding:18px 18px 0;background:var(--frame);border:1px solid #606353;position:relative;box-shadow:0 18px 50px #20232018}
.hero-art:before{content:'';position:absolute;inset:7px;pointer-events:none;border:1px solid #b7b09477}
.hero-art img{width:100%;height:auto;max-height:690px;object-fit:contain;background:#171816}
.hero-art figcaption{position:relative;color:#d6d3c5;font-size:.8125rem;padding:17px 8px 21px;text-align:center;letter-spacing:.035em}
.hero-actions{gap:12px}
.button{border-radius:0;min-height:54px;letter-spacing:.025em;font-size:.875rem;padding:16px 22px}
.button-dark{background:var(--dark);border-color:var(--dark)}
.button-outline{border-color:#959b8a}
.button-dark:hover,.form-submit:hover{background:#394134;border-color:#394134}
.button-outline:hover{background:#e6e7dc}
.link-arrow{display:none}
.quiet-link{font-size:.875rem;border-bottom:1px solid #a5aa99;padding-bottom:6px;min-height:36px}
.selected-works{position:relative;border-top:1px solid #a8aa9c}
.selected-works:before{content:'';position:absolute;top:-9px;left:50%;width:18px;height:18px;background:var(--paper) url('/assets/atelier-diamond.svg') center/18px 18px no-repeat;transform:translateX(-50%)}
.section-heading{align-items:flex-end;margin-bottom:52px}
.gallery-hint{font-size:.875rem;max-width:230px;border-left:1px solid #a8aa9c;padding-left:20px}
.collection-group>h3{font-size:1.75rem;display:flex;align-items:center;gap:22px;margin-bottom:28px}
.collection-group>h3:after{content:'';height:1px;background:var(--line);flex:1}
.collection-group+.collection-group{margin-top:76px}
.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 30px;align-items:start}
.work:not(:target){background:var(--frame);padding:14px 14px 0;border:1px solid #585d50;position:relative;box-shadow:0 8px 22px #2023200b}
.work:not(:target):before{content:'';position:absolute;inset:5px;pointer-events:none;border:1px solid #c5bda577;z-index:1}
.work:not(:target):after{content:'';position:absolute;left:50%;bottom:13px;transform:translateX(-50%);width:48px;height:14px;background:url('/assets/atelier-diamond.svg') center/14px 14px repeat-x;pointer-events:none;opacity:.85}
.work:not(:target) .photo{aspect-ratio:3/4;background:#111310;overflow:hidden;border:1px solid #656a57;display:flex;align-items:center;justify-content:center}
.work:not(:target) .photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:filter .2s ease}
.work:not(:target) .photo:hover img{filter:brightness(1.06)}
.work:not(:target) figcaption{position:relative;min-height:43px;padding:11px 5px 12px;color:#dedbcd;font-size:.875rem;line-height:20px;letter-spacing:.08em}
.photo:focus-visible{outline:2px solid #eee5c9;outline-offset:3px;z-index:2}
.collection-action{margin-top:48px}
.artist{border-top:1px solid var(--line);grid-template-columns:.8fr 1.1fr;gap:11%;align-items:start}
.artist-portrait{position:relative;background:#e7e4d9;padding:14px;border:1px solid #a8aa9c;max-width:400px;margin-top:10px}
.artist-portrait:after{content:'';position:absolute;inset:-9px 9px 9px -9px;pointer-events:none;border:1px solid #9b9b85}
.artist-copy .eyebrow{color:#6b705f}
.artist-copy h2{margin-bottom:32px}
.artist-copy>p:not(.eyebrow){font-size:1rem;line-height:1.85}
.craft{position:relative;background:#202520;border-top:1px solid #606653;border-bottom:1px solid #606653}
.craft:before,.commissions:before{content:'';display:block;height:16px;margin:10px 0;background:url('/assets/atelier-diamond.svg') center/32px 14px repeat-x;opacity:.5}
.craft-layout{padding-block:70px 90px}
.craft-copy{max-width:none;display:grid;grid-template-columns:.85fr 1.25fr;column-gap:10%;align-items:start}
.craft-copy>.eyebrow{grid-column:1;grid-row:1;margin-bottom:18px}
.craft-copy>h2{grid-column:1;grid-row:2;align-self:start;margin:0}
.craft-steps{grid-column:2;grid-row:1/span 3}
.craft-steps li{padding-block:26px;border-color:#525b4c}
.craft-steps li:first-child{padding-top:0;border:0}
.craft-steps h3{font-size:1.5rem}
.craft-photo{border:1px solid #727964;padding:5px;width:100px;background:#30372c}
.craft-step-content{grid-template-columns:minmax(0,1fr) 100px}
.step-number{font-size:.875rem;color:#c2b795}
.commissions{background:var(--paper);color:var(--ink);position:relative}
.commissions:before{display:none}
.commissions-layout{padding-block:100px;gap:10%;grid-template-columns:.9fr 1.1fr}
.commissions .eyebrow{color:#6b705f}
.commissions .prose>p:not(.lead){color:var(--muted)}
.commissions .lead{font-size:1.125rem;line-height:1.85}
.commission-form{border:1px solid #7b816f;border-radius:0;background:#eeeee4;padding:38px;box-shadow:8px 8px 0 #dedfd1}
.commission-form h3{font-size:2rem}
.form-field input,.form-field textarea{border-radius:0;background:#fbfaf5;border-color:#acb09e}
.form-submit-panel{background:transparent;border:0;border-top:1px solid #babfae;border-radius:0;padding:20px 0 0}
.form-submit{background:#283025;border-color:#283025;letter-spacing:.04em}
.photo-slot-controls input[type=file]::file-selector-button,.photo-add{border-radius:0}
.faq{border-top:1px solid var(--line);padding-top:80px}
.faq-list summary{min-height:84px}
.footer{background:#181c18;border-top:1px solid #6b715e}
.footer-main{padding-block:66px;justify-content:space-around}
.footer-logo{width:265px;mix-blend-mode:screen}
.footer-actions{margin:0}
.footer-bottom{border-color:#51584a;font-size:.8125rem}
.lightbox{background:#171b17;border:1px solid #949c82}
.lightbox button{font-size:.875rem}
.work:target:before,.work:target:after{display:none}
.work:target .photo{border:0;aspect-ratio:auto}
.work:target .photo img{object-fit:contain}
@media(min-width:1500px){.hero{padding-top:80px}.hero-art{max-width:none}}
@media(max-width:1100px){.header{padding-block:20px}.hero{column-gap:6%;padding-top:42px}.hero h1{font-size:clamp(2.7rem,4.8vw,4.3rem)}.hero-actions .button{flex-basis:180px}.craft-copy{column-gap:6%}.commissions-layout{gap:6%}.gallery{gap:30px 22px}.commission-form{padding:28px}}
@media(max-width:700px){
  .section-shell,.header{width:90%}.section-space{padding-block:62px}.header{padding-block:17px;column-gap:12px}.header>.wordmark{font-size:1.35rem}.wordmark small{font-size:.6875rem;letter-spacing:.12em}
  .hero{display:flex;padding-block:28px 54px;gap:30px}.hero-art{order:-1;max-width:420px;padding:12px 12px 0;width:100%;align-self:center}.hero-art:before{inset:5px}.hero-art img{width:100%;height:auto;aspect-ratio:1303/1535;max-height:none;min-height:0;object-fit:contain}.hero-art figcaption{font-size:.75rem;padding:13px 6px 17px}.hero-copy{align-self:stretch}.hero-brand{display:none}.hero h1{font-size:clamp(2.35rem,8.5vw,3.7rem);line-height:1.08;max-width:570px}.hero .intro{max-width:none;font-size:1rem}.hero-links{width:100%}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-actions .button{padding:13px 8px;min-height:55px;font-size:.875rem}.quiet-link{margin-top:18px}
  h2{font-size:clamp(2.3rem,8vw,3.1rem)}.section-heading{gap:18px;margin-bottom:33px;align-items:flex-start}.gallery-hint{max-width:none;padding:0;border:0}.collection-group>h3{font-size:1.5rem;gap:15px;margin-bottom:23px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.work:not(:target){padding:8px 8px 0}.work:not(:target):before{inset:3px}.work:not(:target):after{width:30px;height:10px;background-size:10px 10px;bottom:12px}.work:not(:target) figcaption{min-height:36px;padding:7px 3px 9px;font-size:.8125rem;line-height:20px}.collection-group+.collection-group{margin-top:48px}.collection-action{margin-top:32px}
  .artist{grid-template-columns:1fr;gap:42px}.artist-portrait{width:78%;max-width:340px;justify-self:center;padding:10px}.artist-copy h2{margin-bottom:25px}
  .craft-layout{padding-block:44px 55px}.craft-copy{display:block}.craft-copy>h2{margin-bottom:37px}.craft-copy>.eyebrow{margin-bottom:15px}.craft-steps li{gap:15px}.craft-step-content{grid-template-columns:minmax(0,1fr) 78px;gap:18px}.craft-photo{width:78px;justify-self:end}.craft-steps h3{font-size:1.35rem}.craft-steps p{font-size:1rem}
  .commissions-layout{padding-block:62px;grid-template-columns:1fr;gap:35px}.commission-form{padding:27px 22px;max-width:none;box-shadow:5px 5px 0 #dedfd1}.commission-form h3{font-size:1.8rem}.form-contact-fields{grid-template-columns:1fr;gap:0}.faq{padding-top:58px;gap:28px}.faq-list summary{min-height:76px}.footer-main{padding-block:47px;gap:38px}.footer-logo{width:240px}.footer-actions{min-width:0}.footer-bottom{font-size:.8125rem}
}
@media(max-width:380px){.header{column-gap:7px}.header>.wordmark{font-size:1.15rem}.gallery{gap:18px 10px}.work:not(:target){padding:6px 6px 0}.work:not(:target):after{width:20px}.hero-actions{grid-template-columns:1fr}.craft-step-content{grid-template-columns:1fr}.craft-photo{justify-self:start}.commission-form{padding:24px 17px}}
@media(prefers-reduced-motion:reduce){.work:not(:target) .photo img{transition:none}}

/* Quiet, drawn ornaments echo the geometric wax work without covering the art. */
:root{
  --ornament:url('/assets/atelier-rosette.svg');
  --stitch:url('/assets/atelier-stitch.svg');
  --frame-metal:#b5a27b;
}
.header:after{
  bottom:-12px;left:50%;width:132px;height:24px;
  border:0;transform:translateX(-50%);
  background:var(--paper) var(--ornament) center/120px 24px no-repeat;
  pointer-events:none;
}
.selected-works:before,.artist:before,.faq:before{
  content:'';position:absolute;top:-16px;left:50%;
  width:184px;height:32px;transform:translateX(-50%);
  background:var(--paper) var(--ornament) center/160px 32px no-repeat;
  pointer-events:none;
}
.artist,.faq{position:relative}
.artist:before{width:148px;background-size:128px 26px}
.faq:before{width:124px;background-size:104px 21px}
.hero-art:before,.artist-portrait:after{
  background:
    linear-gradient(var(--frame-metal),var(--frame-metal)) left top/20px 1px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) left top/1px 20px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) right top/20px 1px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) right top/1px 20px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) left bottom/20px 1px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) left bottom/1px 20px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) right bottom/20px 1px,
    linear-gradient(var(--frame-metal),var(--frame-metal)) right bottom/1px 20px;
  background-repeat:no-repeat;
}
.hero-art figcaption:before{
  content:'';display:block;width:96px;height:19px;margin:0 auto 10px;
  background:var(--ornament) center/96px auto no-repeat;
  pointer-events:none;
}
.work:not(:target):after{
  width:78px;height:16px;bottom:13px;
  background:var(--ornament) center/78px auto no-repeat;opacity:.95;
}
.work:not(:target):before{border-color:#c5bda566}
.craft:before{
  height:24px;margin:12px 0 0;
  background:var(--stitch) center/64px 24px repeat-x;opacity:.6;
  pointer-events:none;
}
.craft:after{
  content:'';display:block;height:24px;margin:0 0 12px;
  background:var(--stitch) center/64px 24px repeat-x;opacity:.6;
  pointer-events:none;
}
.commission-form{
  position:relative;border-color:#a49d87;background:#f0eee4;
  box-shadow:0 16px 38px #2023200a,5px 5px 0 #e4e0d3;
}
.commission-form:before{
  content:'';position:absolute;top:-13px;left:50%;
  width:136px;height:26px;transform:translateX(-50%);
  background:#f0eee4 var(--ornament) center/120px 24px no-repeat;
  pointer-events:none;
}
.footer{position:relative}
.footer:before{
  content:'';position:absolute;top:10px;left:0;right:0;height:24px;
  background:var(--stitch) center/64px 24px repeat-x;opacity:.42;
  pointer-events:none;
}
.footer-main{padding-top:80px}
@media(max-width:700px){
  .header:after{width:112px;height:20px;bottom:-10px;background-size:100px 20px}
  .selected-works:before,.artist:before,.faq:before{width:140px;background-size:120px 24px}
  .hero-art figcaption{padding-top:11px}
  .hero-art figcaption:before{width:80px;height:16px;margin-bottom:8px;background-size:80px auto}
  .work:not(:target):after{width:50px;height:12px;bottom:12px;background-size:50px auto}
  .craft:before,.craft:after,.footer:before{height:20px;background-size:54px 20px}
  .commissions-layout{grid-template-columns:minmax(0,1fr)}
  .commissions-copy{min-width:0}
  .commissions h2{overflow-wrap:anywhere;hyphens:auto}
  .commissions h2 br{display:initial}
  .commission-form{margin-top:10px}
  .footer-main{padding-top:64px}
}
@media(max-width:380px){
  .work:not(:target):after{width:40px;background-size:40px auto}
}

/* Custom gifts: a short enquiry with clear contact alternatives. */
.commissions-layout{
  grid-template-columns:minmax(0,1.03fr) minmax(0,1fr);
  grid-template-areas:'copy form' 'contact form';grid-template-rows:auto 1fr;
  column-gap:7%;row-gap:32px;align-items:start;
}
.commissions-copy{grid-area:copy}
.commissions h2{font-size:clamp(2.25rem,3.2vw,3.5rem);line-height:1.12;max-width:21ch}
.commission-form{grid-area:form;min-width:0}
.commission-form .form-intro{font-size:1rem;margin-bottom:22px}
.commission-form .form-field textarea{min-height:120px}
.form-field label span{color:var(--muted)}
.photo-disclosure{margin:2px 0 20px;border:1px solid #acb09e;background:#f7f6ef}
.photo-disclosure summary{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;
  position:relative;min-height:48px;padding:12px 42px 12px 14px;
  list-style:none;cursor:pointer;font-size:.875rem;line-height:1.5;
}
.photo-disclosure summary::-webkit-details-marker{display:none}
.photo-disclosure summary:after{content:'+';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:1.4rem}
.photo-disclosure[open] summary:after{content:'−'}
.photo-disclosure summary span span{color:var(--muted)}
.photo-disclosure summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.photo-disclosure-content{padding:0 14px 4px}
.photo-disclosure .photo-count{font-size:.8125rem;color:var(--muted)}
.photo-disclosure .photos-help{margin-top:2px}
.commission-form .form-submit-panel{padding-top:16px}
.commission-form .form-note{margin-top:12px}
.commission-contact{
  grid-area:contact;position:relative;min-width:0;
  border:1px solid #a8aa9c;padding:26px;background:#f0eee4;
}
.commission-contact:before{
  content:'';position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  width:124px;height:24px;background:var(--paper) var(--ornament) center/104px 22px no-repeat;
  pointer-events:none;
}
.commission-contact h3{font-size:1.4rem;line-height:1.3;margin-bottom:17px}
.commission-email{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:18px;overflow-wrap:anywhere}
.commission-email>span:first-child{font-size:.875rem;color:var(--muted)}
.commission-email>span:last-child{font-size:1rem;text-decoration:underline;text-underline-offset:4px}
.commission-socials{display:flex;flex-wrap:wrap;gap:10px 24px}
.commission-social-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:.9375rem}
.commission-social-link img{width:32px;height:32px}
.commission-inspiration{display:flex;align-items:center;gap:9px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);min-height:44px;font-size:.875rem;line-height:1.5}
.commission-inspiration img{width:24px;height:24px;flex-shrink:0}
.commission-social-link:hover span,.commission-inspiration:hover span{text-decoration:underline;text-underline-offset:4px}
.commission-contact a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
@media(max-width:900px){
  .commissions-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'copy' 'form' 'contact';grid-template-rows:auto;row-gap:32px}
  .commissions-copy .prose{max-width:650px}
  .commissions h2{max-width:24ch}
  .commission-form{margin-top:0}
  .commission-contact{width:100%;max-width:560px;margin-inline:auto}
}
@media(max-width:380px){.commission-contact{padding:22px 17px}.photo-disclosure-content{padding-inline:10px}}

/* The real craft photograph and the headline share one open composition. */
.section-shell,.header{max-width:1280px}
.section-space{padding-block:110px}
h2{font-size:clamp(2.3rem,3.6vw,3.6rem);line-height:1.16;letter-spacing:-.035em}
.hero{
  display:block;position:relative;isolation:isolate;
  width:100%;max-width:none;margin:24px 0 0;padding:0;
  background:var(--paper);
}
.hero-inner{
  display:flex;align-items:center;
  min-height:clamp(540px,42vw,660px);padding-block:88px 104px;
}
.hero-copy{position:relative;z-index:1;width:62%;min-width:0;align-self:auto}
.hero h1{
  width:max-content;max-width:none;margin:0;
  font-size:clamp(3.1rem,5vw,4.65rem);line-height:1.09;
  letter-spacing:-.045em;text-wrap:initial;
}
.hero h1>span{display:block;white-space:nowrap}
.hero-copy .intro{
  max-width:28rem;margin-top:28px;
  font-size:1.0625rem;line-height:1.75;
}
.hero-actions{
  display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;
  gap:18px 30px;margin-top:29px;
}
.hero-actions .button{flex:0 1 auto}
.hero-collection{
  min-height:56px;padding:16px 25px;font-size:.9375rem;
  background:var(--dark);border-color:#88764e;color:var(--ivory);
}
.hero-collection:hover{background:#343d32;border-color:#a18c5c}
.hero-commission{
  display:inline-flex;align-items:center;min-height:44px;padding-block:9px;
  border-bottom:2px solid var(--accent);color:var(--ink);
  font-size:.9375rem;line-height:1.5;
}
.hero-commission:hover{color:#715d36}
.hero-actions a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.hero-art{
  position:absolute;inset:0 0 0 auto;width:60%;height:100%;max-width:none;
  margin:0;padding:0;border:0;background:transparent;box-shadow:none;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.04) 6%,rgba(0,0,0,.25) 13%,rgba(0,0,0,.78) 20%,#000 25%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.04) 6%,rgba(0,0,0,.25) 13%,rgba(0,0,0,.78) 20%,#000 25%);
}
.hero-art:before,.hero-art:after,.hero-art figcaption:before{display:none}
.hero-art img{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-height:none;aspect-ratio:auto;object-fit:cover;object-position:50% 52%;
  background:transparent;filter:none;
}
.hero-art figcaption{position:absolute;padding:0}
.legacy{
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  gap:6%;align-items:start;padding-block:56px 82px;
  border-bottom:1px solid var(--line);
}
.legacy-title{
  max-width:20ch;margin:0;font-size:clamp(2.15rem,3vw,3rem);
  line-height:1.17;letter-spacing:-.035em;
}
.legacy-prose{max-width:38rem;margin:0;font-size:1rem;line-height:1.85}
.legacy-prose p+p{margin-top:20px}
.selected-works{border-top:0}
.selected-works:before,.artist:before,.faq:before,
.craft:before,.craft:after,.commission-form:before,
.commission-contact:before,.footer:before{display:none}
.gallery{gap:42px 30px}
.selected-works[data-collection-view="selected"] .work[data-featured="false"]:not(:target){display:none}
.selected-works[data-collection-view="selected"] .collection-shop{display:none}
.selected-works .gallery{row-gap:48px}
.selected-works .collection-action{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:20px 36px}
.collection-toggle{padding-block:12px;line-height:1.5;border-bottom-color:var(--accent)}
.collection-shop{margin-top:0}
#full-collection{scroll-margin-top:30px}
.work:not(:target){padding:0;border:0;background:transparent;box-shadow:none}
.work:not(:target):before,.work:not(:target):after{display:none}
.work:not(:target) .photo{border:0}
.work:not(:target) .photo:hover img{filter:none}
.work:not(:target) figcaption{min-height:0;padding:14px 0 0;color:var(--muted);font-size:.875rem}
.photo:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.artist-portrait{padding:0;border:0;background:transparent;margin-top:0}
.artist-portrait:after{display:none}
.craft-layout{padding-block:100px}
.craft-photo{padding:0;border:0;background:transparent}
.commissions-layout{padding-block:110px}
.commission-form{border-color:#c6bfad;box-shadow:none;background:#f0eee4}
.commission-contact{padding:26px 0 0;border:0;border-top:1px solid var(--line);background:transparent}
.footer-main{padding-top:66px}
@media(max-width:1100px){
  .section-space,.commissions-layout,.craft-layout{padding-block:88px}
  .hero{margin-top:22px}
  .hero-inner{min-height:0;padding-block:58px 42px}
  .hero-copy{width:100%}
  .hero h1{font-size:clamp(3rem,5.6vw,4rem)}
  .hero-copy .intro{max-width:36rem}
  .hero-art{
    position:relative;inset:auto;width:100%;height:clamp(400px,58vw,560px);
    -webkit-mask-image:none;mask-image:none;
  }
  .hero-art img{object-position:50% 43%}
  .legacy{padding-block:54px 72px;gap:6%}
}
@media(max-width:700px){
  .section-space,.commissions-layout,.craft-layout{padding-block:64px}
  .hero{display:block;margin-top:14px}
  .hero-inner{padding-block:30px 32px}
  .hero h1{
    width:auto;max-width:none;font-size:clamp(2.1rem,6.6vw,2.9rem);
    line-height:1.12;letter-spacing:-.04em;
  }
  .hero h1>span{white-space:normal;text-wrap:balance}
  .hero-copy .intro{margin-top:20px;font-size:1rem;line-height:1.75}
  .hero-actions{display:flex;gap:14px 24px;margin-top:25px}
  .hero-actions .button{width:auto;flex:0 1 auto;font-size:.9375rem;padding-inline:21px}
  .hero-art{width:100%;max-width:none;height:clamp(290px,80vw,440px);margin:0}
  .hero-art img{object-position:50% 49%}
  .legacy{grid-template-columns:minmax(0,1fr);gap:22px;padding-block:44px 56px}
  .legacy-title{max-width:19ch;font-size:2.15rem}
  .legacy-prose{max-width:none}
  .gallery{gap:28px 16px}
  .selected-works .gallery{row-gap:32px}
  .selected-works .collection-action{flex-direction:column;gap:16px}
  .work:not(:target){padding:0}
  .artist-portrait{width:86%;padding:0}
  .commission-contact{padding:24px 0 0}
  .footer-main{padding-top:48px}
}
@media(max-width:380px){
  .hero-actions{gap:12px 20px}
  .hero-actions .button{padding-inline:18px}
  .gallery{gap:25px 12px}
}
@media(prefers-reduced-motion:reduce){.hero-collection,.hero-commission{transition:none}}

/* Keep the galleries as an overview; the lightbox retains the original detail. */
.selected-works{--gallery-width:1056px}
.selected-works[data-collection-view="all"],
.selected-works.category-gallery{--gallery-width:960px}
.selected-works .section-heading,
.selected-works .collection-group,
.selected-works .gallery{
  width:100%;max-width:var(--gallery-width);margin-inline:0;
}
.selected-works .gallery{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 30px;
}
@media(max-width:1000px){
  .selected-works{--gallery-width:640px}
  .selected-works[data-collection-view="all"],
  .selected-works.category-gallery{--gallery-width:600px}
  .selected-works .gallery{
    gap:36px 24px;
  }
}
@media(max-width:600px){
  .selected-works .gallery{
    margin-inline:auto;gap:24px 12px;
  }
}

/* Collection actions share a hierarchy, with room to adapt to each screen. */
.selected-works .collection-action.artwork-actions{
  display:block;width:100%;max-width:var(--gallery-width);margin:42px 0 0;
}
.collection-selected-actions{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 16px;
}
.collection-full-actions{display:none}
.collection-overview{display:none;max-width:var(--gallery-width);margin:0 0 34px;color:var(--muted);font-size:1rem;line-height:1.8}
.selected-works[data-collection-view="all"] .collection-overview{display:block}
.selected-works[data-collection-view="all"] .collection-selected-actions{display:none}
.selected-works[data-collection-view="all"] .collection-full-actions{display:grid}
.gallery-action{
  display:inline-flex;align-items:center;justify-content:center;min-width:0;
  min-height:48px;max-width:100%;padding:12px 18px;border:1px solid #9a947f;
  color:var(--ink);background:transparent;font-size:.875rem;line-height:1.45;
  text-align:center;text-decoration:none;letter-spacing:.01em;
  transition:background-color .16s,color .16s,border-color .16s;
}
.gallery-action span{text-wrap:balance}
.gallery-action:hover{background:#eae6db;border-color:var(--accent)}
.gallery-action-primary{
  color:var(--ivory);background:var(--dark);border-color:var(--dark);
}
.gallery-action-primary:hover{color:var(--ivory);background:#394134;border-color:#394134}
.gallery-action-shop{border-color:var(--accent);background:#ede8dc}
.gallery-action-shop:hover{background:#e4ddcd}
.gallery-action:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.gallery-navigation{width:100%;max-width:var(--gallery-width,960px);row-gap:22px}
.ostrich-category .category-actions.gallery-navigation{display:grid;gap:22px;margin:28px 0 0}
.gallery-navigation-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;gap:14px 20px;
}
.gallery-action-home{justify-self:start}
.gallery-action-commission{justify-self:center}
.gallery-action-related{justify-self:end}
.gallery-navigation-collection{grid-template-columns:minmax(0,1fr) auto}
.gallery-category-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.gallery-shop-row{display:flex;justify-content:center}
@media(max-width:900px){
  .gallery-navigation-collection{grid-template-columns:minmax(0,1fr);gap:12px}
  .gallery-category-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:700px){
  .selected-works .collection-action.artwork-actions{margin-top:32px}
  .gallery-action{padding-inline:12px}
  .gallery-navigation-row{gap:12px}
  .gallery-navigation-category{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:'commission commission' 'home related';
  }
  .gallery-navigation-category .gallery-action-commission{grid-area:commission}
  .gallery-navigation-category .gallery-action-home{grid-area:home;justify-self:stretch}
  .gallery-navigation-category .gallery-action-related{grid-area:related;justify-self:stretch}
  .gallery-navigation-category .gallery-action-secondary,
  .gallery-category-actions .gallery-action{align-self:stretch;padding-inline:10px}
  .gallery-navigation,.ostrich-category .category-actions.gallery-navigation{row-gap:16px}
  .collection-selected-actions{gap:10px 12px}
}
@media(prefers-reduced-motion:reduce){.gallery-action{transition:none}}
