/* Public-site enhancements, independent of the private Portfolio Manager. */
:root{--sticky-header-height:78px}
.header{position:sticky;top:0;z-index:100;background:rgba(250,249,246,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);min-height:var(--sticky-header-height)}
.section[id]{scroll-margin-top:calc(var(--sticky-header-height) + 12px)}
.hero h1,#about h2{white-space:pre-line}
.hero-art.has-slideshow{display:block;position:relative;overflow:hidden;min-height:340px;height:clamp(340px,36vw,520px);aspect-ratio:1.3;background:#eeede8}
.slide-stage,.slide-frame{position:absolute;inset:0}.slide-frame{opacity:0;pointer-events:none;transition:opacity .7s ease}.slide-frame.is-active{opacity:1;pointer-events:auto}
.slide-image{width:100%;height:100%;object-fit:contain;display:block;background:#efeee9}
.slide-arrow{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #e1e1dc;background:#fffdf4db;color:#283328;width:40px;height:44px;font:32px Georgia,serif;cursor:pointer;z-index:2}.slide-arrow:hover{background:white}.slide-arrow.is-prev{left:10px}.slide-arrow.is-next{right:10px}
.slide-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:9px;padding:7px 10px;border-radius:20px;background:#fffdf4c9;z-index:2}.slide-dot{width:10px;height:10px;border:1px solid #626d5b;border-radius:50%;background:transparent;cursor:pointer;padding:0}.slide-dot.is-active{background:#56664b}.slide-dot:focus-visible,.slide-arrow:focus-visible{outline:3px solid #7a935e;outline-offset:2px}
/* Compact circular portrait at the left, biography to the right. */
#about.about{display:grid;grid-template-columns:minmax(110px, .38fr) minmax(0,1.6fr);gap:clamp(20px,5vw,80px);align-items:start}
#about .about-visual{display:flex;justify-content:center;align-items:flex-start;padding-top:12px}
#about .about-feature-image,#about .about-placeholder{width:96px;height:96px;min-width:96px;min-height:96px;border-radius:50%;object-fit:cover;margin:0}
#about .about-placeholder{display:grid;place-items:center;font:26px Georgia,serif;color:var(--olive);border:1px solid #c5c9be;background:#eceee8}
#about .about-copy{min-width:0}#about .about-copy p{line-height:1.7}
/* Large, gently washed-out storefront cards. */
.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.shop-grid a.store-card{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:flex-end;min-height:176px;aspect-ratio:1.42;padding:20px 22px;overflow:hidden;border:1px solid var(--line);background:#f7f6f2;text-decoration:none;color:var(--ink)}
.shop-grid a.store-card::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.65);z-index:-1}
.store-card .store-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.94}
.store-card-copy{display:flex;flex-direction:column;gap:7px;text-align:left;min-width:0}
.store-card-copy strong{font:normal clamp(18px,2vw,25px) Georgia,serif;line-height:1.12;overflow-wrap:anywhere}
.store-card-copy small{font-size:12px;color:#454f43;letter-spacing:.4px}
.store-arrow{align-self:flex-end;flex:none;color:var(--olive)}.shop-grid a.store-card:hover{border-color:var(--olive)}
/* Dedicated contact page. */
.contact-page{min-height:64vh;max-width:850px;margin:0 auto;padding-top:75px!important}
.contact-page h1{font:normal clamp(42px,6vw,76px) Georgia,serif;letter-spacing:-.035em;margin:12px 0 22px}
.contact-page>.muted{line-height:1.7;font-size:16px}
.site-contact-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.site-contact-links a{display:inline-flex;padding:14px 18px;border:1px solid var(--line);background:#fff;text-decoration:none;color:var(--ink);overflow-wrap:anywhere}
.site-contact-links a:hover{border-color:var(--olive)}
@media(max-width:600px){:root{--sticky-header-height:105px}.header{gap:8px}.header nav{justify-content:flex-end;flex-wrap:wrap;gap:6px 11px;font-size:12px}.hero-art.has-slideshow{height:340px;min-height:0}.slide-arrow{width:30px;height:36px;font-size:27px}#about.about{grid-template-columns:85px minmax(0,1fr);gap:17px}#about .about-feature-image,#about .about-placeholder{width:68px;height:68px;min-width:68px;min-height:68px}#about .about-placeholder{font-size:20px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shop-grid a.store-card{min-height:145px;aspect-ratio:auto;padding:12px}.store-card-copy strong{font-size:17px}.store-card-copy small{font-size:11px}.contact-page{padding-top:38px!important}}
@media(prefers-reduced-motion:reduce){.slide-frame{transition:none}}

/* V0.6.2 — slideshow artwork flows behind intro; subtle paper-colour fade. */
.hero:has(.hero-art.has-slideshow){position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(460px,40vw,570px);padding:45px 0 52px;overflow:hidden}
.hero:has(.hero-art.has-slideshow)>div:first-child{position:relative;z-index:3;width:min(52%,610px);padding-left:0}
.hero .hero-art.has-slideshow{position:absolute;z-index:0;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;background:var(--paper)}
.hero .slide-frame{overflow:hidden}
.hero .slide-image{position:absolute;right:0;top:0;width:73%;height:100%;object-fit:cover;object-position:center;background:var(--paper)}
.hero .slide-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--paper) 0%,var(--paper) 25%,rgba(250,249,246,.97) 35%,rgba(250,249,246,.82) 44%,rgba(250,249,246,.32) 59%,rgba(250,249,246,0) 73%)}
.hero .slide-arrow{z-index:4}.hero .slide-arrow.is-prev{left:calc(50% + 10px)}.hero .slide-arrow.is-next{right:12px}
.hero .slide-dots{z-index:4;left:75%;bottom:18px}
/* About and socials: small circular image at left, all biography text at right. */
#about.about{display:grid;grid-template-columns:120px minmax(0,1fr);gap:clamp(20px,3vw,42px);align-items:start}
#about .about-visual{display:flex;justify-content:flex-start;padding-top:7px}
#about .about-feature-image,#about .about-placeholder{width:100px;height:100px;min-width:100px;min-height:100px;border-radius:50%;object-fit:cover}
#about .about-copy{min-width:0}#about h2{max-width:850px}#about .about-copy p{max-width:850px}
.about-socials{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.about-socials a{border:1px solid var(--line);padding:9px 13px;font-size:12px;background:#fff}.about-socials a:hover{border-color:var(--olive)}
/* Four storefront cards per row on desktop. */
.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.shop-grid a.store-card{min-width:0;min-height:155px;aspect-ratio:1.35;padding:15px;align-items:flex-end}
.store-card-copy strong{font-size:clamp(16px,1.65vw,22px)}.store-card-copy small{font-size:11px}
/* Dedicated contact form. No email password or private database on public site. */
.contact-page{max-width:1050px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(28px,5vw,65px);padding-top:68px!important}
.contact-page h1{font-size:clamp(40px,5vw,68px);line-height:1.03}
.contact-page .contact-alt{grid-column:1/-1;margin:0 0 20px;font-size:14px}.contact-alt a{text-decoration:underline;text-underline-offset:3px}
.contact-form-section{border:1px solid var(--line);padding:clamp(20px,2.5vw,34px);background:#fff}
.contact-form-section h2{font:normal 30px Georgia,serif;margin:0 0 7px}
.contact-form-section .muted{margin:0 0 23px}
#contact-form{display:grid;gap:16px}#contact-form label{display:grid;gap:7px;font-size:13px;font-weight:600;color:var(--ink)}
.contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#contact-form input,#contact-form select,#contact-form textarea{width:100%;font:normal 14px Arial,sans-serif;padding:12px 13px;background:var(--paper);border:1px solid #d3d6ce;color:var(--ink);border-radius:0}
#contact-form textarea{resize:vertical;min-height:130px}
#contact-form .contact-submit{border:0;justify-content:center;cursor:pointer;min-height:46px}
#contact-form .contact-submit:disabled{cursor:not-allowed;opacity:.45}
#contact-status{font-size:12px;line-height:1.5;margin:0}
.contact-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:900px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero:has(.hero-art.has-slideshow)>div:first-child{width:min(58%,560px)}.hero .slide-frame:after{background:linear-gradient(90deg,var(--paper) 0%,var(--paper) 12%,rgba(250,249,246,.98) 26%,rgba(250,249,246,.66) 48%,transparent 73%)}}
@media(max-width:600px){.hero:has(.hero-art.has-slideshow){display:flex;align-items:flex-start;min-height:670px;padding:38px 0 0}.hero:has(.hero-art.has-slideshow)>div:first-child{width:100%;z-index:3}.hero:has(.hero-art.has-slideshow) h1{font-size:clamp(47px,11vw,65px);max-width:95%}.hero .hero-art.has-slideshow{height:100%}.hero .slide-image{top:auto;bottom:0;width:100%;height:55%;object-fit:cover}.hero .slide-frame:after{background:linear-gradient(180deg,var(--paper) 0%,var(--paper) 31%,rgba(250,249,246,.97) 40%,rgba(250,249,246,.38) 54%,transparent 68%)}.hero .slide-arrow{top:auto;bottom:23%;transform:translateY(50%)}.hero .slide-arrow.is-prev{left:12px}.hero .slide-arrow.is-next{right:12px}.hero .slide-dots{left:50%;bottom:12px}#about.about{grid-template-columns:75px minmax(0,1fr);gap:17px}#about .about-feature-image,#about .about-placeholder{width:72px;height:72px;min-width:72px;min-height:72px}#about h2{font-size:clamp(27px,7vw,40px)}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-grid a.store-card{min-height:145px;padding:11px}.store-card-copy strong{font-size:17px}.contact-page{grid-template-columns:1fr;gap:23px;padding-top:35px!important}.contact-form-grid{grid-template-columns:1fr}}
/* Keep required-field asterisks beside their labels, not on separate grid rows. */
#contact-form label{display:block}
#contact-form label>input,#contact-form label>select,#contact-form label>textarea{display:block;margin-top:8px}

/* V0.6.3 improvements: substantial portrait, flexible gallery, language and consent */
#about.about{grid-template-columns:clamp(170px,19vw,255px) minmax(0,1fr);gap:clamp(24px,3.5vw,58px);align-items:start}
#about .about-visual{padding-top:8px}
#about .about-feature-image,#about .about-placeholder{width:100%;height:auto;aspect-ratio:1/1;min-width:0;min-height:0;max-width:255px;border-radius:50%;object-fit:cover}
.gallery-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 8px}
.gallery-controls label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--sub);white-space:nowrap}
.gallery-controls select{min-width:75px;padding:8px 8px;background:white}
.gallery.thumb-small{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:16px 12px}
.gallery.thumb-medium{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:25px 16px}
.gallery.thumb-large{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:30px 20px}
.subcarousel{position:relative;display:flex;align-items:stretch;gap:8px;margin:9px 0 14px;min-width:0}
.subcarousel[hidden]{display:none!important}
.subcarousel #subcollections{display:flex;gap:10px;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;scroll-snap-type:x proximity;padding:1px 0 5px}
.subcarousel #subcollections::-webkit-scrollbar{display:none}
.subcarousel .subfolder{flex:0 0 clamp(200px,25%,285px);min-height:145px;aspect-ratio:1.9;scroll-snap-align:start}
.subcarousel .sub-arrow{flex:0 0 34px;align-self:stretch;cursor:pointer;background:#fff;border:1px solid var(--line);color:var(--ink);font-size:28px;line-height:1}
.subcarousel .sub-arrow:disabled{opacity:.25;cursor:default}
.lang-menu{position:relative;margin-left:0}.lang-trigger{font-size:12px;border:1px solid var(--line);padding:7px 10px;background:transparent;cursor:pointer;white-space:nowrap}
.lang-popover{position:absolute;right:0;top:calc(100% + 9px);min-width:210px;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 28px #0002;padding:6px;z-index:180}
.lang-popover[hidden]{display:none!important}.lang-popover a,.lang-popover button{display:block;width:100%;padding:9px 11px;text-align:left;font-size:12px;background:transparent;border:0;color:var(--ink);cursor:pointer}
.lang-popover a:hover,.lang-popover button:hover{background:#e7ede3}.lang-footnote{font-size:10px;color:var(--sub);line-height:1.4;padding:8px 11px}
.analytics-consent{position:fixed;bottom:18px;left:18px;z-index:200;max-width:420px;background:var(--paper);padding:18px;border:1px solid var(--line);box-shadow:0 12px 40px #0002;font-size:12px}
.analytics-consent p{margin:0 0 12px}.analytics-consent button{padding:9px 12px;background:white;border:1px solid var(--line);margin-right:7px;cursor:pointer}
@media(max-width:900px){#about.about{grid-template-columns:170px minmax(0,1fr)}.header nav{gap:12px}.lang-menu{margin-left:auto}}
@media(max-width:650px){#about.about{grid-template-columns:95px minmax(0,1fr);gap:16px}#about .about-feature-image,#about .about-placeholder{width:95px;height:95px}.subcarousel .subfolder{flex-basis:215px;aspect-ratio:1.6}.subcarousel .sub-arrow{flex-basis:26px}.gallery.thumb-small{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery.thumb-medium{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery.thumb-large{grid-template-columns:1fr}.gallery-controls{gap:8px}.header{flex-wrap:wrap}.lang-menu{margin-left:0}}

/* V0.6.4 custom logo and persistent folder carousel selection. */
.header .logo.site-logo-image{display:flex;align-items:center;flex:0 1 220px;min-width:65px;max-width:220px;text-decoration:none}
.header .logo.site-logo-image img{display:block;max-width:100%;height:auto;max-height:55px;object-fit:contain}
.subcarousel #subcollections .subfolder.is-selected{border:3px solid #455c40;outline:2px solid #fff;outline-offset:-6px;background:#edf2e9;box-shadow:inset 0 0 0 1px #455c40}
.subcarousel #subcollections .subfolder.is-selected strong{color:#233b22}
@media(max-width:650px){.header .logo.site-logo-image{flex-basis:130px}.header .logo.site-logo-image img{max-height:44px}}

/* V0.6.5: related artworks are images, rather than a text directory. */
.related-gallery{position:relative;display:flex;align-items:center;gap:8px;min-width:0;margin-top:20px}
.related-track{display:flex;gap:12px;flex:1 1 auto;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 2px 10px}
.related-track::-webkit-scrollbar{display:none}
.related-thumb{display:flex;flex:0 0 clamp(126px,18vw,190px);height:clamp(135px,19vw,198px);align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line);background:#f0efe9;scroll-snap-align:start}
.related-thumb:hover,.related-thumb:focus-visible{border-color:var(--olive);box-shadow:0 0 0 2px #829a7440}
.related-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.related-arrow{flex:0 0 38px;width:38px;height:56px;border:1px solid var(--line);background:#fff;color:var(--ink);font:normal 34px/1 Georgia,serif;cursor:pointer}
.related-arrow:hover:not(:disabled){border-color:var(--olive);background:#eff2eb}
.related-arrow:disabled{opacity:.35;cursor:default}
@media(max-width:600px){.related-gallery{gap:5px}.related-arrow{flex-basis:29px;width:29px;height:46px;font-size:27px}.related-track{gap:9px}.related-thumb{flex-basis:132px;height:145px}}
@media(prefers-reduced-motion:reduce){.related-track{scroll-behavior:auto}}

/* V0.6.5b — Keep full artwork titles in source/SEO/search while visually
   limiting public gallery card headings to two lines at any thumbnail size. */
#gallery-grid .art-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.35;
  min-height: 2.7em;
}

/* V0.7.2: collection cards — legible typography over softly washed imagery */
#brand-list .brand{background:#f7f6f2;isolation:isolate;box-shadow:inset 0 0 0 1px rgba(255,255,255,.42);min-height:192px;justify-content:center;}
#brand-list .brand .collection-cover-img{z-index:-2;opacity:.76;filter:saturate(.75) contrast(.88);transition:opacity .25s ease;}
#brand-list .brand::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,249,246,.98) 0%,rgba(250,249,246,.91) 46%,rgba(250,249,246,.67) 100%);pointer-events:none;}
#brand-list .brand:hover .collection-cover-img{opacity:.88;}
#brand-list .brand strong{color:#181d1a;text-shadow:0 1px 0 rgba(255,255,255,.35);margin:3px 0 8px;font-weight:500;}
#brand-list .brand p{color:#303b32;font-weight:500;line-height:1.55;}
#brand-list .brand .arrow{align-self:flex-start;color:#283d2c;font-weight:600;margin-top:14px;}
@media(max-width:600px){#brand-list .brand{min-height:130px;}}


/* V0.7.3: collection and sub-collection cards — bottom-left text only.
   A localized, soft bottom-left wash replaces the full-card bleaching.
   Original folder descriptions remain in the gallery description area. */
#brand-list .brand, .subcollections .subfolder {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; flex-direction:column; align-items:flex-start;
  justify-content:flex-end; text-align:left;
  background:#f7f6f2; padding:18px 20px;
  box-shadow:none;
}
#brand-list .brand {min-height:192px;}
#brand-list .brand .code, .subcollections .subfolder .code,
#brand-list .brand > p, .subcollections .subfolder .subfolder-description {display:none!important;}
#brand-list .brand .collection-cover-img,
.subcollections .subfolder .collection-cover-img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:.94; filter:saturate(.90) contrast(.98); z-index:-2;
}
#brand-list .brand::before,
.subcollections .subfolder::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 125% 115% at 0% 100%,
      rgba(250,249,246,.96) 0%, rgba(250,249,246,.85) 23%,
      rgba(250,249,246,.53) 42%, rgba(250,249,246,.12) 66%,
      rgba(250,249,246,0) 82%);
}
#brand-list .brand:hover .collection-cover-img,
.subcollections .subfolder:hover .collection-cover-img {opacity:1;}
#brand-list .brand strong,.subcollections .subfolder strong {
  color:#181d1a; font-weight:500; line-height:1.17;
  text-shadow:0 1px 3px rgba(250,249,246,.72);
  margin:0 0 8px; max-width:100%;
}
#brand-list .brand .arrow,.subcollections .subfolder > span:not(.subfolder-description) {
  display:block; align-self:flex-start; margin:0; color:#283d2c;
  font-size:13px; font-weight:650; line-height:1.35;
  text-shadow:0 1px 2px rgba(250,249,246,.82);
}
@media(max-width:600px){
  #brand-list .brand,.subcollections .subfolder{padding:13px;}
  #brand-list .brand{min-height:147px;}
  #brand-list .brand strong{font-size:21px;}
  .subcollections .subfolder strong{font-size:15px;}
}


/* V0.7.3a — Preserve the V0.7.3 bottom-left text layout while restoring
   a restrained white wash throughout each cover. The baseline wash is
   approximately 40% white; an additional bottom-left radial gradient
   increases contrast immediately behind the collection/folder name. */
#brand-list .brand::before,
.subcollections .subfolder::before {
  background:
    radial-gradient(ellipse 115% 105% at 0% 100%,
      rgba(255,255,255,.80) 0%,
      rgba(255,255,255,.62) 19%,
      rgba(255,255,255,.35) 37%,
      rgba(255,255,255,.10) 59%,
      rgba(255,255,255,0) 79%),
    rgba(255,255,255,.40);
}

/* V0.7.4 — quiet collection covers: names only, bottom-aligned, two-layer wash. */
#brand-list .brand,.subcollections .subfolder {
  justify-content:flex-end; align-items:flex-start; text-align:left;
}
#brand-list .brand .arrow,.subcollections .subfolder > span:not(.subfolder-description) {display:none!important;}
#brand-list .brand strong,.subcollections .subfolder strong {
  margin:0; position:relative; z-index:2;
  text-shadow:0 1px 2px rgba(255,255,255,.75);
}
#brand-list .brand::before,.subcollections .subfolder::before {
  background:
    linear-gradient(to top, rgba(255,255,255,.82) 0%,
      rgba(255,255,255,.70) 15%, rgba(255,255,255,.33) 45%,
      rgba(255,255,255,0) 85%),
    rgba(255,255,255,.40);
}
