.ffg-header, .ffg-footer { box-sizing:border-box; font:16px/1.55 system-ui,sans-serif; }
.ffg-header *, .ffg-footer * { box-sizing:border-box; }
.ffg-header { background:#171a18; border-bottom:1px solid #373e37; }
.ffg-header .ffg-nav { display:flex; align-items:center; justify-content:space-between; width:100%; max-width:1240px; min-height:66px; margin:auto; padding:0 30px; }
.ffg-header a, .ffg-footer a { text-decoration:none; }
.ffg-header a:hover, .ffg-footer a:hover { text-decoration:underline; }
.ffg-header .ffg-brand { display:flex; align-items:center; gap:12px; color:#f1eadc; font:600 22px Georgia,serif; }
.ffg-brand img { display:block; flex:none; width:48px; height:48px; object-fit:contain; }
.ffg-header .ffg-links { display:flex; align-items:center; gap:26px; }
.ffg-header .ffg-links a { display:block; color:#b3b4a9; font-size:.94rem; }
.ffg-menu { display:none; }
.ffg-header :focus-visible, .ffg-footer :focus-visible { outline:2px solid #e5bc79; outline-offset:3px; }
.ffg-footer { padding:24px; text-align:center; color:#93998e; font-size:.8rem; }
.ffg-footer details { max-width:48rem; margin:1rem auto; text-align:left; line-height:1.6; }
.ffg-footer summary { width:fit-content; margin:auto; cursor:pointer; }
.ffg-footer p { margin:0; color:#b3b4a9; }
.ffg-footer a { color:#e5bc79; }
@media(max-width:840px) {
  html { scroll-padding-top:62px; }
  .ffg-header { position:sticky; top:0; z-index:20; }
  .ffg-header .ffg-nav { min-height:52px; gap:8px; }
  .ffg-header .ffg-links { display:none; }
  .ffg-menu { display:block; position:relative; }
  .ffg-menu summary { display:flex; align-items:center; gap:10px; min-height:44px; padding:0 8px; color:#e5bc79; cursor:pointer; }
  .ffg-menu summary::-webkit-details-marker { display:none; }
  .ffg-menu summary::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
  .ffg-menu[open] summary::after { transform:translateY(2px) rotate(225deg); }
  .ffg-menu ul { position:absolute; top:100%; right:0; width:min(17rem,calc(100vw - 28px)); max-height:calc(100dvh - 62px); overflow:auto; overscroll-behavior:contain; list-style:none; margin:0; padding:5px; border:1px solid #635b45; border-radius:6px; background:#1a201c; box-shadow:0 9px 25px #0009; }
  .ffg-menu li a { display:flex; align-items:center; min-height:44px; padding:7px 12px; color:#f1eadc; border-radius:3px; }
  .ffg-menu a:hover, .ffg-menu a:focus-visible { background:#2b322c; }
}
@media(max-width:600px) {
  .ffg-header .ffg-nav { padding:0 14px; }
  .ffg-header .ffg-brand { gap:6px; font-size:18px; }
  .ffg-brand img { width:34px; height:38px; }
}
