/* Nyanko’s palette: black, gray teal #4F5C5B, and oxblood #4F0E0F. */
:root{--ink:#f3f3f3;--wine:#4F5C5B;--red:#4F0E0F;--paper:#000000;--white:#f3f3f3;--muted:#c4c4c4;--line:#4F5C5B;--soft:#101010;--accent-text:#c7c7c7;--frame-radius:8px;--control-radius:6px;--serif:Impact,'Arial Narrow','Helvetica Neue',sans-serif}
body{background:var(--paper);color:var(--ink)}
::selection{background:var(--wine);color:var(--ink)}
.draft-note{background:var(--red);border-color:var(--red);color:var(--ink)}
header{padding:1.25rem 0;border-bottom:2px solid var(--ink)}
.brand{font-family:var(--serif);font-size:1.8rem;font-weight:900;letter-spacing:.025em;text-transform:none;line-height:1;overflow-wrap:anywhere}
.navlinks,.eyebrow,.plate-caption,.work figcaption,footer{font-family:'Courier New',monospace}
.navlinks{font-size:1rem}.eyebrow{font-size:.875rem;letter-spacing:.055em;color:var(--accent-text)}
.hero{grid-template-columns:1.12fr 1fr;gap:3rem;padding:4rem 0 4.5rem}
.hero h1{font-family:var(--serif);font-size:clamp(3rem,6.3vw,6rem);font-weight:900;line-height:1.02;letter-spacing:0;text-transform:uppercase;margin-bottom:1.5rem}
.hero h1{color:var(--ink)}.hero h1 em{display:block;font-style:normal;font-weight:900;color:var(--ink);text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:.12em;text-underline-offset:.06em}
.intro{color:var(--muted);font-size:1.125rem}
.button{font-weight:700;border:2px solid var(--ink);border-radius:var(--control-radius);min-height:48px}
.button.primary{background:var(--wine);color:var(--ink);border-color:var(--accent-text)}
.button.primary:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.button:hover{background:var(--ink);color:var(--paper)}
.paper{margin:0;background:var(--soft);padding:1rem;border:2px solid var(--red);box-shadow:9px 9px 0 var(--wine);transform:none}
.featured-art{background:#fff;aspect-ratio:5/6;display:grid;place-items:center;overflow:hidden}
.featured-art img{display:block;max-width:100%;height:auto;width:100%;object-fit:contain}
.plate-caption{padding:1rem 0 .1rem;color:var(--ink);font-size:.875rem;gap:.5rem;flex-wrap:wrap}
.plate-caption span:last-child{color:var(--accent-text)}
.section{border-top:2px solid var(--wine)}.section-heading h2,.about h2,.brand{color:var(--ink)}
.section-heading h2,.process-copy h2,.about h2{font-family:var(--serif);font-weight:900;letter-spacing:.01em;text-transform:uppercase;line-height:1.08;font-size:clamp(2rem,4vw,3.5rem)}
.gallery{gap:1.5rem}.work .art-space,.work:nth-child(2) .art-space,.work:nth-child(3) .art-space{background:var(--soft);border:1px solid var(--line);color:var(--muted)}
.work figcaption{font-size:.875rem}.work figcaption span{color:var(--accent-text)}
.process{background:var(--soft);color:var(--ink);border-top:2px solid var(--red);border-bottom:2px solid var(--red)}
.process-grid{gap:3rem}.video-space{margin:0;padding:0;aspect-ratio:auto;background:var(--soft);border:2px solid var(--paper);color:var(--ink)}.video-space img{display:block;width:100%;height:auto}.video-space figcaption{padding:.8rem 1rem}
.video-space p{font-family:var(--serif);font-weight:900;text-transform:uppercase;letter-spacing:.02em;font-size:2rem}
.video-space .meta{font-family:'Courier New',monospace;font-weight:400;text-transform:none;letter-spacing:0;font-size:.875rem;color:var(--muted)}
.process-copy .eyebrow{color:var(--accent-text)}.process-copy p{color:var(--ink)}.process-copy h2{color:var(--ink)}
.process-copy a{font-weight:700;color:var(--accent-text)}.process-copy a:hover{color:var(--ink)}.process-copy a:focus-visible{outline-color:var(--accent-text)}
.youtube-embed{margin-top:1.6rem;width:100%;aspect-ratio:16/9;min-height:200px;background:#000;border:1px solid var(--line)}.youtube-embed iframe{display:block;width:100%;height:100%;min-height:200px;border:0}.process-copy .video-fallback{font-size:.875rem;margin:.6rem 0 0}
.about-copy p{color:var(--muted)}.commission-line{border-color:var(--line)}
footer{border-top:2px solid var(--red)}.skip{background:var(--ink);color:var(--paper)}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}.shop-card{border:1px solid var(--line);background:var(--soft);min-width:0}.shop-card img{display:block;width:100%;height:240px;object-fit:contain;background:var(--soft)}.shop-card>div{padding:1.2rem}.shop-card .eyebrow{margin:0 0 .6rem;letter-spacing:.02em}.shop-card h3{font-size:1.25rem;line-height:1.3;margin:0;overflow-wrap:anywhere}.shop-status{font-size:.875rem;color:var(--accent-text);margin:.8rem 0 0}.shop-note{color:var(--muted);font-size:.875rem;margin:1.3rem 0 0}
@media(max-width:850px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}nav{flex-wrap:wrap}.navlinks{flex-wrap:wrap}}
@media(max-width:620px){.navlinks a:nth-child(3){display:inline}.navlinks{gap:.9rem}.shop-grid{grid-template-columns:1fr}.shop-card img{height:300px}}
@media(max-width:850px){.hero{gap:2rem}.hero h1{font-size:clamp(2.6rem,6.3vw,4.5rem)}.process-grid{gap:2rem}}
@media(max-width:620px){.hero{grid-template-columns:1fr;padding:3rem 0 3.5rem;gap:2.5rem}.hero h1{font-size:clamp(2.5rem,10vw,4rem)}.hero .paper{width:calc(100% - 9px);max-width:420px}.brand{font-size:2rem}.navlinks{font-size:.875rem}.process-grid{grid-template-columns:1fr}.section-heading h2,.process-copy h2,.about h2{font-size:2.4rem}.gallery{grid-template-columns:1fr}.plate-caption{font-size:.875rem}}

/* Illustrated identity and the first real product collection. */
.brand{display:flex;align-items:center;gap:1rem;flex-shrink:0}
.brand-logo{display:block;width:190px;height:auto;max-height:125px;object-fit:contain}
.brand span{font-size:1.5rem}
.shop-grid{align-items:stretch}
.shop-card{display:flex;flex-direction:column}
.product-photo{display:block;background:#f4f2ee;overflow:hidden}
.shop-card .product-photo img{height:auto;aspect-ratio:3/4;object-fit:contain;background:#f4f2ee;transition:transform .2s ease}
.product-photo:hover img{transform:scale(1.025)}
.shop-card>div{display:flex;flex-direction:column;flex:1}
.product-detail{font-size:.875rem;line-height:1.5;color:var(--muted);margin:.7rem 0;min-height:2.65rem}
.product-price{font-family:'Courier New',monospace;font-size:1rem;font-weight:700;line-height:1.6;margin:0 0 .4rem}
.shop-status{margin:auto 0 .75rem;padding-top:.8rem}
.product-link{font-size:.875rem;font-weight:700;display:flex;justify-content:space-between;gap:1rem;min-height:44px;align-items:center;border-top:1px solid var(--line)}
.social-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:1.3rem}
footer .social-links{font:inherit}
@media(max-width:850px){.brand-logo{width:160px}.brand span{font-size:1.4rem}.shop-grid{gap:1.5rem}}
@media(max-width:620px){header nav{justify-content:center}.brand-logo{width:175px}.brand span{font-size:1.5rem}.navlinks{justify-content:center;width:100%}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.shop-card>div{padding:1rem .85rem}.shop-card h3{font-size:1.05rem}.shop-card .eyebrow{font-size:.75rem}.product-detail{min-height:3.9rem}.product-price{font-size:.875rem}.product-link{font-size:.8rem}.social-links{justify-content:flex-start}}
@media(max-width:360px){.shop-grid{grid-template-columns:1fr}.product-detail{min-height:0}}
@media(prefers-reduced-motion:reduce){.product-photo:hover img{transform:none}}

/* A larger artwork view without opening the image file. */
button.gallery-art{width:100%;padding:0;color:inherit;cursor:zoom-in;font:inherit;border-radius:var(--frame-radius)}
button.gallery-art:focus-visible{outline:3px solid var(--wine);outline-offset:5px}
.art-lightbox{width:min(1100px,96vw);height:min(920px,94vh);height:min(920px,94dvh);max-width:96vw;max-height:94vh;max-height:94dvh;margin:auto;padding:1rem;background:var(--paper);color:var(--ink);border:2px solid var(--wine);overflow:hidden;box-shadow:0 20px 90px #0009}
.art-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1rem}
.art-lightbox::backdrop{background:rgb(0 0 0 / 92%)}
.lightbox-heading,.lightbox-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.lightbox-heading h2{font-family:var(--serif);font-size:clamp(1.3rem,3vw,2rem);line-height:1.2;margin:0;overflow-wrap:anywhere}
.art-lightbox button{min-height:44px;padding:.5rem .8rem;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.art-lightbox button:hover{background:var(--wine);color:var(--ink)}
.art-lightbox button:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
#lightbox-close{flex-shrink:0}
.lightbox-stage{margin:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--soft)}
.lightbox-stage img{display:block;width:100%;height:100%;object-fit:contain}
.lightbox-footer{font-family:'Courier New',monospace;font-size:.875rem}
.lightbox-controls{display:flex;gap:.5rem}
body.lightbox-open{overflow:hidden}
@media(max-width:620px){.art-lightbox{padding:.7rem;gap:.7rem}.art-lightbox[open]{gap:.7rem}.lightbox-heading,.lightbox-footer{gap:.5rem}.lightbox-controls{gap:.3rem}.art-lightbox button{padding:.5rem .6rem;font-size:.875rem}}

.hero-actions .button{gap:.55rem}
.commission-note{max-width:30rem;font-size:.875rem;color:var(--muted);line-height:1.6;margin:1rem 0 0}
@media(max-width:620px){.hero-actions{align-items:stretch}.hero-actions .button{flex:1 1 200px}.commission-note{font-size:.875rem}}

/* Nyanko’s own greeting in his chosen palette. */
.about{margin-block:3rem;padding:clamp(1.5rem,4vw,3.5rem);border:1px solid var(--wine);background:var(--soft)}
.about .about-copy .artist-greeting{font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.65;color:var(--ink);margin:0 0 1.5rem}
.about .eyebrow{color:var(--ink)}
.hero .eyebrow{text-transform:none;letter-spacing:.03em;font-weight:700;color:var(--accent-text)}
a:hover{color:var(--ink)}
a:focus-visible,button:focus-visible{outline-color:var(--accent-text)}
::selection{background:var(--wine);color:var(--ink)}

/* Slightly softened corners, as requested by Nyanko. */
.shop-card,.paper,.video-space,.youtube-embed{border-radius:var(--frame-radius);overflow:hidden}
.about,.art-lightbox{border-radius:var(--frame-radius)}
.art-lightbox button{border-radius:var(--control-radius)}
.shop-card:focus-within{outline:2px solid var(--accent-text);outline-offset:4px}

/* The new vein texture frames the entrance and Nyanko’s welcome. */
.hero-backdrop{background-color:#000;background-image:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.66)),url('assets/nyanko-new-eye.webp');background-size:cover;background-position:center;position:relative;border-bottom:1px solid var(--red)}
.hero-backdrop::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#000 0%,transparent 25%,transparent 85%,rgba(0,0,0,.6))}
.hero-backdrop .hero{position:relative;z-index:1}
.hero-backdrop .intro,.hero-backdrop .commission-note{color:#f3f3f3}
.hero-backdrop .eyebrow{color:#f3f3f3}
.hero-backdrop .button:not(.primary){background:rgba(0,0,0,.7)}
.hero-backdrop .button:not(.primary):hover{background:var(--ink);color:var(--paper)}
.about{background-image:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.93)),url('assets/nyanko-vein-texture.webp');background-size:cover;background-position:center 60%}
.about-copy p{color:#f3f3f3}
@media(max-width:700px){.hero-backdrop{background-image:linear-gradient(180deg,rgba(0,0,0,.84),rgba(0,0,0,.68)),url('assets/nyanko-new-eye.webp');background-position:40% center}.about{background-image:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.9)),url('assets/nyanko-vein-texture.webp')}}

header{background-color:#000;background-image:linear-gradient(90deg,rgba(0,0,0,.4),rgba(0,0,0,.9) 45%,rgba(0,0,0,.95)),url('assets/nyanko-new-eye.webp');background-size:cover;background-position:center 45%;border-bottom-color:var(--red)}
header .brand-logo{filter:drop-shadow(0 2px 8px #000)}
@media(max-width:620px){header{background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.94)),url('assets/nyanko-new-eye.webp')}}
/* Clearly separated navigation and compact slideshow symbols. */
.navlinks{gap:.75rem;flex-wrap:wrap;justify-content:flex-end}
.navlinks a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem .85rem;border:1px solid var(--line);border-radius:var(--control-radius);background:rgba(0,0,0,.8);white-space:nowrap}
.navlinks a:hover,.navlinks a:focus-visible{background:var(--wine);text-decoration:none}
.banner-controls button{width:48px;height:48px;padding:0;font-family:Arial,sans-serif;font-size:1.5rem;line-height:1}
#featured{scroll-margin-top:2rem}
.section-heading .shop-intro{margin-top:1rem;max-width:38rem;font-size:1.125rem;color:var(--muted)}
@media(max-width:620px){.navlinks{gap:.65rem;justify-content:center}.navlinks a{padding:.5rem .7rem}.navlinks a:nth-child(3){display:inline-flex}}
.process-video{min-width:0}.process-video .youtube-embed{margin-top:0}.process-video .video-fallback{font-size:.875rem;margin:.6rem 0 0;color:var(--muted)}
