html.menu-open, html.menu-open body { overflow: hidden; }
/* Section focus guides navigation without drawing a ring around the content. */
main > section[tabindex="-1"]:focus { outline: none; }
.fullscreen-menu {
  position: fixed; inset: 0; margin: 0; padding: 0;
  width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  border: 0; background: #f8f6f2; color: #191b19;
  overflow-y: auto; overscroll-behavior: contain;
  font-family: Arial, Helvetica, sans-serif;
}
.fullscreen-menu[open] { display: grid; grid-template-rows: auto 1fr auto; animation: menu-reveal 240ms ease both; }
.fullscreen-menu::backdrop { background: #f8f6f2; }
.fullscreen-menu.is-closing { animation: menu-dismiss 200ms ease both; pointer-events: none; }
.fullscreen-menu__header, .fullscreen-menu__links, .fullscreen-menu__footer {
  width: min(100%, 820px); margin: 0 auto; padding-left: 24px; padding-right: 24px;
}
.fullscreen-menu__header { display: flex; align-items: center; justify-content: space-between; padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 18px; }
.fullscreen-menu__logo { font-size: 20px; letter-spacing: .12em; font-weight: 800; }
.fullscreen-menu__close { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; appearance: none; -webkit-appearance: none; border: 1px solid #dde3d7; border-radius: 50%; background: #eef2e9; color: #3d634a; font-size: 22px; line-height: 1; text-align: center; cursor: pointer; }
.fullscreen-menu__close > i { display: flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; padding: 0; font-size: 22px; line-height: 1; letter-spacing: 0; }
.fullscreen-menu__close > i::before { display: block; line-height: 1; }
.fullscreen-menu__close:hover { background: #dfeadb; }
.fullscreen-menu__links { align-self: center; display: grid; gap: 10px; padding-top: 40px; padding-bottom: 40px; }
.fullscreen-menu__links a { display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; gap: 14px; align-items: center; min-height: 78px; padding: 18px 0; border-bottom: 1px solid #e4e5dc; font-size: clamp(23px, 6vw, 36px); line-height: 1.2; letter-spacing: -.035em; font-weight: 650; color: #242c24; transition: color .2s; }
.fullscreen-menu__links a:first-child { color: #278953; }
.fullscreen-menu__links a:hover { color: #278953; }
.fullscreen-menu__links a span { font-size: 14px; font-weight: 400; letter-spacing: .04em; color: #76937c; }
.fullscreen-menu__links a i { font-size: 16px; color: #78907b; }
.fullscreen-menu__footer { display: grid; gap: 8px; padding-top: 20px; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
.fullscreen-menu__footer b { font-size: 17px; font-weight: 600; }
.fullscreen-menu__footer span { font-size: 13px; line-height: 1.5; color: #6d7467; }
@keyframes menu-reveal { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes menu-dismiss { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 359px) {
  .fullscreen-menu__header, .fullscreen-menu__links, .fullscreen-menu__footer { padding-left: 18px; padding-right: 18px; }
  .fullscreen-menu__links a { grid-template-columns: 32px minmax(0,1fr) 16px; gap: 10px; font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .fullscreen-menu[open], .fullscreen-menu.is-closing { animation: none; } }
