2026-02-02 20:34:35 +00:00
|
|
|
.container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Header */
|
|
|
|
|
.header {
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerContent {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header h1 {
|
2026-02-03 10:11:23 +00:00
|
|
|
font-size: 2.25rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 700;
|
2026-02-03 10:11:23 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
2026-02-02 20:34:35 +00:00
|
|
|
margin-bottom: 0.5rem;
|
2026-02-03 10:11:23 +00:00
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
|
font-size: 1rem;
|
2026-02-03 10:11:23 +00:00
|
|
|
color: var(--text-secondary, #5c564d);
|
2026-02-02 20:34:35 +00:00
|
|
|
margin: 0;
|
2026-02-03 10:11:23 +00:00
|
|
|
line-height: 1.6;
|
2026-07-13 23:58:00 +01:00
|
|
|
max-width: 60ch;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.headerActions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
2026-02-02 20:34:35 +00:00
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Phase Tabs */
|
|
|
|
|
.phaseTabs {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
width: fit-content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseTab {
|
|
|
|
|
padding: 0.625rem 1.5rem;
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseTab:not(:last-child) {
|
|
|
|
|
border-right: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseTab:hover {
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseTabActive {
|
2026-07-02 21:33:51 +01:00
|
|
|
background: var(--accent-coral-dark, #b04a2e);
|
2026-03-29 08:57:06 +01:00
|
|
|
color: white;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseTabActive:hover {
|
2026-07-02 21:33:51 +01:00
|
|
|
background: var(--accent-coral-darker, #9c3f26);
|
2026-03-29 08:57:06 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
/* Sticky school bar — column identity while scrolling; horizontal scroll on
|
2026-07-15 12:32:36 +01:00
|
|
|
narrow screens. Offset by the sticky site header's height (Navigation is
|
|
|
|
|
position: sticky, top: 0) so this bar pins just below it instead of
|
|
|
|
|
sliding underneath and being hidden. Header ≈ 65px desktop / 57px mobile. */
|
2026-07-13 23:58:00 +01:00
|
|
|
.schoolBar {
|
|
|
|
|
position: sticky;
|
2026-07-15 12:32:36 +01:00
|
|
|
top: 65px;
|
2026-07-13 23:58:00 +01:00
|
|
|
z-index: 10;
|
|
|
|
|
background: var(--bg-primary, #faf7f2);
|
2026-02-02 20:34:35 +00:00
|
|
|
display: flex;
|
2026-07-13 23:58:00 +01:00
|
|
|
gap: 0.75rem;
|
2026-02-02 20:34:35 +00:00
|
|
|
overflow-x: auto;
|
2026-07-13 23:58:00 +01:00
|
|
|
padding: 0.75rem 0;
|
|
|
|
|
border-bottom: 1px solid var(--border-light, #e5dfd5);
|
2026-04-07 20:29:15 +01:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.schoolChip {
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
min-width: 180px;
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-light, #e5dfd5);
|
|
|
|
|
border-top: 3px solid var(--accent-coral, #e07256);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: var(--shadow-soft, 0 2px 8px rgba(26, 22, 18, 0.06));
|
|
|
|
|
padding: 0.55rem 0.75rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.55rem;
|
|
|
|
|
align-items: center;
|
2026-05-19 09:40:23 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.chipDot {
|
|
|
|
|
width: 11px;
|
|
|
|
|
height: 11px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
flex: none;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.chipText {
|
|
|
|
|
min-width: 0;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.chipName {
|
|
|
|
|
display: block;
|
2026-02-02 20:34:35 +00:00
|
|
|
font-weight: 600;
|
2026-07-13 23:58:00 +01:00
|
|
|
font-size: 0.92rem;
|
|
|
|
|
line-height: 1.25;
|
2026-02-03 10:11:23 +00:00
|
|
|
color: var(--text-primary, #1a1612);
|
2026-07-13 23:58:00 +01:00
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipName:hover {
|
|
|
|
|
color: var(--accent-coral-dark, #b04a2e);
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-15 07:50:01 +01:00
|
|
|
/* Full name on desktop, short name on the compact mobile pills. */
|
|
|
|
|
.chipNameShort {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.chipMeta {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 0.78rem;
|
|
|
|
|
color: var(--text-muted, #6d685f);
|
2026-02-02 20:34:35 +00:00
|
|
|
white-space: nowrap;
|
2026-07-13 23:58:00 +01:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-16 21:27:25 +01:00
|
|
|
/* Caption filling the label rail on desktop ("Comparing / 3 primary
|
|
|
|
|
schools"). Hidden on mobile, where the bar is a row of compact pills. */
|
|
|
|
|
.barCaption {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-16 21:05:16 +01:00
|
|
|
/* Desktop (matches the sections' 761px breakpoint): the bar adopts the same
|
|
|
|
|
grid template as compareSections' .grid — a 200px row-label rail plus one
|
|
|
|
|
column per school — so each chip sits exactly over the column it labels.
|
2026-07-16 21:27:25 +01:00
|
|
|
The caption occupies the rail; chips flow into the school columns. */
|
2026-07-16 21:05:16 +01:00
|
|
|
@media (min-width: 761px) {
|
|
|
|
|
.schoolBar {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 200px repeat(var(--school-count, 3), 1fr);
|
|
|
|
|
gap: 0 0.75rem;
|
|
|
|
|
overflow-x: visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolChip {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-16 21:27:25 +01:00
|
|
|
.barCaption {
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 0.1rem;
|
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.barCaptionEyebrow {
|
|
|
|
|
font-size: 0.72rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--text-muted, #6d685f);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.barCaptionCount {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
2026-07-16 21:05:16 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.chipRemove {
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
border: none;
|
2026-04-07 20:29:15 +01:00
|
|
|
background: var(--bg-secondary, #f3ede4);
|
2026-07-13 23:58:00 +01:00
|
|
|
color: var(--text-muted, #6d685f);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 22px;
|
|
|
|
|
height: 22px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
flex: none;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
line-height: 1;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-13 23:58:00 +01:00
|
|
|
.footnote {
|
|
|
|
|
font-size: 0.78rem;
|
|
|
|
|
color: var(--text-muted, #6d685f);
|
|
|
|
|
margin-top: 2.5rem;
|
|
|
|
|
border-top: 1px solid var(--border-light, #e5dfd5);
|
|
|
|
|
padding-top: 1rem;
|
|
|
|
|
max-width: 75ch;
|
2026-02-02 20:34:35 +00:00
|
|
|
}
|
2026-07-15 07:50:01 +01:00
|
|
|
|
|
|
|
|
/* Mobile: the sticky school bar becomes compact, horizontally-scrollable
|
|
|
|
|
pills with short names (matching the mobile mockup) instead of full-width
|
|
|
|
|
cards whose names wrap to several lines. */
|
|
|
|
|
@media (max-width: 640px) {
|
2026-07-15 12:32:36 +01:00
|
|
|
/* The mobile Navigation header is shorter (≈57px). */
|
|
|
|
|
.schoolBar {
|
|
|
|
|
top: 57px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-15 07:50:01 +01:00
|
|
|
.schoolChip {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
border-top-width: 2px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
padding: 0.35rem 0.7rem;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipName {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipNameFull {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipNameShort {
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipMeta {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chipRemove {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
}
|