:root {
    color-scheme: light;
    --ink: #132f35;
    --ink-soft: #31545b;
    --paper: #fffaf5;
    --cream: #fff3e8;
    --line: #ead8cc;
    --coral: #ef6f61;
    --coral-deep: #cf5048;
    --teal: #2db7a3;
    --sage: #dbe9dd;
    --plum: #6e4a63;
    --gold: #d99b42;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(19, 47, 53, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--coral-deep);
}

button,
input {
    font: inherit;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 20;
    transform: translateY(-160%);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--white);
    background: var(--ink);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px max(24px, calc((100vw - 1180px) / 2));
    background: rgba(255, 250, 245, 0.92);
    border-bottom: 1px solid rgba(234, 216, 204, 0.8);
    backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--ink-soft);
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--ink);
    background: var(--cream);
}

.site-nav .nav-cta {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 560px;
    height: calc(100svh - 210px);
    max-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center right;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0.86) 42%, rgba(255, 250, 245, 0.16) 76%);
}

.hero-content {
    position: relative;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0;
}

.hero-content h1 {
    max-width: 540px;
    margin: 0;
    font-size: 4.8rem;
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 560px;
    margin: 22px 0 0;
    font-size: 1.24rem;
    color: var(--ink-soft);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--ink);
}

.button-primary img {
    filter: invert(1);
}

.button-primary:hover {
    color: var(--white);
    background: #244a52;
}

.button-secondary {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.button-secondary:hover {
    color: var(--ink);
    background: var(--cream);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 620px;
    margin-top: 30px;
}

.hero-metrics span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(19, 47, 53, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-soft);
    font-weight: 700;
}

.hero-metrics strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: #f5efe9;
}

.section-intro {
    padding-top: 42px;
}

.section-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section-inner.narrow {
    width: min(760px, calc(100% - 48px));
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.split h2,
.section-heading h2,
.page-hero h1,
.profile-summary h1 {
    margin: 0;
    font-size: 2.55rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.split p,
.page-hero p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.text-link {
    color: var(--coral-deep);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card,
.feature-card,
.article-card,
.detail-panel,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(19, 47, 53, 0.06);
}

.profile-card {
    overflow: hidden;
}

.profile-card-image {
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--sage);
}

.profile-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-card-body {
    padding: 18px;
}

.profile-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-card h2,
.profile-card h3,
.article-card h2,
.article-card h3,
.feature-card h3,
.detail-panel h2 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0;
}

.profile-card h2,
.profile-card h3 {
    font-size: 1.24rem;
}

.profile-card-topline span {
    min-width: 38px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--plum);
    font-weight: 900;
    text-align: center;
}

.profile-card p {
    margin: 10px 0 0;
    color: var(--ink-soft);
}

.profile-card .archetype {
    color: var(--coral-deep);
    font-weight: 800;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef7f4;
    color: #1a6058;
    font-size: 0.86rem;
    font-weight: 800;
}

.tag-row.large span {
    padding: 8px 11px;
    font-size: 0.94rem;
}

.profile-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.card-action-link,
.card-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.card-action-link {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.card-action-link:hover {
    color: var(--white);
    background: #244a52;
}

.card-action-button:hover {
    background: var(--cream);
}

.card-action-button.icon-only {
    width: 38px;
    padding: 0;
}

.card-action-button img,
.card-action-link img {
    flex: 0 0 auto;
}

.feature-grid,
.article-grid,
.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.profile-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.article-card,
.detail-panel {
    padding: 24px;
}

.feature-card img,
.article-card span {
    margin-bottom: 18px;
}

.feature-card p,
.article-card p,
.detail-panel p {
    margin: 10px 0 0;
    color: var(--ink-soft);
}

.article-card span {
    display: inline-flex;
    color: var(--coral-deep);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.page-hero {
    padding: 76px 0 52px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
    max-width: 820px;
}

.page-hero.compact p {
    max-width: 760px;
    margin-top: 14px;
}

.search-form {
    max-width: 760px;
    margin-top: 28px;
}

.search-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
}

.search-form div {
    display: flex;
    gap: 10px;
}

.search-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
}

.profile-hero {
    padding: 52px 0 64px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 52px;
    align-items: center;
}

.profile-media {
    min-width: 0;
}

.profile-main-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--sage);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.gallery-strip button {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    overflow: hidden;
    background: var(--white);
    cursor: pointer;
}

