From c428875b20837b36decbef1df6d27275a67e3e15 Mon Sep 17 00:00:00 2001 From: A Charlwood Date: Mon, 9 Feb 2026 10:47:13 +0000 Subject: [PATCH] Task 5: Build hero section with vital sign cards Add centered hero section with name, title, location pill, summary text, and 4 vital sign metric cards (Years Experience, Analytics Stack, Focus Area, System). Cards have teal top border and hover elevation effect. Responsive: 2x2 grid at 768px, stacked at 480px. Co-Authored-By: Claude Opus 4.6 --- 4-vitals-monitor.html | 138 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 136 insertions(+), 2 deletions(-) diff --git a/4-vitals-monitor.html b/4-vitals-monitor.html index 97ec4f6..d3bb85b 100644 --- a/4-vitals-monitor.html +++ b/4-vitals-monitor.html @@ -241,6 +241,104 @@ margin-bottom: 32px; } + /* ========================================= + HERO SECTION + ========================================= */ + + .hero { + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + } + + .hero h1 { + font-family: var(--font-primary); + font-weight: 700; + font-size: clamp(36px, 5vw, 52px); + color: var(--heading); + line-height: 1.2; + margin: 0; + } + + .hero-title { + font-size: 16px; + color: var(--muted); + margin: 8px 0; + } + + .hero-location { + display: inline-block; + padding: 4px 16px; + border: 1px solid var(--teal); + border-radius: 999px; + font-size: 12px; + color: var(--teal); + font-weight: 500; + margin-top: 4px; + } + + .hero-summary { + font-size: 15px; + line-height: 1.8; + max-width: 560px; + color: var(--text); + margin: 24px auto 0; + text-align: center; + } + + /* Vital sign metric cards */ + .vitals-row { + display: flex; + gap: 16px; + margin-top: 40px; + justify-content: center; + flex-wrap: wrap; + } + + .vital-card { + background: var(--card-bg); + border-radius: var(--radius); + padding: 20px 24px; + box-shadow: var(--shadow-sm); + border-top: 3px solid var(--teal); + min-width: 160px; + text-align: center; + transition: box-shadow 0.3s ease, transform 0.3s ease; + } + + .vital-card:hover { + box-shadow: var(--shadow-md); + transform: translateY(-2px); + } + + .vital-value { + font-family: var(--font-primary); + font-size: 28px; + font-weight: 700; + color: var(--heading); + line-height: 1.2; + } + + .vital-value.small { + font-size: 16px; + } + + .vital-value.medium { + font-size: 18px; + } + + .vital-label { + font-family: var(--font-secondary); + font-size: 11px; + text-transform: uppercase; + letter-spacing: 0.05em; + color: var(--muted); + margin-top: 4px; + } + /* ========================================= RESPONSIVE: 768px ========================================= */ @@ -262,6 +360,11 @@ .cv-main { padding: 0 20px; } + + .vitals-row { + display: grid; + grid-template-columns: repeat(2, 1fr); + } } /* ========================================= @@ -281,6 +384,15 @@ .cv-main section { padding: 48px 0; } + + .hero h1 { + font-size: 28px; + } + + .vitals-row { + display: grid; + grid-template-columns: 1fr; + } } @@ -310,8 +422,30 @@
-
- +
+

Andy Charlwood

+

Deputy Head of Population Health & Data Analysis

+ Norwich, UK +

GPhC Registered Pharmacist specialising in medicines optimisation, population health analytics, and NHS efficiency programmes. Bridging clinical pharmacy with data science to drive meaningful improvements in patient outcomes.

+ +
+
+
10+
+
Years Experience
+
+
+
Python/SQL/BI
+
Analytics Stack
+
+
+
Pop. Health
+
Focus Area
+
+
+
NHS N&W
+
System
+
+