@font-face { font-family: Yomogi; src: url(fonts/Yomogi-Regular.ttf) format('truetype'); font-display: swap; }
* { box-sizing: border-box; }
:root { color: #30271e; background: #f8f2e6; font-family: Yomogi, sans-serif; }
body { margin: 0; background: url(images/common/backgrounds/dot_background.png) repeat; }
a { color: inherit; }
.directory-header { max-width: 1200px; margin: 18px auto 0; padding: 12px 26px; display: flex; align-items: center; justify-content: space-between; background: #fcf8ef; border: 2px solid #493b2c; border-radius: 22px; box-shadow: 0 5px 0 #4c35251a; }
.directory-header img { width: 165px; height: auto; display: block; }
.back-link { text-decoration: none; padding: 12px; }
main { max-width: 1200px; padding: 0 20px; margin: auto; }
.directory-intro { text-align: center; padding: 58px 0 40px; }
.eyebrow { margin: 0; font-size: 15px; }
h1 { font-size: clamp(36px, 6vw, 62px); margin: 10px 0 18px; }
.directory-intro p { line-height: 1.9; }
.count { display: inline-block; padding: 6px 25px; background: #416849; color: #fff; border-radius: 30px; margin-top: 10px; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 22px; align-items: start; }
.directory-card { min-width: 0; background: #fffcf4; border: 2px solid #8a7353; border-radius: 14px; overflow: hidden; box-shadow: 0 5px 0 #54412718; scroll-margin-top: 20px; }
.directory-card:target { outline: 4px solid #d7a53f; outline-offset: 5px; }
.preview { display: block; aspect-ratio: 4/3; overflow: hidden; background: #29251f; position: relative; }
.preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.preview:hover img { transform: scale(1.04); }
.preview img[src$="/yacht.webp"], .preview img[src$="/poker.webp"] { object-position: bottom; }
.preview img[src$="/agitator.webp"] { object-position: center 72%; }
.preview img[src$="/stackCircus.webp"] { object-position: center 25%; }
.preview span { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 20px; background: #1d191bd9; color: white; font-size: 12px; }
.card-copy { padding: 18px; }
h2 { font-size: 21px; margin: 0 0 10px; line-height: 1.45; }
.card-copy p { font-size: 14px; line-height: 1.8; margin: 0; }
details { border-top: 1px dashed #baa586; margin-top: 14px; padding-top: 12px; }
summary { cursor: pointer; font-size: 13px; }
details p { margin-top: 12px !important; }
.directory-cta { padding: 54px 0; text-align: center; }
.directory-cta p { font-size: 26px; }
.directory-cta a { display: inline-block; text-decoration: none; padding: 16px 25px; border-radius: 30px; background: #416849; color: #fff; }
footer { display: flex; flex-wrap: wrap; gap: 24px; padding: 32px 20px; justify-content: center; background: #efe5d1; font-size: 13px; }
dialog { max-width: 94vw; max-height: 96dvh; border: 0; border-radius: 16px; background: #fff9eb; padding: 14px; color: inherit; }
dialog::backdrop { background: #17110dde; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.viewer-header h2 { font-size: 17px; margin: 0; }
dialog button { cursor: pointer; font: inherit; white-space: nowrap; background: none; border: 1px solid #897450; border-radius: 20px; padding: 6px 12px; }
dialog img { display: block; max-width: 85vw; max-height: 78dvh; width: auto; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #be842c; outline-offset: 3px; }
@media(max-width:700px) { .directory-header { margin: 10px; padding: 8px 15px; } .directory-header img { width: 120px; } main { padding: 0 14px; } .directory-intro { padding-top: 35px; } .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; } .card-copy { padding: 12px; } h2 { font-size: 17px; } .card-copy p { font-size: 12px; } .preview span { font-size: 10px; } }
@media(prefers-reduced-motion:reduce) { .preview img { transition: none; } }
