/* Optical top inset compensates the heading font's space above visible glyphs. */
:root{--bg:#e9e2d4;--paper:#f4eee3;--text:#27231f;--muted:#706557;--accent:#a46020;--line:rgba(37,34,31,.10)}
*{box-sizing:border-box}
body{margin:0;padding:24px;background:radial-gradient(1200px 500px at 10% -5%,rgba(196,122,42,.09),transparent 60%),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6}
.maintenance{max-width:1320px;margin:auto;overflow:hidden;border:1px solid rgba(255,255,255,.35);border-radius:28px;background:linear-gradient(180deg,#f5eee3,#f1eadf);box-shadow:0 18px 45px rgba(33,24,16,.12)}
.hero-cover{position:relative;height:330px}
.hero-cover picture,.hero-cover img{display:block;width:100%;height:100%}
.hero-cover img{object-fit:cover}
.hero-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,16,12,.12),rgba(20,16,12,.25))}
.hero-cover:after{content:"";position:absolute;inset:auto 0 -1px;height:16px;background:radial-gradient(15px 10px at 12px 0,transparent 10px,#f4eee3 11px) repeat-x;background-size:24px 16px}
.page-content{padding:0 24px}
.project-head{position:relative;display:flex;align-items:center;gap:20px;padding-top:24px}
.avatar{flex:none;width:110px;height:110px;object-fit:cover;border-radius:50%;border:4px solid var(--paper);box-shadow:0 8px 18px rgba(20,16,12,.18)}
.project-identity{min-width:0}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(26px,2.8vw,46px);font-weight:800;letter-spacing:-.02em;line-height:1.08;overflow-wrap:break-word}
.tagline{color:var(--muted);font-size:15px;margin-top:10px}
.subline{font-size:clamp(16px,1.5vw,23px);font-weight:600;margin-top:8px}
.maintenance-note{display:flex;align-items:center;gap:22px;padding:18px 20px;margin:24px 0;border:1px solid rgba(196,122,42,.19);border-radius:16px;background:rgba(196,122,42,.06)}
.maintenance-note p{font-size:15px;color:#625344}
.status{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-weight:700;font-size:14px}
.status>span{width:9px;height:9px;border-radius:50%;background:#c47a2a;box-shadow:0 0 0 4px rgba(196,122,42,.13)}
.content-card{margin-top:32px;padding:30px 46px 40px;background:linear-gradient(180deg,rgba(255,255,255,.33),rgba(255,255,255,.15));border:1px solid rgba(255,255,255,.25);border-radius:24px;box-shadow:0 10px 24px rgba(33,24,16,.08)}
.intro{padding-bottom:32px;border-bottom:1px solid var(--line);margin-bottom:30px}
.intro h2{font-size:clamp(25px,2.4vw,40px);font-weight:800;line-height:1.12;letter-spacing:-.02em}
.intro h2 span{color:var(--accent)}
.intro p{font-size:17px;color:var(--muted);margin-top:20px;max-width:1050px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.section-head h2,.socials h2{font-size:15px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
ul{list-style:none;margin:0;padding:0}
.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 24px}
a{color:inherit;text-decoration:none}
.collection{display:block;height:100%}
.collection-image{position:relative;overflow:hidden;aspect-ratio:1.22;border-radius:22px;background:#d9d0c1;border:1px solid rgba(255,255,255,.28);box-shadow:0 8px 20px rgba(24,18,12,.08)}
.collection-image picture{display:block;width:100%;height:100%}
.collection-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.collection h3{font-size:clamp(16px,1.15vw,20px);font-weight:600;line-height:1.25;margin-top:12px}
.collection:hover img{transform:scale(1.03)}
.collection:hover h3{color:var(--accent)}
a:focus-visible{outline:3px solid #92551c;outline-offset:5px;border-radius:16px}
.socials{margin-top:34px;padding-top:28px;border-top:1px solid var(--line)}
.social-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:18px}
.social-grid a{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 16px;background:#27231f;color:#f4eee3;border-radius:14px;transition:background .2s}
.social-grid img{width:30px;height:30px;object-fit:contain;flex:none}
.social-grid a:hover{background:#493b2d}
.social-grid a>span:not(.social-arrow){overflow-wrap:anywhere}
.social-arrow{margin-left:auto;color:#d6c1a8}
.page-footer{margin:24px -24px 0;padding:22px 24px;background:#191612;color:#f4eee3;text-align:center;font-size:16px;line-height:1.6}
.footer-contacts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px}
.footer-contact{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;min-width:0}
.footer-contact svg{flex:none;color:#b8b1a7;margin-right:3px}
.footer-contact a,.footer-authors-label{text-decoration:underline;text-underline-offset:3px}
.footer-contact a{overflow-wrap:anywhere}
.footer-contact a:hover{color:#de9a44}
.footer-copyright{margin-top:12px}
.footer-copyright strong{font-weight:700}
@media(max-width:1199.98px){.hero-cover{height:300px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-card{padding:25px 32px 32px}}
@media(max-width:899.98px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maintenance-note{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:767.98px){body{padding:12px}.hero-cover{height:230px}.page-content{padding:0 16px}.project-head{align-items:flex-start;flex-direction:column;gap:14px;padding-top:0}.avatar{width:92px;height:92px;margin-top:-40px;position:relative}.content-card{padding:18px 20px 24px}.tagline{font-size:14px}.maintenance-note{margin:20px 0;padding:16px}.collection-grid{gap:24px 16px}.collection-image{border-radius:18px}.section-head{align-items:flex-start;flex-direction:column;gap:4px}.page-footer{margin-left:-16px;margin-right:-16px;padding:20px 16px;font-size:14px}.footer-contacts{flex-direction:column;align-items:center;gap:10px}}
@media(max-width:479.98px){.collection-grid{grid-template-columns:minmax(0,1fr)}.social-grid{grid-template-columns:minmax(0,1fr)}.content-card{padding:15px 16px 22px}.intro p{font-size:16px}.intro h2{font-size:26px}.maintenance{border-radius:22px}}
@media(prefers-reduced-motion:reduce){.collection-image img,.social-grid a{transition:none}}