.gallery-strip button:focus,
.gallery-strip button:hover,
.gallery-strip button.is-active {
    border-color: var(--teal);
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ink-soft);
    font-weight: 800;
}

.breadcrumbs a {
    color: var(--coral-deep);
}

.profile-summary h1 {
    font-size: 3.5rem;
}

.profile-tagline {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 1.22rem;
}

.profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.profile-facts span {
    padding: 7px 10px;
    border-radius: 7px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 900;
}

.relationship-card {
    position: relative;
    overflow: hidden;
    margin: 22px 0 20px;
    padding: 18px;
    border: 1px solid rgba(239, 111, 97, 0.26);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 232, 0.9)),
        var(--white);
    box-shadow: 0 18px 38px rgba(19, 47, 53, 0.1);
}

.relationship-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(239, 111, 97, 0.12), transparent 34%),
        linear-gradient(135deg, transparent 0 64%, rgba(45, 183, 163, 0.13) 64% 100%);
}

.relationship-card > * {
    position: relative;
}

.relationship-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.relationship-kicker {
    margin: 0 0 4px;
    color: var(--coral-deep);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.relationship-top h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.32rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.relationship-level {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(45, 183, 163, 0.4);
    border-radius: 50%;
    color: var(--white);
    background:
        radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.38), transparent 30%),
        linear-gradient(135deg, var(--teal), var(--ink));
    box-shadow: 0 12px 24px rgba(45, 183, 163, 0.24);
    line-height: 1;
}

.relationship-level span {
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.relationship-level strong {
    margin-top: -3px;
    font-size: 1.52rem;
}

.relationship-meter {
    position: relative;
    height: 18px;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(19, 47, 53, 0.12);
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(19, 47, 53, 0.08) 0 1px, transparent 1px 20%),
        rgba(255, 255, 255, 0.82);
}

.relationship-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
    box-shadow: 0 0 22px rgba(45, 183, 163, 0.34);
    transition: width 360ms ease;
}

.relationship-meter i {
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent);
}

.relationship-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 800;
}

.relationship-stats,
.relationship-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.relationship-stats span,
.relationship-milestones span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid rgba(19, 47, 53, 0.1);
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.relationship-stats strong {
    color: var(--ink);
    font-size: 0.96rem;
}

.relationship-milestones span {
    opacity: 0.58;
}

.relationship-milestones span.is-active {
    opacity: 1;
    color: #175f56;
    border-color: rgba(45, 183, 163, 0.32);
    background: #eef7f4;
}

.profile-summary > p:not(.eyebrow):not(.profile-tagline) {
    color: var(--ink-soft);
}

blockquote {
    margin: 24px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--coral);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-size: 1.04rem;
    font-weight: 700;
}

.detail-list {
    margin: 18px 0 0;
}

.detail-list div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.detail-list dt {
    color: var(--ink);
    font-weight: 900;
}

.detail-list dd {
    margin: 5px 0 0;
    color: var(--ink-soft);
}

.detail-panel.soft {
    background: #fbfffb;
}

.text-stack p + p {
    margin-top: 18px;
}

.safety-note {
    padding: 16px 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--cream);
    font-weight: 800;
}

.article-page .page-hero {
    padding-bottom: 62px;
}

.prose {
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.prose h2 {
    margin: 34px 0 8px;
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.prose p {
    margin: 16px 0;
}

.prose ul {
    margin: 16px 0;
    padding-left: 22px;
}

.prose li + li {
    margin-top: 8px;
}

.empty-state {
    max-width: 620px;
    margin: 34px auto 0;
    padding: 28px;
    text-align: center;
}

.site-footer {
    padding: 48px 0;
    color: #d6e4e3;
    background: var(--ink);
}

.footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
}

.footer-brand {
    color: var(--white);
}

.site-footer p {
    max-width: 560px;
    margin: 12px 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 8px 18px;
}

.footer-links a {
    color: #d6e4e3;
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--white);
}

.vgf-chat-window {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(420px, calc(100vw - 44px));
    height: min(680px, calc(100svh - 44px));
    overflow: hidden;
    border: 1px solid rgba(234, 216, 204, 0.95);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 26px 70px rgba(19, 47, 53, 0.24);
    transform: translateY(18px);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.vgf-chat-window[hidden] {
    display: none;
}

.vgf-chat-window.is-open {
    transform: translateY(0);
    opacity: 1;
}

.vgf-chat-window.is-max {
    inset: 82px 28px 28px auto;
    width: min(760px, calc(100vw - 56px));
    height: calc(100svh - 110px);
}

.vgf-chat-head {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), var(--plum));
}

