/* ==========================================================================
   CalcForBuild — design tokens
   Blueprint / spec-sheet visual language for construction calculators.
   ========================================================================== */

:root {
  --bg: #eef0ec;
  --bg-blueprint: #16303d;
  --bg-blueprint-deep: #0f242e;
  --panel: #ffffff;
  --ink: #1c2321;
  --ink-soft: #46524d;
  --steel: #5c7682;
  --line: #c7ccc4;
  --line-strong: #9aa39b;
  --accent: #e08a2c;
  --accent-ink: #8a4b0f;
  --accent-bg: #fbe7cd;
  --result-bg: #f6f7f4;
  --radius: 3px;
  --max: 1120px;
  --measure: 68ch;
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11181a;
    --bg-blueprint: #0c2026;
    --bg-blueprint-deep: #081419;
    --panel: #182225;
    --ink: #e7ebe6;
    --ink-soft: #aab4ac;
    --steel: #93a6ac;
    --line: #2d3a3a;
    --line-strong: #44524f;
    --accent: #f0a04e;
    --accent-ink: #f6c284;
    --accent-bg: #2e2111;
    --result-bg: #121b1d;
  }
}
:root[data-theme="dark"] {
  --bg: #11181a;
  --bg-blueprint: #0c2026;
  --bg-blueprint-deep: #081419;
  --panel: #182225;
  --ink: #e7ebe6;
  --ink-soft: #aab4ac;
  --steel: #93a6ac;
  --line: #2d3a3a;
  --line-strong: #44524f;
  --accent: #f0a04e;
  --accent-ink: #f6c284;
  --accent-bg: #2e2111;
  --result-bg: #121b1d;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
.measure-wide { max-width: calc(var(--measure) + 10ch); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--bg-blueprint);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-icon { color: var(--accent); flex-shrink: 0; }
.brand-text { display: flex; align-items: baseline; gap: 2px; }
.brand .brand-for { color: var(--accent); font-weight: 500; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: #d9e2e4;
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-blueprint-deep);
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: inline-block; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--bg-blueprint);
  color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1 1 auto; min-width: 0; }
.hero-diagram { flex: 0 0 300px; max-width: 300px; }
.hero-diagram svg { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-diagram { display: none; } }
.hero h1 { color: #fff; max-width: 22ch; }
.hero-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent);
  margin: 2px 0 14px;
}
.hero .lede { color: #c6d2d4; font-size: 1.1rem; max-width: 56ch; }
.hero-actions { margin-top: 1.5em; }
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
}
.btn-accent { background: var(--accent); color: #241404; }
.btn-accent:hover { background: #ec9a40; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: #fff; }

/* ---------- tool index (blueprint reference list) ---------- */
.tool-index { margin: 56px 0; }
.tool-index-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tool-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tool-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.tool-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.tool-row:hover .tool-name, .tool-row:focus-visible .tool-name { color: var(--accent-ink); }
.tool-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 3px 7px;
  text-align: center;
}
.tool-name { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.tool-desc { font-weight: 400; font-family: var(--font-body); color: var(--ink-soft); font-size: 0.92rem; display: block; margin-top: 2px; }
.tool-go { font-family: var(--font-mono); font-size: 0.85rem; color: var(--steel); white-space: nowrap; }

/* ---------- generic sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- calculator panel ---------- */
.calc-panel {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0 8px;
}
.calc-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-inputs { padding: 28px; border-right: 1px solid var(--line); }
@media (max-width: 760px) { .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); } }
.calc-results { padding: 28px; background: var(--result-bg); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .hint { font-size: 0.8rem; color: var(--steel); margin-top: 4px; }
.field input, .field select {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.btn-calc {
  background: var(--accent);
  color: #241404;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  cursor: pointer;
}
.btn-calc:hover { background: #ec9a40; }
.btn-reset {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--font-body);
  padding: 11px 16px;
  border-radius: var(--radius);
  cursor: pointer;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.result-row:last-child { border-bottom: none; }
.result-label { font-size: 0.92rem; color: var(--ink-soft); }
.result-value { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.result-value.is-hero { color: var(--accent-ink); font-size: 1.7rem; font-weight: 600; }
.result-placeholder { color: var(--steel); font-size: 0.92rem; }

.note-box {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 24px 0;
}
.note-box strong { font-family: var(--font-head); }

.note-box-sm {
  border-left: 2px solid var(--accent);
  background: var(--accent-bg);
  padding: 9px 11px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 18px 0 0;
}
.note-box-sm strong { font-family: var(--font-head); color: var(--ink); }

/* ---------- how-to / faq ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
}

.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 8px; font-size: 1.02rem; }
.faq-item p { color: var(--ink-soft); margin-bottom: 0; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
}
.related-card:hover { border-color: var(--line-strong); }
.related-card .tool-tag { margin-bottom: 10px; display: inline-block; }
.related-card h3 { font-size: 1rem; margin-bottom: 4px; }
.related-card p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

/* ---------- email card (contact page) ---------- */
.email-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  padding: 16px 18px;
  margin: 20px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.email-card:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(224,138,44,0.12); }
.email-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.email-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  flex: 1 1 auto;
}
.email-link:hover { color: var(--accent-ink); }
.email-copy {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px 12px;
  color: var(--ink-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.email-copy:hover { border-color: var(--accent); color: var(--accent-ink); }
.email-copy.is-copied { background: var(--accent); border-color: var(--accent); color: #241404; }

.breadcrumb { font-size: 0.85rem; color: var(--steel); margin-bottom: 18px; }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-blueprint-deep);
  color: #aebcbe;
  margin-top: 64px;
}
.site-footer .wrap { padding: 44px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 0.9fr 0.8fr; gap: 28px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; margin-bottom: 12px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.footer-brand .brand-icon { color: var(--accent); flex-shrink: 0; width: 22px; height: 22px; }
.footer-brand .brand-for { color: var(--accent); font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #aebcbe; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: #7c8c8e;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #241404;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- motion: scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- motion: result value update pulse ---------- */
@keyframes resultPulse {
  0% { color: var(--accent-ink); transform: scaleX(1.03); }
  100% { color: inherit; transform: scaleX(1); }
}
.result-value { display: inline-block; transform-origin: right center; }
.result-value.pulse { animation: resultPulse 0.55s ease; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}


/* ---------- embed widget box ---------- */
.embed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-ink);
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
}
.embed-toggle:hover { color: var(--accent); }
.embed-toggle svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.embed-box {
  display: none;
  margin-top: 12px;
  max-width: 480px;
}
.embed-box.is-open { display: block; }
.embed-box textarea {
  width: 100%;
  min-height: 70px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--result-bg);
  color: var(--ink);
  resize: vertical;
  box-sizing: border-box;
}
.embed-copy-btn {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.embed-copy-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.embed-copy-confirm {
  margin-left: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-ink);
  display: none;
}


/* ---------- v2 version badge ---------- */
.h1-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.version-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--result-bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- unit / mode toggle ---------- */
.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.toggle-group {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.toggle-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border: none;
  background: var(--panel);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--line-strong); }
.toggle-btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* ---------- density reference table ---------- */
.density-table {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.density-table th, .density-table td {
  text-align: left;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line-strong);
}
.density-table th {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-soft);
}

