OC footer: height = bg logo (aspect-ratio 4:1), no padding/min-height; mobile lets content drive height with logo covering — fixes empty gap

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Michael Victory
2026-06-16 11:16:49 -07:00
parent 5b287335df
commit 1693c97f65
2 changed files with 12 additions and 5 deletions
+12 -4
View File
@@ -164,10 +164,18 @@ a.tel { text-decoration: none; }
.actions.center { margin: 2.2em 0 0.8em; }
.promise { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }
/* Footer — full-bleed "open" watermark drives the height; content overlaid bottom-left */
.site-footer { padding: 0; background: var(--navy); position: relative; overflow: hidden; min-height: 300px; }
.footer-watermark { display: block; width: 100%; height: auto; opacity: 0.05; pointer-events: none; }
.footer-inner { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 48px; }
/* Footer — height = the bg "open" logo (aspect 4:1), tight, no padding; content overlaid flush bottom-left */
.site-footer { padding: 0; background: var(--navy); position: relative; overflow: hidden; aspect-ratio: 1267.11 / 316.97; }
.site-footer::before {
content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
background: url(assets/brand/oc-mark-wh.svg) no-repeat center; background-size: 100% 100%;
}
.footer-inner { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 32px; }
@media (max-width: 760px) {
.site-footer { aspect-ratio: auto; }
.site-footer::before { background-size: cover; }
.footer-inner { position: static; padding: 52px 0 36px; }
}
.footer-brand { width: 150px; height: 32px; background-color: var(--cream); margin-bottom: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 22px; }
.footer-nav a { color: var(--cream-soft); text-decoration: none; }