/* www_v3 — drastically simplified single-page site.
   No Bootstrap/jQuery: one page, no nav, no build step, minimal footprint. */

:root {
    --nu-red: #CC0000;
    --nu-red-dark: #a30000;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --rule: #ececec;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: var(--ink);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

a {
    color: var(--nu-red);
    text-decoration: none;
}
a:hover { color: var(--nu-red-dark); text-decoration: underline; }

.page {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(16px, 3vh, 36px) 24px;
}

/* ---------- header ---------- */

.top {
    text-align: center;
    margin-bottom: clamp(10px, 2vh, 22px);
}
.logo {
    max-width: 260px;
    width: 60%;
    height: auto;
}

/* ---------- main content, anchored near the top; any leftover space on
   tall viewports collects below the bubbles, not above the name ---------- */

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: clamp(18px, 3vh, 28px);
}

.identity {
    display: flex;
    align-items: center;
    gap: 18px;
}
.portrait {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}
.identity-text { text-align: left; }
.identity h1 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin: 0 0 4px;
}
.role {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 4px;
}
.meta {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
}
.meta a { font-weight: 500; }
.meta .sep { margin: 0 6px; color: var(--rule); }

.summary {
    max-width: 58ch;
    font-size: clamp(15px, 2vw, 17px);
    color: #333;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.bubbles {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Full logos, shown as-is — no card/box/border. Each is capped to a
   common height so the row reads as one consistent set despite each
   logo's own aspect ratio; hover "highlights" via scale + a soft glow
   since there's no border left to color. */
.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.logo-link img {
    height: clamp(40px, 10vw, 64px);
    width: auto;
    border-radius: 14px;
}

.logo-link:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 8px 18px rgba(204,0,0,0.25));
    color: var(--ink);
    text-decoration: none;
}

.logo-link .bubble-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
}
.logo-link .bubble-url {
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
}

/* ---------- footer ---------- */

footer {
    text-align: center;
    color: #aaa;
    font-size: 11px;
    margin-top: clamp(14px, 3vh, 28px);
}

/* ---------- small screens: identity stacks, still no forced scroll trap ---------- */

@media (max-width: 480px) {
    .identity {
        flex-direction: column;
        text-align: center;
    }
    .identity-text { text-align: center; }
    .meta .sep { display: block; margin: 2px 0 0; height: 0; }
}
