/*
Theme Name: AMAGIN Gallery
Version: 0.1.0
Requires PHP: 8.0
Text Domain: amagin
*/

:root{--paper:#f6f5f0;--ink:#292b26;--muted:#74766d;--line:#d6d7cc;--accent:#626c53}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-size:14px;line-height:1.8}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}.review{height:29px;background:#e6e8df;display:flex;justify-content:space-between;padding:3px 4%;font-size:10px;letter-spacing:.12em;color:#57604c}header{height:100px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:34px;letter-spacing:.06em;font-weight:500;line-height:1}.brand small{display:block;font-size:9px;letter-spacing:.24em;margin-top:9px;color:var(--muted)}nav{display:flex;gap:30px;font-size:10px;letter-spacing:.13em}nav a{padding:10px 0}nav a:hover{color:var(--accent)}.menu-toggle{display:none;background:none;border:0}.hero{padding:48px 9% 64px;display:grid;grid-template-columns:1fr 1.12fr;gap:9%;min-height:710px;align-items:center}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--muted);text-transform:uppercase}.hero h1{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-weight:400;font-size:clamp(30px,3.5vw,52px);line-height:1.7;letter-spacing:.1em;margin:28px 0}.hero p{font-family:'Yu Mincho',serif;font-size:13px;line-height:2.5;color:#66695e}.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:45px;border-bottom:1px solid var(--ink);padding:12px 0;font-size:11px;letter-spacing:.06em;margin-top:25px}.text-link span{font-size:19px}.hero-art{margin:0;text-align:center}.hero-art a{display:block;background:#edede6;padding:36px 48px}.hero-art img{display:block;width:100%;height:475px;object-fit:contain;filter:drop-shadow(2px 6px 5px #2222)}figcaption{display:flex;justify-content:space-between;margin-top:16px;font-size:10px;color:var(--muted);letter-spacing:.06em}.section{padding:80px 6% 95px;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:42px}.section-head h2{font-size:25px;letter-spacing:.05em;font-weight:400;margin:3px 0}.section-head p{font-size:11px;color:var(--muted);margin:0}.section-head .eyebrow{font-size:9px}.works-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}.art-card .image{background:#eeeee7;height:380px;padding:28px;display:flex;align-items:center;justify-content:center;overflow:hidden}.art-card img{width:100%;height:100%;object-fit:contain;transition:transform .5s}.art-card:hover img{transform:scale(1.025)}.art-card h3{font-weight:400;font-family:Georgia,serif;font-size:19px;margin:17px 0 1px}.art-card p{font-size:10px;color:var(--muted);margin:0}.card-meta{display:flex;justify-content:space-between;align-items:center}.arrow{font-size:22px}.works-foot{margin-top:28px;display:flex;justify-content:space-between;align-items:center}.note{font-size:11px;color:var(--muted)}.series{display:grid;grid-template-columns:1.05fr 1fr;gap:10%;align-items:center}.series-image{background:#e7e8df;padding:44px 20%;height:530px}.series-image img{width:100%;height:100%;object-fit:contain}.series h2,.about h2{font-family:'Yu Mincho',serif;font-size:32px;font-weight:400;line-height:1.8;letter-spacing:.08em}.series p,.about p{font-size:12px;line-height:2.5;color:#65685e}.archive-line{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:25px 0 5px}.archive-line h2{font-size:28px;font-weight:400;letter-spacing:.08em}.archive-line p{font-size:12px;color:var(--muted)}.archive-items{margin-top:30px;border-top:1px solid var(--line);padding-top:22px;font-size:12px;line-height:2.4}.about{display:grid;grid-template-columns:1fr 1fr;gap:10%}.about .name{font-size:56px;letter-spacing:.04em;font-weight:400;line-height:1.2}.about .name small{font-size:13px;display:block;margin-top:16px;color:var(--muted)}.contact{text-align:center;padding:85px 6%;background:#eaede4}.contact h2{font-weight:400;font-size:30px;letter-spacing:.08em}.contact p{font-size:12px;color:#656b5c}.contact .text-link{min-width:220px}.contact-note{margin:26px auto 0;max-width:550px;padding:15px;border:1px solid #c4cbb8;font-size:12px}footer{padding:36px 4%;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}footer .brand{font-size:23px;color:var(--ink)}.footer-links{display:flex;gap:25px}.detail{padding:30px 6% 80px}.crumb{font-size:10px;color:var(--muted);margin:8px 0 32px}.detail-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:8%;align-items:start}.detail-art{background:#edede6;border:0;width:100%;padding:45px;display:block}.detail-art img{display:block;width:100%;height:590px;object-fit:contain}.zoom-hint{display:block;font-size:10px;color:var(--muted);margin-top:15px}.detail-info{padding-top:35px}.detail-info h1{font-family:Georgia,serif;font-size:48px;font-weight:400;margin:15px 0 8px;line-height:1.2}.detail-info .jp{font-size:12px;color:var(--muted)}.status{display:inline-block;margin:23px 0 10px;font-size:10px;border:1px solid var(--line);padding:3px 9px}.price{font-size:27px;margin:8px 0 0}.price small{font-size:11px;margin-left:9px;color:var(--muted)}.info-note{font-size:11px;color:var(--muted);line-height:2}.detail-info dl{margin:30px 0}.detail-info dl div{display:flex;border-top:1px solid var(--line);padding:10px 0;font-size:11px}.detail-info dt{width:95px;color:var(--muted)}.detail-info dd{margin:0}.purchase{width:100%;border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:15px;font-size:12px;letter-spacing:.05em}.purchase:hover{background:var(--accent)}details{border-top:1px solid var(--line);font-size:11px;margin-top:19px;padding-top:12px}summary{cursor:pointer}details p{color:var(--muted);line-height:2}.detail-thumbs{display:flex;gap:12px;margin-top:20px}.detail-thumbs button{border:1px solid var(--line);background:none;padding:6px;width:72px;height:82px}.detail-thumbs img{width:100%;height:100%;object-fit:contain}dialog{border:0;padding:0;background:var(--paper);max-width:90vw;width:900px;max-height:92vh}dialog::backdrop{background:#151811d9}.dialog-top{display:flex;justify-content:space-between;align-items:center;padding:12px 22px;border-bottom:1px solid var(--line);font-size:11px}.dialog-top button{border:0;background:none;font-size:25px}dialog img{display:block;max-width:100%;height:75vh;margin:auto;object-fit:contain;padding:20px}.dialog-copy{padding:30px;line-height:2.2}.dialog-copy h2{font-size:24px;font-weight:400}.dialog-copy button{margin-top:15px}.mobile-menu[hidden],[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.art-card img{transition:none}}@media(max-width:760px){.review{font-size:9px;height:auto;min-height:27px}.review span:last-child{display:none}header{height:83px;padding:0 6%}.brand{font-size:27px}nav{display:none}.menu-toggle{display:block;font-size:11px;letter-spacing:.08em}.mobile-menu{padding:20px 6%;border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);gap:18px;font-size:11px}.hero{padding:38px 6% 45px;display:flex;flex-direction:column;gap:30px;align-items:stretch;min-height:0}.hero-copy{order:2}.hero h1{font-size:31px;line-height:1.65;margin:19px 0}.hero p{font-size:12px}.hero-art a{padding:25px 40px}.hero-art img{height:360px}.hero .text-link{margin-top:10px}.section{padding:48px 6% 55px}.section-head{margin-bottom:25px}.section-head h2{font-size:23px}.works-grid{grid-template-columns:repeat(2,1fr);gap:22px 14px}.art-card .image{height:230px;padding:15px}.art-card h3{font-size:17px;margin-top:12px}.art-card:last-child{grid-column:1/-1;max-width:65%;margin:10px auto 0;width:100%}.art-card:last-child .image{height:290px}.works-foot{align-items:start;gap:15px;flex-direction:column}.works-foot .text-link{margin-top:0}.series{grid-template-columns:1fr;gap:30px}.series-image{height:410px;padding:35px 22%}.series h2,.about h2{font-size:27px}.archive-line{display:block}.archive-line h2{margin:5px 0}.about{grid-template-columns:1fr;gap:25px}.about .name{font-size:42px}.contact{padding:50px 6%}footer{align-items:start;gap:25px;flex-direction:column;padding:30px 6%}.footer-links{flex-wrap:wrap;gap:15px}.detail{padding:20px 6% 50px}.detail-grid{grid-template-columns:1fr;gap:20px}.detail-art{padding:30px}.detail-art img{height:420px}.detail-info{padding-top:10px}.detail-info h1{font-size:39px}.detail-info dl{margin:25px 0}.detail-thumbs{margin-top:12px}dialog img{height:70vh;padding:12px}.section-head p{max-width:130px}.hero-art figcaption{font-size:9px}}

.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.page-title{font-weight:400;font-size:40px}.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--ink);color:var(--paper);border:0;padding:15px 24px}.woocommerce input,.woocommerce textarea,.woocommerce select{max-width:100%;padding:10px}.woocommerce table{width:100%}.woocommerce-notices-wrapper{padding:0 6%}.woocommerce-product-gallery img{max-width:100%;height:auto}.empty{padding:35px 0;color:var(--muted)}.art-card img{display:block}.content{max-width:800px}.content img{max-width:100%;height:auto}.detail-info .price{font-size:25px}.woocommerce div.product form.cart{margin:25px 0}.art-card:last-child{grid-column:auto;max-width:none;margin:0;width:auto}@media(max-width:760px){.art-card:last-child .image{height:230px}.page-title{font-size:32px}}

