/* Shared header, nav, footer and buttons for standalone pages (/events/, /domoween/).
   Mirrors the inline styles in index.html; keep the two in sync when the shell changes. */
:root {
  --red: #CC2222;
  --red-dark: #971919;
  --brown: #8B4513;
  --brown-dark: #4A250D;
  --cream: #FDF6EE;
  --cream-deep: #F5E6D7;
  --gold: #C8922A;
  --ink: #2B1A12;
  --display: "Darumadrop One", "Trebuchet MS", cursive;
  --body: "DM Sans", system-ui, sans-serif;
  --round: 1.35rem;
  --shadow: 0 18px 45px rgba(74, 37, 13, .13);
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); color: var(--brown-dark); padding: .7rem 1rem; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.container { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow { color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button { align-items: center; background: var(--red); border: 2px solid var(--red); border-radius: 999px; color: #fff; cursor: pointer; display: inline-flex; font: 700 .88rem var(--body); gap: .55rem; justify-content: center; min-height: 3.1rem; padding: .75rem 1.35rem; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { background: var(--red-dark); box-shadow: 0 8px 18px rgba(204,34,34,.22); transform: translateY(-2px); }
.button--light { background: var(--cream); border-color: var(--cream); color: var(--red); }
.button--outline { background: transparent; color: var(--red); }
.button--outline:hover, .button--outline:focus-visible { color: #fff; }
.button--nav { background: var(--red); border-color: var(--red); color: #fff; font-size: .82rem; min-height: 2.4rem; padding: .45rem 1rem; }
.site-header { align-items: center; background: rgba(253,246,238,.94); border-bottom: 1px solid rgba(139,69,19,.12); display: flex; height: 76px; justify-content: space-between; padding: 0 max(1.25rem, calc((100% - 1180px) / 2)); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { align-items: center; display: inline-flex; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.site-nav { align-items: center; display: flex; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a { color: var(--brown-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a:not(.button):focus-visible, .site-nav a[aria-current="page"] { color: var(--red); }
.nav-toggle { background: none; border: 0; color: var(--brown-dark); cursor: pointer; display: none; font-size: 1.6rem; padding: .4rem; }
.site-nav .nav-hl { background: #FFD98B; border-radius: 999px; color: var(--brown-dark); padding: .42rem .9rem; }
.site-nav a.nav-hl:hover, .site-nav a.nav-hl:focus-visible { background: var(--red); color: #fff; }
.nhk { background: var(--gold); color: var(--brown-dark); padding: 1.4rem 0; text-align: center; }
.nhk p { margin: .2rem auto 0; max-width: 750px; }
.site-footer { background: var(--brown-dark); color: #F9EBDD; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr .8fr .8fr; }
.site-footer .brand img { height: 64px; margin-bottom: 1rem; }
.site-footer p { color: #DFC5B2; font-size: .9rem; max-width: 310px; }
.site-footer h3 { color: #FFD98B; font: 700 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #F9EBDD; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #FFD98B; }
.site-footer .footer-legal { border-top: 1px solid rgba(255,255,255,.15); color: #F9EBDD; font-size: .86rem; margin: 2.5rem 0 0; max-width: none; padding-top: 1.2rem; }
.footer-bottom { color: #D9BFAB; display: flex; font-size: .78rem; justify-content: space-between; margin-top: .9rem; }
.footer-credit { display: grid; gap: .25rem; text-align: right; }
.footer-credit__sps { color: #FFD98B; font-weight: 700; }
.footer-credit__sps a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,217,139,.45); }
.footer-credit__note { color: #DFC5B2; font-size: .78rem; }
.footer-credit__note a { color: inherit; }
@media (min-width: 851px) and (max-width: 959px) {
  /* Compact desktop nav: priority links + Order Now stay visible; the ☰ menu shows every link. */
  .nav-toggle { display: block; margin-left: .3rem; order: 3; }
  .site-nav { margin-left: auto; }
  .site-nav > a:not(.nav-priority):not(.button) { display: none; }
  .site-nav.is-open { align-items: stretch; background: var(--cream); border-bottom: 1px solid rgba(139,69,19,.15); flex-direction: column; gap: 0; left: 0; padding: .6rem max(1.25rem, calc((100% - 1180px) / 2)) 1.1rem; position: absolute; right: 0; top: 76px; }
  .site-nav.is-open > a:not(.nav-priority):not(.button), .site-nav.is-open > a { display: block; padding: .65rem 0; }
  .site-nav.is-open .nav-hl { align-self: flex-start; padding: .42rem .9rem; }
}
@media (max-width: 850px) {
  .site-header { height: 68px; }
  .brand img { height: 48px; }
  .nav-toggle { display: block; }
  .site-nav { align-items: stretch; background: var(--cream); border-bottom: 1px solid rgba(139,69,19,.15); display: none; flex-direction: column; gap: 0; left: 0; padding: .6rem 1.25rem 1.1rem; position: absolute; right: 0; top: 68px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .65rem 0; }
  .site-nav .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .footer-credit { text-align: left; } }
@media (max-width: 570px) {
  .container { width: min(100% - 1.5rem, 1180px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
