/* Homepage Fixer — front page */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/syne-800.woff2") format("woff2"); }

.hpf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hpf-home { max-width: 1200px; margin: 0 auto; padding: 16px; }

.hpf-header { max-width: 600px; margin: 8px auto 24px; }
.hpf-header img { display: block; width: 100%; height: auto; }
.hpf-header-top { margin-bottom: 50px; }
.hpf-title { margin: 0 0 50px; font-family: "Syne", system-ui, sans-serif; font-weight: 800; font-size: clamp(34px, 7vw, 64px); line-height: 1.05; letter-spacing: -.01em; text-align: center; color: #fff; }

.hpf-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 100px; grid-template-columns: 1fr; }
.hpf-card { margin: 0; }
.hpf-card-link { position: relative; display: block; overflow: hidden; border-radius: 6px; background: #111; color: #fff; text-decoration: none; }
.hpf-card-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hpf-card-img { display: block; aspect-ratio: 3 / 4; background: #111; }
.hpf-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.hpf-card-link:hover .hpf-card-img img { opacity: .85; }
.hpf-card-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: rgba(0, 0, 0, .82); font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hpf-about { max-width: 820px; margin: 48px auto 24px; font-size: 24px; line-height: 1.6; overflow-wrap: anywhere; }
.hpf-about a { color: #fff; }
.hpf-about h2, .hpf-about h3 { line-height: 1.3; }

@media (min-width: 700px) {
	.hpf-about { font-size: 16px; }
	.hpf-grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
	.hpf-card-name { padding: 12px 14px; font-size: 16px; }
}

.hpf-header-link { display: block; }
.hpf-header-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
