/*
Theme Name: Khomski Studio
Version: 1.0.0
Description: An artwork-first gallery for Alex Khomski.
*/
:root{--paper:#f9f9f6;--ink:#242923;--muted:#656b62;--line:#daddd5;--accent:#43513e;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}a,button,input,summary,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a05c32;outline-offset:5px}button,a,summary{ -webkit-tap-highlight-color:transparent}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;line-height:1.08}h1{font-size:clamp(44px,5.2vw,80px)}h2{font-size:clamp(38px,4vw,60px)}h3{font-size:18px;font-weight:500;line-height:1.4}em{font-weight:400;color:#626e57}p{color:var(--muted)}.site-header{margin:0 5%;padding:30px 0 26px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:25px}.wordmark{font-family:var(--serif);font-size:30px;line-height:1.2;letter-spacing:-1px}.wordmark span{display:block;font:10px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:2.5px;margin-top:6px}.site-header nav{display:flex;gap:35px;font-size:14px}.site-header nav a:hover,.text-link:hover{color:#8a4c2a}.eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;color:var(--accent);margin-bottom:24px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:7%;padding:68px 5% 64px;align-items:center}.hero-copy{padding:0 0 10px}.hero h1{margin-bottom:28px}.hero-copy>p:not(.eyebrow){max-width:410px;font-size:17px;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--accent);background:var(--accent);color:#fff;padding:13px 26px;font-size:14px;font-weight:500;cursor:pointer;border-radius:0;min-height:48px}.button:hover{background:#273023}.hero .button{margin-top:12px}.hero-foot{margin-top:62px;letter-spacing:1.8px;font-size:11px;color:var(--muted)}.hero-art{padding:24px 24px 0;background:#e9e9e1}.hero-art img{max-height:550px;width:100%;object-fit:contain;box-shadow:0 8px 24px #2222}.hero-art p{display:flex;justify-content:space-between;margin:16px 0;font-size:12px;gap:15px}.selected,.gallery-section{padding:72px 5%;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:38px}.section-heading h2,.section-heading h1{margin-bottom:0}.section-heading .eyebrow{margin-bottom:16px}.text-link{font-size:14px;border-bottom:1px solid var(--ink);padding-bottom:5px;white-space:nowrap}.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px}.art-image{background:#eeeee8;height:370px;padding:26px;display:flex;align-items:center;justify-content:center;overflow:hidden}.art-image img{width:100%;height:100%;object-fit:contain;transition:transform .5s}.art-card a:hover img{transform:scale(1.035)}.card-line{display:flex;justify-content:space-between;gap:15px;margin-top:20px}.card-line h3{margin:0}.art-card p{font-size:13px;margin:5px 0}.view-work{font-size:12px;white-space:nowrap;padding-top:3px;color:var(--muted)}.gallery-section{background:#eceee7}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.gallery-tile>div{height:260px;background:#e2e4dc;padding:20px;display:flex;align-items:center;justify-content:center}.gallery-tile img{height:100%;width:100%;object-fit:contain;transition:transform .4s}.gallery-tile:hover img{transform:scale(1.035)}.gallery-tile h3{font-family:var(--serif);font-size:27px;margin:18px 0 0}.gallery-tile p{font-size:13px;margin:0}.artist-note{padding:90px 5%;display:grid;grid-template-columns:1fr 2fr;gap:40px}.artist-note h2{font-size:clamp(36px,3.6vw,54px)}.artist-note p:not(.eyebrow){max-width:610px;font-size:18px}.newsletter{padding:70px 5%;background:#242e25;color:white;display:grid;grid-template-columns:1fr 1fr;gap:10%}.newsletter h2{font-size:54px}.newsletter p,.newsletter .eyebrow{color:#c6cebf}.newsletter .button{background:#e5eadc;border-color:#e5eadc;color:#242e25}.studio-form{display:grid;gap:16px}.studio-form label{display:block;font-size:14px}.studio-form input:not([type=checkbox]),.studio-form textarea{width:100%;border:1px solid #a4ab9e;background:transparent;padding:12px;color:inherit;border-radius:0;min-width:0}.studio-form input::placeholder,.studio-form textarea::placeholder{color:#8a9085}.studio-form .consent{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6}.consent input{margin-top:5px;width:16px;height:16px;flex-shrink:0}.consent a{text-decoration:underline}.studio-form small{font-size:13px;color:var(--muted)}.studio-form .button{justify-self:start}.preview-note{font-size:13px;border-left:2px solid #a8b297;padding-left:12px}.notice{padding:14px;border:1px solid #b8c5af}.site-footer{padding:34px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px}.site-footer p{margin:0}.site-footer .wordmark{font-size:24px}.trap{position:absolute;left:-9999px}.skip{position:absolute;left:10px;top:-100px;background:white;padding:12px;z-index:20}.skip:focus{top:10px}.collection{padding:65px 5%}.collection h1{font-size:64px}.filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:40px}.filters a{border:1px solid var(--line);padding:9px 18px;font-size:14px}.filters [aria-current],.filters a:hover{background:var(--accent);color:#fff}.pagination{margin-top:44px}.page-numbers{padding:8px 15px;border:1px solid var(--line);display:inline-block}.work-page{padding:40px 5% 75px}.work-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:8%;margin-top:35px;align-items:start}.work-visual{background:#eeeee8;padding:30px}.zoom{display:block;padding:0;border:0;background:none;cursor:zoom-in;width:100%}.zoom img{max-height:760px;object-fit:contain;margin:auto}.image-hint{text-align:center;font-size:12px;margin:15px 0 0}.work-details h1{font-size:clamp(36px,4vw,58px)}.work-details{padding-top:18px}.work-details dl>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0;gap:20px;font-size:14px}.work-details dd{margin:0}.price{font-family:var(--serif);font-size:27px;color:var(--ink);margin:25px 0 0}.availability{font-size:14px}.inquiry{border-top:1px solid var(--line);margin-top:30px;padding-top:22px}.inquiry summary{cursor:pointer;background:var(--accent);color:#fff;padding:14px 20px;font-size:15px}.inquiry>p{margin-top:20px;font-size:14px}.prose{max-width:880px;margin:auto;padding:70px 30px 100px}.prose h1{font-size:64px}.prose h2{font-size:32px;margin-top:45px}.prose p,.prose li{font-size:18px}dialog{border:0;background:#151915;padding:55px 25px 25px;max-width:95vw;max-height:95vh}dialog::backdrop{background:#000d}dialog img{max-height:80vh;object-fit:contain}.close{position:absolute;right:20px;top:10px;background:transparent;color:white;border:1px solid #999;padding:5px 12px;cursor:pointer}@media(min-width:1600px){.hero,.selected,.gallery-section,.artist-note,.collection,.work-page,.newsletter{padding-left:max(5%,calc((100vw - 1440px)/2));padding-right:max(5%,calc((100vw - 1440px)/2))}}@media(max-width:900px){.site-header nav{gap:20px}.hero{gap:5%;padding-top:45px}.hero h1{font-size:51px}.hero-art{padding:15px 15px 0}.hero-foot{margin-top:35px}.art-image{height:280px;padding:18px}.view-work{display:none}.gallery-grid{grid-template-columns:repeat(2,1fr)}.artist-note{grid-template-columns:1fr}.site-footer{flex-wrap:wrap}.newsletter{gap:6%}.work-layout{gap:5%}}@media(max-width:600px){.site-header{padding:20px 0;display:block}.wordmark{font-size:28px}.site-header nav{margin-top:20px;gap:22px;justify-content:space-between;font-size:13px}.hero{grid-template-columns:1fr;padding-top:40px;gap:30px}.hero h1{font-size:54px}.hero-copy>p:not(.eyebrow){font-size:16px}.hero-foot{margin-top:24px}.hero-art{padding:20px 20px 0}.hero-art img{max-height:450px}.selected,.gallery-section{padding-top:45px;padding-bottom:45px}.section-heading{display:block}.section-heading .text-link{display:inline-block;margin-top:20px}.art-grid{grid-template-columns:1fr;gap:32px}.art-image{height:390px;padding:25px}.gallery-grid{gap:22px 14px}.gallery-tile>div{height:210px;padding:14px}.gallery-tile h3{font-size:24px}.artist-note{padding-top:50px;padding-bottom:50px;gap:10px}.newsletter{grid-template-columns:1fr;gap:25px;padding-top:45px;padding-bottom:45px}.newsletter h2{font-size:44px}.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.site-footer .wordmark{font-size:22px}.collection h1,.prose h1{font-size:48px}.work-layout{grid-template-columns:1fr;gap:25px}.work-visual{padding:20px}.work-details h1{font-size:44px}.work-page{padding-top:25px}.prose{padding:45px 5%}.filters{gap:8px}.filters a{padding:8px 12px;font-size:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:600px){.hero h1{font-size:clamp(38px,11.3vw,48px)}.hero{padding-top:32px}.hero-foot{margin-top:22px}}
/* Reserve feedback space so signup success and errors never shift the footer. */
.studio-form .signup-status{margin:0;min-height:5em;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.studio-form button:disabled{opacity:.65;cursor:wait}
/* Make the current archive page unmistakable, including its existing ARIA state. */
.pagination .page-numbers.current{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
.pagination a.page-numbers:hover{background:#eceee7;border-color:var(--accent)}