/* Purchase pages share the gallery's quiet typography and usable touch controls. */
.content{overflow-wrap:anywhere}.content h2{font-size:22px;font-weight:500;margin:2.5em 0 .7em}.content h3{font-size:18px;font-weight:500}.content p,.content li{line-height:2}.content a:not(.button){text-decoration:underline;text-underline-offset:4px}.guide-summary{border-block:1px solid var(--line);padding:18px 0;margin:28px 0}.guide-summary ul{margin:0;padding-left:1.3em}.guide-nav{display:flex;flex-wrap:wrap;gap:12px 22px;margin:22px 0}.contact-preview{display:grid;gap:18px;margin-top:32px}.contact-preview label{display:grid;gap:6px}.contact-preview input,.contact-preview select,.contact-preview textarea{width:100%;min-height:48px;background:transparent;border:1px solid #9c9f91;border-radius:0;padding:12px;font:inherit;font-size:16px;color:var(--ink)}.contact-preview textarea{min-height:180px;resize:vertical}.contact-preview button{min-height:48px;padding:12px 22px;border:1px solid var(--line);background:#e6e8df;color:var(--muted)}.contact-preview small{color:var(--muted)}
.woocommerce-checkout .content,.woocommerce-cart .content{max-width:1100px}.woocommerce form.checkout #customer_details{margin-bottom:36px}.woocommerce form .form-row label{display:block;margin-bottom:6px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;min-height:48px;border:1px solid #9c9f91;border-radius:0;background:transparent;font-size:16px;color:var(--ink)}.woocommerce .select2-container .select2-selection--single{min-height:48px;border:1px solid #9c9f91;border-radius:0;background:transparent}.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:12px}.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce table.shop_table{border-collapse:collapse;border:1px solid var(--line);border-radius:0}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 12px;border-color:var(--line);overflow-wrap:anywhere}.woocommerce #payment{background:#eeeee7;border-radius:0}.woocommerce #payment .payment_box{background:var(--paper)}.woocommerce #place_order{min-height:52px}.woocommerce form input:focus-visible,.contact-preview :is(input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.woocommerce-checkout .woocommerce-notices-wrapper{padding:0}
@media(max-width:760px){.woocommerce-checkout .section,.woocommerce-cart .section{padding:30px 6% 48px}.woocommerce-checkout .page-title{font-size:28px;margin-bottom:26px}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%;margin-bottom:24px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}.woocommerce form .form-row{padding:0;margin:0 0 18px}.woocommerce #payment .payment_methods{padding:16px}.woocommerce #payment div.form-row{padding:16px}.woocommerce #place_order{width:100%;float:none;margin:16px 0 0}.woocommerce table.shop_table{table-layout:fixed}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 9px;font-size:13px}.woocommerce table.shop_table th:first-child,.woocommerce table.shop_table td:first-child{width:62%}.woocommerce ul.order_details{padding:0;display:grid;gap:16px}.woocommerce ul.order_details li{float:none;border-right:0;padding:0;margin:0;min-width:0}.woocommerce .woocommerce-customer-details address{overflow-wrap:anywhere}.woocommerce form .form-row .input-checkbox{min-height:auto;width:auto}.content h2{font-size:20px}.guide-nav{display:grid;gap:10px}.content{max-width:100%}}

.series-slide{min-height:710px}.series-copy{min-width:0}.series-copy h1{overflow-wrap:anywhere}.series-description{max-width:40em}.series-description p{white-space:normal}.series-controls{display:flex;justify-content:center;align-items:center;gap:14px;padding:0 6% 32px}.series-controls button{min-height:44px;min-width:44px;background:transparent;border:1px solid var(--line);padding:8px 14px}.series-controls [data-series-count]{font-size:12px;min-width:46px;text-align:center}.series-controls [data-series-pause]{font-size:11px}.series-grid .art-card p{line-height:1.9;margin-top:10px}@media(max-width:760px){.series-slide{min-height:0}.series-controls{flex-wrap:wrap;gap:10px;padding-bottom:28px}.series-slide .hero-art img{height:320px}.series-slide h1{font-size:29px}.series-grid{grid-template-columns:1fr}.series-grid .art-card .image{height:320px}}
.footer-links{flex-wrap:wrap;row-gap:12px}.footer-links a{line-height:1.8}.policy-review-note{padding:16px;border:1px solid var(--line)}

/* Series introduction: larger paintings, quieter captions and more breathing room. */
.series-carousel .series-slide{grid-template-columns:minmax(0,.82fr) minmax(0,1.35fr);gap:7%;padding:46px 7% 30px;min-height:740px}.series-copy{max-width:360px;padding-bottom:36px}.series-copy .eyebrow{font-size:9px;letter-spacing:.23em}.series-carousel .series-copy h1{font-size:clamp(28px,3vw,43px);line-height:1.65;letter-spacing:.055em;margin:26px 0 24px}.series-description p{font-size:12px;line-height:2.5;color:#6b6e64}.series-copy .text-link{font-size:10px;letter-spacing:.08em;margin-top:24px;padding:10px 0;gap:24px}.series-carousel .hero-art{width:100%}.series-carousel .hero-art a{background:#eeeee8;padding:25px 28px}.series-carousel .hero-art img{height:560px;max-height:65vh;object-fit:contain;filter:drop-shadow(1px 4px 4px #2221)}.series-carousel .hero-art figcaption{justify-content:flex-end;margin-top:13px;font-size:9px;letter-spacing:.1em}.series-controls{justify-content:flex-end;padding:0 7% 36px;gap:12px;color:var(--muted)}.series-controls button{border:0;background:none;padding:10px;min-height:44px}.series-controls [data-series-pause]{font-size:10px;border-bottom:1px solid var(--line);margin-left:15px;padding:7px 0;min-height:36px}.series-controls [data-series-count]{font-size:10px;letter-spacing:.12em}.series-grid .art-card h3{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:21px;line-height:1.8}.series-grid .art-card p{max-width:38em}
@media(max-width:760px){.series-carousel .series-slide{display:flex;flex-direction:column;gap:27px;min-height:0;padding:25px 6% 10px}.series-carousel .hero-art{order:0}.series-carousel .hero-art a{padding:22px 20px}.series-carousel .hero-art img{height:390px;max-height:none}.series-carousel .hero-art figcaption{margin-top:10px}.series-copy{order:1;max-width:none;min-height:235px;padding:0 2% 8px}.series-carousel .series-copy h1{font-size:27px;margin:14px 0 16px;line-height:1.7}.series-description p{font-size:12px;line-height:2.3;margin:0}.series-copy .text-link{margin-top:17px}.series-controls{padding:0 8% 28px;justify-content:flex-end;gap:8px}.series-controls [data-series-pause]{margin-left:8px}.series-grid .art-card h3{font-size:20px}.series-grid .art-card .image{height:340px}}
@media(max-width:360px){.series-carousel .hero-art img{height:330px}.series-carousel .series-copy h1{font-size:24px}.series-copy{min-height:250px}}
@media(min-width:761px){.series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}.series-grid .art-card .image{height:460px}}
.series-carousel{touch-action:pan-y pinch-zoom}.series-carousel .hero-art{cursor:grab}.series-carousel.is-dragging,.series-carousel.is-dragging .hero-art{cursor:grabbing;user-select:none}.series-carousel .hero-art img{-webkit-user-drag:none;user-select:none}.series-carousel:focus-visible{outline:1px solid var(--accent);outline-offset:-4px}

.series-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 44px;margin-top:40px}.series-index-card{display:block;min-width:0}.series-index-image{height:440px;background:#eeeee8;padding:26px;display:flex;align-items:center;justify-content:center;overflow:hidden}.series-index-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .6s ease}.series-index-image>span{font-size:12px;color:var(--muted)}.series-index-card:hover img{transform:scale(1.015)}.series-index-heading{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-top:21px}.series-index-heading h2{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:25px;font-weight:400;line-height:1.7;letter-spacing:.025em;margin:0}.series-index-heading>span{flex-shrink:0;font-size:10px;color:var(--muted);letter-spacing:.08em}.series-index-summary{font-size:12px;line-height:2.1;color:#6b6e64;margin:12px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.series-index-link{display:inline-flex;gap:32px;align-items:center;border-bottom:1px solid var(--line);font-size:10px;padding:9px 0;margin-top:18px;letter-spacing:.06em}.series-introduction{margin:24px 0 48px}.series-introduction p{line-height:2.2}
@media(max-width:760px){.series-index-grid{grid-template-columns:1fr;gap:45px;margin-top:26px}.series-index-image{height:380px;padding:22px}.series-index-heading h2{font-size:23px}.series-index-heading{margin-top:16px}.series-index-summary{font-size:12px}.series-index-link{margin-top:14px}.series-introduction{margin-bottom:30px}}
@media(max-width:360px){.series-index-image{height:325px}.series-index-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.series-index-image img{transition:none}.series-index-card:hover img{transform:none}}

/* Shared short introduction on the home carousel. */
.series-summary p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:5em;overflow:hidden}.series-introduction{height:auto;max-height:none;overflow:visible;display:block;-webkit-line-clamp:unset}.series-introduction p{max-height:none;overflow:visible;-webkit-line-clamp:unset}

