/* The footer every page shares: the home film's own footer (26 Nov: the owner asked to keep the main page footer on every page).
   Markup: site_end() in tools/build_v3.py. Same rules as v2.css's .foot, with fallbacks so the generated pages (v3.css) get the same look. */
.foot { position: relative; z-index: 3; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; grid-template-rows: auto 1fr; gap: 0 64px; align-items: start;
  margin-top: calc(-1 * var(--foot-h, 0px)); min-height: var(--foot-h, 0px); padding: 44px var(--gut, clamp(20px, 4vw, 48px)) calc(34px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line, rgb(236 238 246 / .12)); background: linear-gradient(rgb(5 6 10 / .55), rgb(5 6 10 / .92)); backdrop-filter: blur(6px);
  color: var(--muted, #a3a8bf); font-size: 14px; }
.page + .foot { margin-top: clamp(80px, 10vw, 140px); }
.foot-brand { grid-row: 1; }
.foot-brand .brand { display: inline-block; } .foot-brand .brand img { display: block; width: 110px; height: 22px; }
.foot-brand p { margin-top: 18px; max-width: 18em; line-height: 1.5; }
.foot-col { display: grid; gap: 0; align-content: start; grid-row: 1 / span 2; }
.foot-h { font: 500 11px/1.5 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--star, #a3a9ff); margin: 0 0 12px; }
.foot-col a { color: var(--ink, #eceef6); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 34px !important; transition: color .3s var(--ease, ease); }
.foot-col a:hover { color: var(--star, #a3a9ff); }
.foot-col img, .foot-print { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.foot-print { box-shadow: inset 0 0 0 1px rgb(255 154 77 / .3); background-color: #1a1410; background-repeat: no-repeat;
  background-image: linear-gradient(#ff9a4d, #ff9a4d), linear-gradient(rgb(255 154 77 / .7), rgb(255 154 77 / .7)), linear-gradient(rgb(255 154 77 / .45), rgb(255 154 77 / .45));
  background-size: 12px 2.5px; background-position: 4px 5px, 4px 9px, 4px 13px; }
.foot-legal { grid-column: 1; grid-row: 2; font-size: 12.5px; align-self: end; margin-top: 18px; }
.foot-legal a { color: var(--muted, #a3a8bf); }
@media (max-width: 760px) {
  .foot { grid-template-columns: 1fr 1fr; margin-top: 0; gap: 36px 24px; padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    background: var(--bg, #05060a); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .page + .foot { margin-top: 72px; }
  .foot-brand, .foot-legal { grid-column: 1 / -1; grid-row: auto; }
  .foot-col { grid-row: auto; }
  .foot-col:nth-child(4) { grid-column: 1 / -1; }
  .foot-col a { min-height: 40px !important; }
}
/* the studio's seal (MGnetic Designs' own mark and ring) */
.seal { position: relative; display: block; width: 88px; height: 88px; margin-top: 18px; min-height: 0 !important; color: #ecebe6; }
.seal__ring { width: 100%; height: 100%; transition: transform 1.2s var(--ease, ease); }
.seal:hover .seal__ring { transform: rotate(40deg); }
.seal__ring text { font: 600 8.6px/1 "Jost", "Jost Fallback", sans-serif; letter-spacing: .1em; fill: rgba(236, 235, 230, .64); }
.seal__disc { fill: none; stroke: rgb(236 238 246 / .16); stroke-width: 1; }
.seal__mk { position: absolute; left: 31%; top: 37%; width: 38%; height: 26%; }
.seal .mk { display: block; width: 100%; height: 100%; overflow: visible; }
.seal .mk .k { fill: none; stroke: currentColor; stroke-width: 5.4; stroke-linecap: round; stroke-linejoin: round; }
.seal .mk .n, .seal .mk .s { fill: none; stroke-width: 5.4; stroke-linecap: butt; }
.seal .mk .n { stroke: #ff5a45; } .seal .mk .s { stroke: #6f8cff; }
.seal .mk .gap { fill: none; stroke: #05060a; stroke-width: .9; }
.seal .mk .fil { fill: none; stroke: #ffcb47; stroke-width: 2.4; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .seal__ring { transition: none; } .foot-col a { transition: none; } }

/* ---------- the shapes every page shares (26 Nov: pills were left on Labs, the 404 page and the phone menu button) ----------
   The star-atlas system has no pills: buttons are cut-corner plates, controls are squares with a hairline. */
:root { --cut: 12px; }
.btn { border-radius: 0 !important; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.btn--sm { --cut: 9px; }
.btn--ghost { clip-path: none; }
.menu-btn { border-radius: 0 !important; }
