/* Layout and components for the hub and standalone product pages. */
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; background: var(--color-surface); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(100%, 1200px); margin: 0 auto; padding: 0 1.5rem; }
header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.header-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1rem 0; }
.logo { display: inline-flex; align-items: center; gap: 1.25rem; color: var(--brand-blue); text-decoration: none; }
.logo img { display: block; width: 180px; height: auto; }
.logo span { border-left: 1px solid var(--color-border); padding-left: 1.25rem; font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a { font-weight: 500; text-underline-offset: 0.3em; }
nav a[aria-current="page"] { font-weight: 700; color: var(--brand-blue); }
.skip-link { position: absolute; top: -10rem; left: 1rem; z-index: 200; padding: 0.75rem 1rem; background: var(--color-surface); }
.skip-link:focus { top: 1rem; }
.hero { background: var(--brand-blue); padding: 4.5rem 0; margin-bottom: 3rem; border-bottom: 6px solid var(--brand-orange); }
.hero h1 { color: var(--brand-white); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; max-width: 850px; margin-bottom: 1rem; }
.hero p { color: var(--brand-white); font-size: 1.25rem; max-width: 700px; margin-bottom: 0; }
.eyebrow { display: block; color: var(--brand-orange-light); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.8rem; margin-bottom: 1rem; }
.section-title { font-size: 1.875rem; margin-bottom: 2rem; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.project-card { background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--brand-violet); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease; }
.project-card:hover, .project-card:focus-within { box-shadow: var(--shadow); }
.project-header { padding: 1.5rem 1.5rem 0; }
.project-header h2 { font-size: 1.375rem; margin: 0; }
.project-body { padding: 1rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-description { margin-bottom: 1.5rem; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.project-link { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.25rem; color: var(--brand-white); background: var(--color-action); border-radius: 0.4rem; font-weight: 700; text-decoration: none; }
.project-link:hover { background: var(--color-action-hover); color: var(--brand-white); }
footer { background: var(--color-background); padding: 2.5rem 0; margin-top: 4rem; border-top: 1px solid var(--color-border); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { width: 150px; height: auto; margin-bottom: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-links a { font-weight: 500; text-underline-offset: 0.25em; }
.copyright { color: var(--color-muted); font-size: 0.875rem; margin-bottom: 0; }
.content { padding: 0 0 2rem; }
.content h2 { margin-top: 2rem; }
.content li { margin-bottom: 0.5rem; }
.content a { text-underline-offset: 0.2em; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.5rem; margin: 2rem 0; }
.feature-card { background: var(--color-background); padding: 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--brand-orange); }
.feature-card h3 { color: var(--brand-violet); }
.feature-card p { margin-bottom: 0; }
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding: 3rem 0; }
  .hero p { font-size: 1.125rem; }
  .logo img { width: 145px; }
  .footer-links { flex-direction: column; gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) { .project-card { transition: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
