@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600&display=swap');
/* Shared presentation layer. Functional selectors and scripts remain intact. */
:root{color-scheme:dark;--bg:#191816;--panel:#22201d;--paper:#24221f;--text:#f1ece2;--ink:#f1ece2;--muted:#b7afa2;--line:#423c34;--accent:#c5b08e;--light:#e4d5bb;--dark:#e4d5bb;--heart:#db9a94;--serif:'Noto Serif KR',Georgia,'Iowan Old Style','AppleMyungjo','Batang',serif;--sans:-apple-system,BlinkMacSystemFont,'Noto Sans KR',sans-serif}
body{background:var(--bg);color:var(--text);font-family:var(--sans);line-height:1.65}h1,h2,h3,.brand,.logo,.title{font-family:var(--serif);font-weight:400;word-break:keep-all}h1{letter-spacing:-.035em}p{word-break:keep-all}a{color:inherit}button,input,textarea,select{font-family:var(--sans)}button,.btn,.pill,.secondary,.next,.primary{border-radius:2px;min-height:46px;font-size:14px;box-shadow:none}button{color:var(--text)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:not([type=file]),textarea,select{background:var(--panel);color:var(--text);border-color:var(--line);font-size:16px;border-radius:2px}input::placeholder,textarea::placeholder{color:#a69e91}header,.top{border-color:var(--line)}.brand,.logo{letter-spacing:.16em;font-size:21px}.top{background:#191816f5}.page{background:var(--bg)}.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--accent)}.small,.help,.lead,.trust,.muted,.price,.artist,.empty,.status{font-size:14px}.label,.field,dialog label{font-size:14px}.btn,.pill,.secondary{border-color:var(--line);color:var(--text);background:transparent}.primary,.btn.primary,.next,.btn.on{background:var(--light);color:#211e19;border-color:var(--light)}.card{border:0;background:transparent}.card .meta{padding:16px 0}.art{background:#22201d;border:0}.art img{object-fit:contain}.panel{background:var(--panel);border-color:var(--line)}.row{border-color:var(--line)}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);max-height:90svh;overflow:auto}dialog::backdrop{background:#090807cc}.empty{background:transparent;border:0;border-top:1px solid var(--line);padding:26px 0}.status{overflow-wrap:anywhere}.item,.order,.notice,.settings{background:var(--panel);border-color:var(--line);border-radius:0;box-shadow:none}.bank{background:#29251f;border-color:#71634e}.item{padding:22px}.order{padding:26px}.badge,.order-number,.step-label{font-size:12px}.money div,.settings label,.bank p{font-size:14px}.settings input{font-size:16px}.tabs{gap:10px;padding-bottom:20px}.tabs .btn{flex-shrink:0}.top a,.nav a{white-space:nowrap}.wrap{max-width:1240px}.gallery-home .wrap{width:min(1240px,calc(100% - 80px))}.gallery-home .nav{height:84px}.gallery-home .navlinks{font-size:14px;gap:32px}.gallery-home .hero{min-height:640px;background:radial-gradient(ellipse at 80% 30%,#57473766,transparent 60%),linear-gradient(110deg,#151412,#28241e);position:relative}.gallery-home .hero-inner{grid-template-columns:1.5fr .5fr;padding:100px 0;gap:70px;align-items:center}.gallery-home .hero h1{font-size:clamp(44px,5vw,72px);line-height:1.4;letter-spacing:-.045em;max-width:850px}.gallery-home .hero-note{border-left:1px solid #827159;max-width:260px;padding-left:30px;font-family:var(--serif);font-size:18px;line-height:2}.gallery-home .hero-note strong{font-size:24px;font-weight:400}.gallery-home .cta{margin-top:36px}.gallery-home .pill{padding:12px 24px}.gallery-home section{padding:84px 0}.gallery-home .section-head{margin-bottom:36px;align-items:end}.gallery-home .section-head h2{font-size:36px}.gallery-home .section-head p{font-size:14px;line-height:1.85}.gallery-home .grid{gap:28px}.gallery-home .artist-feature{gap:64px}.gallery-home .artist-visual{aspect-ratio:5/4}.gallery-home .artist-copy h3{font-size:36px}.gallery-home .artist-card{padding:24px 0;border:0;border-top:1px solid var(--line);min-height:200px}.gallery-home .artist-card p{font-size:14px}.gallery-home .artist-card .tag{font-size:11px}.gallery-home .auction{border:0;border-top:1px solid var(--line);padding-top:24px;gap:24px}.gallery-home .auction-info{padding:0}.gallery-home .auction-line span{font-size:12px}.gallery-home .founding{background:#24211c;color:var(--text);padding:60px;gap:40px}.gallery-home .founding p{color:var(--muted)}.gallery-home .founding .eyebrow{color:var(--accent)!important}.gallery-home .founding .pill{border-color:var(--accent)}.gallery-home .foot{padding:56px 0;font-size:13px}.gallery-work .grid{grid-template-columns:1.4fr 1fr;gap:60px;padding-top:56px}.gallery-work .hero{background:#211f1c;border:0;aspect-ratio:4/5}.gallery-work .panel{padding:22px 0;background:transparent;border:0;border-top:1px solid var(--line)}.gallery-work .price{font-size:32px;color:var(--text)}.gallery-work .sticky-mobile{margin-top:24px}.gallery-work #buy{width:100%}.gallery-artist .hero{grid-template-columns:minmax(220px,38%) 1fr;gap:48px;padding:60px 0}.gallery-artist .avatar{width:100%;height:auto;aspect-ratio:4/5;border-radius:0;object-fit:cover;border:0}.gallery-artist .follow-wrap{grid-column:2}.gallery-artist .quote{text-align:left;padding:50px 0;max-width:800px}.gallery-artist .grid{gap:28px}.gallery-upload .page{max-width:720px}.gallery-upload header{padding:0 24px;border-bottom:1px solid var(--line)}.gallery-upload .section{padding:30px 24px}.gallery-upload .upload label{min-height:116px;border:1px solid #71634e;background:#24211d;font-size:15px;line-height:1.5;text-align:center;padding:12px}.gallery-upload .chip,.gallery-upload .mode,.gallery-upload .day{border-radius:2px;min-height:44px;color:var(--text);background:var(--panel)}.gallery-upload .on{background:var(--light);color:#211e19;border-color:var(--light)}.gallery-upload .sticky{width:min(720px,100%);background:#191816f5}.gallery-upload .sticky button{border-color:var(--line);color:var(--text)}.gallery-upload .sticky .publish{background:var(--light);color:#211e19}.gallery-upload .thumb small{font-size:12px}.gallery-login .page,.gallery-profile .page{max-width:680px}.gallery-login main,.gallery-profile main{padding:64px 32px}.gallery-login h1{font-family:var(--serif);font-weight:400;font-size:38px;line-height:1.6}.gallery-login .providers{width:100%;gap:14px}.gallery-login .provider{min-height:54px;font-size:16px}.gallery-login .kakao{background:#fee500;color:#191919}.gallery-login .naver{background:#03a94d;color:white}.gallery-login .google{background:white;color:#252525}.gallery-login .account{padding:0;border:0;background:transparent}.gallery-login .secondary,.gallery-login .next{padding:16px}.gallery-profile .avatar{border-radius:2px}.gallery-orders .wrap{max-width:940px}.gallery-notifications .wrap{padding-top:0}.gallery-notifications h1{margin:48px 0 30px}.gallery-admin .item,.gallery-admin .settings{padding:24px}.gallery-admin .actions{gap:10px}
[hidden]{display:none!important}.hidden{display:none!important}
@media(max-width:760px){.brand,.logo{font-size:18px;letter-spacing:.1em}.gallery-home .wrap{width:calc(100% - 36px)}.gallery-home .nav{height:68px;gap:8px}.gallery-home .nav .pill{padding:10px;font-size:13px}.gallery-home .hero{min-height:540px}.gallery-home .hero-inner{grid-template-columns:1fr;padding:62px 0;gap:30px}.gallery-home .hero h1{font-size:clamp(33px,8vw,46px);line-height:1.5}.gallery-home .hero-note{max-width:100%;font-size:14px;padding-left:18px}.gallery-home .hero-note strong{font-size:19px}.gallery-home .lead{font-size:15px}.gallery-home section{padding:48px 0}.gallery-home .section-head{align-items:start;gap:10px;margin-bottom:24px}.gallery-home .section-head h2{font-size:29px}.gallery-home .section-head p{margin:0}.gallery-home .artist-feature{gap:26px}.gallery-home .artist-copy h3{font-size:29px}.gallery-home .grid{gap:22px 14px}.gallery-home .artist-grid{grid-template-columns:1fr 1fr;gap:18px}.gallery-home .artist-card{min-height:160px}.gallery-home .auction{gap:18px}.gallery-home .founding{padding:28px}.gallery-home .founding h2{font-size:29px}.gallery-work .grid{grid-template-columns:1fr;gap:32px;padding:24px 0 100px}.gallery-work .hero{aspect-ratio:4/5;max-height:72svh}.gallery-work .sticky-mobile{background:#191816f5;margin:0}.gallery-work h1{font-size:36px}.gallery-work .price-time{flex-wrap:wrap}.gallery-artist .hero{grid-template-columns:1fr;gap:24px;padding:28px 0}.gallery-artist .avatar{aspect-ratio:5/4;max-height:440px}.gallery-artist .follow-wrap{grid-column:auto}.gallery-artist .hero .btn{width:auto;min-width:140px}.gallery-artist .grid{gap:22px 14px}.gallery-upload .section{padding:26px 18px}.gallery-upload .sticky button{font-size:14px}.gallery-login main,.gallery-profile main{padding:42px 22px}.gallery-login h1{font-size:31px}.gallery-orders .order{padding:18px}.gallery-admin .item,.gallery-admin .settings{padding:18px}.gallery-admin .tabs .btn{font-size:14px}.head{flex-wrap:wrap}.row,.bank{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.art img{transition:none}.skeleton{animation:none}.card:hover img{transform:none}}
/* Decorative brand gallery; independent of artwork records and image uploads. */
.gallery-home .hero{background:linear-gradient(90deg,rgba(20,19,17,.82),rgba(20,19,17,.45) 43%,rgba(20,19,17,.06) 68%),url('/assets/gallery-hero.png') center/cover no-repeat;position:relative}.gallery-home .hero-inner{grid-template-columns:minmax(0,1fr);align-items:center;min-height:640px}.gallery-home .hero-inner>div:first-child{max-width:720px}.gallery-home .hero h1{font-size:clamp(38px,4.2vw,62px)}.gallery-home .hero .lead{max-width:400px;color:#ddd5c8}.gallery-home .hero-note{display:none}.gallery-home .hero .pill:not(.primary){background:#191816a6}.gallery-home .hero::after{content:'IROUN ART · 브랜드 공간 이미지';position:absolute;right:24px;bottom:18px;font-size:10px;letter-spacing:.1em;color:#d3c9b9}
@media(max-width:760px){.gallery-home .hero{background-position:62% center;background-image:linear-gradient(90deg,rgba(20,19,17,.88),rgba(20,19,17,.56) 62%,rgba(20,19,17,.22)),url('/assets/gallery-hero.png')}.gallery-home .hero-inner{min-height:570px;padding:64px 0 80px}.gallery-home .hero h1{font-size:clamp(32px,8vw,46px)}.gallery-home .hero .lead{max-width:310px}.gallery-home .hero::after{right:18px;font-size:9px}}

/* Home annotation adjustments: artist hierarchy and founding portraits. */
.gallery-home .artist-copy{align-self:start;padding-top:0}.gallery-home .artist-copy h3{margin-top:10px}.gallery-home .founding{display:block}.gallery-home .founding>div>p{margin:12px 0 28px;font-size:16px;line-height:1.8}.gallery-home .founding-artists{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 20px;margin:28px 0}.gallery-home .founding-person{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;font-size:14px}.gallery-home .founding-portrait{display:grid;place-items:center;width:min(100%,112px);aspect-ratio:1;border-radius:50%;overflow:hidden;background:#39342d;color:var(--muted);font-size:24px}.gallery-home .founding-portrait img{width:100%;height:100%;object-fit:cover}.gallery-home .founding-person>span:last-child{overflow-wrap:anywhere}.gallery-home .founding-artists>.empty{font-size:14px}
@media(max-width:760px){.gallery-home .founding-artists{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 14px}.gallery-home .founding>div>p{font-size:14px}}

/* Compact editorial home layout and preview-only sample presentation. */
.gallery-home section{padding:56px 0}.gallery-home .section-head{align-items:end;margin-bottom:20px}.gallery-home .section-head h2{font-size:28px;line-height:1.3;margin:4px 0 0}.gallery-home .section-head p{font-size:14px;line-height:1.7;margin-bottom:1px}.gallery-home #artists{padding:44px 0 48px}.gallery-home .artist-feature{grid-template-columns:240px minmax(0,1fr);gap:46px;align-items:center;max-width:880px}.gallery-home .artist-profile{text-align:center}.gallery-home .artist-profile h3{font-size:25px;line-height:1.35;margin:14px 0 5px}.gallery-home .artist-visual{display:grid;place-items:center;width:204px;aspect-ratio:1;border-radius:50%;padding:5px;margin:auto;overflow:hidden;background:#2b2823;border:1px solid #8e7755;box-shadow:0 0 0 4px var(--bg),0 0 0 5px #4a4033}.gallery-home .artist-visual img{width:100%;height:100%;border-radius:50%;object-fit:cover}.gallery-home .artist-initial{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;font-family:var(--serif);font-size:48px;color:var(--accent)}.gallery-home .artist-copy{max-width:600px}.gallery-home .artist-copy .lead{font-family:var(--serif);font-size:19px;line-height:1.9;color:#d8d0c3}.gallery-home .artist-card{padding:20px 0;min-height:172px}.gallery-home .auction{padding-top:20px}.gallery-home .founding{padding:42px}.gallery-home .demo-card{cursor:default}.gallery-home .demo-art{background-image:url('/assets/sample-artworks.webp');background-repeat:no-repeat;background-size:300% 200%}.gallery-home .demo-art-1{background-position:0 0}.gallery-home .demo-art-2{background-position:50% 0}.gallery-home .demo-art-3{background-position:100% 0}.gallery-home .demo-art-4{background-position:0 100%}.gallery-home .demo-art-5{background-position:50% 100%}.gallery-home .demo-art-6{background-position:100% 100%}.gallery-home .demo-founder .founding-portrait{position:relative;background-image:url('/assets/sample-artworks.webp');background-repeat:no-repeat;background-size:300% 200%;color:#f4ede1}.gallery-home .demo-founder .founding-portrait::after{content:'';position:absolute;inset:0;background:#17151273}.gallery-home .demo-founder .founding-portrait>span{position:relative;z-index:1;text-shadow:0 1px 8px #000}.gallery-home .demo-founder-1{background-position:0 0}.gallery-home .demo-founder-2{background-position:50% 0}.gallery-home .demo-founder-3{background-position:100% 0}.gallery-home .demo-founder-4{background-position:0 100%}.gallery-home .demo-founder-5{background-position:50% 100%}.gallery-home .demo-founder-6{background-position:100% 100%}
@media(max-width:760px){.gallery-home section{padding:36px 0}.gallery-home #artists{padding:34px 0 38px}.gallery-home .section-head{align-items:start;gap:6px;margin-bottom:18px}.gallery-home .section-head h2{font-size:24px;margin-top:2px}.gallery-home .artist-feature{grid-template-columns:1fr;gap:24px;text-align:center}.gallery-home .artist-visual{width:168px}.gallery-home .artist-profile h3{font-size:22px}.gallery-home .artist-copy{margin:auto}.gallery-home .artist-copy .lead{font-size:17px;line-height:1.8}.gallery-home .stats{justify-content:center;margin:18px 0}.gallery-home .artist-card{min-height:150px}.gallery-home .founding{padding:26px}.gallery-home .founding h2{font-size:24px}}

/* Two-audience hero: a compact, functional carousel for collectors and artists. */
.gallery-home .hero{display:block;min-height:480px;overflow:hidden;background:#171512}
.gallery-home .hero::after{content:none}
.gallery-home .hero-slide{min-height:480px;display:grid;align-items:center;background-position:center;background-size:cover;background-repeat:no-repeat}
.gallery-home .hero-slide[hidden]{display:none}
.gallery-home .hero-slide-collector{background-image:linear-gradient(90deg,rgba(20,19,17,.84),rgba(20,19,17,.47) 45%,rgba(20,19,17,.08) 72%),url('/assets/gallery-hero.png')}
.gallery-home .hero-slide-artist{background-image:linear-gradient(90deg,rgba(20,19,17,.93),rgba(20,19,17,.72) 46%,rgba(20,19,17,.18) 75%),url('/assets/hero-artist-acrylic.webp');background-position:center 45%}
.gallery-home .hero-inner{min-height:auto;padding:58px 0 88px}
.gallery-home .hero-switcher{position:absolute;z-index:2;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:24px;pointer-events:none}
.gallery-home .hero-switcher button{pointer-events:auto;min-height:34px;padding:0 0 7px;border:0;border-bottom:1px solid transparent;background:transparent;color:#b8afa2;font-size:12px;letter-spacing:.04em;cursor:pointer}
.gallery-home .hero-switcher button span{margin-right:7px;font-family:var(--serif);color:#d7c19d}
.gallery-home .hero-switcher button[aria-selected="true"]{border-bottom-color:#dfd2be;color:#f1ece2}
@media(max-width:760px){.gallery-home .hero,.gallery-home .hero-slide{min-height:430px}.gallery-home .hero-inner{min-height:auto;padding:44px 0 82px}.gallery-home .hero-slide-collector{background-position:63% center}.gallery-home .hero-slide-artist{background-position:61% 34%}.gallery-home .hero h1{font-size:clamp(30px,8vw,42px);line-height:1.42}.gallery-home .hero .lead{font-size:14px;line-height:1.75;max-width:285px}.gallery-home .hero .cta{margin-top:24px}.gallery-home .hero-switcher{bottom:16px;gap:18px}.gallery-home .hero-switcher button{font-size:11px}}

/* Home discovery refinements from visual review. */
.gallery-home .nav-icon{display:grid;place-items:center;width:44px;height:44px;color:#e7dfd3;transition:color .2s ease}
.gallery-home .nav-icon:hover{color:var(--accent)}
.gallery-home .nav-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gallery-home .artist-card{display:flex;flex-direction:column;justify-content:flex-start;gap:14px;padding:18px 0;min-height:230px}
.gallery-home .artist-card-head{display:flex;align-items:flex-end;gap:14px}
.gallery-home .artist-card-portrait{position:relative;flex:0 0 72px;width:72px;height:72px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#302c26;border:1px solid #79694f;font-family:var(--serif);font-size:24px;color:var(--accent)}
.gallery-home .artist-card-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gallery-home .artist-card-identity{min-width:0;padding-bottom:2px}
.gallery-home .artist-card .tag{line-height:1.25;margin-bottom:5px;white-space:nowrap}
.gallery-home .artist-card h3{font-size:21px;line-height:1.25;margin:0}
.gallery-home .artist-card p{margin:0;min-height:3.4em;line-height:1.7}
.gallery-home .artist-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.gallery-home .artist-card-stats>.artist-metric{display:flex;flex-direction:column;gap:2px}
.gallery-home .artist-card-stats strong{font-family:var(--serif);font-size:17px;font-weight:400;color:var(--text)}
.gallery-home .section-more-row{display:flex;justify-content:flex-end;margin-top:24px}
.gallery-home .section-more{display:inline-flex;align-items:center;gap:16px;padding:7px 1px;color:#d9d0c3;font-family:var(--serif);font-size:14px;letter-spacing:.03em}
.gallery-home .section-more-arrow{transition:transform .2s ease;color:var(--accent)}
.gallery-home .section-more:hover .section-more-arrow{transform:translateX(4px)}
.gallery-home .section-more .mobile-label,.gallery-home .mobile-break{display:none}
.gallery-home .stats strong{font-family:var(--serif);font-weight:400}
@media(max-width:760px){.gallery-home .nav-icon{width:38px;height:42px}.gallery-home .nav-icon svg{width:20px;height:20px}.gallery-home .nav .actions{gap:2px}.gallery-home .artist-card{min-height:248px;gap:12px}.gallery-home .artist-card-head{display:block}.gallery-home .artist-card-portrait{width:64px;height:64px;margin-bottom:10px}.gallery-home .artist-card .tag{font-size:9px;margin-bottom:4px}.gallery-home .artist-card h3{font-size:19px}.gallery-home .artist-card p{font-size:13px;min-height:5.1em}.gallery-home .artist-card-stats{gap:5px;font-size:10px}.gallery-home .artist-card-stats strong{font-size:15px}.gallery-home .section-more-row{margin-top:18px}}

/* Artwork detail refinements: compact information and a complete multi-image gallery. */
.gallery-work .grid{grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr);gap:48px;align-items:start}
.gallery-work .artwork-info{align-self:start;min-width:0}
.gallery-work .artwork-info h1{font-size:clamp(34px,3.7vw,48px);line-height:1.16;margin:8px 0 16px}
.gallery-work .artist{padding-bottom:14px}
.gallery-work .artist-identity{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.gallery-work .artist-identity>a{font-family:var(--serif);font-size:18px;line-height:1.4}
.gallery-work .artist .btn{min-height:36px;padding:6px 13px}
.gallery-work .price-time{margin:18px 0}
.gallery-work .panel{margin-top:14px;padding:14px 0}
.gallery-work .artwork-specs{padding-bottom:8px}
.gallery-work .row{padding:6px 0}
.gallery-work .trust span,.gallery-work dialog p span{display:block}
.gallery-work .image-stage{position:relative;min-width:0}
.gallery-work .hero.interactive{cursor:e-resize}
.gallery-work .gallery-nav{position:absolute;inset:0;z-index:2;pointer-events:none}
.gallery-work .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:54px;min-height:0;padding:0;border:1px solid #d8cec044;background:#171512c7;color:#f1ece2;font:300 31px/1 var(--serif);cursor:pointer;pointer-events:auto;backdrop-filter:blur(5px)}
.gallery-work .gallery-arrow:hover{background:#171512e8;border-color:#c5b08e}
.gallery-work .gallery-arrow.prev{left:12px}.gallery-work .gallery-arrow.next{right:12px}
.gallery-work #imageCount{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:5px 10px;background:#171512bd;color:#f1ece2;font-size:11px;letter-spacing:.12em;pointer-events:none}
.gallery-work .thumb{opacity:.62;cursor:pointer;transition:opacity .18s ease,border-color .18s ease}
.gallery-work .thumb:hover,.gallery-work .thumb.selected{opacity:1;border-color:var(--accent)}
@media(max-width:760px){.gallery-work .grid{grid-template-columns:1fr;gap:28px}.gallery-work .artwork-info h1{font-size:34px}.gallery-work .gallery-arrow{width:38px;height:48px}.gallery-work #imageCount{bottom:10px}}

/* Home navigation and search: quiet editorial controls, shared across desktop and mobile. */
.gallery-home .nav .brand{margin-right:0}
.gallery-home .navlinks{align-items:center}
.gallery-home .navlinks a{padding:8px 0;color:var(--muted);transition:color .18s ease}
.gallery-home .navlinks a:hover{color:var(--text)}
.gallery-home .actions{margin-left:auto;align-items:center}
.gallery-home .search-trigger{width:44px;padding:0;border:0;background:transparent}
.gallery-home .search-trigger svg{width:18px;height:18px}
.site-search{width:min(680px,calc(100% - 32px));padding:0;border:1px solid #574f44;background:#1b1917;color:var(--text)}
.site-search::backdrop{background:#080706c7;backdrop-filter:blur(3px)}
.search-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.search-head strong{font:400 20px var(--serif);letter-spacing:.04em}
.search-close{min-height:36px;padding:4px 8px;border:0;background:transparent;color:var(--text);font-size:24px}
.search-field{display:flex;align-items:center;gap:10px;margin:22px;border-bottom:1px solid #78694f}
.search-field svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:1.5}
.search-field input{width:100%;padding:12px 2px;border:0;background:transparent;font-size:17px;outline:0}
.search-results{display:grid;gap:0;max-height:56svh;overflow:auto;padding:0 22px 24px}
.search-result{display:grid;grid-template-columns:88px 1fr;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}
.search-result-kind{color:var(--accent);font:10px var(--serif);letter-spacing:.13em}
.search-result strong{font-weight:500}
.search-result small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.search-empty{padding:24px 0;color:var(--muted);font-size:13px}
@media(max-width:760px){
  .gallery-home .nav{height:auto;min-height:98px;flex-wrap:wrap;padding:10px 0 9px}
  .gallery-home .nav .brand{order:1}
  .gallery-home .actions{order:2}
  .gallery-home .navlinks{display:flex;order:3;width:100%;gap:22px;padding-top:7px;border-top:1px solid var(--line);font-size:12px}
  .gallery-home .search-trigger{width:38px;padding:0}
  .site-search{width:calc(100% - 20px)}
  .search-head{padding:17px}
  .search-field{margin:18px 17px}
  .search-results{padding:0 17px 20px}
  .search-result{grid-template-columns:72px 1fr}
}

/* Compact the three homepage artist sections after removing the founding CTA. */
.gallery-home #artists{padding:26px 0 30px}
.gallery-home #artists .section-head{margin-bottom:14px}
.gallery-home #artists .artist-feature{grid-template-columns:190px minmax(0,1fr);gap:30px}
.gallery-home #artists .artist-visual{width:158px}
.gallery-home #artists .artist-profile h3{font-size:23px;margin:10px 0 3px}
.gallery-home #artists .artist-copy .lead{margin:0;font-size:18px}
.gallery-home #artists .stats{margin:16px 0}
.gallery-home #discover-artists{padding:28px 0 29px}
.gallery-home #discover-artists .section-head{margin-bottom:14px}
.gallery-home #discover-artists .artist-card{min-height:190px;gap:7px;padding:10px 0}
.gallery-home #discover-artists .artist-card p{min-height:1.7em}
.gallery-home #discover-artists .section-more-row{margin-top:8px}
.gallery-home #founding-section{padding:26px 0 30px}
.gallery-home #founding-section .founding{padding:0;background:transparent;border:0;box-shadow:none}
.gallery-home #founding-section .founding>div>p{margin:8px 0 18px}
.gallery-home #founding-section .founding-artists{grid-template-columns:repeat(auto-fill,minmax(100px,112px));justify-content:start;margin:0;gap:24px}
.gallery-home #founding-section .founding-person{align-items:flex-start;text-align:left}
.gallery-home #founding-section .founding-portrait{width:min(100%,88px)}
@media(max-width:760px){
 .gallery-home #artists,.gallery-home #discover-artists,.gallery-home #founding-section{padding:24px 0}
 .gallery-home #artists .artist-feature{grid-template-columns:1fr;gap:16px}
 .gallery-home #artists .artist-visual{width:148px}
 .gallery-home #discover-artists .artist-card{min-height:0}
 .gallery-home #founding-section .founding{padding:0}
}

/* Keep the six homepage editorial sections at the same desktop height. */
@media(min-width:761px){
 .gallery-home #artists,.gallery-home #discover-artists,.gallery-home #works,.gallery-home #auctions,.gallery-home #new-works,.gallery-home #founding-section{min-height:368px}
}

/* Compact artist metrics and a side-by-side mobile feature. */
.gallery-home .metric-icon{display:none}
@media(max-width:760px){
  .gallery-home #artists .artist-feature{display:grid;grid-template-columns:102px minmax(0,1fr);column-gap:18px;row-gap:3px;align-items:start;text-align:left}
  .gallery-home #artists .artist-profile{display:contents}
  .gallery-home #artists .artist-visual{grid-column:1;grid-row:1 / span 3;width:94px;margin:5px 0 0 4px}
  .gallery-home #artists .artist-profile h3{grid-column:2;grid-row:1;margin:0;font-size:23px;text-align:left}
  .gallery-home #artists .artist-profile .eyebrow{grid-column:2;grid-row:2;text-align:left;font-size:9px;line-height:1.5}
  .gallery-home #artists .artist-copy{grid-column:2;grid-row:3;margin:0;min-width:0;text-align:left}
  .gallery-home #artists .artist-copy .lead{font-size:14px;line-height:1.65;margin:7px 0 0}
  .gallery-home #artists .artist-copy .pill{display:none}
  .gallery-home #artists .stats{justify-content:flex-start;margin:12px 0 0}
  .gallery-home #discover-artists .artist-card{gap:9px;padding:11px 0}
  .gallery-home #discover-artists .artist-card-head{display:flex;align-items:center;gap:12px}
  .gallery-home #discover-artists .artist-card-portrait{flex-basis:64px;margin:0}
  .gallery-home #discover-artists .artist-card p{min-height:0;line-height:1.55}
  .gallery-home #artists .stats,.gallery-home #discover-artists .artist-card-stats{display:flex;align-items:center;gap:16px}
  .gallery-home #discover-artists .artist-card-stats{margin:2px 0 0;padding:0;border:0}
  .gallery-home #artists .artist-metric,.gallery-home #discover-artists .artist-card-stats>.artist-metric{display:inline-flex;flex-direction:row;align-items:center;gap:4px;white-space:nowrap;color:var(--muted);font-size:12px}
  .gallery-home #artists .artist-metric strong,.gallery-home #discover-artists .artist-card-stats strong{display:inline;margin:0;color:var(--text);font:400 12px var(--serif)}
  .gallery-home .metric-icon{display:inline-grid;place-items:center;width:16px;height:16px;color:var(--accent)}
  .gallery-home .metric-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
  .gallery-home .metric-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}

/* Mobile editorial labels and collector copy break. */
@media(max-width:760px){.gallery-home .section-more .desktop-label{display:none}.gallery-home .section-more .mobile-label,.gallery-home .mobile-break{display:inline}}

/* Mobile founding alignment and more-link typography. */
@media(max-width:760px){
  .gallery-home #founding-section .founding-person{align-items:center;text-align:center}
  .gallery-home .section-more{gap:12px;align-items:center;color:var(--accent);line-height:18px}
  .gallery-home .section-more .mobile-label,.gallery-home .section-more .section-more-arrow{display:inline-flex;align-items:center;height:18px;line-height:18px}
  .gallery-home .section-more .section-more-arrow{font-family:var(--sans);font-size:16px}
}

/* Keep homepage section anchors below the sticky navigation. */
.gallery-home main > section[id]{scroll-margin-top:96px}
@media(max-width:760px){.gallery-home main > section[id]{scroll-margin-top:130px}}