.vgf-chat-avatar,
.vgf-rail-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
}

.vgf-chat-avatar {
    width: 46px;
    height: 46px;
    cursor: pointer;
}

.vgf-chat-avatar img,
.vgf-rail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.vgf-avatar-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--white);
    background: var(--coral);
    font-weight: 900;
}

.vgf-chat-title {
    min-width: 0;
    padding: 0;
    border: 0;
    color: var(--white);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.vgf-chat-name {
    display: block;
    overflow: hidden;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vgf-chat-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
}

.vgf-chat-archetype {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44d17a;
    box-shadow: 0 0 0 3px rgba(68, 209, 122, 0.18);
}

.vgf-chat-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vgf-tool,
.vgf-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.vgf-tool:hover {
    background: rgba(255, 255, 255, 0.2);
}

.vgf-callbar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    background: #f8f1eb;
}

.vgf-callbar[hidden] {
    display: none;
}

.vgf-call-status {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 900;
}

.vgf-call-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vgf-call-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.vgf-callbar.is-live .vgf-call-dot {
    background: var(--teal);
}

.vgf-call-timer {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

.vgf-call-mute,
.vgf-call-end {
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
}

.vgf-call-mute:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.vgf-call-end {
    color: var(--white);
    background: var(--coral-deep);
    border-color: var(--coral-deep);
}

.vgf-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 14px;
    background:
        linear-gradient(180deg, rgba(255, 243, 232, 0.7), rgba(255, 255, 255, 0.96)),
        var(--white);
}

.vgf-message {
    display: flex;
    margin-bottom: 12px;
}

.vgf-message-user {
    justify-content: flex-end;
}

.vgf-bubble {
    max-width: min(82%, 560px);
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(19, 47, 53, 0.07);
}

.vgf-message-user .vgf-bubble {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.vgf-bubble p {
    margin: 0;
}

.vgf-bubble p + p {
    margin-top: 10px;
}

.vgf-bubble code {
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(45, 183, 163, 0.12);
}

.vgf-message-user .vgf-bubble code {
    background: rgba(255, 255, 255, 0.14);
}

.vgf-chat-error {
    color: var(--coral-deep);
    font-weight: 800;
}

.vgf-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.vgf-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    animation: vgf-bounce 900ms infinite ease-in-out;
}

.vgf-dots i:nth-child(2) {
    animation-delay: 140ms;
}

.vgf-dots i:nth-child(3) {
    animation-delay: 280ms;
}

@keyframes vgf-bounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.vgf-composer {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 9px;
    align-items: end;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.vgf-composer textarea {
    width: 100%;
    min-height: 44px;
    max-height: 96px;
    resize: none;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #fffdfb;
    line-height: 1.35;
}

.vgf-composer textarea:focus,
.vgf-key-field input:focus {
    outline: 3px solid rgba(45, 183, 163, 0.24);
    border-color: var(--teal);
}

.vgf-send {
    width: 44px;
    height: 44px;
    color: var(--white);
    background: var(--coral);
    border-color: var(--coral);
}

.vgf-send:hover {
    background: var(--coral-deep);
}

.vgf-chat-rail {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 70;
    width: 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(19, 47, 53, 0.16);
    backdrop-filter: blur(14px);
}

.vgf-chat-rail[hidden] {
    display: none;
}

.vgf-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    background: var(--cream);
    font-weight: 900;
    cursor: pointer;
}

.vgf-rail-head strong {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    color: var(--white);
    background: var(--coral);
    font-size: 0.78rem;
}

.vgf-rail-list {
    max-height: 420px;
    overflow: auto;
    padding: 7px;
}

.vgf-rail-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.vgf-rail-item:hover,
.vgf-rail-item.is-active {
    background: #eef7f4;
}

.vgf-rail-avatar {
    width: 38px;
    height: 38px;
}

.vgf-rail-copy {
    min-width: 0;
}

.vgf-rail-copy span,
.vgf-rail-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vgf-rail-copy span {
    font-weight: 900;
}

.vgf-rail-copy small {
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.vgf-chat-rail.is-collapsed {
    width: 58px;
}

.vgf-chat-rail.is-collapsed .vgf-rail-head span,
.vgf-chat-rail.is-collapsed .vgf-rail-list {
    display: none;
}

.vgf-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(19, 47, 53, 0.48);
}

