/* ====================================================================
   Denovers · Footer v2 · canonical
   4-col top grid + bottom legal bar + ghosted brand wordmark
   ==================================================================== */

footer {
 background: var(--paper);
 padding: clamp(72px, 8vw, 112px) 0 0;
 border-top: 1px solid var(--line);
 position: relative;
 overflow: hidden;
}

.foot-top {
 display: grid;
 grid-template-columns: 1.6fr 1fr 1fr 1fr;
 gap: clamp(28px, 4vw, 56px);
 padding-bottom: clamp(40px, 5vw, 56px);
}

.foot-brand .brand {
 display: inline-flex; align-items: center; gap: 10px;
 text-decoration: none;
 margin-bottom: 18px;
}
.foot-brand .brand img.brand-mark { width: 22px; height: 22px; display: block; }
.foot-brand .brand img.brand-text { width: 105px; height: 18px; display: block; }
.foot-brand p {
 font-family: var(--sans);
 font-size: 14.5px;
 color: var(--ink-2);
 line-height: 1.6;
 max-width: 36ch;
 margin: 0 0 18px;
}
.foot-brand .scope-strip {
 display: flex; flex-wrap: wrap; align-items: center;
 font-family: var(--mono); font-size: 11px;
 letter-spacing: 0.10em; text-transform: uppercase;
 color: var(--ink-2);
 margin-bottom: 18px;
}
.foot-brand .scope-strip span + span::before {
 content: "|"; margin: 0 12px; opacity: 0.40;
}
.foot-brand .foot-bookcall {
 display: inline-flex; align-items: center; gap: 10px;
 padding: 12px 18px;
 background: var(--ink); color: var(--paper);
 border-radius: 4px;
 font-family: var(--sans); font-weight: 500; font-size: 14px;
 letter-spacing: -0.005em;
 text-decoration: none;
 transition: background .2s ease, transform .2s ease;
}
.foot-brand .foot-bookcall:hover { background: var(--accent); transform: translateY(-1px); }
.foot-brand .foot-bookcall .arr {
 font-family: var(--sans); font-size: 16px; line-height: 1;
 transition: transform .2s ease;
}
.foot-brand .foot-bookcall:hover .arr { transform: translateX(3px); }

.foot-col h5 {
 font-family: var(--mono);
 font-size: 11px;
 letter-spacing: 0.16em;
 color: var(--ink);
 text-transform: uppercase;
 font-weight: 500;
 margin: 0 0 18px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
 font-family: var(--sans);
 font-size: 14.5px;
 color: var(--ink-2);
 text-decoration: none;
 transition: color .2s ease;
}
.foot-col a:hover { color: var(--accent); }
.foot-col .resources-sub {
 margin-top: 22px; padding-top: 18px;
 border-top: 1px dashed rgba(12,12,10,0.10);
}
.foot-col .resources-sub h6 {
 font-family: var(--mono); font-size: 10.5px;
 letter-spacing: 0.16em; color: var(--muted);
 text-transform: uppercase; font-weight: 500;
 margin: 0 0 12px;
}

.foot-bottom {
 padding: 22px 0;
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 14px;
 font-family: var(--mono);
 font-size: 11px;
 letter-spacing: 0.10em;
 color: var(--muted);
 text-transform: uppercase;
 border-top: 1px solid var(--line);
}
.foot-bottom .foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.foot-bottom a:hover { color: var(--ink); }

/* Ghosted brand wordmark · real SVG at low opacity · ink mark at the end */
.foot-wordmark {
 margin: clamp(24px, 4vw, 48px) calc(var(--gutter) * -1) 0;
 padding: 0 12px;
 overflow: hidden;
 pointer-events: none;
 user-select: none;
 display: flex;
 align-items: flex-end;
 justify-content: center;
 gap: clamp(10px, 1.4vw, 20px);
 line-height: 0;
}
.foot-wordmark-svg {
 display: block;
 width: clamp(280px, 90%, 1200px);
 height: auto;
 opacity: 0.06;
}
.foot-wordmark-dot {
 display: block;
 width: clamp(18px, 2.4vw, 32px);
 height: clamp(18px, 2.4vw, 32px);
 background: var(--ink);
 border-radius: 2px;
 align-self: flex-end;
 margin-bottom: clamp(4px, 0.8vw, 10px);
}

@media (max-width: 980px) {
 .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
 .foot-top { grid-template-columns: 1fr; }
 .foot-bottom { justify-content: flex-start; }
}
