/* ============================================================
   SOCIAL — the five brand accounts, in the footer of the
   landing page.

   PORTED FROM skiv-web/assets/css/social.css on 2026-08-28
   with the landing page itself. The mechanism is unchanged and
   the long rationale below is Skiv's, still true here:
   mask-image data URIs in one cached stylesheet rather than
   inline SVG duplicated across pages; monochrome at rest,
   real brand paint on hover, via a filter rather than a colour
   swap so gradients transition instead of snapping.

   ACCOUNTS (source of truth: vault 002. Biz/02. App/kalv/accounts.md):
     TikTok @kalv.app · Instagram @kalv.app
     YouTube @kalvapp · Pinterest kalvapp · Reddit u/kalvapp
   Five, not Skiv's four — Reddit is where the weight-cutting
   conversation already happens, so it earns a mark.

   WHY MASKS AND NOT INLINE SVG. The paths weigh ~9 KB. Inlined
   into every page that has a footer that is ~9 KB per page; as
   data URIs in one cached stylesheet it is 9 KB once. The mark
   then paints in `currentColor` and inherits the footer's ink
   and its `a:hover` rule without one extra colour declaration.

   WHY MONOCHROME. Brand colours would be the loudest thing on a
   row set at 0.65rem in `--ink-3`. A mark is recognisable by
   silhouette alone — that is what a mark is for.

   HOVER LIGHTS THE MARK UP IN ITS REAL COLOURS. Every mark
   always carries its true paint; a filter greys it at rest.
   `contrast(0)` collapses any paint — flat or gradient — to one
   mid-grey, and `brightness()` lifts that grey to the exact ink
   the row is written in. Dropping the filter reveals the real
   thing, and unlike a colour swap it interpolates.

   TikTok is a hard cyan/magenta split rather than the faithful
   black note: at 15px the real mark reads as a plain black
   glyph and does not light up, which is the whole point.
   ============================================================ */

/* ---- The group ---- */

/* One flex item inside the footer nav, so the five marks never break
   across two lines and never leave a lone glyph stranded below the row.
   The gap is the nav's own gap MINUS the transparent padding the two
   neighbouring boxes contribute (2 x 5.5px), so the space the eye reads
   between two marks equals the space it reads between two text links.
   Below 520px the nav's gap drops to 10px, calc() goes negative and is
   clamped to 0 — which is the right answer there too. */
.socs {
  display: inline-flex;
  align-items: center;
  gap: calc(clamp(13px, 1.5vw, 24px) - 11px);
}

/* main.css hides the footer nav's 3rd and 4th links below 520px to keep
   the row on one line. Those `:nth-child` selectors also match the 3rd
   and 4th mark inside this group, which is not what they mean. Loaded
   after main.css at equal specificity, this wins on source order. */
.legal-bar .socs .soc { display: inline-block; }

/* ---- The marks ---- */

.soc {
  display: inline-block;
  width: 26px;
  height: 26px;
  -webkit-mask: center / 15px 15px no-repeat;
          mask: center / 15px 15px no-repeat;
  /* --rest is the brightness that lands the flattened grey on the ink
     of the surrounding row. Overridden, not recomputed, per context. */
  --rest: 1.08;
  filter: contrast(0) brightness(var(--rest));
  transition: filter 220ms var(--ease-ui);
}

 /* Identity values, not `none`: an explicit filter list interpolates,
    so the mark fades up into colour instead of snapping to it. */
.soc:hover,
.soc:focus-visible { filter: contrast(1) brightness(1); }

.soc--tiktok { background: linear-gradient(135deg, #25f4ee 0 46%, #fe2c55 46% 100%); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); }
.soc--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.0301.084c-1.2768.0602-2.1487.264-2.9106.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4577-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.0301.084c-1.2768.0602-2.1487.264-2.9106.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4577-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077'/%3E%3C/svg%3E"); }
.soc--youtube { background: #ff0000; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }
.soc--pinterest { background: #e60023; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z'/%3E%3C/svg%3E"); }

.soc--reddit { background: #ff4500; -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'><path%20d='M24%2011.78a2.66%202.66%200%200%200-4.5-1.9%2013.1%2013.1%200%200%200-6.97-2.04l1.48-4.67%204.02.94-.01.06a2.17%202.17%200%201%200%20.3-1.1l-4.33-1.01a.36.36%200%200%200-.44.25l-1.65%205.2a13.16%2013.16%200%200%200-7.09%202.05%202.66%202.66%200%201%200-2.51%204.6%205.1%205.1%200%200%200-.07.81c0%203.9%204.6%207.07%2010.26%207.07s10.26-3.17%2010.26-7.07a5.1%205.1%200%200%200-.07-.8%202.64%202.64%200%200%200%201.32-2.27zM6.93%2012.99a1.62%201.62%200%201%201%201.61%201.62%201.62%201.62%200%200%201-1.61-1.62zm9.08%205.46a5.9%205.9%200%200%201-4.01%201.36%205.9%205.9%200%200%201-4-1.36.4.4%200%200%201%20.56-.56%205.14%205.14%200%200%200%203.44%201.13%205.16%205.16%200%200%200%203.45-1.13.4.4%200%200%201%20.56.56zm-.11-3.84a1.62%201.62%200%201%201%201.61-1.62%201.62%201.62%200%200%201-1.61%201.62z'/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'><path%20d='M24%2011.78a2.66%202.66%200%200%200-4.5-1.9%2013.1%2013.1%200%200%200-6.97-2.04l1.48-4.67%204.02.94-.01.06a2.17%202.17%200%201%200%20.3-1.1l-4.33-1.01a.36.36%200%200%200-.44.25l-1.65%205.2a13.16%2013.16%200%200%200-7.09%202.05%202.66%202.66%200%201%200-2.51%204.6%205.1%205.1%200%200%200-.07.81c0%203.9%204.6%207.07%2010.26%207.07s10.26-3.17%2010.26-7.07a5.1%205.1%200%200%200-.07-.8%202.64%202.64%200%200%200%201.32-2.27zM6.93%2012.99a1.62%201.62%200%201%201%201.61%201.62%201.62%201.62%200%200%201-1.61-1.62zm9.08%205.46a5.9%205.9%200%200%201-4.01%201.36%205.9%205.9%200%200%201-4-1.36.4.4%200%200%201%20.56-.56%205.14%205.14%200%200%200%203.44%201.13%205.16%205.16%200%200%200%203.45-1.13.4.4%200%200%201%20.56.56zm-.11-3.84a1.62%201.62%200%201%201%201.61-1.62%201.62%201.62%200%200%201-1.61%201.62z'/></svg>"); }

/* ---- Mobile. The footer's text shrinks; the targets must not. ----
   The breakpoint was 780 until 2026-09-01, four days after the regime moved to
   1024 — so between 781 and 1024 the marks stayed at their 28px desktop size
   inside the mobile layout: 26px of rendered target, on the one band where the
   page is already being read on a touch screen. It is exactly the kind of
   orphaned breakpoint that opened the old 781-1024 gap.
   And 30px was never a target either: the mark is the artwork, the anchor is
   the target, so the box goes to 44 and the mask stays where it was. */

@media (max-width: 1024px) {
  .soc {
    width: 44px;
    height: 44px;
    -webkit-mask-size: 19px 19px;
            mask-size: 19px 19px;
  }
}

