/* ============================================
   BCP TENTANG KAMI — STYLES
   ============================================ */

/* ============================================
   PAGE LAYOUT & UTILITIES
   ============================================ */
.tentang-page {
    background-color: var(--white);
    color: var(--text-primary);
    overflow-x: hidden;
}

.tentang-section {
    padding: var(--section-py) 0;
    position: relative;
}

.tentang-section--bg-light {
    background-color: var(--bg-section);
}

.tentang-section--bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.tentang-section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.tentang-section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-label-tk {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-label-tk::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.text-center .section-label-tk {
    padding-left: 0;
}

.text-center .section-label-tk::before {
    display: none;
}

.section-title-tk {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.tentang-section--bg-dark .section-title-tk {
    color: var(--text-white);
}

.section-desc-tk {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.tentang-section--bg-dark .section-desc-tk {
    color: var(--text-light);
}

/* ============================================
   PROFILE & LEGALITY SECTION (First Section Spacing)
   ============================================ */
.tentang-page .tentang-section:first-of-type {
    padding-top: 180px;
}

/* ============================================
   PROFILE & LEGALITY SECTION
   ============================================ */
.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.profile-content__para {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.profile-content__para:last-of-type {
    margin-bottom: 0;
}

.profile-legal-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.profile-legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.profile-legal-card__watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.03;
    color: var(--primary);
    transform: rotate(-15deg);
    pointer-events: none;
}

.profile-legal-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.profile-legal-card__icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-legal-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-legal-card__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-legal-item {
    display: flex;
    gap: 16px;
}

.profile-legal-item__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--green-100);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.profile-legal-item__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-legal-item__label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.profile-legal-item__value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================
   VALUES & ACHIEVEMENT SECTION
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: stretch;
}

.values-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-card__icon-container {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.value-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Achievement Certificate Styling */
.award-certificate-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.award-certificate-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(5, 150, 105, 0.06) 50%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.award-certificate-frame {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.35),
        0 0 0 6px rgba(255, 255, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.28),
        0 8px 20px rgba(251, 191, 36, 0.12);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    cursor: default;
    transform-style: preserve-3d;
    will-change: transform;
}

.award-certificate-frame:hover {
    transform: perspective(800px) rotateX(-3deg) rotateY(4deg) scale(1.03);
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.55),
        0 0 0 6px rgba(255, 255, 255, 0.12),
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 12px 30px rgba(251, 191, 36, 0.2);
}

.award-certificate-img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 10px;
}

.award-certificate-caption {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.award-certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0a00;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: badgePulse 2.5s ease-in-out infinite;
}

.award-certificate-badge svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4); }
    50%       { box-shadow: 0 4px 25px rgba(251, 191, 36, 0.7); }
}

/* ============================================
   STRUCTURE & TEAM GRID SECTION
   ============================================ */
.team-container {
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-spring), box-shadow var(--transition-spring);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-card__image-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: var(--bg-section);
    overflow: hidden;
}

.team-card__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: transform var(--transition-slow);
}

.team-card:hover .team-card__placeholder {
    transform: scale(1.05);
}

.team-card__placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.team-card__placeholder-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-card__placeholder-icon {
    opacity: 0.7;
}

.team-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-card__img {
    transform: scale(1.05);
}

.team-card__info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.team-card__role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--green-100);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Specific role styling based on hierarchy */
.team-card--owner .team-card__role {
    background: #fef3c7;
    color: #b45309;
}

.team-card--ceo .team-card__role {
    background: #e0f2fe;
    color: #0369a1;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.team-card__title-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   ORG STRUCTURE — VIEW TOGGLE
   ============================================ */
.org-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.org-view-toggle {
    position: relative;
    display: inline-flex;
    gap: 4px;
    padding: 6px;
    background: var(--bg-section);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.org-view-toggle__indicator {
    position: absolute;
    z-index: 1;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 0;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    box-shadow: var(--shadow-green);
    transition: left var(--transition-spring), width var(--transition-spring);
}

.org-view-toggle__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.org-view-toggle__btn svg {
    transition: transform var(--transition-spring);
}

.org-view-toggle__btn:hover {
    color: var(--text-primary);
}

.org-view-toggle__btn.is-active {
    color: var(--white);
}

.org-view-toggle__btn.is-active svg {
    transform: scale(1.08);
}

/* ============================================
   ORG STRUCTURE — VIEW WRAPPERS
   ============================================ */
.org-view {
    display: none;
}

.org-view.is-active {
    display: block;
    animation: orgViewIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes orgViewIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Reveal (staggered) for nodes & cards, driven by tentang-kami.js */
.org-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.org-reveal.is-shown {
    opacity: 1;
    transform: none;
}

/* ============================================
   ORG STRUCTURE — TREE / BAGAN
   ============================================ */
.org-chart {
    --org-gap: 30px;
    --org-line-w: 2px;
    --org-line-color: rgba(5, 150, 105, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.org-chart__lead {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical connector line */
.org-conn {
    width: var(--org-line-w);
    height: var(--org-gap);
    background: var(--org-line-color);
    border-radius: 2px;
    flex-shrink: 0;
}

/* --- Node base --- */
.org-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    width: 340px;
    max-width: 100%;
    box-sizing: border-box;
    transition: transform var(--transition-spring), box-shadow var(--transition-spring), border-color var(--transition-base);
}

.org-node:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.org-node__avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    background: var(--green-100);
    color: var(--primary-dark);
    transition: transform var(--transition-spring);
}

.org-node:hover .org-node__avatar {
    transform: scale(1.06);
}

.org-node__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    min-width: 0;
}

.org-node__role {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary);
}

.org-node__name {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

/* --- Lead nodes (Komisaris & Direktur) — kartu putih bersih, aksen halus --- */
.org-node--lead {
    box-shadow: var(--shadow-md);
}

/* Komisaris — puncak hierarki, dibedakan tipis dari Direktur */
.org-node--komisaris .org-node__role {
    color: var(--primary-dark);
}

/* --- Managers row --- */
.org-managers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    padding-top: var(--org-gap);
}

.org-branch {
    position: relative;
    flex: 1 1 0;
    max-width: 460px;
    display: flex;
    flex-direction: column;
}

/* Vertical drop from bus bar to each manager */
.org-branch::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--org-gap));
    left: 50%;
    transform: translateX(-50%);
    width: var(--org-line-w);
    height: var(--org-gap);
    background: var(--org-line-color);
    border-radius: 2px;
}

