/* Site header and footer, matching the original site (SiteHeader.tsx and the homepage footer). */
.sg-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(251,250,246,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#071A2D}
.sg-header .sg-container{width:min(100% - 48px,1390px);margin-inline:auto;height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #071A2D}
.sg-brand{min-width:0;display:flex;align-items:center;gap:28px;color:#071A2D;text-decoration:none}
.sg-brand img{width:46px;height:46px;display:block;flex:0 0 auto}
/* SG monogram drawn in code (brand guide: navy square, white Fraunces SG, lime bar along the bottom edge) */
.sg-mark{--s:46px;width:var(--s);height:var(--s);flex:0 0 auto;position:relative;display:grid;place-items:center;background:#071A2D;color:#fff;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:calc(var(--s) * .44);letter-spacing:-.03em;line-height:1;padding-bottom:calc(var(--s) * .06)}
.sg-mark::after{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--s) * .1);background:#D9FF24}
.sg-mark-outline{box-shadow:0 0 0 1px #FBFAF6}
.sg-foot-brand{display:flex;gap:18px;align-items:flex-start}
.sg-foot-brand .sg-mark{--s:52px}
.sg-brand > span{font-family:Fraunces,Georgia,serif;font-weight:500;letter-spacing:-.045em;font-size:1.65rem;line-height:1}
.sg-brand small{border-left:1px solid #071A2D;padding-left:28px;font-family:"Geist Mono",Menlo,monospace;font-size:.62rem;line-height:1.45;letter-spacing:.14em;text-transform:uppercase}
.sg-nav{display:flex;align-items:center;gap:36px;font-family:"Geist Mono",Menlo,monospace;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.sg-nav a{color:#071A2D;text-decoration:none}
.sg-nav > a:not(.sg-cta){position:relative}
.sg-nav > a:not(.sg-cta)::after{content:"";position:absolute;inset:auto 0 -7px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .2s ease}
.sg-nav > a:not(.sg-cta):hover::after{transform:scaleX(1);transform-origin:left}
.sg-cta{padding:16px 20px;background:#061C2D;color:#fff !important;display:inline-flex;align-items:center;gap:18px}
.sg-mobile{display:none}
.sg-menu-btn{width:44px;height:44px;display:grid;place-content:center;gap:6px;padding:0;border:0;background:transparent;cursor:pointer}
.sg-menu-btn span{width:24px;height:1px;background:#071A2D;transition:transform .2s}
.sg-menu-btn[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.sg-menu-btn[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
.sg-mobile nav{position:fixed;left:0;right:0;top:72px;padding:18px;display:grid;background:#FBFAF6;border-bottom:1px solid #071A2D;box-shadow:0 20px 30px rgba(7,26,45,.12)}
.sg-mobile nav[hidden]{display:none}
.sg-mobile nav a{padding:16px 8px;border-bottom:1px solid #BAC2BD;font:500 1.5rem/1 Fraunces,Georgia,serif;color:#071A2D;text-decoration:none}
@media (max-width:760px){
  .sg-header .sg-container{width:min(100% - 36px,1390px);height:72px}
  .sg-brand{gap:12px}
  .sg-brand img{width:38px;height:38px}
  .sg-brand .sg-mark{--s:38px}
  .sg-brand > span{font-size:1.35rem}
  .sg-brand small,.sg-nav{display:none}
  .sg-mobile{display:block;position:relative;flex:0 0 auto}
}
.sg-footer{padding:60px 0;background:#061C2D;color:#fff}
.sg-footer .sg-container{width:min(100% - 48px,1390px);margin-inline:auto;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:30px}
.sg-footer strong{font:500 1.8rem/1 Fraunces,Georgia,serif;letter-spacing:-.045em}
.sg-footer p,.sg-footer a{display:block;margin:10px 0 0;color:#BCC7CA;font-size:.78rem;line-height:1.5;text-decoration:none;font-family:Inter,system-ui,sans-serif}
.sg-footer a:hover{color:#fff;text-decoration:underline}
@media (max-width:760px){ .sg-footer .sg-container{grid-template-columns:1fr;width:min(100% - 36px,1390px)} .sg-footer{padding-bottom:110px} }
[id]{scroll-margin-top:100px}
