.sm27-profile,
.sm27-profile * {
    box-sizing: border-box;
}

.sm27-profile {
    --profile-red: #5A1725;
    --profile-red-dark: #5A1725;
    --profile-ink: #111318;
    --profile-muted: #6d7178;
    --profile-soft: #8b8f97;
    --profile-surface: rgba(255,255,255,0.73);
    --profile-surface-strong: rgba(255,255,255,0.88);
    --profile-line: rgba(17,19,24,0.09);
    --profile-shadow: 0 24px 80px rgba(15,18,24,0.10);
    --profile-shadow-soft: 0 12px 35px rgba(15,18,24,0.07);
    --profile-ease: cubic-bezier(.22,1,.36,1);

    position: relative;
    isolation: isolate;
    overflow: clip;
    color: var(--profile-ink);
    background:
        radial-gradient(circle at 10% 8%, rgba(134,31,42,0.06), transparent 26%),
        radial-gradient(circle at 90% 18%, rgba(134,31,42,0.04), transparent 24%),
        linear-gradient(180deg, #f5f5f7 0%, #f1f1f3 100%);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.sm27-profile a {
    text-decoration: none;
}





.sm27-profile-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(420px, 50vw, 620px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #170607;
    border-radius: 0 0 42px 42px;
}

.sm27-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 72% 20%, rgba(255,255,255,.18), transparent 23%),
        linear-gradient(180deg, rgba(7,0,0,.06) 0%, rgba(7,0,0,.12) 28%, rgba(7,0,0,.48) 63%, rgba(7,0,0,.94) 100%),
        linear-gradient(90deg, rgba(84,4,13,.28), transparent 54%, rgba(0,0,0,.16));
    pointer-events: none;
}

.sm27-profile-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
    padding: 130px 0 54px;
}

.sm27-profile-hero-card {
    width: min(880px, 100%);
    padding: 32px 34px;
    border: 1px solid rgba(255,255,255,0.23);
    border-radius: 28px;
    background: rgba(30,8,8,0.32);
    box-shadow: 0 24px 66px rgba(0,0,0,0.25);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.sm27-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 33px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    color: rgba(255,255,255,0.94);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.sm27-profile-eyebrow i {
    font-size: 11px;
}

.sm27-profile-hero-title {
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(2.5rem, 5.2vw, 4.8rem);
    font-weight: 820;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.sm27-profile-hero-description {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255,255,255,0.80);
    font-size: 15px;
    line-height: 1.72;
}

.sm27-profile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255,255,255,0.64);
    font-size: 11px;
    font-weight: 700;
}

.sm27-profile-breadcrumbs a {
    color: #fff !important;
}

.sm27-profile-breadcrumbs a:hover {
    opacity: 0.8;
}





.sm27-profile-content {
    position: relative;
    padding: 64px 0 32px;
}

.sm27-profile-container {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
}

.sm27-profile-heading {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.sm27-profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--profile-red);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sm27-profile-heading h2 {
    margin: 0;
    color: var(--profile-ink);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 820;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.sm27-profile-heading p {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--profile-muted);
    font-size: 14.5px;
    line-height: 1.72;
}

.sm27-accordions {
    display: grid;
    gap: 16px;
}

.sm27-accordion {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.84);
    border-radius: 26px;
    background: var(--profile-surface);
    box-shadow: var(--profile-shadow-soft), inset 0 1px 0 rgba(255,255,255,0.94);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    transition: transform .4s var(--profile-ease), box-shadow .4s var(--profile-ease), border-color .4s var(--profile-ease);
}

.sm27-accordion-button {
    position: relative;
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    border: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.70));
    color: var(--profile-ink);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: background .3s ease;
}

.sm27-accordion-button:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.80));
}

.sm27-accordion-chevron {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(134,31,42,0.12);
    border-radius: 50%;
    background: rgba(134,31,42,0.06);
    color: var(--profile-red);
    transition: transform 0.4s var(--profile-ease), background 0.3s ease;
}

.sm27-accordion.is-open .sm27-accordion-chevron {
    transform: rotate(180deg);
    background: rgba(134,31,42,0.10);
}

.sm27-accordion-panel {
    display: none;
    padding: 34px 28px;
    border-top: 1px solid var(--profile-line);
    background: rgba(255,255,255,0.58);
}

.sm27-accordion.is-open .sm27-accordion-panel {
    display: block;
    animation: sm27PanelIn 0.35s var(--profile-ease) both;
}

@keyframes sm27PanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}





.sm27-romo-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.sm27-romo-name {
    margin: 0;
    color: var(--profile-red);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 820;
    letter-spacing: -0.025em;
}

.sm27-romo-title {
    margin: 6px 0 24px;
    color: var(--profile-muted);
    font-size: 14.5px;
    font-style: italic;
}

.sm27-romo-image {
    display: block;
    width: min(340px, 100%);
    max-height: 440px;
    margin: 0 auto 28px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    background: #e5e5ea;
}

.sm27-romo-message {
    color: #3a3d42;
    font-size: 15px;
    line-height: 1.88;
    text-align: left;
    overflow-wrap: anywhere;
}

