/* IVM Live site footer: the Pear Media group footer layout (rounded card, sign row, contact + B2B + B2C +
   site columns, corner wordmark, legal row) in IVM Live's own type and colour. Shared by every page. */
footer.sf {
  --sf-bg: var(--bg, #070707);
  --sf-card: var(--surface, #121212);
  --sf-ink: var(--ink, #f4f4f4);
  --sf-dim: var(--ink-dim, #a8a8a8);
  --sf-mute: var(--ink-mute, #6b6b6b);
  --sf-line: var(--line, rgba(255, 255, 255, .09));
  --sf-red: var(--red, #E4131C);
  --sf-sans: var(--sans, "Inter Tight", system-ui, sans-serif);
  --sf-mono: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  display: block; margin: 128px 0 0; padding: 0 24px 24px; border: 0; background: transparent;
  color: var(--sf-ink); font-family: var(--sf-sans); text-align: left;
}
@media (min-width: 768px) { footer.sf { padding: 0 32px 32px; } }
.sf * { box-sizing: border-box; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf p, .sf h2, .sf address { margin: 0; font-style: normal; }
.sf a { color: inherit; text-decoration: none; border: 0; }
.sf-card { max-width: 1440px; margin: 0 auto; padding: 24px 24px 40px; background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 14px; }
@media (min-width: 768px) { .sf-card { padding: 24px 72px 48px; } }
.sf-row + .sf-row { border-top: 1px solid var(--sf-line); }

/* Sign row: mark + small tagline */
.sf-sign { display: grid; gap: 16px; padding: 24px 0 40px; }
@media (min-width: 768px) { .sf-sign { padding: 48px 0 56px; } }
.sf-mark { display: inline-flex; align-items: center; gap: 16px; justify-self: start; }
.sf-mark img { height: 40px; width: auto; display: block; }
.sf-name { display: flex; flex-direction: column; line-height: 1; border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 16px; }
.sf-n1 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.sf-n2 { margin-top: 6px; font-family: var(--sf-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sf-dim); }
.sf-tag { max-width: 46ch; font-size: 15px; line-height: 1.55; color: var(--sf-dim); }

/* Columns */
.sf-nav { display: flex; flex-direction: column; }
.sf-cols { display: grid; }
@media (min-width: 768px) { .sf-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px; padding-block: 48px; } }
@media (min-width: 1100px) { .sf-cols { gap: 72px; } }
.sf-col h2 { font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; }
.sf-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 88px; cursor: pointer; }
.sf-col summary::-webkit-details-marker { display: none; }
.sf-plus { position: relative; width: 22px; height: 22px; flex: none; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.sf-plus::before, .sf-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.sf-plus::before { width: 22px; height: 1px; }
.sf-plus::after { width: 1px; height: 22px; }
.sf-col[open] .sf-plus { transform: rotate(45deg); }
.sf-col + .sf-col { border-top: 1px solid var(--sf-line); }
.sf-col:last-child { border-bottom: 1px solid var(--sf-line); }
.sf-col ul { display: flex; flex-direction: column; gap: 22px; padding-bottom: 32px; }
@media (min-width: 768px) {
  .sf-col summary { min-height: 0; margin-bottom: 32px; cursor: default; pointer-events: none; }
  .sf-plus { display: none; }
  .sf-col + .sf-col, .sf-col:last-child { border: 0; }
  .sf-col ul { padding: 0; }
}
.sf-col a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 16px; letter-spacing: .01em; color: var(--sf-ink); background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 3px; transition: color .2s, background-size .5s cubic-bezier(.16, 1, .3, 1); }
.sf-col a:hover, .sf-col a:focus-visible { color: var(--sf-red); background-size: 100% 1px; }
.sf-ext { width: 10px; height: 10px; flex: none; opacity: .6; }

/* Contact column (Offices, Telephone, Email), stacked */
.sf-col--contact { display: flex; flex-direction: column; gap: 32px; padding-block: 40px; }
@media (min-width: 768px) { .sf-col--contact { padding-block: 0; } }
.sf-block { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sf-label { font-family: var(--sf-mono); font-size: 11px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--sf-mute); }
.sf-block address { font-size: 14px; line-height: 1.7; color: var(--sf-dim); }
.sf-block a { font-size: 14px; line-height: 16px; color: var(--sf-ink); padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); transition: color .2s, border-color .2s; }
.sf-block a:hover, .sf-block a:focus-visible { color: var(--sf-red); border-color: var(--sf-red); }

/* Corner mark */
.sf-logo { align-self: center; padding: 32px 0 24px; }
.sf-logo img { height: 48px; width: auto; display: block; opacity: .9; transition: opacity .2s; }
.sf-logo:hover img { opacity: 1; }
@media (min-width: 768px) { .sf-logo { align-self: flex-end; padding: 0 0 24px; } }

/* Legal row */
.sf-legal { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; align-items: center; text-align: center; font-family: var(--sf-mono); font-size: 10px; line-height: 16px; letter-spacing: .18em; text-transform: uppercase; color: var(--sf-mute); }
.sf-legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.sf-legal a { color: var(--sf-dim); transition: color .2s; }
.sf-legal a:hover, .sf-legal a:focus-visible { color: var(--sf-red); }
@media (min-width: 768px) { .sf-legal { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
.sf a:focus-visible { outline: 2px solid var(--sf-red); outline-offset: 3px; }

/* Resets so page-level tag styles (footer, p, ul li, h2, a) never leak in */
footer.sf { font-size: 16px; line-height: 1.45; letter-spacing: normal; text-transform: none; gap: 0; justify-content: initial; flex-wrap: initial; }
.sf li { margin: 0; color: inherit; }
.sf p { color: inherit; }
.sf-legal p { color: var(--sf-mute); }
.sf p.sf-tag { color: var(--sf-dim); }
.sf h2 { font-family: var(--sf-sans); color: var(--sf-ink); }
.sf-soon { font-size: 14px; line-height: 16px; color: var(--sf-dim); }
.sf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Privacy and Terms pad the body; let the footer use the full width like the home page */
body > footer.sf { margin: 128px -24px -96px; }
