.public-page.link-hub-page {
    --hub-bg: #f3eee4;
    --hub-tile: #fffdf8;
    --hub-ink: #23382f;
    --hub-note: #43554b;
    --hub-hero: var(--page-hero-background, var(--page-template-hero, #253e35));
    --hub-hero-ink: var(--page-hero-ink, #fff9ec);
    --hub-heading: var(--brand-sans);
    width: 100%;
    min-height: 100svh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: var(--hub-ink);
    background: radial-gradient(ellipse at top, #fffaf2 0, var(--hub-bg) 65%);
}
.link-hub-page.custom-page-colors {
    --hub-bg: color-mix(in srgb, var(--highlight) 45%, #fffdf7);
}
.link-hub-page.serif { --hub-heading: var(--brand-serif); }
.link-hub-page.condensed { --hub-heading: "Arial Narrow", "Aptos Narrow", var(--brand-sans); }

.link-hub {
    width: min(660px, 100% - 2 * clamp(16px, 5vw, 40px));
    margin-inline: auto;
    padding-block: clamp(24px, 5vw, 72px) clamp(50px, 7vw, 98px);
}
.link-hub-profile {
    position: relative;
    border-radius: 22px;
    color: var(--hub-hero-ink);
    background: var(--hub-hero);
    box-shadow: 0 14px 40px #29302518;
}
.link-hub-profile:has(.page-tool-languages[open]) { z-index: 8; }
.link-hub-cover {
    display: block;
    width: 100%;
    aspect-ratio: 3.5 / 1;
    border-radius: 22px 22px 0 0;
    object-fit: cover;
}
.link-hub-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(24px, 5vw, 43px) clamp(16px, 5vw, 42px);
    text-align: center;
}
.link-hub-avatar {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-block-end: 14px;
    overflow: hidden;
    border: 1px solid #fffff681;
    border-radius: 50%;
    color: #24382e;
    background: #f0ddaf;
    font: 650 1.6rem / 1 var(--brand-sans);
    letter-spacing: -.025em;
}
.link-hub-avatar img { width: 100%; height: 100%; object-fit: contain; }
.link-hub-avatar .ui-icon { width: 28px; height: 28px; }
.link-hub-cover + .link-hub-intro .link-hub-avatar { margin-block-start: -56px; position: relative; }
.link-hub-intro h1 {
    font: 650 clamp(2.3rem, 5.5vw, 3.65rem) / 1 var(--hub-heading);
    letter-spacing: -.043em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.link-hub-page.serif .link-hub-intro h1 { font-weight: 400; }
.link-hub-bio {
    max-width: 42ch;
    margin-block-start: 12px;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.link-hub-actions { justify-content: center; margin-block-start: 19px; }
.link-hub-actions .page-tools {
    --tool-ink: currentColor;
    --tool-surface: transparent;
    --tool-border: color-mix(in srgb, currentColor 63%, transparent);
    --tool-hover: color-mix(in srgb, currentColor 13%, transparent);
    --tool-focus: currentColor;
    justify-content: center;
}
.link-hub-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    font: 700 .875rem/1.3 var(--brand-sans);
    text-decoration: none;
}
.link-hub-contact .ui-icon { width: 16px; height: 16px; }
.link-hub-contact:hover { background: color-mix(in srgb, currentColor 13%, transparent); }
.link-hub-contact:focus-visible { outline-color: currentColor; }
.link-hub-actions > .languages { margin-block-end: 0; justify-content: center; }
.link-hub-actions > .languages a { color: currentColor; }

.link-hub-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-block-start: 16px;
}
.link-hub-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--hub-ink);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.link-hub-group {
    margin-block-start: clamp(24px, 4vw, 34px);
    scroll-margin-block-start: 18px;
}
.link-hub-group h2 {
    margin: 0 0 10px;
    padding-inline: 3px;
    font: 720 1rem / 1.3 var(--brand-sans);
    overflow-wrap: anywhere;
}
.link-hub-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.link-hub-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 66px;
    padding: clamp(12px, 3vw, 19px);
    border: 1px solid #26382f2c;
    border-radius: 13px;
    color: var(--hub-ink);
    background: var(--hub-tile);
    text-decoration: none;
}
a.link-hub-tile:hover {
    border-color: var(--hub-ink);
    background: #fffaed;
}
a.link-hub-tile:focus-visible { outline-color: var(--hub-ink); }
.link-hub-thumbnail { flex: none; border-radius: 8px; object-fit: cover; }
.link-hub-tile-text {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 2px;
    text-align: start;
    overflow-wrap: anywhere;
}
.link-hub-tile-title { font-size: clamp(1rem, 2.6vw, 1.15rem); font-weight: 740; line-height: 1.3; }
.link-hub-tile-label { color: var(--hub-note); font-size: .82rem; font-weight: 700; }
.link-hub-tile-detail { color: var(--hub-note); font-size: .9rem; line-height: 1.5; white-space: pre-wrap; }
.link-hub-arrow {
    display: grid;
    flex: 0 0 35px;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #27392f25;
    border-radius: 50%;
    background: #f2efe5;
}
.link-hub-arrow .ui-icon { width: 17px; height: 17px; }
.link-hub-community { margin-block-start: 22px; color: var(--hub-note); font-size: .875rem; }
