/* Pisicuțe. --c1 ink, --c2 paper, --c3 nose pink (from site.edn).
   One voice: Young Serif for names and titles, Newsreader for everything else.
   The signature is the photo wall with verses woven between the pictures. */
*{box-sizing:border-box}
html{font-size:19px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:Newsreader,Georgia,serif;font-optical-sizing:auto;line-height:1.55;color:var(--c1);background:var(--c2)}
a{color:inherit;text-decoration-color:var(--c3);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{color:var(--c3)}
a:focus-visible{outline:2px solid var(--c3);outline-offset:3px;border-radius:2px}
h1,h2,.brand{font-family:"Young Serif",Georgia,serif;font-weight:400;line-height:1.05;letter-spacing:-.01em;margin:0 0 .5em}
img{display:block;max-width:100%;height:auto}
.wrap{max-width:74rem;margin:0 auto;padding:0 1.5rem}

/* header */
.top{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.4rem;padding-bottom:1.4rem}
.brand{font-size:1.35rem;margin:0;text-decoration:none}
.nav{display:flex;gap:1.4rem;font-size:1.05rem}
.nav a{text-decoration:none}
.nav a:hover{text-decoration:underline}

/* hero */
.hero{display:grid;grid-template-columns:1fr 1.15fr;gap:3.5rem;align-items:center;padding-top:2.5rem;padding-bottom:4.5rem}
.hero h1{font-size:clamp(3.4rem,8.5vw,7rem);margin-bottom:.25em}
.lede{font-style:italic;font-size:1.5rem;line-height:1.3;margin:0 0 1.2rem;color:var(--c3)}
.intro p{margin:0 0 1.2rem;max-width:30ch;font-size:1.15rem}
.more{font-size:1.1rem;font-weight:500}
.more::after{content:" →"}
.hero-photo{margin:0}
.hero-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:1.5rem}

/* the wall */
.wall{columns:3 18rem;column-gap:1.25rem;padding-bottom:4rem}
.tile{break-inside:avoid;margin:0 0 1.25rem}
.tile img{width:100%;border-radius:1rem}
.verse{background:#fff;border-radius:1rem;padding:1.8rem 1.7rem 1.5rem}
.verse p{font-style:italic;font-size:1.3rem;line-height:1.5;margin:0 0 1rem}
.verse a{font-size:.9rem;color:var(--c3);text-decoration:none}
.verse a:hover{text-decoration:underline}
@media (prefers-reduced-motion:no-preference){
  .tile img{transition:transform .5s ease}
  .tile:hover img{transform:scale(1.015)}
}

/* pages */
.block{padding-top:2.5rem;padding-bottom:4rem}
.prose{max-width:36rem}
.prose h1{font-size:clamp(2.6rem,6vw,4rem)}
.prose p{margin:0 0 1em;font-size:1.1rem}
.page-poezii .prose{margin:0 auto;max-width:25rem}
.page-poezii h2{font-size:1.9rem;margin:3.2rem 0 .9rem;padding-top:3.2rem;border-top:1px solid rgba(47,59,54,.15)}
.page-poezii .prose h2:first-child{border-top:0;padding-top:0;margin-top:1.5rem}
.page-poezii .prose p{font-size:1.3rem;line-height:1.6;margin-bottom:1.1em}
.credits{list-style:none;margin:2.5rem 0 0;padding:0;display:grid;gap:1.5rem 1.25rem;grid-template-columns:repeat(auto-fill,minmax(12rem,1fr))}
.credits img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:.8rem;margin-bottom:.5rem}
.credits span{font-size:.95rem;line-height:1.35}
.credits small{opacity:.65}

/* footer */
.foot{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.8rem;padding-bottom:2.5rem;border-top:1px solid rgba(47,59,54,.15);font-size:.95rem}
.foot p{margin:0}

@media (max-width:760px){
  html{font-size:18px}
  .hero{grid-template-columns:1fr;gap:2rem;padding-top:1rem;padding-bottom:3rem}
  .hero-photo{order:-1}
  .wall{columns:2;column-gap:.75rem}
  .tile{margin-bottom:.75rem}
  .verse{column-span:all;padding:1.4rem 1.3rem 1.2rem;margin:.75rem 0 1.5rem}
  .verse p{font-size:1.2rem}
}
