/* Main Styles */

/* Common Components */
.text-block {
    margin-bottom: 2rem;
}

.text-block p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.h1-title {
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    margin-bottom: 1.5rem;
    color: var(--brand-deep-blue);
}

.h2-title {
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    margin-bottom: 1rem;
    color: var(--text-main);
    margin-top: 2rem;
}

.page-hero {
    margin-top: 12px;
    margin-bottom: 36px;
}

.page-hero-surface {
    position: relative;
    background-image:
        linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 60%, transparent) 0%, color-mix(in srgb, var(--palette-navy) 56%, transparent) 55%, color-mix(in srgb, var(--palette-black) 52%, transparent) 100%),
        radial-gradient(120% 120% at 12% 0%, color-mix(in srgb, var(--palette-white) 16%, transparent), transparent),
        var(--hero-image, linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 50%, transparent) 0%, color-mix(in srgb, var(--palette-black) 45%, transparent) 100%));
    background-size: cover, 100% 100%, cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay, normal, normal;
    border: 1px solid color-mix(in srgb, var(--palette-gray-medium) 26%, transparent);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--palette-black) 65%, transparent);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 260px;
}

.page-hero-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 90% at 82% 8%, color-mix(in srgb, var(--palette-blue) 16%, transparent), transparent);
    pointer-events: none;
}

.page-hero-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--palette-white) 18%, transparent);
    box-shadow: 0 12px 32px -20px color-mix(in srgb, var(--palette-black) 60%, transparent);
}

.page-hero-media img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 250px;
}

.about-hero-media {
    height: 250px;
    background-color: var(--base-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-hero-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
    text-align: left;
    color: var(--base-white);
}

.bilingual-stack {
    gap: 12px;
}

.bilingual-stack .page-hero-kicker {
    letter-spacing: 0.14em;
}

.bilingual-stack .page-hero-sub {
    line-height: 1.65;
    max-width: 62ch;
}

.bilingual-stack .page-hero-sub + .page-hero-sub {
    margin-top: -6px;
}

.page-hero-kicker {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: color-mix(in srgb, var(--palette-white) 82%, transparent);
}

.page-hero-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--base-white);
    line-height: 1.4;
}

.page-hero-sub {
    margin: 0;
    color: color-mix(in srgb, var(--palette-white) 82%, transparent);
    line-height: 1.4;
    font-size: 15px;
    font-weight: 500;
}

/* About Page */
.about-card {
    background-color: var(--bg-soft);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.about-hero {
    margin-top: 12px;
    margin-bottom: 36px;
}

.about-hero-surface {
    position: relative;
    background-image:
        linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 60%, transparent) 0%, color-mix(in srgb, var(--palette-navy) 56%, transparent) 55%, color-mix(in srgb, var(--palette-black) 52%, transparent) 100%),
        radial-gradient(120% 120% at 12% 0%, color-mix(in srgb, var(--palette-white) 16%, transparent), transparent),
        var(--hero-image, linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 50%, transparent) 0%, color-mix(in srgb, var(--palette-black) 45%, transparent) 100%));
    background-size: cover, 100% 100%, cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay, normal, normal;
    border: 1px solid color-mix(in srgb, var(--palette-gray-medium) 26%, transparent);
    border-radius: 18px;
    padding: 32px 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--palette-black) 65%, transparent);
    color: var(--base-white);
    min-height: 260px;
}

.about-hero-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 90% at 82% 8%, color-mix(in srgb, var(--palette-blue) 16%, transparent), transparent);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    align-items: flex-start;
    color: var(--base-white);
}

.about-logo-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
    width: 100%;
}

.about-logo {
    max-width: 200px;
    height: auto;
}

.about-hero-title {
    margin-bottom: 8px;
}

.about-lead {
    color: color-mix(in srgb, var(--palette-white) 90%, transparent);
    line-height: 1.7;
}

.about-lead.en {
    color: color-mix(in srgb, var(--palette-white) 72%, transparent);
}

