Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 75 additions & 80 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
--scrim-soft: rgba(10, 10, 10, 0.55);
--grid-line: rgba(255, 255, 255, 0.05);
--shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
--elevated-bg: rgba(36, 36, 36, 0.94);
--elevated-border: rgba(255, 255, 255, 0.24);
--elevated-shadow:
0 10px 28px -14px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
:root.light {
--bg: #ffffff;
Expand All @@ -44,6 +49,9 @@
--scrim-soft: rgba(255, 255, 255, 0.55);
--grid-line: rgba(10, 10, 10, 0.05);
--shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.22);
--elevated-bg: color-mix(in srgb, var(--surface) 92%, var(--bg-deep));
--elevated-border: var(--border-strong);
--elevated-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.1);
}

* {
Expand Down Expand Up @@ -111,10 +119,12 @@ button {
margin: 0 auto;
height: 62px;
padding: 0 10px 0 22px;
background: var(--nav-bg);
border: 1px solid var(--border);
background: var(--elevated-bg);
border: 1px solid var(--elevated-border);
border-radius: 100px;
box-shadow: var(--shadow);
box-shadow: var(--elevated-shadow);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
opacity: 0;
animation: pillExpand 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
Expand All @@ -133,21 +143,16 @@ button {

.brand-mark {
display: block;
width: auto;
height: auto;
object-fit: contain;
}

.brand-mark--light {
display: none;
}

:root.light .brand-mark--dark {
display: none;
}

:root.light .brand-mark--light {
display: block;
flex-shrink: 0;
background-color: var(--accent);
mask-image: url("/brand-mark-dark.png");
mask-size: contain;
mask-repeat: no-repeat;
mask-position: center;
-webkit-mask-image: url("/brand-mark-dark.png");
-webkit-mask-size: contain;
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
}

.brand .word {
Expand All @@ -171,7 +176,7 @@ button {

.nav-links a {
font-size: 14.5px;
color: var(--text-muted);
color: var(--text-secondary);
padding: 9px 14px;
border-radius: 100px;
letter-spacing: -0.01em;
Expand Down Expand Up @@ -245,8 +250,11 @@ button {
grid-template-rows: 1fr;
margin-top: 4px;
padding: 10px;
border-color: var(--border);
box-shadow: var(--shadow);
background: var(--elevated-bg);
border-color: var(--elevated-border);
box-shadow: var(--elevated-shadow);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
opacity: 1;
visibility: visible;
pointer-events: auto;
Expand All @@ -265,7 +273,7 @@ button {
align-items: center;
gap: 7px;
font-size: 15px;
color: var(--text-muted);
color: var(--text-secondary);
padding: 12px 16px;
border-radius: 100px;
letter-spacing: -0.01em;
Expand Down Expand Up @@ -537,6 +545,10 @@ button {
color: var(--bg-deep) !important;
}

:root:not(.light) body:has(.map-shell) .nav-inner {
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero h1 .accent {
color: var(--accent-bright);
text-shadow:
Expand Down Expand Up @@ -581,8 +593,7 @@ button {
font-weight: 500;
color: var(--text);
letter-spacing: -0.01em;
background: color-mix(in srgb, var(--surface) 30%, transparent);
backdrop-filter: blur(6px);
background: var(--surface);
transition: border-color 0.2s, background 0.2s;
}

Expand Down Expand Up @@ -688,25 +699,35 @@ button {
z-index: 2;
width: min(360px, calc(100vw - 32px));
padding: 18px 18px 16px;
border: 1px solid var(--border-strong);
--map-readout-border: var(--elevated-border);
border: 1px solid var(--map-readout-border);
border-radius: 18px;
color: var(--text);
background: color-mix(in srgb, var(--surface) 92%, var(--bg-deep));
background: var(--elevated-bg);
backdrop-filter: blur(16px);
box-shadow: var(--shadow);
-webkit-backdrop-filter: blur(16px);
box-shadow: var(--elevated-shadow);
}

.map-readout-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 8px;
}

.map-readout-kicker {
display: inline-flex;
align-items: center;
width: fit-content;
font-size: 12px;
flex-shrink: 0;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 12px;
padding: 7px 12px;
padding: 5px 10px;
border-radius: 100px;
border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
background: color-mix(in srgb, var(--accent) 14%, transparent);
Expand All @@ -716,13 +737,13 @@ button {
font-size: 20px;
font-weight: 600;
letter-spacing: -0.03em;
margin-bottom: 8px;
margin-bottom: 0;
color: var(--text);
}

.map-readout-hint,
.map-readout-empty {
color: var(--text-muted);
color: var(--text-secondary);
font-size: 13px;
line-height: 1.55;
}
Expand All @@ -732,7 +753,7 @@ button {
gap: 10px;
margin-top: 16px;
padding-top: 14px;
border-top: 1px solid var(--border-strong);
border-top: 1px solid var(--map-readout-border);
}

.map-readout-control-header {
Expand All @@ -746,7 +767,7 @@ button {
font-size: 12px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
color: var(--text-secondary);
font-weight: 500;
}

Expand All @@ -756,29 +777,6 @@ button {
font-weight: 600;
}

.map-readout-slider {
width: 100%;
accent-color: var(--accent);
cursor: pointer;
}

.map-readout-control-hint {
color: var(--text-dim);
font-size: 12px;
line-height: 1.45;
}

.map-readout-grid {
display: grid;
gap: 12px;
margin-top: 14px;
}

.map-readout-grid div {
display: grid;
gap: 4px;
}

.map-readout-grid dt {
font-size: 12px;
letter-spacing: 0.06em;
Expand All @@ -794,37 +792,34 @@ button {
font-weight: 500;
}

.map-readout-span {
padding-top: 8px;
border-top: 1px solid var(--border-strong);
}

.map-readout-span dd {
color: var(--text-muted);
font-weight: 400;
}

:root:not(.light) .map-readout {
background: rgba(18, 18, 18, 0.96);
border-color: rgba(255, 255, 255, 0.16);
.map-readout-slider {
width: 100%;
accent-color: var(--accent);
cursor: pointer;
}

:root:not(.light) .map-readout-title {
color: #ffffff;
.map-readout-selection {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--map-readout-border);
}

:root:not(.light) .map-readout-hint,
:root:not(.light) .map-readout-empty,
:root:not(.light) .map-readout-span dd {
color: rgba(255, 255, 255, 0.72);
.map-readout-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px 16px;
}

:root:not(.light) .map-readout-grid dt {
color: rgba(255, 255, 255, 0.62);
.map-readout-grid div {
display: grid;
gap: 4px;
min-width: 0;
}

:root:not(.light) .map-readout-grid dd {
color: #ffffff;
.map-readout-span {
grid-column: 1 / -1;
padding-top: 8px;
border-top: 1px solid var(--map-readout-border);
}

/* ============================================================
Expand Down
Loading
Loading