.article-figure{margin:1.5rem 0}
.article-figure img{display:block;width:100%;height:auto;border-radius:12px}
.article-figure figcaption{font-size:.9rem;color:#5b6470;margin-top:.5rem}

/* ---------- nav dropdown (Blog) ---------- */
.nav-dropdown { position: relative; font-size: 0.95rem; }
.nav-dropdown > a::after { content: "\25BE"; margin-left: 6px; font-size: 0.8em; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 21px); right: -12px; min-width: 270px; background: var(--bg-blueprint-deep); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 8px 0; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); z-index: 30; }
.nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 9px 18px; font-size: 0.9rem; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 760px) {
  .nav-dropdown > a::after { content: none; }
  .nav-dropdown-menu { display: block; position: static; min-width: 0; background: none; border: 0; box-shadow: none; padding: 8px 0 0 14px; }
  .nav-dropdown-menu::before { content: none; }
  .nav-dropdown-menu a { padding: 6px 0; }
}

@media (min-width: 861px) and (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ===== Folded in from footer-extra.css on 2026-11-15 (audit: three render-blocking stylesheets).
   Kept verbatim so the footer, contact line, profile links and cookie hover behave exactly as before. ===== */
@media (min-width: 1001px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.05fr 1.05fr 0.7fr; }
}
.footer-contact { margin: 14px 0 0; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; color: #aebcbe; text-decoration: none; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-email svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); transition: transform 0.15s ease; }
.footer-email:hover, .footer-email:focus-visible { color: #fff; }
.footer-email:hover svg, .footer-email:focus-visible svg { transform: translateY(-1px) scale(1.1); }
@media (max-width: 820px), (pointer: coarse) {
  .footer-email { padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-email, .footer-email svg { transition: none; }
  .footer-email:hover svg, .footer-email:focus-visible svg { transform: none; }
}

/* Cookie banner hover effects (added 2026-11-06). The banner builds its own base styles in main.js; these only add hover. */
@media (hover: hover) {
  #cookie-notice button { transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
  #cookie-notice button[data-c="granted"]:hover { background: #ec9a40; border-color: #ec9a40; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); transform: translateY(-1px); }
  #cookie-notice button:not([data-c="granted"]):hover { background: rgba(28, 35, 33, 0.06); background: color-mix(in srgb, currentColor 8%, transparent); border-color: currentColor; }
  #cookie-notice a { transition: color 0.15s ease, text-decoration-thickness 0.15s ease; }
  #cookie-notice a:hover { color: #b25f12; text-decoration-thickness: 2px; }
}
#cookie-notice button:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  #cookie-notice button, #cookie-notice a { transition: none; }
  #cookie-notice button[data-c="granted"]:hover { transform: none; }
}


/* Embed and cite toggles: 24 px minimum tap target (QA-030, 2026-11-08). */
.embed-toggle { min-height: 24px; align-items: center; }

/* Footer profile links (added 2026-11-15). Same hover reaction as the email line above them.
   Class name is deliberately not "footer-social": ad blockers hide that class by name. */
.footer-profiles { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.footer-profiles li { margin: 0; }
.footer-profiles a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #aebcbe; text-decoration: none; transition: color 0.15s ease; }
.footer-profiles svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; display: block; transition: transform 0.15s ease; }
.footer-profiles a:hover, .footer-profiles a:focus-visible { color: #fff; }
.footer-profiles a:hover svg, .footer-profiles a:focus-visible svg { transform: translateY(-1px) scale(1.1); }
@media (max-width: 820px), (pointer: coarse) {
  .footer-profiles { gap: 4px; }
  .footer-profiles a { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-profiles a, .footer-profiles svg { transition: none; }
  .footer-profiles a:hover svg, .footer-profiles a:focus-visible svg { transform: none; }
}