/* Follow the visitor's device appearance without altering artwork pixels. */
:root{color-scheme:light dark}
@media(prefers-color-scheme:dark){
 :root{--paper:#1c1e1b;--ink:#eeeee7;--muted:#b0b4a8;--line:#454b40;--accent:#b8c7a2}
 .review{background:#2a3025;color:#c3cdb7}
 .hero-art a,.series-carousel .hero-art a,.art-card .image,.series-index-image,.detail-art,.woocommerce #payment{background:#272b25}
 .series-image,.contact{background:#252b23}
 .hero p,.series-description p,.series-index-summary,.series p,.about p,.contact p{color:var(--muted)}
 .contact-preview input,.contact-preview select,.contact-preview textarea,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .select2-container .select2-selection--single{background:var(--paper);color:var(--ink);border-color:#737d69}
 .contact-preview button,.contact-note{background:#30382b;color:var(--ink);border-color:#737d69}
 .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink)}
 .select2-dropdown,.select2-search__field,.woocommerce #payment .payment_box{background:var(--paper);color:var(--ink)}
 .woocommerce-info,.woocommerce-message,.woocommerce-error{background:#2a3025;color:var(--ink)}
 .woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.purchase{background:var(--ink);color:var(--paper)}
 .purchase:hover{background:var(--accent)}
 dialog::backdrop{background:#080a08e8}
}

/* Tablet widths: comfortable navigation, larger artwork, and readable columns. */
@media(min-width:761px) and (max-width:1180px){
 header{padding:0 5%;height:90px}nav{gap:22px}
 .section{padding:60px 5% 70px}.page-title{font-size:34px}
 .series-carousel .series-slide{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:5%;padding:35px 5% 25px;min-height:590px}
 .series-carousel .series-copy{max-width:none;padding-bottom:15px}
 .series-carousel .series-copy h1{font-size:32px;line-height:1.65;margin:20px 0}
 .series-carousel .hero-art a{padding:22px}.series-carousel .hero-art img{height:470px;max-height:60vh}
 .series-controls{padding-right:5%}
 .works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.art-card .image{height:360px;padding:24px}
 .series-index-grid{gap:48px 28px}.series-index-image{height:390px;padding:22px}.series-index-heading h2{font-size:23px}
 .about{gap:7%;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.about .name{font-size:46px}
 .detail{padding:25px 5% 60px}.detail-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:5%}.detail-art{padding:25px}.detail-art img{height:480px}.detail-info{padding-top:15px}.detail-info h1{font-size:36px;overflow-wrap:anywhere}
 footer{gap:28px}.footer-links{flex-wrap:wrap;gap:14px 20px}
 .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%;margin-bottom:24px}
}
@media(min-width:761px) and (max-width:1024px){
 header>nav{display:none}.menu-toggle{display:block;min-height:44px;padding:10px 0;background:none;border:0;font-size:11px;letter-spacing:.08em}
 .mobile-menu{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:15px 5%;border-bottom:1px solid var(--line);font-size:11px}
 .mobile-menu a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 0}
}
@media(min-width:761px) and (max-width:900px){
 .series-carousel .series-slide{display:flex;flex-direction:column;gap:26px;min-height:0;padding:30px 7% 20px}
 .series-carousel .hero-art{order:0;max-width:700px;align-self:center}.series-carousel .hero-art img{height:500px;max-height:none}
 .series-copy{order:1;width:100%;min-height:0;padding:0}.series-carousel .series-copy h1{font-size:34px;margin:10px 0 16px}.series-description{max-width:48em}
 .series-controls{padding:0 7% 28px}.art-card .image{height:330px}.series-index-image{height:350px}
 .detail-grid{grid-template-columns:minmax(0,1fr);gap:25px}.detail-art img{height:560px}.detail-info{max-width:680px;width:100%;padding-top:0}.detail-info h1{font-size:40px}
 footer{align-items:flex-start;flex-direction:column}
}
@media(pointer:coarse){.menu-toggle,.text-link,.footer-links a{min-height:44px}.footer-links a{display:inline-flex;align-items:center}.detail-grid>*{min-width:0}}

@font-face{font-family:'AMAGIN Signature';src:url('fonts/amagin-signature.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+96F6,U+5D1F}
.about .artist-signature{font-family:'Yu Mincho','Hiragino Mincho ProN','Noto Serif CJK JP','Noto Serif JP',serif;font-weight:400;font-size:1em;letter-spacing:.09em;line-height:1.4;display:inline-block}

@font-face{font-family:'AMAGIN Jost Mark';src:url('fonts/amagin-jost.woff') format('woff');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+41,U+47,U+49,U+4D,U+4E}
.brand{font-family:'AMAGIN Jost Mark',Arial,sans-serif;font-weight:500;letter-spacing:.105em}.brand small{font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-weight:400}

@font-face{font-family:'AMAGIN Gallery Caption';src:url('fonts/amagin-gallery-caption.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
header .brand{display:inline-flex;flex-direction:column;align-items:center}header .brand small{font-family:'AMAGIN Gallery Caption',Georgia,serif;font-weight:500;font-size:12px;line-height:1.2;letter-spacing:.19em;margin-top:8px;white-space:nowrap}
@media(max-width:760px){header .brand small{font-size:10px;letter-spacing:.15em;margin-top:7px}}

/* Match the caption edges to the wordmark without stretching the glyphs. */
header .brand small{display:flex;justify-content:space-between;width:100%;letter-spacing:0}header .brand small>span{display:block;letter-spacing:0}

/* Artwork details: clear facts, full image, and a compact photo gallery. */
.detail-grid>*{min-width:0}.detail-info h1{font-family:'Yu Mincho','Hiragino Mincho ProN',Georgia,serif;font-size:clamp(30px,3.1vw,44px);line-height:1.5;overflow-wrap:anywhere;margin:14px 0 8px}
.artwork-media .detail-art img{height:min(590px,65vh);min-height:280px;object-fit:contain}.artwork-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.artwork-gallery button{background:var(--paper);border:1px solid var(--line);padding:8px;min-height:100px}.artwork-gallery img{width:100%;height:100px;object-fit:contain;display:block}
.artwork-price-note{font-size:10px;color:var(--muted);margin:5px 0 0}.artwork-description,.artwork-short-description{margin:25px 0;line-height:2.1}.artwork-description:empty{display:none}.artwork-description p{margin:0 0 1.2em}.artwork-description p:last-child{margin-bottom:0}
.artwork-series{border-top:1px solid var(--line);padding:18px 0;display:flex;align-items:baseline;gap:12px 20px;flex-wrap:wrap}.artwork-series a{font-size:12px;border-bottom:1px solid var(--line);padding-bottom:2px}.artwork-purchase{margin-top:18px}.artwork-delivery summary{min-height:44px;padding:8px 0}.artwork-delivery a{text-decoration:underline;text-underline-offset:4px}.artwork-back{margin-top:42px}
@media(min-width:761px) and (max-width:900px){.artwork-media .detail-art img{height:560px;max-height:65vh}}
@media(max-width:760px){.artwork-media .detail-art{padding:24px 18px}.artwork-media .detail-art img{height:420px;max-height:62vh;min-height:240px}.detail-info h1{font-size:32px}.artwork-gallery{gap:9px}.artwork-gallery button{padding:5px;min-height:76px}.artwork-gallery img{height:76px}.artwork-description,.artwork-short-description{margin:22px 0}.artwork-back{margin-top:25px}}

/* Keep the home artwork selection to one row at each breakpoint. */
@media(max-width:1180px){.home-works .art-card:nth-child(n+3){display:none}}

/* Shared, touch-friendly pagination for every artwork listing. */
.amagin-pagination{display:block;margin-top:48px;padding-top:28px;border-top:1px solid var(--line);font-size:13px;letter-spacing:normal}.pagination-status{text-align:center;color:var(--muted);font-size:11px;margin:0 0 16px}.pagination-controls{display:flex;align-items:center;justify-content:center;gap:22px}.pagination-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;margin:0;padding:0}.pagination-numbers li{margin:0;padding:0}.pagination-numbers .page-numbers,.pagination-step{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:10px 14px;border:1px solid var(--line);background:transparent;line-height:1.2;border-radius:2px;font-size:13px}.pagination-step{min-width:100px;white-space:nowrap}.pagination-numbers .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}.pagination-numbers .dots{border-color:transparent;min-width:24px;padding-inline:3px;color:var(--muted)}.pagination-step.is-disabled{color:var(--muted);opacity:.45}.amagin-pagination a:hover{border-color:var(--accent);background:var(--accent);color:var(--paper)}.amagin-pagination a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){.amagin-pagination{margin-top:32px;padding-top:24px}.pagination-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px}.pagination-numbers{grid-column:1/-1;grid-row:1;gap:8px}.pagination-prev{grid-row:2;grid-column:1}.pagination-next{grid-row:2;grid-column:2}.pagination-step{min-height:50px;width:100%}.pagination-numbers .page-numbers{min-width:46px;min-height:48px;padding:10px 12px}}

/* One page rhythm: centered headings and reading columns, generous gallery widths. */
.page-shell.section{padding:72px 6% 80px}.page-shell>.page-title,.page-shell>article>.page-title{max-width:960px;margin:0 auto 40px;text-align:center;font-size:clamp(30px,3.1vw,40px);line-height:1.5;overflow-wrap:anywhere}.page-reading>.content,.page-shell>.series-introduction{width:100%;max-width:720px;margin-inline:auto}.page-reading>.content>p:first-child{margin-top:0}.page-reading .content{line-height:2.1}.page-reading .wp-block-image img{max-width:100%;height:auto}.page-commerce>.content{width:100%;max-width:1040px;margin-inline:auto}.page-gallery>.works-grid,.page-gallery>.series-index-grid,.page-gallery>.amagin-pagination{max-width:1440px;margin-inline:auto}.page-shell>.series-introduction{margin-top:0;margin-bottom:48px}.page-shell .content figure{max-width:100%}.detail{max-width:1600px;margin-inline:auto}
@media(min-width:761px) and (max-width:1180px){.page-shell.section{padding:60px 5% 70px}.page-shell>.page-title,.page-shell>article>.page-title{margin-bottom:34px}}
@media(max-width:760px){.page-shell.section{padding:42px 6% 55px}.page-shell>.page-title,.page-shell>article>.page-title{font-size:30px;margin-bottom:28px}.page-shell>.series-introduction{margin-bottom:32px}.page-reading .content p{line-height:2.1}}

/* ABOUT: an editorial composition with a clear profile and restrained scale. */
.page-shell.about-page{max-width:1440px;margin-inline:auto;padding-top:48px}
.page-shell.about-page>.page-title{max-width:none;text-align:left;font-size:12px;letter-spacing:.18em;margin-bottom:30px;font-weight:400}
.about-editorial{width:100%}
.about-opening{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8%;align-items:center}
.about-editorial figure{margin:0;width:100%}
.about-editorial img{display:block;width:100%;height:auto}
.about-editorial .content{max-width:none;line-height:2.05;font-size:15px}
.about-editorial .content p{margin:0 0 1.2em;line-height:2.05}
.about-profile>p:first-of-type{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:clamp(24px,2.5vw,34px);letter-spacing:.06em;line-height:1.5;margin-bottom:30px}
.about-profile>p:last-child,.about-essay>p:last-child{margin-bottom:0}
.about-statement{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8%;align-items:start;margin-top:88px;padding-top:64px;border-top:1px solid var(--line)}
.about-essay{max-width:640px!important}
.about-studio{padding-top:8px}
.about-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:64px}
@media(min-width:761px) and (max-width:1024px){
 .about-opening,.about-statement{gap:6%;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 .about-editorial .content{font-size:14px}.about-statement{margin-top:60px;padding-top:46px}
}
@media(max-width:760px){
 .page-shell.about-page{padding-top:30px}.page-shell.about-page>.page-title{font-size:11px;margin-bottom:22px}
 .about-opening,.about-statement{grid-template-columns:minmax(0,1fr);gap:28px}
 .about-profile>p:first-of-type{font-size:26px;margin-bottom:22px}
 .about-editorial .content{font-size:14px}.about-statement{margin-top:42px;padding-top:34px}
 .about-studio{padding-top:0}.about-photo-pair{gap:12px;margin-top:28px}
}

.about-photo-pair:has(>div:only-child){grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto}

/* Match ABOUT to the shared page heading and close the written sections. */
.page-shell.about-page>.page-title{max-width:960px;margin:0 auto 40px;text-align:center;font-size:clamp(30px,3.1vw,40px);letter-spacing:normal;line-height:1.5}
.about-closing{padding-bottom:64px;border-bottom:1px solid var(--line)}
@media(min-width:761px) and (max-width:1180px){.page-shell.about-page>.page-title{margin-bottom:34px}}
@media(max-width:760px){.page-shell.about-page>.page-title{font-size:30px;margin-bottom:28px}.about-closing{padding-bottom:34px}}
