/* Footer for every page (R30; simplified 2026-11-02 at Agnius's word: too much on it, nothing stood out).
   A business card. Every page already ends on a plan call to action, so the footer sells nothing. One
   thing matters here, writing to Agnius: his name and address carry the weight and the lime disc marks
   that one action. The section links the phone header hides are a quiet list at the card's far edge,
   and the legal line sits under the card. Colours, radii and the font come from each page's own :root. */
.foot{padding:clamp(56px,7vw,104px) 0 clamp(24px,3vw,36px)}
/* The card has the same 12 px edge as the plan panel above it; its content keeps the page grid,
   and the legal line under it starts where the card content starts (12 px edge plus 1 px border) */
.foot-card{margin:0 12px;padding:clamp(32px,4.6vw,72px) 0;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-panel)}
.foot-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(32px,4vw,48px)}
@media (min-width:900px){
  .foot-in{grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(40px,6vw,112px);align-items:start}
  /* The list is as wide as its longest link and its links line up on the card's right content edge */
  .foot-nav ul{justify-items:end}
}

.foot-me{display:grid;gap:clamp(20px,2.4vw,28px);align-content:start}
.foot-who{display:flex;align-items:center;gap:16px}
.foot-face{width:clamp(64px,5vw,80px);height:auto;aspect-ratio:1;border-radius:50%;object-fit:cover;flex:none;background:var(--mist)}
.foot-name{display:grid;gap:3px;margin:0}
.foot-name strong{color:var(--ink);font-size:clamp(1.4rem,1rem + 1.4vw,2.25rem);font-weight:600;font-stretch:112%;letter-spacing:-.02em;line-height:1.08}
.foot-name span{color:var(--ink-2);font-size:1rem;line-height:1.4}

.foot-contact{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.foot-contact a,.foot-contact .tel-show{
  display:inline-flex;align-items:center;gap:14px;min-height:52px;max-width:100%;
  padding:0;border:0;background:none;cursor:pointer;text-align:left;
  font:inherit;font-size:clamp(1rem,.82rem + .8vw,1.5rem);font-weight:560;font-stretch:104%;line-height:1.25;
  color:var(--ink);text-decoration:none;
}
.foot-contact .lbl{min-width:0;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:.22em;transition:text-decoration-color .2s var(--ease-out)}
.foot-contact a:hover .lbl,.foot-contact .tel-show:hover .lbl{text-decoration-color:currentColor}
.foot-ic{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--mist);color:var(--ink);transition:background-color .25s var(--ease-out)}
.foot-ic .icon{width:20px;height:20px}
/* The address is the one action on the card, so its disc is lime from the start, as the site's buttons
   are; the phone, both the button and the link it turns into, stays quiet until the pointer is on it */
.foot-contact a[href^="mailto:"] .foot-ic{background:var(--lime)}
.foot-contact a[href^="mailto:"]:hover .foot-ic{background:var(--lime-deep,#A2E145)}
.foot-contact .tel-show:hover .foot-ic,.foot-contact a[href^="tel:"]:hover .foot-ic{background:var(--lime)}

.foot-nav ul{list-style:none;margin:0;padding:0;display:grid}
.foot-nav a{
  display:inline-flex;align-items:center;min-height:44px;color:var(--ink-2);font-size:1rem;line-height:1.35;
  text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:.22em;
  transition:text-decoration-color .2s var(--ease-out),color .2s var(--ease-out);
}
.foot-nav a:hover{color:var(--cobalt-ink);text-decoration-color:currentColor}
/* Phones: the five links run as one row that wraps */
@media (max-width:899.98px){.foot-nav ul{display:flex;flex-wrap:wrap;gap:0 24px}}

.foot > .wrap{width:min(100% - 2*var(--gutter) - 26px,var(--wrap))}
.foot-legal{display:flex;flex-wrap:wrap;align-items:center;gap:0 20px;margin:12px 0 0;color:var(--ink-3);font-size:.88rem;line-height:1.5}
.foot-legal a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.foot-legal a:hover{color:var(--ink)}
/* 2026-10-28, Agnius: no small text on phones, 15 px at least */
@media (max-width:959.98px){.foot-legal{font-size:.9375rem}}

@media print{.foot-nav,.foot-ic,.foot-contact li[data-tel]{display:none}.foot-card{border:0;margin:0;padding:0}}
