:root { --bg: #faf7f2; --fg: #1f2a55; --muted: #5b5648; --accent: #e8b923; }
@media (prefers-color-scheme: dark) { :root { --bg: #14172b; --fg: #f3efe6; --muted: #b9b4a6; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.55 system-ui, sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.hero { text-align: center; padding: 40px 0 24px; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
.hero p { color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: #1f2a55; font-weight: 700; padding: 14px 28px; border-radius: 10px; text-decoration: none; }
.btn.small { padding: 8px 16px; font-size: 15px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
a { color: var(--fg); }
section { padding: 16px 0; }
footer { color: var(--muted); padding-bottom: 32px; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) { .reveal { animation: rise .6s both; } @keyframes rise { from { opacity: 0; transform: translateY(12px); } } }

.gallery .grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.gallery figure{margin:0}
.gallery img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(0,0,0,.15)}
.gallery figcaption{font-size:.9rem;text-align:center;margin-top:.25rem;letter-spacing:.1em}
