/* Customer portal: dashboard and topbar brand. Base styling and tokens come from shape-filament.css (violet accent). */

/* Dashboard */
.portal-hero { padding: 2rem 0 2.5rem; }
.portal-eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--ui-accent-ink); }
.portal-title { margin: 0; font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: 0; text-wrap: balance; }
.portal-lead { max-width: 520px; margin: 24px 0 0; font-size: 20px; line-height: 1.5; color: var(--ui-text-soft); text-wrap: pretty; }
.portal-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.portal-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem; padding: 24px; background: var(--ui-surface); color: var(--ui-text); text-decoration: none; transition: background-color .2s; }
.portal-card--projects { background: var(--ui-accent-band); color: var(--shape-ink); }
a.portal-card--projects:hover { background: var(--ui-accent-soft); }
.portal-card--soon { color: var(--ui-muted); }
.portal-card h2 { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.3; }
.portal-card p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
.portal-card-go { align-self: flex-end; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--shape-ink); color: var(--shape-white); font-size: 1.25rem; }
.portal-pill { align-self: flex-start; padding: 4px 12px; border: 1px solid var(--ui-line); border-radius: 999px; font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--ui-muted); }

@media (max-width: 1199px) { .portal-card h2 { font-size: 28px; line-height: 1.1; } }
@media (max-width: 767px) {
    .portal-title { font-size: 40px; line-height: 1.1; }
    .portal-lead { font-size: 18px; }
    .portal-eyebrow { margin-bottom: 16px; }
    .portal-card h2 { font-size: 24px; line-height: 1.3; }
}

/* Topbar brand: company logo with a small "Shaped by SHAPE" signature. The SHAPE logo is always ink (on-ink in dark mode). */
.portal-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; height: 100%; }
.portal-brand-logo { max-height: 1.9rem; max-width: 10rem; width: auto; object-fit: contain; }
.portal-brand-shape { height: 1.9rem; color: var(--ui-text); }
.portal-brand-placeholder { display: flex; align-items: center; gap: .5rem; height: 1.9rem; font-weight: 600; }
.portal-brand-initials { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--ui-accent-band); color: var(--shape-ink); font-size: .75rem; }
.portal-brand-tribute { display: flex; align-items: center; gap: .3rem; font-size: .6rem; line-height: 1; color: var(--ui-muted); }
.portal-brand-tribute-logo { height: .55rem; }