/* Horizontal bus bar halves (meet under the Direktur) */
.org-branch::after {
    content: '';
    position: absolute;
    top: calc(-1 * var(--org-gap));
    height: var(--org-line-w);
    background: var(--org-line-color);
    border-radius: 2px;
}

.org-branch:first-child::after {
    left: 50%;
    right: -24px;
}

.org-branch:last-child::after {
    right: 50%;
    left: -24px;
}

.org-node--manager {
    /* No border-top */
}

/* --- Divisions (left spine + ticks) --- */
.org-branch__divs {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: var(--org-gap) 0 0 32px;
}

/* Continuous vertical spine */
.org-branch__divs::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 16px;
    width: var(--org-line-w);
    background: var(--org-line-color);
    border-radius: 2px;
}

.org-node--divisi {
    /* Same padding as base */
}

/* Horizontal tick from spine to each division node */
.org-node--divisi::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: var(--org-line-w);
    background: var(--org-line-color);
    border-radius: 2px;
}

/* Mask the spine below the last division so the line ends at its center */
.org-node--divisi:last-child::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    bottom: -60px;
    width: 8px;
    background: var(--white);
}

.org-node--divisi .org-node__avatar {
    background: var(--bg-light);
    color: var(--teal-600);
}

.org-node--divisi .org-node__role {
    color: var(--teal-600);
}

.org-node--divisi .org-node__name {
    /* Same font-size as base */
}

/* Grid view — role chip for managers */
.team-card--manager .team-card__role {
    background: #ccfbf1;
    color: var(--teal-600);
}

/* ============================================
   CONTACT & VISIT SECTION
   ============================================ */
.contact-section-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-block__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info-card__icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info-card__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-card__value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.5;
}

.contact-info-card__link {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-info-card__link:hover {
    color: var(--primary);
}

/* Contact Ahmad / WhatsApp Box */
.visit-cta-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.visit-cta-card__header {
    margin-bottom: 30px;
}

.visit-cta-card__chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--green-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.visit-cta-card__title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.visit-cta-card__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Personal Contact details */
.visit-person {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.visit-person__avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.visit-person__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visit-person__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.visit-person__role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.visit-cta-card__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visit-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
    box-shadow: 0 8px 25px -4px rgba(37, 211, 102, 0.35);
}

.visit-cta-btn-wa:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.visit-cta-btn-wa svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-section-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-cta-card {
        padding: 40px;
    }

    .org-managers {
        gap: 28px;
    }

    .org-branch:first-child::after {
        right: -14px;
    }

    .org-branch:last-child::after {
        left: -14px;
    }

    .org-node {
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    .tentang-page .tentang-section:first-of-type {
        padding-top: 140px;
    }
    
    .tentang-section {
        padding: 80px 0;
    }
    
    .profile-legal-card {
        padding: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .award-certificate-img {
        max-width: 340px;
    }

    /* --- Org chart: stack managers vertically --- */
    .org-node--lead {
        min-width: 0;
        width: 100%;
        max-width: 420px;
    }

    .org-chart__lead {
        width: 100%;
        align-items: center;
    }

    .org-managers {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
        max-width: 460px;
        margin: 0 auto;
    }

    .org-branch {
        max-width: 100%;
        width: 100%;
    }

    /* Reset desktop bus-bar; use a single centered connector before each branch */
    .org-branch::after {
        display: none;
    }

    .org-branch::before {
        left: 50%;
    }

    .org-branch:first-child::before {
        display: none;
    }

    .org-branch:not(:first-child) {
        margin-top: var(--org-gap);
    }

    .org-toggle-wrap {
        margin-bottom: 44px;
    }

    .org-view-toggle__btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .org-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .org-view.is-active {
        animation: none;
    }
}
