/*
Theme Name: Asanovichus
Version: 2.2.9
Description: Independent visual designer — editorial portfolio.
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
@font-face{font-family:'Londrina Solid';src:url('assets/fonts/londrina-solid.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--ink:#243c91;--dark:#202020;--red:#D1242A;--paper:#fcfbf7;--line:#d7d4cb;--muted:#65625d;--hand:'black-pack-vf','Londrina Solid',Impact,sans-serif;--body:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:30px}
body{margin:0;color:var(--dark);background:var(--paper);font:16px/1.6 var(--body);overflow-wrap:break-word}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:5px}
img{max-width:100%;height:auto;vertical-align:middle}
figure{margin:0}
.wrap{width:min(1160px,calc(100% - 112px));margin-inline:auto}
.brand-dot{color:var(--red)}
.site-header{padding:20px 0 0}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.logo{display:block;width:118px;flex-shrink:0;line-height:0;mix-blend-mode:multiply}
.logo img{display:block;width:100%;height:auto}
.nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:600}
.nav a:hover,.copyright a:hover,.contact a:hover{color:var(--red)}
.language{font-size:12px;padding-left:16px;border-left:1px solid var(--line);letter-spacing:.08em}
.hero{padding:72px 0 52px}
.hero-label{display:flex;justify-content:space-between;align-items:center;gap:15px;font-weight:600;font-size:14px;letter-spacing:.015em}
.hero-label>span:first-child{color:var(--red)}
.hero-location{color:var(--muted);font-weight:400}
.hero h1{font:400 clamp(70px,12vw,166px)/.8 var(--hand);text-transform:uppercase;letter-spacing:-.025em;margin:28px 0 0;max-width:100%;overflow-wrap:normal;font-synthesis:none}
.hero-bottom{display:grid;grid-template-columns:1fr .8fr;align-items:end;gap:8%;margin-top:22px}
.hero-intro{padding-bottom:23px}
.hero-copy{font-size:clamp(18px,2.1vw,25px);line-height:1.45;max-width:520px;margin:0 0 28px}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;padding:12px 20px;min-height:44px;font:600 14px/1.3 var(--body);border:1px solid var(--dark);border-radius:0;color:var(--dark);transition:background .16s,color .16s}
.btn:hover{background:var(--dark);color:var(--paper)}
.btn.primary{background:var(--red);border-color:var(--red);color:white}
.btn.primary:hover{background:#a91b20;border-color:#a91b20}
.hero-art{width:100%;max-width:425px;justify-self:end}
.hero-art img{width:100%;display:block;mix-blend-mode:multiply}
.section{padding:58px 0 64px;border-top:1px solid var(--line)}
.section-heading{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
.section-index{font-size:11px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}
.section-title{font:400 clamp(40px,6.6vw,86px)/.95 var(--hand);text-transform:uppercase;letter-spacing:-.012em;margin:0;color:var(--dark);font-synthesis:none}
.work-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:5%;row-gap:60px;align-items:start}
.project{grid-column:span 7;min-width:0}
.project:nth-child(3n+2){grid-column:span 5;margin-top:100px}
.project:nth-child(3n){grid-column:2 / 12}
.project-card-link{display:block}
.project-art{position:relative;display:grid;align-items:center;justify-items:center;aspect-ratio:1.5;overflow:hidden;background:#ece9e1;isolation:isolate}
.project:nth-child(3n+2) .project-art{aspect-ratio:1.16;background:#e6e3da}
.project:nth-child(3n) .project-art{aspect-ratio:2.1}
.project-art img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .35s ease}
.project-card-link:hover .project-art img{transform:scale(1.025)}
.project-art.no-cover{padding:10%;justify-items:start;align-items:end}
.project:nth-child(3n+2) .no-cover{background:#dfdbd1}
.project:nth-child(3n) .no-cover{background:#e8e4da}
.placeholder-index{position:absolute;top:7%;left:7%;font-size:12px;letter-spacing:.08em;color:var(--muted)}
.placeholder-title{font:400 clamp(40px,6.3vw,94px)/.91 var(--hand);max-width:100%;text-transform:uppercase;letter-spacing:-.015em;overflow-wrap:anywhere}
.project:nth-child(3n+2) .placeholder-title{font-size:clamp(34px,5.3vw,68px)}
.project-content{padding-top:15px}
.project-meta{display:flex;align-items:baseline;gap:14px;font-size:11px;color:var(--muted);font-weight:500;letter-spacing:.035em}
.project-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:5px}
.project h3{margin:0;font:400 clamp(28px,3.8vw,48px)/1 var(--hand)}
.project-arrow{font-size:25px;line-height:1;color:var(--red);transition:transform .18s ease}
.project-card-link:hover .project-arrow{transform:translate(3px,-3px)}
.project-card-link:hover h3{color:var(--red)}
.project-content p{margin:9px 0 0;max-width:580px;font-size:14px;color:var(--muted)}
.about-grid{display:grid;grid-template-columns:1fr 1.18fr;gap:9%;align-items:start}
.about-note{font:400 clamp(36px,5.3vw,68px)/.95 var(--hand);margin:0;text-transform:uppercase}
.about-copy{font-size:19px;line-height:1.65;margin:0 0 18px;max-width:630px}
.services{display:grid;grid-template-columns:1fr 1.18fr;gap:9%;margin-top:50px;border-top:1px solid var(--line);padding-top:24px}
.services>h3{font-size:13px;font-weight:600;margin:0}
.service{padding:0 0 16px;margin:0 0 17px;border-bottom:1px solid var(--line)}
.service:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.service h4{font:400 27px/1.15 var(--hand);margin:0 0 6px}
.service p{font-size:14px;color:var(--muted);margin:0}
.site-footer{padding:0 0 24px}
.footer-inner{border-top:1px solid var(--line);padding:40px 0 45px;display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end}
.footer-phrase{font:400 clamp(52px,9vw,114px)/.9 var(--hand);text-transform:uppercase;letter-spacing:-.025em;margin:15px 0 0}
.contact{padding-bottom:4px}
.contact a{display:block;font-size:clamp(15px,2.1vw,23px);font-weight:500;overflow-wrap:anywhere}
.contact p{color:var(--muted);font-size:14px;margin:10px 0 0}
.copyright{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:15px;font-size:12px;color:var(--muted)}
.project-detail{padding:64px 0 72px;max-width:1000px;margin:auto}
.project-back{display:inline-block;font-size:14px;font-weight:600;margin-bottom:36px}
.project-back:hover{color:var(--red)}
.project-detail>h1{font-size:clamp(54px,9vw,112px);overflow-wrap:anywhere}
.project-category{margin:15px 0;color:var(--red);font-size:13px;font-weight:600}
.project-lead{font-size:clamp(19px,2.4vw,25px);max-width:760px;line-height:1.5}
.project-cover{margin:32px 0}
.project-cover img{display:block;width:100%;height:auto}
.project-body{max-width:800px;font-size:17px}
.project-body img{height:auto;max-width:100%}
.project-body h2,.project-body h3,.single-content h1{font:400 42px/1 var(--hand)}
.project-body h3{font-size:32px}
.project-gallery{margin:48px 0}
.project-gallery .section-title{font-size:42px;margin-bottom:24px}
.project-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.project-gallery-grid img{display:block;width:100%;height:auto}
.project-gallery-grid figcaption{font-size:13px;margin-top:6px;color:var(--muted)}
.project-detail>.btn{margin-top:28px}
.single-content{max-width:800px;padding:50px 0}
@media(min-width:1200px){.hero h1{font-size:150px}}
@media(max-width:900px){.wrap{width:calc(100% - 72px)}.hero{padding-top:55px}.hero h1{font-size:clamp(60px,12.5vw,120px)}.work-grid{column-gap:4%;row-gap:42px}.project:nth-child(3n+2){margin-top:65px}.about-grid,.services{gap:6%}}
@media(max-width:600px){
.wrap{width:calc(100% - 36px)}.site-header{padding-top:12px}.header-inner{padding-bottom:10px;gap:12px}.logo{width:82px}.nav{gap:13px;font-size:13px;flex-wrap:wrap;justify-content:flex-end}.language{padding-left:9px;font-size:11px}
.hero{padding:36px 0 36px}.hero-label{font-size:12px;flex-wrap:wrap;gap:4px 12px}.hero-location{font-size:11px}.hero h1{font-size:clamp(42px,12vw,72px);line-height:.88;letter-spacing:-.023em;margin-top:24px}.hero-bottom{grid-template-columns:1fr;gap:4px;margin-top:24px}.hero-intro{padding:0}.hero-copy{font-size:18px;margin-bottom:20px}.hero-art{max-width:300px;width:78%;margin-top:5px;justify-self:end}
.section{padding:35px 0 42px}.section-heading{gap:8px;margin-bottom:24px}.section-title{font-size:clamp(40px,11vw,60px)}.work-grid{display:grid;grid-template-columns:1fr;gap:34px}.project,.project:nth-child(3n+2),.project:nth-child(3n){grid-column:1;margin:0}.project-art,.project:nth-child(3n+2) .project-art,.project:nth-child(3n) .project-art{aspect-ratio:1.5}.placeholder-title,.project:nth-child(3n+2) .placeholder-title{font-size:clamp(38px,12vw,65px)}.project h3{font-size:32px}
.about-grid,.services{grid-template-columns:1fr;gap:20px}.about-note{font-size:44px}.about-copy{font-size:17px;line-height:1.55}.services{margin-top:24px;padding-top:20px}.service h4{font-size:24px}
.footer-inner{grid-template-columns:1fr;gap:24px;padding:28px 0}.footer-phrase{font-size:64px}.contact a{font-size:18px}.copyright{font-size:11px}.project-detail{padding:35px 0 45px}.project-back{margin-bottom:24px}.project-detail>h1{font-size:clamp(44px,12vw,72px)}.project-gallery-grid{grid-template-columns:1fr}.project-body{font-size:16px}}
@media(max-width:360px){.nav{gap:9px;font-size:12px}.logo{width:70px}.hero h1{font-size:11.5vw}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Original Black Pack VF — Adobe Fonts web project ASANOVICHUS.
   Condensed Light: Adobe's default axes (STRS 0, wdth 50, wght 100). */
