:root {
    color-scheme: light;
    --bg: #fff7fb;
    --bg-soft: #fde8f4;
    --panel: #ffffff;
    --panel-strong: #fff4ca;
    --text: #26202a;
    --muted: #746676;
    --brand: #cc2f87;
    --brand-dark: #9a1760;
    --brand-soft: #f7c7df;
    --border: rgba(97, 43, 76, 0.16);
    --shadow: 0 18px 50px rgba(87, 24, 62, 0.14);
    --radius: 24px;
    --radius-sm: 14px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 244, 202, 0.85), transparent 32rem),
        linear-gradient(180deg, #fff8fc 0%, var(--bg) 34%, #ffffff 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 99;
    background: #fff;
    padding: .75rem 1rem;
    border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 247, 251, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: .9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    min-width: max-content;
}
.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), #f6b8d7);
    color: #fff;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow: 0 10px 24px rgba(204, 47, 135, .28);
}
.brand strong { display: block; font-size: 1rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: .1rem; }

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand-dark);
    border-radius: 999px;
    padding: .7rem 1rem;
    font-weight: 700;
}
.site-nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .25rem;
}
.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    padding: .65rem .85rem;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.site-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}
.page-hero {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(253,232,244,.88));
    box-shadow: var(--shadow);
    padding: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
}
.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
    align-items: center;
    gap: 2rem;
}
.page-hero.compact { text-align: center; }
.eyebrow {
    margin: 0 0 .75rem;
    color: var(--brand-dark);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}
h1, h2 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -.035em;
}
h1 { font-size: clamp(2.25rem, 6vw, 5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.page-hero p:not(.eyebrow), .notice-card p, .footer-note {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}
.page-hero p:not(.eyebrow) { max-width: 720px; }
.page-hero.compact p { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); font-size: .95rem !important; }
.pill {
    display: inline-flex;
    width: auto;
    align-items: center;
    justify-content: center;
    margin-top: .75rem !important;
    padding: .45rem .8rem;
    border-radius: 999px;
    color: var(--brand-dark) !important;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: .9rem !important;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}
.button.primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.hero-card, .notice-card, .content-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-card { padding: 1rem; transform: rotate(1deg); }
.hero-card img { border-radius: 18px; width: 100%; }
.hero-card p { margin: .75rem .35rem 0; font-weight: 700; color: var(--brand-dark); }
.notice-card {
    padding: 1.4rem 1.6rem;
    margin-bottom: 2.25rem;
    background: var(--panel-strong);
}
.notice-card h2 { font-size: 1.4rem; }
.notice-card p { margin: .35rem 0 0; }
.section-heading { margin: 2.5rem 0 1rem; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.category-card {
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 12px 28px rgba(87, 24, 62, 0.10);
    transition: transform .18s ease, box-shadow .18s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-soft);
}
.category-card span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem;
}
.category-card strong { font-size: 1.1rem; }
.category-card small { color: var(--muted); font-weight: 700; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: .9rem;
}
.gallery-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--panel);
    box-shadow: 0 8px 22px rgba(87, 24, 62, 0.09);
    transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(87, 24, 62, 0.16); }
.gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--bg-soft);
}
.gallery-card span {
    padding: .65rem .7rem .75rem;
    font-size: .82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.content-card { padding: 1.25rem; }
.centered { text-align: center; display: grid; place-items: center; }
.info-image { border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }

.site-footer {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    text-align: center;
}
.site-footer p { margin: .35rem 0; }
.footer-note { font-size: .92rem; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    background: rgba(21, 12, 22, .88);
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox img {
    max-width: min(96vw, 1100px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.lightbox figcaption {
    color: #fff;
    text-align: center;
    margin-top: .75rem;
    min-height: 1.2em;
}
.lightbox button {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #1f1420;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 860px) {
    .header-inner { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        flex-basis: 100%;
        justify-content: flex-start;
        padding-top: .6rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { background: #fff; }
    .home-hero { grid-template-columns: 1fr; }
    .hero-card { transform: none; }
}
@media (max-width: 560px) {
    .site-main { padding: 1rem .8rem 3rem; }
    .header-inner { padding: .75rem .8rem; }
    .brand small { display: none; }
    .page-hero { padding: 1.4rem; border-radius: 24px; }
    h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .category-grid { grid-template-columns: 1fr; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; }
    .lightbox-prev { left: calc(50% - 58px); }
    .lightbox-next { right: calc(50% - 58px); }
}
