feat: round 2 — responsive header (width-math tiers), brand footer, editorial article, modern search; 2026 upgrades (view transitions, text-wrap, self-hosted fonts, inline SVG icons, color-mix, subgrid, container queries)

This commit is contained in:
ctao
2026-07-24 23:14:09 +02:00
parent a8c0e802e2
commit ea4ebd2d70
7 changed files with 153 additions and 71 deletions
Binary file not shown.
Binary file not shown.
+24 -11
View File
@@ -21,11 +21,9 @@ const links = [
<title>{title}</title>
<meta name="description" content={description} />
<link rel="icon" href="/brand/CTAO_Logo_positive.svg" type="image/svg+xml" />
{/* Brand typography (BRAND D.3): Inter (body) + Space Grotesk (headlines).
Google Fonts for the demo; self-host woff2 for production. */}
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400..700&family=Space+Grotesk:wght@500..700&display=swap" rel="stylesheet" />
{/* Brand typography (BRAND D.3): Inter (body) + Space Grotesk (headlines),
self-hosted latin woff2 (variable) — @font-face lives in global.css. */}
<link rel="preload" href="/fonts/space-grotesk-latin.woff2" as="font" type="font/woff2" crossorigin />
</head>
<body>
<a class="skip" href="#main">Skip to content</a>
@@ -44,11 +42,17 @@ const links = [
</nav>
<span class="spacer"></span>
<a class="navlink" href="/search">Search</a>
<a class="navlink navlink--edit" href="/admin" title="Content editor (demo CMS)">✎ Editor</a>
<a class="navlink navlink--edit" href="/admin" title="Content editor (demo CMS)">
<svg class="ico" aria-hidden="true" viewBox="0 0 24 24"><path d="M17 3l4 4L8 20l-5 1 1-5L17 3z" /></svg>
Editor
</a>
<a class="login-mock" href="/login">Sign in</a>
{/* Mobile disclosure menu — native <details>/<summary>, no JS; desktop hides it via CSS */}
<details class="menu">
<summary><span class="menu-icon" aria-hidden="true"></span>Menu</summary>
<summary>
<svg class="ico" aria-hidden="true" viewBox="0 0 24 24"><path class="i-menu" d="M3 6h18M3 12h18M3 18h18" /><path class="i-close" d="M5 5l14 14M19 5 5 19" /></svg>
Menu
</summary>
<nav aria-label="Main navigation">
{links.map((l) => l.ext ? (
<a class="external" href={l.href} target="_blank" rel="noopener">{l.label}</a>
@@ -56,7 +60,7 @@ const links = [
<a href={l.href} aria-current={isActive(l.href) ? 'page' : undefined}>{l.label}</a>
))}
<a href="/search">Search</a>
<a href="/admin">✎ Editor</a>
<a href="/admin">Editor</a>
</nav>
</details>
</div>
@@ -67,17 +71,26 @@ const links = [
<footer class="footer">
{/* Bottom menu required by SPEC §3.3.1: disclaimers, privacy, contact, settings, search.
Placeholder links = <a> without href (valid HTML placeholder-link semantics). */}
<div class="container inner">
<span class="flash" aria-hidden="true"></span>
<div class="container">
<div class="foot-top">
<img src="/brand/AAFF_CTAO_Logo_RGB_Monochrome-negative.svg" alt="CTAO" />
<p>Science Portal — news, observation proposals, data and user services of the
Cherenkov Telescope Array Observatory.</p>
</div>
<nav class="foot-links" aria-label="Footer">
<a>Disclaimer</a>
<a>Privacy</a>
<a>Contact</a>
<a>Site settings</a>
<a href="/search">Search</a>
<span class="note">Science Portal Core demo (Cyfronet / SUSS-PORT team). Sample content
</nav>
<div class="foot-note">
<span class="flash" aria-hidden="true"></span>
<span>Science Portal Core demo (Cyfronet / SUSS-PORT team). Sample content
imported from ctao.org; footer links are placeholders. Statically generated from
Markdown (git-based CMS).</span>
</div>
</div>
</footer>
</body>
</html>
+1
View File
@@ -26,6 +26,7 @@ const services = [
<p>Exploring the Universe at the Highest Energies</p>
<form class="hero-search" role="search" action="/search" method="get">
<label class="sr-only" for="home-q">Search news</label>
<svg class="ico search-ico" aria-hidden="true" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" /><path d="m20 20-4.3-4.3" /></svg>
<input id="home-q" name="q" type="search" placeholder="Search news and announcements…" autocomplete="off" />
<button class="btn" type="submit">Search</button>
{/* Live suggestions (plain links, Tab-accessible); Enter still submits to /search */}
+1 -1
View File
@@ -16,7 +16,7 @@ const fmt = (d) => new Intl.DateTimeFormat('en-GB', { dateStyle: 'long' }).forma
<article class="container article">
<a class="back" href="/news">← All news</a>
<h1>{post.data.title}</h1>
<div class="meta">{post.data.category} · {post.data.author} · <time datetime={post.data.date.toISOString().slice(0, 10)}>{fmt(post.data.date)}</time></div>
<div class="meta"><span class="cat">{post.data.category}</span><span>{post.data.author}</span>·<time datetime={post.data.date.toISOString().slice(0, 10)}>{fmt(post.data.date)}</time></div>
{post.data.cover && <img class="cover" src={encodeURI(post.data.cover)} alt="" />}
{toc.length >= 3 && (
<nav class="toc" aria-label="On this page">
+1
View File
@@ -13,6 +13,7 @@ import Base from '../layouts/Base.astro';
<section class="container page">
<form class="search-form" role="search" action="/search" method="get">
<label class="sr-only" for="q">Search news</label>
<svg class="ico search-ico" aria-hidden="true" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" /><path d="m20 20-4.3-4.3" /></svg>
<input id="q" name="q" type="search" placeholder="e.g. LST camera, Council, data…" autocomplete="off" />
<button class="btn" type="submit">Search</button>
</form>
+118 -51
View File
@@ -5,6 +5,7 @@
Light theme only (brand is light-first; navy bands carry the dark identity).
========================================================================== */
:root {
color-scheme: light;
/* Brand palette — hex values straight from the brand book */
--galaxy: #00004a; /* Galaxy Blue — headings, header/footer bands */
--cherenkov: #00e4d8; /* Cherenkov Blue — accents, flash, CTAs; NOT for small text on light */
@@ -17,9 +18,11 @@
--border: #e2e5ee;
--link: #0057c2; /* Cosmic Azure darkened to pass AA (4.5:1) for body links */
--on-galaxy-muted: #c7cde9;
--tint-cherenkov: rgba(0, 228, 216, 0.16); /* chip/badge fill derived from --cherenkov */
--tint-cherenkov: color-mix(in srgb, var(--cherenkov) 16%, transparent); /* chip/badge fill */
--cherenkov-hover: color-mix(in oklab, var(--cherenkov), var(--galaxy) 12%); /* CTA hover state */
--ico-ext: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M7 17 17 7M9 7h8v8" fill="none" stroke="black" stroke-width="2.5"/%3E%3C/svg%3E');
/* Type & layout */
--font-body: "Inter", Arial, system-ui, sans-serif; /* BRAND D.3.1 */
--font-body: "Inter", "Inter Fallback", Arial, system-ui, sans-serif; /* BRAND D.3.1 */
--font-display: "Space Grotesk", var(--font-body); /* BRAND D.3.2 — headlines only */
/* ctao.org uses generous rounding (15/30/60px tokens) and pill buttons */
--radius: 16px;
@@ -32,6 +35,22 @@
--space-xl: 56px;
}
/* Self-hosted brand fonts — latin subset, variable weight, swap + metric-matched fallback */
@font-face {
font-family: "Inter"; font-weight: 400 700; font-display: swap;
src: url("/fonts/inter-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Space Grotesk"; font-weight: 500 700; font-display: swap;
src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Inter Fallback"; src: local("Arial");
size-adjust: 107%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%;
}
/* Screen-reader-only utility (visually hidden, still announced) */
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
@@ -50,6 +69,11 @@ body {
}
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1, h2, h3, .hero p { text-wrap: balance; }
.prose p, .desc { text-wrap: pretty; }
/* Inline SVG icons — stroke inherits currentColor */
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
@@ -82,12 +106,21 @@ img { max-width: 100%; height: auto; display: block; }
/* Header — Galaxy Blue band, reverse (white) logo per BRAND B.1.2 */
.site-header { background: var(--galaxy); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; gap: 4px; min-height: 64px; flex-wrap: wrap; }
.nav { display: flex; align-items: center; gap: 4px; min-height: 64px; flex-wrap: nowrap; }
.nav > nav { display: flex; align-items: center; gap: 4px; }
/* Mobile: disclosure menu (native <details>/<summary> — CSS-only, keyboard accessible) */
/* Header tiers (one row, always): full nav >1024px; sub-brand only >1100px;
disclosure menu (native <details>/<summary>, CSS-only) at ≤1024px */
@media (max-width: 1100px) { .brand .brand-sub { display: none; } }
@media (max-width: 360px) {
.nav { padding: 0 14px; }
.brand img { height: 20px; }
.nav .login-mock { padding: 8px 14px; }
}
.menu { display: none; }
@media (max-width: 720px) {
.nav { flex-wrap: nowrap; }
.menu .i-close { display: none; }
.menu[open] .i-menu { display: none; }
.menu[open] .i-close { display: block; }
@media (max-width: 1024px) {
.nav > nav, .nav > a.navlink { display: none; }
.menu { display: block; }
.menu summary {
@@ -96,8 +129,6 @@ img { max-width: 100%; height: auto; display: block; }
cursor: pointer; list-style: none; white-space: nowrap;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-icon::before { content: "☰"; }
.menu[open] .menu-icon::before { content: "✕"; }
.menu nav {
position: absolute; left: 0; right: 0; top: 100%;
display: flex; flex-direction: column; padding: 6px 20px 14px;
@@ -112,8 +143,6 @@ img { max-width: 100%; height: auto; display: block; }
.menu nav a:last-child { border-bottom: 0; }
.menu nav a[aria-current="page"] { color: var(--cherenkov); }
}
/* Very narrow screens: drop the decorative sub-brand so logo/Sign in/Menu always fit */
@media (max-width: 460px) { .brand .brand-sub { display: none; } }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 10px; }
.brand img { height: 26px; width: auto; }
.brand .brand-sub {
@@ -138,12 +167,19 @@ img { max-width: 100%; height: auto; display: block; }
border: 0; border-radius: var(--radius-pill); padding: 8px 18px; margin-left: 6px;
text-decoration: none; white-space: nowrap;
}
.nav .login-mock:hover { filter: brightness(0.92); color: var(--galaxy); }
.nav .login-mock:hover { background: var(--cherenkov-hover); color: var(--galaxy); }
/* Tap targets ≥44px (WCAG 2.5.5); inline-flex keeps the active bottom border */
.nav a.navlink, .nav .login-mock, .nav a.navlink--edit {
display: inline-flex; align-items: center; min-height: 44px;
display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}
.navlink--edit .ico { width: 15px; height: 15px; }
/* External-link marker — SVG arrow via mask, inherits currentColor */
.external::after {
content: ""; display: inline-block; width: 0.72em; height: 0.72em; margin-left: 3px;
background: currentColor;
-webkit-mask: var(--ico-ext) center / contain no-repeat;
mask: var(--ico-ext) center / contain no-repeat;
}
.external::after { content: " ↗"; font-size: 0.85em; }
/* Hero — navy band with a subtle nebula gradient (BRAND D.5) */
.hero-band {
@@ -154,24 +190,24 @@ img { max-width: 100%; height: auto; display: block; }
color: #fff; padding: var(--space-xl) 0; position: relative; overflow: hidden;
}
.hero-band .flash { position: absolute; right: 8%; top: 22%; width: 22px; height: 22px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin: 0 0 10px; line-height: 1.12; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 10px; line-height: 1.12; font-weight: 700; }
.hero p { color: var(--cherenkov); font-size: 1.08rem; max-width: 62ch; margin: 0; } /* subtitle per BRAND D.3.4 */
.eyebrow {
color: var(--on-galaxy-muted); font-weight: 600; text-transform: uppercase;
letter-spacing: 0.14em; font-size: 0.72rem; margin-bottom: 8px;
}
/* Hero search — real GET form to /search (works without JS) */
.hero-search, .search-form { display: flex; gap: 8px; max-width: 560px; }
/* Search fields — large pill input with inline magnifier; real GET form to /search */
.hero-search, .search-form { position: relative; display: flex; gap: 8px; max-width: 560px; }
.hero-search { margin-top: var(--space-m); }
.search-ico { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.hero-search input, .search-form input {
flex: 1; min-width: 0; font: inherit; color: var(--text);
background: #fff; border: 1px solid var(--border);
border-radius: var(--radius-pill); padding: 11px 18px;
border-radius: var(--radius-pill); padding: 13px 18px 13px 44px;
}
.hero-search input:focus, .search-form input:focus { border-color: var(--azure); }
/* Live suggestions under the hero search — plain links, Tab-accessible */
.hero-search { position: relative; }
.suggest {
position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5;
list-style: none; margin: 0; padding: 6px; text-align: left;
@@ -185,7 +221,11 @@ img { max-width: 100%; height: auto; display: block; }
flex: 1; display: flex; align-items: center; min-height: 44px;
color: var(--text); font-weight: 500; font-size: 0.94rem; text-decoration: none;
}
.suggest small { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.suggest::after {
content: "↵ Enter — all results"; display: block; margin-top: 4px;
padding: 8px 12px 2px; border-top: 1px solid var(--border);
color: var(--muted); font-size: 0.78rem;
}
/* Section header row (h2 + optional "All news →" link) */
.section-head {
@@ -197,10 +237,15 @@ img { max-width: 100%; height: auto; display: block; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
/* Responsive 1/2/3-column grid (news cards + service tiles) */
.grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; }
/* Responsive 1/2/3-column grid (news cards + service tiles); container for @container */
.grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; container-type: inline-size; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid { grid-template-columns: repeat(3, 1fr); } }
/* Subgrid: cover/cat/title/desc/meta rows align across each card row */
@supports (grid-template-rows: subgrid) {
.grid > .card:not(.card--featured, .tile) { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 0; }
.grid > .card:not(.card--featured, .tile) .body { display: grid; grid-template-rows: subgrid; grid-row: span 4; gap: 10px; }
}
/* News cards — image + category + clamped title/description + <time> meta;
whole card clickable via stretched link (research: NN/g & card-UI guides 2025). */
@@ -220,15 +265,17 @@ img { max-width: 100%; height: auto; display: block; }
}
.card .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: var(--space-m); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .cat {
align-self: flex-start; font-size: 0.72rem; text-transform: uppercase;
/* Cover-less cards get a Cherenkov top accent instead of an image */
.card:not(:has(.cover)) .body { border-top: 3px solid var(--cherenkov); }
.cat {
display: inline-block; align-self: flex-start; font-size: 0.72rem; text-transform: uppercase;
letter-spacing: 0.08em; font-weight: 600;
color: var(--galaxy); background: var(--tint-cherenkov);
padding: 4px 10px; border-radius: 999px;
padding: 4px 10px; border-radius: var(--radius-pill);
}
.card h3 {
margin: 2px 0 0; font-size: 1.1rem; line-height: 1.35; font-family: var(--font-body);
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card h3 a { color: var(--galaxy); text-decoration: none; }
/* Stretched link: the title's tap target covers the whole card (still one tab stop);
@@ -237,19 +284,20 @@ img { max-width: 100%; height: auto; display: block; }
.card h3 a:hover { color: var(--link); }
.card .desc {
margin: 0; color: var(--muted); font-size: 0.94rem;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .meta { margin-top: auto; color: var(--muted); font-size: 0.8rem; }
/* Lead story — larger, spans the grid (editorial "hot news" hierarchy) */
@media (min-width: 940px) {
/* Lead story — larger, splits when the grid itself is wide enough (container query) */
@container (min-width: 640px) {
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 2fr; }
.card--featured .cover { height: 100%; aspect-ratio: auto; }
.card--featured .body { padding: 26px 28px; justify-content: center; }
.card--featured h3 { font-size: 1.6rem; font-family: var(--font-display); -webkit-line-clamp: 3; }
.card--featured .desc { -webkit-line-clamp: 3; }
.card--featured h3 { font-size: 1.6rem; font-family: var(--font-display); -webkit-line-clamp: 3; line-clamp: 3; }
.card--featured .desc { -webkit-line-clamp: 3; line-clamp: 3; }
}
/* Hover lift + smooth anchor scroll — motion only when the user allows it */
/* Motion (only when the user allows it): view transitions, smooth scroll, hover lift */
@media (prefers-reduced-motion: no-preference) {
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
.card { transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { transform: translateY(-2px); }
@@ -264,11 +312,16 @@ img { max-width: 100%; height: auto; display: block; }
.article { padding: 40px 0 72px; max-width: 70ch; }
.article .back { color: var(--muted); font-size: 0.9rem; }
.article h1 {
color: var(--galaxy); font-size: clamp(1.7rem, 4.5vw, 2.4rem);
margin: 14px 0 8px; line-height: 1.15;
color: var(--galaxy); font-size: clamp(2rem, 5vw, 3rem);
margin: 14px 0 10px; line-height: 1.12;
}
.article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.article .cover { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 28px; }
.article .meta {
display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
color: var(--muted); font-size: 0.9rem; margin-bottom: var(--space-l);
}
.article .cover { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--space-l); }
/* Lead paragraph — slightly larger and muted */
.prose > p:first-of-type { font-size: 1.08rem; color: var(--muted); }
/* Article TOC — boxed "On this page" list (rendered only when ≥3 h2/h3) */
.toc {
background: var(--moon); border: 1px solid var(--border); border-radius: var(--radius);
@@ -279,9 +332,9 @@ img { max-width: 100%; height: auto; display: block; }
letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 6px 0; }
.toc li { margin: 8px 0; }
.toc .d3 { padding-left: var(--space-s); }
.toc a { text-decoration: none; }
.toc a { text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.toc a:hover { text-decoration: underline; }
.prose h2 { color: var(--galaxy); margin: 34px 0 10px; font-size: clamp(1.25rem, 2.6vw, 1.45rem); }
@@ -317,23 +370,32 @@ img { max-width: 100%; height: auto; display: block; }
padding: 12px 24px; border-radius: var(--radius-pill);
font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { filter: brightness(0.92); }
.btn:hover { background: var(--cherenkov-hover); }
.notice { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
/* Search results (list built by the inline script on /search) */
.search-results { list-style: none; margin: var(--space-m) 0 0; padding: 0; max-width: 720px; }
/* Search results (list built by the inline script on /search) — card-like rows */
.search-results { list-style: none; margin: var(--space-m) 0 0; padding: 0; max-width: 720px; display: grid; gap: var(--space-s); }
.search-results li {
display: flex; justify-content: space-between; align-items: baseline;
gap: var(--space-s); padding: 12px 0; border-bottom: 1px solid var(--border);
display: flex; justify-content: space-between; align-items: center; gap: var(--space-s);
background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
padding: 12px 18px; transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.search-results li:hover {
border-color: var(--azure);
box-shadow: 0 2px 6px rgba(0, 0, 74, 0.06), 0 12px 28px rgba(0, 0, 74, 0.10);
}
.search-results a { text-decoration: none; font-weight: 500; }
.search-results a:hover { text-decoration: underline; }
.search-results small { color: var(--muted); white-space: nowrap; }
/* Date chips on results and suggestions */
.search-results small, .suggest small {
color: var(--muted); white-space: nowrap; font-size: 0.78rem;
background: var(--moon); border-radius: var(--radius-pill); padding: 2px 10px;
}
/* Mock/status badges — every mock must be labelled (REQUIREMENTS.md §5) */
.badge-mock, .badge-ext {
display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.badge-mock { color: #7a3d00; background: #fff3e0; border: 1px solid #f0cf9b; }
.badge-ext { color: var(--galaxy); background: var(--moon); border: 1px solid var(--border); text-transform: none; letter-spacing: 0; }
@@ -378,10 +440,15 @@ img { max-width: 100%; height: auto; display: block; }
.auth-card .muted { color: var(--muted); font-size: 0.95rem; }
.btn-wide { width: 100%; margin-top: var(--space-s); }
/* Footer — bottom menu per SPEC §3.3.1: disclaimers, privacy, contact, settings, search */
.footer { background: var(--galaxy); color: var(--on-galaxy-muted); font-size: 0.85rem; margin-top: 24px; }
.footer .inner { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: var(--space-l) 0; }
.footer .flash { width: 10px; height: 10px; }
.footer a { color: #fff; }
.footer a:not([href]) { color: var(--on-galaxy-muted); }
.footer .note { width: 100%; margin-top: 6px; color: var(--on-galaxy-muted); }
/* Footer — brand band: logo + descriptor / spec links (§3.3.1) / demo note + flash */
.footer { background: var(--galaxy); color: var(--on-galaxy-muted); font-size: 0.85rem; margin-top: var(--space-l); }
.footer .container { display: grid; gap: var(--space-m); padding-top: var(--space-xl); padding-bottom: var(--space-l); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s) var(--space-m); }
.foot-top img { height: 30px; width: auto; }
.foot-top p { margin: 0; max-width: 60ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px var(--space-m); }
.foot-links a { color: #fff; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.foot-links a[href]:hover { text-decoration: underline; }
.foot-links a:not([href]) { color: var(--on-galaxy-muted); }
.foot-note { display: flex; align-items: center; gap: var(--space-s); border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: var(--space-m); }
.foot-note .flash { width: 10px; height: 10px; flex: none; }