.hero h1,.section-title,.placeholder-title,.project h3,.about-note,.service h4,.footer-phrase,.project-body h2,.project-body h3,.single-content h1{
font-weight:100;
font-variation-settings:"STRS" 0,"wdth" 50,"wght" 100;
font-synthesis:none;
}
.hero h1{line-height:.95;letter-spacing:0;font-size:clamp(54px,10.6vw,140px)}
@media(max-width:900px){.hero h1{font-size:clamp(48px,10.7vw,100px)}}
@media(max-width:600px){.hero h1{font-size:clamp(30px,10vw,60px);line-height:1;letter-spacing:0}}
@media(max-width:360px){.hero h1{font-size:9.6vw}}

/* Author gallery: preserve the original artwork proportions. */
.art-page{padding:60px 0 75px}
.art-intro{max-width:760px;font-size:21px;margin:0 0 40px}
.art-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 6%;align-items:start}
.art-card{min-width:0}
.art-card figure{margin:0;background:#f0ede7}
.art-card figure img{display:block;width:100%;height:auto;object-fit:contain}
.art-caption{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-top:12px}
.art-caption h2{font:100 clamp(22px,3vw,36px)/1.2 var(--hand);font-variation-settings:"STRS" 0,"wdth" 50,"wght" 100;font-synthesis:none;margin:0;color:var(--red)}
.art-caption span{color:var(--red);font-size:23px}
.art-card p{color:var(--muted);font-size:13px;margin:6px 0}
.art-empty{padding:36px 0;border-top:1px solid var(--line);color:var(--muted)}
.art-cover{margin:25px 0 40px}
.art-cover img{display:block;max-height:85vh;width:auto;max-width:100%;object-fit:contain}
.art-pagination{display:flex;gap:16px;margin-top:40px}
.art-pagination a[aria-current]{color:var(--red);font-weight:bold}
.art-detail .project-gallery-grid{margin-top:30px}
@media(max-width:600px){.art-page{padding:38px 0 45px}.art-grid{grid-template-columns:1fr;gap:32px}.art-intro{font-size:18px}.nav{gap:10px}.header-inner{gap:10px}}

/* Artwork is presented independently of its description. */
.art-detail>h1{font-size:clamp(36px,6vw,76px)}
.art-detail .art-cover{margin:28px auto 34px;text-align:center}
.art-detail .art-cover img{margin-inline:auto;max-height:85vh;width:auto;max-width:100%;height:auto}
.art-detail .project-body{margin:0 auto 24px;max-width:800px}
.art-detail .project-body img{display:block;max-width:100%;height:auto;margin:20px auto}

.project-website{margin:0 0 28px}.project-website .btn{width:auto}.project-gallery-grid img{object-fit:contain}

/* Responsive portfolio media: explicit image box, no intrinsic grid overflow. */
.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:4%;row-gap:52px;align-items:start}
.work-grid>.project,.work-grid>.project:nth-child(3n+2),.work-grid>.project:nth-child(3n){grid-column:auto;margin:0;min-width:0}
.work-grid .project .project-art{position:relative;display:block;width:100%;aspect-ratio:4/3;min-width:0;min-height:0;overflow:hidden;background:#eeebe5}
.work-grid .project .project-art.has-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center center;margin:0;transform:none;transition:none}
.work-grid .project .project-art.no-cover{display:grid;align-items:end;justify-items:start;padding:9%}
.work-grid .placeholder-title,.work-grid .project:nth-child(3n+2) .placeholder-title{font-size:clamp(34px,5vw,70px)}
.work-grid .project-content{padding-top:16px}
.work-grid .project-heading{align-items:center}
.work-grid .project-heading h3{min-width:0;overflow-wrap:anywhere}
.work-grid .project-arrow{flex-shrink:0}
/* Art listing and gallery images use the same predictable framing. */
.art-grid{align-items:start}
.art-card figure,.project-gallery-grid figure>a{position:relative;display:block;width:100%;aspect-ratio:4/3;min-width:0;min-height:0;overflow:hidden;background:#eeebe5}
.art-card figure img,.project-gallery-grid figure>a img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;display:block;margin:0}
.project-gallery-grid{align-items:start;gap:28px}
.project-gallery-grid figure{min-width:0;margin:0}
.project-gallery-grid figcaption{line-height:1.45}
.project-detail .project-cover,.art-detail .art-cover{display:flex;justify-content:center;align-items:center;width:100%;margin:32px auto;min-width:0}
.project-detail .project-cover img,.art-detail .art-cover img{display:block;width:auto;height:auto;max-width:100%;max-height:85vh;object-fit:contain;object-position:center;margin:0 auto}
.project-body img,.single-content img{display:block;max-width:100%;height:auto;margin:20px auto;object-fit:contain}
@media(max-width:600px){
.work-grid{grid-template-columns:minmax(0,1fr);row-gap:34px}
.work-grid .project .project-art,.art-card figure,.project-gallery-grid figure>a{aspect-ratio:4/3}
.project-detail .project-cover img,.art-detail .art-cover img{max-height:75vh}
.project-gallery-grid{gap:20px}
}