.about-divider {
    height: 12px;
    margin: 36px 0;
    border-radius: 12px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--palette-blue) 62%, transparent) 0%, color-mix(in srgb, var(--palette-blue) 36%, transparent) 44%, transparent 100%), var(--bg-soft);
    box-shadow: none;
}

.about-section {
    margin-bottom: 48px;
}

.about-section p {
    line-height: 1.72;
    color: var(--text-muted);
}

.about-section p+p {
    margin-top: 10px;
}

.about-section-title {
    margin-top: 0;
    color: var(--brand-deep-blue);
}

/* Team Page */
.team-index-shell,
.team-detail-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team-index-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.team-group .h2-title {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--brand-deep-blue);
}

.team-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.team-card {
    background: linear-gradient(170deg, color-mix(in srgb, var(--palette-navy) 3%, transparent) 0%, color-mix(in srgb, var(--palette-white) 98%, transparent) 68%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 38px -30px color-mix(in srgb, var(--palette-navy) 55%, transparent);
}

.team-card-link {
    display: grid;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -28px color-mix(in srgb, var(--palette-navy) 70%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .team-card-link {
        transition: none;
    }

    .team-card-link:hover {
        transform: none;
        box-shadow: 0 20px 38px -30px color-mix(in srgb, var(--palette-navy) 55%, transparent);
    }
}

.team-card-link:focus-visible {
    outline: 2px solid var(--brand-royal-blue);
    outline-offset: 4px;
}

.team-card--stacked,
.member-hero-card--stacked {
    display: grid;
    grid-template-columns: minmax(118px, 172px) minmax(0, 1fr);
    align-items: stretch;
}

.team-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 12%, transparent) 0%, color-mix(in srgb, var(--palette-gray-medium) 86%, transparent) 100%);
}

.team-card-media--portrait {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: var(--bg-soft);
}

.team-content,
.team-card-copy {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-deep-blue);
    margin: 0;
}

.team-name-en {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.5;
}