.vgf-modal {
    width: min(440px, 100%);
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(19, 47, 53, 0.28);
}

.vgf-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.vgf-modal-head h2 {
    margin: 0;
    font-size: 1.42rem;
    line-height: 1.1;
}

.vgf-modal-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.vgf-modal-copy,
.vgf-modal-fine {
    margin: 0;
    color: var(--ink-soft);
}

.vgf-modal-fine {
    margin-top: 14px;
    font-size: 0.88rem;
}

.vgf-modal-fine a {
    color: var(--coral-deep);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vgf-key-field {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    font-weight: 900;
}

.vgf-key-status {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink-soft);
    background: var(--cream);
    font-size: 0.9rem;
}

.vgf-key-status.is-saved {
    color: #175f56;
    background: #eef7f4;
    border-color: rgba(45, 183, 163, 0.35);
}

.vgf-key-field input {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #fffdfb;
}

.vgf-modal-actions,
.vgf-call-choices {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.vgf-modal-actions {
    grid-template-columns: 1fr 1fr;
}

.vgf-call-choices button {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fffdfb;
    text-align: left;
    cursor: pointer;
}

.vgf-call-choices button:hover {
    border-color: var(--teal);
    background: #eef7f4;
}

.vgf-call-choices strong {
    font-size: 1rem;
}

.vgf-call-choices span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

@media (max-width: 920px) {
    .site-header {
        min-height: 64px;
        padding: 11px 18px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 64px;
        left: 18px;
        right: 18px;
        display: none;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        justify-content: space-between;
    }

    .hero {
        min-height: 620px;
        height: calc(100svh - 170px);
        max-height: none;
        background-position: 62% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0.9) 54%, rgba(255, 250, 245, 0.42) 100%);
    }

    .hero-content {
        width: min(100% - 36px, 760px);
        padding: 58px 0;
    }

    .hero-content h1 {
        font-size: 3.4rem;
    }

    .hero-copy {
        font-size: 1.08rem;
    }

    .split,
    .profile-layout,
    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-grid,
    .directory-grid,
    .feature-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-summary h1,
    .split h2,
    .section-heading h2,
    .page-hero h1 {
        font-size: 2.18rem;
    }

    .section {
        padding: 58px 0;
    }

    .vgf-chat-window,
    .vgf-chat-window.is-max {
        inset: auto 14px 14px 14px;
        width: auto;
        height: min(680px, calc(100svh - 28px));
    }

    .vgf-chat-rail {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
    }

    .has-vgf-chat-open .vgf-chat-rail {
        display: none;
    }
}

@media (max-width: 640px) {
    .section-inner,
    .section-inner.narrow,
    .footer-inner {
        width: min(100% - 32px, 560px);
    }

    .hero-content {
        width: min(100% - 32px, 560px);
    }

    .hero-content h1 {
        font-size: 2.82rem;
    }

    .hero {
        min-height: 650px;
        height: calc(100svh - 150px);
    }

    .hero-actions,
    .profile-actions,
    .search-form div {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .profile-grid,
    .directory-grid,
    .feature-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .profile-main-image {
        max-height: 620px;
    }

    .gallery-strip {
        gap: 8px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .profile-card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 42px;
    }

    .relationship-card {
        padding: 16px;
    }

    .relationship-level {
        width: 56px;
        height: 56px;
    }

    .relationship-meta {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }

    .relationship-stats,
    .relationship-milestones {
        gap: 7px;
    }

    .relationship-stats span,
    .relationship-milestones span {
        min-height: 30px;
        font-size: 0.78rem;
    }

    .card-action-link,
    .card-action-button {
        min-width: 0;
    }

    .vgf-chat-head {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px;
    }

    .vgf-chat-avatar {
        width: 40px;
        height: 40px;
    }

    .vgf-chat-tools {
        gap: 2px;
    }

    .vgf-tool {
        width: 32px;
        height: 32px;
    }

    .vgf-tool.vgf-clear,
    .vgf-tool.vgf-max {
        display: none;
    }

    .vgf-callbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vgf-call-mute,
    .vgf-call-end {
        grid-row: 2;
    }

    .vgf-call-end {
        justify-self: end;
    }

    .vgf-bubble {
        max-width: 90%;
    }

    .vgf-modal-actions {
        grid-template-columns: 1fr;
    }
}
