SW nav: frosted-glass header + hamburger->X mobile menu (glass dropdown placed outside header) across all 3 pages — matches OC fix

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Michael Victory
2026-06-17 07:33:35 -07:00
parent 83f409c022
commit 1fd833df17
4 changed files with 122 additions and 4 deletions
+26 -4
View File
@@ -36,11 +36,32 @@ a { color: var(--steel); }
/* Header */
.site-header {
background: var(--paper);
background: rgba(250, 247, 242, 0.8);
-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
border-bottom: 1px solid var(--line);
position: sticky; top: 0; z-index: 10;
position: sticky; top: 0; z-index: 100;
}
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
/* Mobile hamburger -> X + frosted dropdown (placed OUTSIDE the header so its glass blurs the page) */
.nav-toggle { display: none; cursor: pointer; padding: 4px; background: none; border: none; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-toggle-icon { width: 30px; height: 30px; overflow: visible; }
.nav-toggle-icon .bar { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform-origin: 16px 16px; transition: opacity 0.2s ease, transform 0.35s cubic-bezier(.4,0,.2,1); }
.nav-toggle.open .bar-top { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .bar-mid { opacity: 0; }
.nav-toggle.open .bar-bot { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-menu {
display: none; position: fixed; top: 53px; left: 0; right: 0; z-index: 90;
flex-direction: column; gap: 18px; padding: 24px 24px 28px;
background: rgba(250, 247, 242, 0.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
border-bottom: 1px solid var(--line); align-items: flex-end; text-align: right;
font-family: Verdana, Geneva, sans-serif;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav-mobile-menu a:hover { color: var(--steel); }
.nav-mobile-menu a.tel { color: var(--steel); font-weight: bold; }
.nav-mobile-menu .nav-cta { color: #fff !important; }
.wordmark {
font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700;
color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
@@ -196,10 +217,11 @@ blockquote p { margin: 0; font-style: italic; color: var(--ink-soft); }
@media (max-width: 900px) {
.grid.four { grid-template-columns: repeat(2, 1fr); }
.hero h1 { font-size: 2.1rem; }
.site-nav { display: none; }
.nav-toggle { display: flex; }
}
@media (max-width: 640px) {
body { font-size: 17px; }
.site-nav a:not(.nav-cta):not(.nav-phone) { display: none; }
.grid.four { grid-template-columns: 1fr; }
.hero { padding: 56px 0 44px; }
section { padding: 48px 0; }