:root {
  --red: #c1272d;
  --orange: #f26522;
  --yellow: #fbb615;
  --ink: #2b2220;
  --muted: #6b5d58;
  --bg: #fffaf2;
  --card: #fff;
  --line: #f0e3d0;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* header */
.site-header { background: #fff; border-bottom: 4px solid var(--yellow); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--red); font-weight: 800; font-size: 1.1rem; }
.brand img { width: 56px; height: auto; }
.main-nav { display: flex; gap: .25rem; }
.main-nav a { padding: .5rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover { background: var(--line); color: var(--ink); }
.main-nav a[aria-current] { background: var(--red); color: #fff; }
.menu-toggle, .menu-button { display: none; }

/* hero */
.hero { background: linear-gradient(135deg, #fff3d6, #ffe3cf); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 2.5rem; align-items: center; padding-block: 3rem; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; color: var(--orange); margin: 0; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: .3rem 0 1rem; color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .7rem 1.3rem; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; }
.btn:hover { background: var(--orange); color: #fff; }
.btn.ghost { background: transparent; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn.ghost:hover { background: var(--red); color: #fff; }

/* page heads, prose */
.page-head { background: linear-gradient(135deg, #fff3d6, #ffe3cf); border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
.page-head h1 { margin: 0; color: var(--red); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-head p { margin: .4rem 0 0; color: var(--muted); }
.prose { max-width: 720px; padding-block: 2.5rem 4rem; margin-inline: auto; }
.section-title { color: var(--red); font-size: 1.8rem; margin: 3rem 0 1.2rem; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; background: var(--yellow); margin-top: .4rem; border-radius: 2px; }

/* news */
.news-list { display: grid; gap: 1.5rem; padding-bottom: 4rem; }
.news { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.news h2 { margin: .2rem 0 .8rem; font-size: 1.4rem; color: var(--ink); }
.news time { font-size: .9rem; color: var(--orange); font-weight: 700; }
.news p { margin: .5rem 0; }
.news-flex { display: flex; gap: 1.5rem; align-items: flex-start; }
.news-flex > * { flex: 1 1 0; }
.news-flex img { border-radius: 10px; flex: 0 0 260px; width: 260px; height: auto; }
.video { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* docs, contact */
.doclist { list-style: none; padding: 0; margin: 0; }
.doclist a { display: inline-block; padding: .8rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.doclist a span { color: var(--muted); font-weight: 400; }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 0; }
.contact dt { font-weight: 700; color: var(--muted); }
.contact dd { margin: 0; overflow-wrap: anywhere; }

/* gallery */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; }
.chips a { padding: .4rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--orange); }
.album { padding-block: 1rem 2rem; scroll-margin-top: 80px; }
.album h2 { color: var(--red); margin: 1.5rem 0 0; }
.meta { color: var(--muted); margin: 0 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--line); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.grid a:hover img { transform: scale(1.06); }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(20, 12, 10, .92); }
.lb-inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 3rem 4rem; }
.lb-inner img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb button:hover { background: var(--orange); }
.lb .lb-close { top: 1rem; right: 1rem; }
.lb .lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb .lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* footer */
.site-footer { background: var(--ink); color: #e9ddd2; padding: 2rem 0; margin-top: 2rem; font-size: .95rem; }
.site-footer p { margin: .3rem 0; }
.site-footer a { color: var(--yellow); }

@media (max-width: 760px) {
  .menu-button { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .menu-button span, .menu-button span::before { content: ""; display: block; width: 24px; height: 3px; background: var(--red); border-radius: 2px; }
  .menu-button span::before { translate: 0 8px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: .5rem 1rem 1rem; border-bottom: 4px solid var(--yellow); }
  .menu-toggle:checked ~ .main-nav { display: flex; }
  .menu-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 1rem; }
  .brand span { font-size: 1rem; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 2rem; text-align: center; }
  .hero-inner img { max-width: 260px; margin-inline: auto; }
  .actions { justify-content: center; }
  .news-flex { flex-direction: column; }
  .news-flex img { flex: none; width: 100%; max-width: 360px; }
  .contact { grid-template-columns: 1fr; gap: .1rem; }
  .contact dd { margin-bottom: .8rem; }
  .lb-inner { padding: 3.5rem .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grid img { transition: none; } }
