/*
 * The site footer (template-parts/footer/nuance-footer.php), on every page.
 *
 * Self-contained: it carries its own copy of the design tokens (site.css) under .nft, and every
 * rule is scoped to .nft, because it also renders on pages that don't load the design system
 * (the blog, old service pages) and must not restyle anything outside itself.
 */
.nft {
  --nft-black: #000000; --nft-card: #0C0C0C; --nft-gold: #F9D342;
  --nft-hi: #FFFFFF; --nft-tx: rgba(255,255,255,0.78); --nft-dim: rgba(255,255,255,0.5);
  --nft-hair: rgba(255,255,255,0.12);
  --nft-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nft-ease: cubic-bezier(.2,.7,.2,1);
  --nft-gut: clamp(20px, 4vw, 48px);

  position: relative; overflow: hidden; clear: both;
  padding: clamp(40px, 4vw, 56px) 0 22px;
  background: var(--nft-black); color: var(--nft-tx);
  font-family: var(--nft-sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-align: left;
}
.nft *, .nft *::before, .nft *::after { box-sizing: border-box; }
.nft :where(h2, p, ul, li, address) { margin: 0; padding: 0; }
.nft ul { list-style: none; }
.nft address { font-style: normal; }
.nft a { color: inherit; text-decoration: none; transition: color 200ms ease, border-color 200ms ease, background 250ms ease; }
.nft a:hover { color: var(--nft-hi); }
.nft :focus-visible { outline: 2px solid var(--nft-gold); outline-offset: 3px; border-radius: 8px; }
.nft ::selection { background: var(--nft-gold); color: var(--nft-black); }
.nft-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* a faint gold glow rising from the bottom */
.nft::before { content: ""; position: absolute; left: 50%; bottom: -460px; width: 1300px; height: 720px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(249,211,66,0.10), transparent); filter: blur(40px); pointer-events: none; }
.nft-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--nft-gut); }

/* ---------- contact cards ---------- */
.nft-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(32px, 3.5vw, 44px); border-bottom: 1px solid var(--nft-hair); }
@media (max-width: 900px) { .nft-cards { grid-template-columns: 1fr; gap: 12px; } }
.nft .nft-card { display: flex; align-items: center; gap: 16px; height: 100%; padding: 21px 22px; border: 1px solid var(--nft-hair); border-radius: 16px; background: var(--nft-card); color: var(--nft-hi); }
.nft-card:hover { border-color: rgba(249,211,66,0.5); background: #121212; }
.nft-card-i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--nft-gold); color: var(--nft-black); transition: transform 400ms var(--nft-ease); }
.nft-card:hover .nft-card-i { transform: translateY(-2px); }
.nft-card-i svg { width: 20px; height: 20px; }
.nft-card-t { display: grid; gap: 3px; min-width: 0; }
.nft-card-t small { font-size: 13px; line-height: 1.3; color: var(--nft-dim); }
.nft-card-t strong { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--nft-hi); overflow-wrap: anywhere; }

/* ---------- brand + link columns ---------- */
.nft-main { display: grid; gap: 40px; padding: clamp(32px, 3.5vw, 44px) 0 clamp(32px, 3.5vw, 44px); }
@media (min-width: 1040px) { .nft-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 64px; } }

.nft-logo { display: inline-block; border-radius: 8px; }
.nft-logo img { display: block; width: auto; height: 36px; }
.nft-brand > p { margin-top: 22px; max-width: 38ch; font-size: 15.5px; line-height: 1.7; color: var(--nft-tx); }
.nft-clutch { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border: 1px solid var(--nft-hair); border-radius: 999px; font-size: 14px; color: var(--nft-tx); }
.nft .nft-clutch:hover { border-color: rgba(249,211,66,0.55); color: var(--nft-tx); }
.nft-clutch b { color: var(--nft-gold); font-weight: 400; font-size: 12px; letter-spacing: 1.5px; }
.nft-clutch strong { color: var(--nft-hi); font-weight: 700; }
.nft-social { display: flex; gap: 8px; margin-top: 18px; }
.nft-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--nft-hair); border-radius: 50%; color: var(--nft-tx); }
.nft-social a:hover { color: var(--nft-black); background: var(--nft-gold); border-color: var(--nft-gold); }
.nft-social svg { width: 16px; height: 16px; }

.nft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 720px) { .nft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .nft-cols { grid-template-columns: 1fr; } }
.nft-k { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--nft-hi); }
.nft-k::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--nft-gold); }
.nft-cols ul { display: grid; gap: 14px; margin-top: 22px; }
.nft-cols a { font-size: 15px; line-height: 1.55; color: var(--nft-tx); }
.nft-cols a:hover { color: var(--nft-gold); }
.nft-addr { margin-top: 22px; font-size: 14.5px; line-height: 1.6; color: var(--nft-tx); }
.nft-addr span { display: block; margin-top: 12px; font-size: 14px; color: var(--nft-dim); }

/* ---------- bottom line ---------- */
.nft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--nft-hair); font-size: 14px; color: var(--nft-dim); }
.nft-bottom p { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nft-bottom p a { color: var(--nft-hi); }
.nft-bottom p a:hover { color: var(--nft-gold); }

@media (prefers-reduced-motion: reduce) { .nft *, .nft *::before, .nft *::after { transition: none !important; } }
