2026-02-02 20:34:35 +00:00
|
|
|
|
.header {
|
|
|
|
|
|
position: sticky;
|
|
|
|
|
|
top: 0;
|
2026-02-04 12:06:48 +00:00
|
|
|
|
z-index: 1000;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
|
border-bottom: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
|
box-shadow: 0 2px 8px rgba(26, 22, 18, 0.06);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
2026-03-25 20:28:03 +00:00
|
|
|
|
max-width: 1400px;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
margin: 0 auto;
|
2026-05-19 09:47:13 +01:00
|
|
|
|
/* Add the safe-area inset to horizontal padding so the header content
|
|
|
|
|
|
clears the notch in landscape on iPhones. */
|
|
|
|
|
|
padding-inline: max(1.5rem, env(safe-area-inset-left)) max(1.5rem, env(safe-area-inset-right));
|
2026-02-02 20:34:35 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
height: 64px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.75rem;
|
2026-05-18 15:26:01 +01:00
|
|
|
|
/* Padded hit area so the logo link is ≥44×44 on touch */
|
|
|
|
|
|
margin: -0.375rem -0.5rem;
|
|
|
|
|
|
padding: 0.375rem 0.5rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
text-decoration: none;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
color: var(--text-primary, #1a1612);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
transition: color 0.2s ease;
|
2026-05-18 15:26:01 +01:00
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logo:hover {
|
2026-02-03 10:11:23 +00:00
|
|
|
|
color: var(--accent-coral, #e07256);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logoIcon {
|
2026-05-18 15:26:01 +01:00
|
|
|
|
display: inline-flex;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
width: 36px;
|
|
|
|
|
|
height: 36px;
|
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-18 15:26:01 +01:00
|
|
|
|
.logoIcon svg {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
|
.logoText {
|
2026-02-03 10:11:23 +00:00
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
font-weight: 700;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
letter-spacing: -0.01em;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.navLink {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
padding: 0.625rem 1rem;
|
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
|
font-weight: 500;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
color: var(--text-secondary, #5c564d);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-03 14:12:48 +00:00
|
|
|
|
/* Sliding underline effect */
|
|
|
|
|
|
.navLink::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 4px;
|
|
|
|
|
|
left: 1rem;
|
|
|
|
|
|
right: 1rem;
|
|
|
|
|
|
height: 2px;
|
|
|
|
|
|
background: var(--accent-coral, #e07256);
|
|
|
|
|
|
transform: scaleX(0);
|
|
|
|
|
|
transform-origin: left;
|
|
|
|
|
|
transition: transform 0.25s ease;
|
|
|
|
|
|
border-radius: 1px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
|
.navLink:hover {
|
2026-02-03 10:11:23 +00:00
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-03 14:12:48 +00:00
|
|
|
|
.navLink:hover::after {
|
|
|
|
|
|
transform: scaleX(1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
|
.navLink.active {
|
2026-02-03 10:11:23 +00:00
|
|
|
|
color: var(--accent-coral, #e07256);
|
2026-03-25 20:28:03 +00:00
|
|
|
|
background: var(--accent-coral-bg);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-03 14:12:48 +00:00
|
|
|
|
.navLink.active::after {
|
|
|
|
|
|
transform: scaleX(1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
|
.badge {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
min-width: 1.25rem;
|
|
|
|
|
|
height: 1.25rem;
|
|
|
|
|
|
padding: 0 0.375rem;
|
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: white;
|
2026-02-03 10:11:23 +00:00
|
|
|
|
background: var(--accent-coral, #e07256);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
border-radius: 9999px;
|
2026-02-03 14:12:48 +00:00
|
|
|
|
animation: badgePop 0.3s ease-out;
|
|
|
|
|
|
box-shadow: 0 2px 6px rgba(224, 114, 86, 0.4);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes badgePop {
|
|
|
|
|
|
0% {
|
|
|
|
|
|
transform: scale(0.6);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
50% {
|
|
|
|
|
|
transform: scale(1.2);
|
|
|
|
|
|
}
|
|
|
|
|
|
100% {
|
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-18 15:26:01 +01:00
|
|
|
|
/* ─── Bottom tab bar (mobile only) ──────────────────────────────── */
|
|
|
|
|
|
|
|
|
|
|
|
.bottomBar {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tab {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 0.2rem;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-height: 56px;
|
|
|
|
|
|
padding: 0.375rem 0.25rem;
|
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
|
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tab:active {
|
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabActive {
|
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabIconWrap {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabIcon {
|
|
|
|
|
|
width: 22px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabLabel {
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabBadge {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: -6px;
|
|
|
|
|
|
right: -10px;
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
min-width: 18px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
background: var(--accent-coral, #e07256);
|
|
|
|
|
|
border: 2px solid var(--bg-card, white);
|
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
|
animation: badgePop 0.3s ease-out;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-02 20:34:35 +00:00
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
|
.container {
|
|
|
|
|
|
padding: 0 1rem;
|
2026-05-18 15:26:01 +01:00
|
|
|
|
height: 56px;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-18 15:26:01 +01:00
|
|
|
|
/* Hide the top text nav; the bottom bar takes over */
|
|
|
|
|
|
.nav {
|
2026-02-02 20:34:35 +00:00
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-18 15:26:01 +01:00
|
|
|
|
.logoIcon {
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
height: 32px;
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-18 15:26:01 +01:00
|
|
|
|
.bottomBar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
|
border-top: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
|
box-shadow: 0 -2px 12px rgba(26, 22, 18, 0.06);
|
2026-05-19 09:47:13 +01:00
|
|
|
|
/* Respect iPhone home-indicator (bottom) and notch (left/right in
|
|
|
|
|
|
landscape) insets so the tab content never sits under system UI. */
|
2026-05-18 15:26:01 +01:00
|
|
|
|
padding-bottom: env(safe-area-inset-bottom, 0);
|
2026-05-19 09:47:13 +01:00
|
|
|
|
padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
|
2026-05-18 15:38:28 +01:00
|
|
|
|
/* Compensate for iOS Chrome's auto-hiding URL bar — Navigation.tsx
|
|
|
|
|
|
writes the offset based on the Visual Viewport API. translate3d
|
|
|
|
|
|
(instead of translateY) forces hardware compositing so the bar
|
|
|
|
|
|
doesn't lag/flicker during the toolbar animation. */
|
|
|
|
|
|
transform: translate3d(0, var(--mobile-bar-offset, 0px), 0);
|
2026-02-02 20:34:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|