/* Natural image proportions: no letterboxing or cropped artwork. */
.work-grid .project .project-art.has-cover,
.art-card figure,
.project-gallery-grid figure>a{
  display:block;position:relative;width:100%;height:auto;aspect-ratio:auto;
  min-height:0;overflow:visible;background:transparent;
}
.work-grid .project .project-art.has-cover img,
.art-card figure img,
.project-gallery-grid figure>a img{
  position:static;inset:auto;display:block;width:100%;height:auto;
  max-width:100%;max-height:none;min-height:0;
  object-fit:contain;object-position:center;margin:0 auto;transform:none;
}
.work-grid>.project.is-portrait,.art-grid>.art-card.is-portrait,
.project-gallery-grid>figure.is-portrait{
  width:70%;max-width:400px;justify-self:center;align-self:start;
}
.work-grid,.art-grid,.project-gallery-grid{align-items:start}
.work-grid .project-art.no-cover{aspect-ratio:4/3}
@media(max-width:600px){
  .work-grid>.project.is-portrait,.art-grid>.art-card.is-portrait,
  .project-gallery-grid>figure.is-portrait{width:85%;max-width:360px}
}

/* About illustration, with natural proportions and no rectangular backdrop. */
.about-with-art{align-items:start}
.about-right{min-width:0}
.about-art{width:100%;max-width:560px;margin:0 auto 24px}
.about-art img{display:block;width:100%;height:auto;object-fit:contain;mix-blend-mode:multiply}
.about-left .section-heading{margin-bottom:32px}
@media(max-width:600px){.about-with-art{gap:20px}.about-art{max-width:420px;margin:0 auto 20px}.about-left .section-heading{margin-bottom:24px}}

