/* Social section and footer icons (Instagram and Facebook), added 18 Nov 2026. Uses the site's own tokens. */
.soc-head{margin-bottom:clamp(1.1rem,.9rem + 1vw,1.6rem)}
.soc-acts{display:flex;flex-wrap:wrap;gap:10px}
.soc-acts .btn .i{width:20px;height:20px}
.soc-compact h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem)}
.soc-compact{background:var(--bg-2);border-block:1px solid var(--line)}
.soc-hint{display:none;margin:0 0 12px}
.soc-grid{list-style:none;margin:0 calc(var(--gut) * -1);padding:2px var(--gut) 8px;display:grid;grid-auto-flow:column;grid-auto-columns:min(70vw,260px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.soc-grid::-webkit-scrollbar{display:none}
.soc-grid>li{scroll-snap-align:start;min-width:0}
.soc-tile{position:relative;display:flex;flex-direction:column;gap:10px;color:var(--ink-2);text-decoration:none}
.soc-img{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);background:var(--bg-3)}
.soc-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.soc-tile:hover .soc-img img{transform:scale(1.03)}
.soc-tile:hover .soc-cap{color:var(--ink)}
.soc-tile:focus-visible{outline:2px solid var(--amber);outline-offset:4px;border-radius:var(--r)}
.soc-ig{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(6,6,8,.72);color:#fff}
.soc-ig .i{width:18px;height:18px}
.soc-cap{font-size:.9rem;line-height:1.5}
.soc-vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:899px){.soc-hint{display:flex}}
@media (max-width:480px){.soc-acts{width:100%}.soc-acts .btn{flex:1 1 auto}}
@media (min-width:900px){.soc-head.row{flex-direction:row;align-items:flex-end;justify-content:space-between}.soc-grid{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-columns:auto;margin:0;padding:0;gap:22px 18px;overflow:visible}}
/* homepage order on phones (the page reorders its sections below 700px) */
@media (max-width:699px){main#main>#social{order:8;background:#060608}}
/* footer icons */
.ftr-social{display:flex;gap:10px;margin-top:1rem}
.ftr-social a{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;color:var(--ink-2);text-decoration:none;transition:color .2s,border-color .2s}
.ftr-social a:hover{color:var(--amber);border-color:var(--amber)}
.ftr-social .i{width:20px;height:20px}
@media (prefers-reduced-motion:reduce){.soc-img img{transition:none}}