.sm27-romo-message p:last-child {
    margin-bottom: 0;
}

.sm27-romo-message img,
.sm27-history-body img {
    max-width: 100%;
    height: auto !important;
    border-radius: 16px;
}

.sm27-romo-message table,
.sm27-history-body table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

.sm27-romo-date,
.sm27-history-date {
    margin: 24px 0 0;
    color: var(--profile-soft);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}





.sm27-history-item {
    padding: 0 0 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid rgba(134,31,42,0.10);
}

.sm27-history-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.sm27-history-title {
    margin: 0 0 12px;
    color: var(--profile-red);
    font-size: clamp(1.3rem, 2.3vw, 1.65rem);
    font-weight: 820;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.sm27-history-body {
    color: #3a3d42;
    font-size: 14.5px;
    line-height: 1.88;
    overflow-wrap: anywhere;
}





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

.sm27-person-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.84);
    border-radius: 22px;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 10px 30px rgba(15,18,24,0.05), inset 0 1px 0 rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.35s var(--profile-ease), box-shadow 0.35s var(--profile-ease);
}

.sm27-person-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--profile-shadow-soft);
}

.sm27-person-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(134,31,42,0.12);
    color: var(--profile-red);
    font-size: 15px;
    font-weight: 820;
}

.sm27-person-card-header i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 11px;
    background: rgba(134,31,42,0.07);
}

.sm27-person-list {
    margin: 0;
    padding-left: 18px;
    color: #3a3d42;
    font-size: 14px;
    line-height: 1.85;
}

.sm27-person-empty {
    margin: 0;
    color: var(--profile-muted);
    font-size: 13.5px;
}





.sm27-statistics {
    position: relative;
    padding: 64px 0 96px;
}

.sm27-statistics::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(980px, 86%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(15,18,24,0.10), transparent);
}

.sm27-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sm27-stat-card {
    position: relative;
    min-width: 0;
    min-height: 220px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.84);
    border-radius: 26px;
    background: var(--profile-surface-strong);
    box-shadow: var(--profile-shadow-soft), inset 0 1px 0 rgba(255,255,255,0.96);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    overflow: hidden;
    transition: transform 0.4s var(--profile-ease), box-shadow 0.4s var(--profile-ease);
}

.sm27-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(134,31,42,0.75), transparent);
}

.sm27-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--profile-shadow);
}

.sm27-stat-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(134,31,42,0.10);
    border-radius: 16px;
    background: rgba(134,31,42,0.07);
    color: var(--profile-red);
    font-size: 18px;
}

.sm27-stat-counter {
    color: var(--profile-red);
    font-size: clamp(2.3rem, 4.2vw, 3.2rem);
    font-weight: 820;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}

.sm27-stat-label {
    margin-top: 10px;
    color: var(--profile-muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}



@media (max-width: 1100px) {
    .sm27-people-grid,
    .sm27-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sm27-profile-hero {
        min-height: 380px;
        border-radius: 0 0 28px 28px;
    }
    .sm27-profile-hero-inner,
    .sm27-profile-container {
        width: min(100% - 30px, 760px);
    }
    .sm27-profile-hero-card {
        padding: 24px 20px;
        border-radius: 22px;
    }
    .sm27-profile-hero-title {
        font-size: clamp(2.4rem, 9vw, 4rem);
    }
    .sm27-profile-content {
        padding: 45px 0 25px;
    }
    .sm27-profile-heading {
        margin-bottom: 28px;
    }
    .sm27-accordion-panel {
        padding: 24px 20px;
    }
    .sm27-people-grid {
        grid-template-columns: 1fr;
    }
    .sm27-statistics {
        padding: 52px 0 70px;
    }
    .sm27-stat-card {
        min-height: 180px;
    }
}

@media (max-width: 575px) {
    .sm27-profile-hero-inner,
    .sm27-profile-container {
        width: calc(100% - 22px);
    }
    .sm27-profile-hero-title {
        font-size: 2.2rem;
    }
    .sm27-profile-hero-description {
        font-size: 13.5px;
    }
    .sm27-profile-heading h2 {
        font-size: 1.9rem;
    }
    .sm27-accordion-button {
        min-height: 64px;
        padding: 0 16px;
        font-size: 13.5px;
    }
    .sm27-accordion-panel {
        padding: 18px 16px;
    }
    .sm27-romo-image {
        width: min(280px, 100%);
    }
    .sm27-stat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sm27-stat-card {
        min-height: 160px;
    }
}



@media (min-width: 992px) {
    .sm27-accordion,
    .sm27-person-card,
    .sm27-stat-card {
        position: relative;
    }
    .sm27-accordion::after,
    .sm27-person-card::after,
    .sm27-stat-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.25), transparent 38%);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }
    .sm27-accordion:hover::after,
    .sm27-person-card:hover::after,
    .sm27-stat-card:hover::after {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm27-profile *,
    .sm27-profile::before,
    .sm27-profile::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .sm27-profile-hero-card {
        background: rgba(23,6,7,0.92);
    }
    .sm27-accordion,
    .sm27-person-card,
    .sm27-stat-card {
        background: #fff;
    }
}