/* Contact section: full-height pointing illustration, linked contact text. */
.footer-inner{grid-template-columns:minmax(0,1.05fr) minmax(0,.65fr) minmax(0,1fr);gap:2%;align-items:center;padding:30px 0}
.footer-inner .footer-phrase{font-size:clamp(42px,6.6vw,88px)}
.contact-art{margin:0;align-self:center;justify-self:center;width:100%;max-width:245px}
.contact-art img{display:block;width:100%;height:auto;object-fit:contain;mix-blend-mode:multiply}
.footer-inner .contact{min-width:0;align-self:center;transform:translateY(-8%)}
@media(max-width:900px) and (min-width:601px){.footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,.6fr) minmax(0,1.2fr);gap:2%}.footer-inner .footer-phrase{font-size:clamp(36px,6vw,68px)}}
@media(max-width:600px){.footer-inner{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:12px;padding:24px 0}.footer-inner>div:first-child{grid-column:1/-1}.footer-inner .footer-phrase{font-size:clamp(48px,12vw,64px)}.contact-art{max-width:155px}.footer-inner .contact{transform:translateY(-8%)}.footer-inner .contact a{font-size:clamp(13px,3.8vw,18px)}.footer-inner .contact p{font-size:12px}}

/* About: concise editorial background and practice. */
.about-facts{margin-top:42px;max-width:400px}
.about-fact{border-top:1px solid var(--line);padding:19px 0 16px}
.about-fact h3{font:600 12px/1.4 var(--body);text-transform:uppercase;letter-spacing:.085em;color:var(--red);margin:0 0 12px}
.about-fact p{font-size:15px;line-height:1.55;margin:0 0 9px;max-width:370px}
.about-fact p:last-child{margin-bottom:0}
.about-with-art .about-copy{font-size:clamp(16px,1.35vw,19px);line-height:1.65;margin-bottom:18px}
.about-with-art .about-copy:last-child{margin-bottom:0}
.about-section .services>h3{font:100 clamp(28px,3.8vw,48px)/1 var(--hand);font-variation-settings:"STRS" 0,"wdth" 50,"wght" 100;font-synthesis:none}
@media(max-width:600px){.about-facts{margin-top:26px;max-width:none}.about-fact{padding:14px 0}.about-fact p{font-size:14px}.about-with-art .about-copy{font-size:16px;line-height:1.6}}