.team-role {
    font-size: 12px;
    color: var(--brand-deep-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin: 0;
}

.team-role-en {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.55;
}

.team-bio,
.team-card-summary {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.team-card-link .team-bio,
.team-card-link .team-card-summary {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.team-loading-card .team-content {
    padding: 24px;
}

.team-loading-copy {
    margin: 0;
    color: var(--text-muted);
}

.member-hero-content {
    justify-content: center;
    gap: 18px;
}

.member-kicker {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.member-identity {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-name {
    margin: 0;
    color: var(--brand-deep-blue);
    line-height: 1.18;
}

.member-name-en {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.member-profile-title {
    margin-top: 2px;
    margin-bottom: 14px;
    color: var(--brand-deep-blue);
}

.member-profile-card {
    margin-bottom: 0;
    background: linear-gradient(175deg, color-mix(in srgb, var(--palette-navy) 3%, transparent) 0%, color-mix(in srgb, var(--palette-gray-light) 94%, transparent) 100%);
}

.member-actions {
    margin-top: 16px;
}

.member-highlights {
    margin: 0;
    padding-left: 20px;
    color: var(--text-muted);
}

.member-highlights li {
    margin: 9px 0;
    line-height: 1.6;
}

.member-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-list-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.member-list-link:hover {
    color: var(--brand-royal-blue);
}

.member-list-en {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: right;
    max-width: 46%;
}

@media (min-width: 768px) {
    .member-hero-card {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    }

    .member-hero-content {
        padding: 28px 30px;
    }

    .member-photo-placeholder {
        min-height: 320px;
    }
}

/* Philosophy Page */
.phil-hero {
    margin-top: 16px;
    margin-bottom: 32px;
}

.phil-hero-surface {
    position: relative;
    background: linear-gradient(135deg, color-mix(in srgb, var(--palette-navy) 16%, transparent) 0%, transparent 60%), var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 24px;
    overflow: hidden;
    box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--palette-navy) 40%, transparent);
}

.phil-hero-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 12% 0%, color-mix(in srgb, var(--palette-navy) 12%, transparent), transparent);
    pointer-events: none;
}

.phil-hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.phil-kicker {
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.phil-lead {
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
}

.phil-lead.en {
    color: var(--text-muted);
}

.philosophy-section {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.philosophy-section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phil-section-sub {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.philosophy-list {
    display: grid;
    gap: 20px;
}

.philosophy-card {
    background: linear-gradient(180deg, color-mix(in srgb, var(--palette-navy) 3%, transparent) 0%, color-mix(in srgb, var(--palette-white) 98%, transparent) 72%);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 14px 26px -20px color-mix(in srgb, var(--palette-navy) 32%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -18px color-mix(in srgb, var(--palette-navy) 40%, transparent);
}

.phil-strip {
    height: 8px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--palette-blue) 90%, transparent) 0%, color-mix(in srgb, var(--palette-blue) 60%, transparent) 100%);
    width: 100%;
}

.phil-content {
    padding: 24px;
}

.phil-title {
    font-size: var(--h2-size);
    margin-bottom: 10px;
    color: var(--brand-deep-blue);
}

.phil-copy-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
}

.phil-desc-en {
    font-weight: 400;
    margin: 0;
    display: block;
    color: var(--text-main);
    line-height: 1.65;
}

.phil-desc-ko {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.portfolio-card {
    background: linear-gradient(180deg, color-mix(in srgb, var(--palette-navy) 3%, transparent) 0%, color-mix(in srgb, var(--palette-gray-light) 96%, transparent) 72%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: 0 16px 30px -24px color-mix(in srgb, var(--palette-navy) 40%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card--link {
    color: inherit;
    text-decoration: none;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 36px -24px color-mix(in srgb, var(--palette-navy) 44%, transparent);
}

.portfolio-content {
    padding: 24px 22px 26px;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portfolio-header {
    margin-bottom: 4px;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    opacity: 0.5;
}

.company-name {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-main);
    line-height: 1.3;
}

.company-sector {
    font-size: 11px;
    color: var(--brand-deep-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.company-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.portfolio-detail {
    background: linear-gradient(180deg, color-mix(in srgb, var(--palette-navy) 3%, transparent) 0%, color-mix(in srgb, var(--palette-white) 98%, transparent) 72%);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    gap: 0;
    box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--palette-navy) 40%, transparent);
}

.portfolio-detail-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px 30px;
}

.portfolio-detail-name {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    color: var(--brand-deep-blue);
    line-height: 1.12;
}

.portfolio-detail-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    line-height: 1.72;
}

.portfolio-detail-body p {
    margin: 0;
}

/* Notice Page */
.notice-list {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--base-white);
}

.notice-record-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--palette-gray-light) 62%, transparent), color-mix(in srgb, var(--palette-white) 98%, transparent));
    transition: background-color 0.2s ease;
}

.notice-record-item:last-child {
    border-bottom: none;
}

.notice-loading {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.notice-record-item:hover {
    background: color-mix(in srgb, var(--palette-gray-light) 94%, transparent);
}

.notice-record-item-header {
    display: flex;
    align-items: center;
}

.notice-link {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.45;
}

.notice-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
    letter-spacing: 0.01em;
}

.notice-category::before {
    content: "\00B7";
    margin-right: 7px;
    color: color-mix(in srgb, var(--palette-gray-dark) 85%, transparent);
}

.badge-important {
    color: var(--accent-crimson-red);
    font-weight: 700;
    font-size: 10px;
    border: 1px solid var(--accent-crimson-red);
    padding: 1px 4px;
    border-radius: 4px;
}

.notice-record {
    background-color: var(--base-white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 12px 24px -20px color-mix(in srgb, var(--palette-navy) 34%, transparent);
}

.notice-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
}

