Phones and tablets: the numbers follow the hero tags 28px later, not 92px
Changes
@@@ -333,7 +333,8 @@ import fcAlbum from "../data/fc-album.json";@keyframes fadeIn { to { opacity: 1; } }@media (max-width: 920px) {-- .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); }++ /* Not full-screen here, so no reserve for the scroll cue: the numbers follow the tags closely. */++ .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 16px; }.hero__grid { grid-template-columns: 1fr; }.hero__visual { order: -1; }.portrait { width: min(290px, 72vw); margin-top: 10px; }@@@ -18,6 +18,7 @@ const metrics = profile.metrics;<style>.metrics { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }++ @media (max-width: 920px) { .metrics { padding-top: 12px; } }.metrics__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.metric {position: relative; overflow: hidden;
@@ -333,7 +333,8 @@ import fcAlbum from "../data/fc-album.json";
@@ -333,7 +333,8 @@ import fcAlbum from "../data/fc-album.json";
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeIn { to { opacity: 1; } }
@media (max-width: 920px) {
@media (max-width: 920px) {
- .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); }
+ /* Not full-screen here, so no reserve for the scroll cue: the numbers follow the tags closely. */
+ .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 16px; }
.hero__grid { grid-template-columns: 1fr; }
.hero__grid { grid-template-columns: 1fr; }
.hero__visual { order: -1; }
.hero__visual { order: -1; }
.portrait { width: min(290px, 72vw); margin-top: 10px; }
.portrait { width: min(290px, 72vw); margin-top: 10px; }
@@ -18,6 +18,7 @@ const metrics = profile.metrics;
@@ -18,6 +18,7 @@ const metrics = profile.metrics;
<style>
<style>
.metrics { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }
.metrics { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }
+ @media (max-width: 920px) { .metrics { padding-top: 12px; } }
.metrics__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metrics__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric {
.metric {
position: relative; overflow: hidden;
position: relative; overflow: hidden;