html, body { margin: 0; padding: 0; }

.v2-root, .v2-root * { box-sizing: border-box; }

.v2-root {
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: #000;
    font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.9;
}

.v2-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.v2-header {
    margin-bottom: 3.5rem;
    text-align: left;
}

.v2-title {
    margin: 0;
    font-size: clamp(1.375rem, 3.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.v2-title-link {
    color: inherit;
    text-decoration: none;
}

.v2-title-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.v2-nav {
    margin-top: 0.65rem;
}

.v2-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.v2-nav-list li {
    display: inline-flex;
    align-items: center;
}

.v2-nav-list li + li::before {
    content: "|";
    color: rgba(0, 0, 0, 0.22);
    margin: 0 0.65rem;
    font-weight: 400;
    user-select: none;
}

.v2-nav-link {
    color: #555;
    text-decoration: none;
    padding: 0.2rem 0;
}

.v2-nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-nav-link:focus-visible {
    outline: 2px solid #555;
    outline-offset: 2px;
}

.v2-nav-link[aria-current="page"] {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.v2-intro {
    margin-bottom: 5rem;
    font-size: 14px;
    line-height: 1.9;
}

.v2-intro p {
    margin: 0;
}

.v2-intro p + p {
    margin-top: 1.5rem;
}

.v2-hero-title {
    margin: 0 0 1rem;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.v2-section {
    margin-bottom: 6rem;
}

.v2-section-title {
    margin: 0 0 2rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.v2-section-sub {
    margin: 2.5rem 0 1rem;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.v2-section-sub:first-of-type {
    margin-top: 0;
}

.v2-articles {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 14px;
    line-height: 1.8;
}

.v2-article-row {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}

.v2-article-date {
    flex: 0 0 8.75rem;
    color: rgba(0, 0, 0, 0.5);
}

.v2-article-main {
    flex: 1;
    min-width: 0;
}

.v2-article-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.v2-article-link:hover {
    text-decoration: none;
}

.v2-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.9;
}

.v2-list li + li {
    margin-top: 0.75rem;
}

.v2-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-size: 13px;
    line-height: 1.5;
}

.v2-pagination-button {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: none;
}

.v2-pagination-button:hover:not(:disabled) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-pagination-button:disabled {
    color: rgba(0, 0, 0, 0.35);
    cursor: default;
    text-decoration: none;
}

.v2-pagination-button[aria-current="page"] {
    color: #000;
    font-weight: 500;
}

.v2-pagination-meta {
    color: rgba(0, 0, 0, 0.5);
}

.v2-inline-button {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.v2-inline-button:hover {
    text-decoration: none;
}

.v2-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
}

.v2-modal {
    width: min(100%, 1100px);
    height: min(82vh, 760px);
    overflow: hidden;
    border: 1px solid #000;
    background: #fff;
    padding: 0;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.v2-modal-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.85rem 1rem;
}

.v2-modal-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.v2-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 13px;
    white-space: nowrap;
}

.v2-modal-frame {
    width: 100%;
    flex: 1;
    border: 0;
    background: #fff;
}

.v2-modal-close {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.v2-modal-close:hover {
    text-decoration: none;
}

.v2-service-block + .v2-service-block {
    margin-top: 1rem;
}

.v2-service-block h3 {
    margin: 0 0 0.5rem;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.v2-service-block > p {
    margin: 0 0 1rem;
}

.v2-team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.v2-person {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.v2-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid #000;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}

.v2-avatar-monogram {
    font-family: inherit;
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #000;
    line-height: 1;
}

.v2-avatar-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.v2-person-body {
    flex: 1;
    min-width: 0;
}

.v2-person-name {
    margin: 0 0 0.25rem;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.v2-person-role {
    margin: 0 0 0.85rem;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.55);
}

.v2-person-body p {
    margin: 0;
}

.v2-person-body p + p {
    margin-top: 0.75rem;
}

@media (max-width: 640px) {
    .v2-person {
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-start;
    }
    .v2-avatar {
        width: 140px;
        height: 140px;
    }
    .v2-person-body {
        align-self: stretch;
    }
}

.v2-contact p {
    margin: 0;
}

.v2-contact p + p {
    margin-top: 0.75rem;
}

.v2-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 13px;
    line-height: 1.75;
}

.v2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v2-footer-links a,
.v2-footer-links button {
    margin-right: 0;
}

.v2-footer p {
    margin: 0.35rem 0 0;
}

@media (max-width: 640px) {
    .v2-page { padding: 3.5rem 1.25rem; }
    .v2-article-row {
        flex-wrap: wrap;
        gap: 0.35rem 1rem;
    }
    .v2-article-date {
        flex: 0 0 auto;
    }
    .v2-article-main {
        flex: 1 1 100%;
    }
}