.notice-meta-detail {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.notice-record-body,
.notice-body {
    white-space: pre-wrap;
    line-height: 1.7;
    color: var(--text-main);
    min-height: 96px;
}

/* Contact Page */
.contact-section {
    margin-bottom: 40px;
}

.contact-card {
    background-color: color-mix(in srgb, var(--palette-gray-light) 92%, transparent);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--palette-black) 8%, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--palette-black) 10%, transparent);
}

.contact-card--location .contact-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card--location .contact-value {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-card--location .contact-subtext {
    font-size: 14px;
    line-height: 1.6;
}

.contact-row {
    margin-bottom: 12px;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-subtext {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-map-frame {
    margin: 18px 0 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--palette-navy) 8%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--palette-navy) 5%, transparent), color-mix(in srgb, var(--palette-white) 94%, transparent));
}

.contact-map-frame img,
#contact-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.contact-map-caption {
    padding: 12px 16px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    border-top: 1px solid color-mix(in srgb, var(--palette-navy) 8%, transparent);
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .team-card--stacked,
    .member-hero-card--stacked {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .team-content,
    .team-card-copy {
        padding: 16px 14px;
        gap: 9px;
    }

    .team-name {
        font-size: 20px;
    }

    .team-name-en,
    .member-name-en {
        font-size: 13px;
    }

    .team-role {
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .team-role-en,
    .team-card-summary {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .page-hero-surface {
        padding: 40px 36px;
        min-height: 300px;
    }

    .bilingual-stack {
        gap: 14px;
    }

    .bilingual-stack .page-hero-sub + .page-hero-sub {
        margin-top: -8px;
    }

    /* Portfolio Desktop Layout */
    .portfolio-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .portfolio-content {
        order: 2;
        padding: 28px 30px 30px;
    }

    .portfolio-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .portfolio-detail-copy {
        padding: 34px 34px 36px;
    }

    .notice-record-item {
        padding: 20px 28px;
    }

    .notice-record {
        padding: 32px 34px;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Attachments */
.notice-attachments {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.attachment-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attachment-item {
    display: flex;
    align-items: center;
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-main);
    padding: 8px 12px;
    background-color: var(--bg-soft);
    border-radius: 6px;
    transition: background-color 0.2s;
    text-decoration: none;
}

.attachment-link:hover {
    background-color: var(--border-light);
}

.attachment-icon {
    font-size: 16px;
}

/* Editable company names, sourced from the existing portfolio manifest. */
.portfolio-band {
    min-width: 0;
    padding: 40px 0 48px;
    border-bottom: 1px solid var(--border-light);
}

.portfolio-band-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.portfolio-band-heading h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.portfolio-band-heading h2 span {
    padding-left: 12px;
    color: var(--brand-royal-blue);
}


.company-name-window {
    container-type: inline-size;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.company-name-window::-webkit-scrollbar { display: none; }

.company-name-track {
    display: flex;
    width: max-content;
}

.company-name-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 0 0 auto;
    gap: clamp(48px, 6vw, 88px);
    min-width: 100cqw;
    margin: 0;
    padding: 12px 64px 12px 8px;
    list-style: none;
}

.company-name-group a {
    display: block;
    padding: 8px 0;
    color: var(--brand-deep-blue);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 450;
    letter-spacing: -0.035em;
    line-height: 1.4;
    white-space: nowrap;
}

.company-name-group a:hover {
    color: var(--brand-royal-blue);
}

/* Shared readable typography uses the bundled Latin/Korean coding-font stack. */
:is(.page-hero-kicker, .member-profile-title, .attachment-title) {
    font-family: var(--font-family-title);
    font-weight: 400;
}
:is(.member-highlights, .portfolio-detail-body, .notice-record-body) { font-size: 18px; }
:is(.attachment-link, .detail-pager-link) { font-size: 16px; }
@media (max-width: 699px) {
    body { font-size: 17px; }
}

.portfolio-detail-name { font-family: var(--font-family-title); font-weight: 400; }
