.hero-links{color:var(--ink-soft);font-size:15px;}
.hero-links a{color:var(--accent);text-underline-offset:3px;}
.hero-showcase{min-width:0;display:grid;gap:24px;align-self:start;}
.hero-art{width:100%;height:auto;}
.home-gallery{min-width:0;}
.home-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.home-gallery-head h2{font-size:21px;}
.home-gallery-head a{font-size:14px;color:var(--accent);white-space:nowrap;text-underline-offset:3px;}
.home-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.home-gallery-card{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;text-decoration:none;transition:border-color .15s;}
.home-gallery-card:hover{border-color:var(--accent);}
.home-gallery-frame{aspect-ratio:16/9;overflow:hidden;background:var(--paper-alt);}
.home-gallery-frame img{width:100%;height:100%;object-fit:contain;}
.home-gallery-empty{height:100%;display:grid;place-items:center;color:var(--ink-faint);font-size:13px;}
.home-gallery-body{padding:9px 12px 10px;}
.home-gallery-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;line-height:1.45;}
.home-gallery-author{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-soft);font-size:12px;line-height:1.5;}
.home-gallery-note{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper-alt);color:var(--ink-soft);font-size:15px;}
.home-gallery-note[hidden],.home-gallery-grid:empty{display:none;}
.home-gallery-pages{display:flex;justify-content:flex-end;gap:10px;margin-top:12px;}
.home-gallery-pages[hidden]{display:none;}
.home-gallery-pages button{border:1px solid var(--line-strong);border-radius:8px;padding:6px 12px;background:transparent;color:var(--accent);font:600 13px var(--font-body);cursor:pointer;}
.home-gallery-pages button:disabled{color:var(--ink-faint);cursor:default;}
@media(max-width:900px){
  .hero{padding:28px 0 36px;}
  .hero-grid{gap:26px;}
  .hero h1{max-width:none;margin-bottom:12px;}
  .hero p.lead{font-size:16px;max-width:60ch;margin-bottom:16px;}
  .hero-ctas{margin-bottom:12px;gap:10px;}
  .hero-showcase{gap:20px;}
  .hero-art{max-width:500px;margin:0 auto;}
  .home-gallery-head{margin-bottom:10px;}
  .home-gallery-head h2{font-size:19px;}
  .home-gallery-frame{aspect-ratio:16/8;}
}
@media(max-width:480px){
  .hero h1{font-size:30px;}
  .hero .btn{font-size:14px;padding:10px 13px;}
  .home-gallery-grid{gap:9px;}
  .home-gallery-body{padding:7px 9px 8px;}
  .home-gallery-title{font-size:13px;}
  .home-gallery-author{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.home-gallery-card{transition:none;}}
