/* About — official company document viewer */

.cd-about {
    position: relative;
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(184, 137, 58, 0.1), transparent 40%),
        radial-gradient(circle at 92% 78%, rgba(20, 92, 76, 0.08), transparent 38%),
        linear-gradient(180deg, #f7faf8 0%, #eef4f1 100%);
}

.cd-about-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
}

.cd-about-glow--a {
    width: 260px;
    height: 260px;
    top: -40px;
    right: 6%;
    background: rgba(20, 92, 76, 0.12);
}

.cd-about-glow--b {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: 4%;
    background: rgba(184, 137, 58, 0.14);
}

.cd-about-head {
    max-width: 46rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.cd-about-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #145c4c;
}

.cd-about-head h2 {
    margin: 0 0 0.65rem;
    font-family: 'Outfit', 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    letter-spacing: -0.02em;
    color: #10231f;
}

.cd-about-head p {
    margin: 0;
    line-height: 1.55;
    color: rgba(16, 35, 31, 0.68);
}

.cd-about-shell {
    display: grid;
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 35, 31, 0.08);
    box-shadow: 0 22px 48px rgba(16, 35, 31, 0.12);
}

.cd-about-sidebar {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.cd-about-sidebar-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(16, 35, 31, 0.48);
}

.cd-about-tabs {
    display: grid;
    gap: 0.65rem;
}

.cd-about-tab {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 35, 31, 0.1);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.cd-about-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(16, 35, 31, 0.08);
}

.cd-about-tab.is-active {
    border-color: rgba(20, 92, 76, 0.32);
    background: linear-gradient(145deg, #fff, #f3faf7);
    box-shadow: 0 14px 32px rgba(16, 35, 31, 0.1);
}

.cd-about-tab-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #145c4c;
    background: rgba(20, 92, 76, 0.1);
}

.cd-about-tab.is-active .cd-about-tab-icon {
    background: linear-gradient(145deg, #145c4c, #0c3d33);
    color: #f7faf8;
}

.cd-about-tab-copy {
    display: grid;
    gap: 0.15rem;
}

.cd-about-tab-copy strong {
    font-family: 'Outfit', 'Poppins', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #10231f;
}

.cd-about-tab-copy small {
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(16, 35, 31, 0.58);
}

.cd-about-tab-arrow {
    color: rgba(16, 35, 31, 0.28);
    font-weight: 700;
    transition: transform 0.22s ease, color 0.22s ease;
}

.cd-about-tab.is-active .cd-about-tab-arrow {
    color: #145c4c;
    transform: translateX(2px);
}

.cd-about-trust {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid rgba(16, 35, 31, 0.08);
    display: grid;
    gap: 0.45rem;
}

.cd-about-trust li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.8rem;
    color: rgba(16, 35, 31, 0.62);
}

.cd-about-trust li::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: #b8893a;
    box-shadow: 0 0 0 3px rgba(184, 137, 58, 0.18);
    flex: 0 0 auto;
}

.cd-about-stage {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
}

.cd-about-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 16px;
    background: #f3faf7;
    border: 1px solid rgba(16, 35, 31, 0.08);
}

.cd-about-toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cd-about-toolbar-group--end {
    margin-left: auto;
}

.cd-about-tool {
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 35, 31, 0.12);
    background: #fff;
    color: #10231f;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cd-about-tool--text {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.cd-about-tool:hover:not(:disabled) {
    border-color: rgba(20, 92, 76, 0.28);
    background: #fff;
    transform: translateY(-1px);
}

.cd-about-tool:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cd-about-page {
    min-width: 5.25rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(16, 35, 31, 0.72);
}

.cd-about-badge {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #145c4c;
    background: rgba(20, 92, 76, 0.12);
}

.cd-about-viewer {
    position: relative;
    min-height: min(68vh, 680px);
    border-radius: 20px;
    overflow: auto;
    background:
        linear-gradient(180deg, #e8eeeb 0%, #dfe8e4 100%);
    border: 1px solid rgba(16, 35, 31, 0.08);
    -webkit-user-select: none;
    user-select: none;
}

.cd-about-viewer.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1300;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
}

.cd-about-loading,
.cd-about-error {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 0.65rem;
    padding: 1rem;
    text-align: center;
    color: rgba(16, 35, 31, 0.72);
}

.cd-about-spinner {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid rgba(20, 92, 76, 0.15);
    border-top-color: #145c4c;
    animation: cd-about-spin 0.8s linear infinite;
}

@keyframes cd-about-spin {
    to { transform: rotate(360deg); }
}

.cd-about-canvas-wrap {
    display: grid;
    place-items: center;
    padding: 1rem;
    min-height: 100%;
    transition: opacity 0.25s ease;
}

.cd-about-canvas-wrap.is-switching {
    opacity: 0.35;
}

.cd-about-canvas-wrap canvas {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(16, 35, 31, 0.18);
    background: #fff;
}

.cd-about-hint {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(16, 35, 31, 0.55);
    text-align: center;
}

.cd-about-hint kbd {
    display: inline-block;
    padding: 0.08rem 0.35rem;
    border-radius: 6px;
    border: 1px solid rgba(16, 35, 31, 0.12);
    background: #fff;
    font-size: 0.72rem;
    font-family: inherit;
}

@media (max-width: 980px) {
    .cd-about-shell {
        grid-template-columns: 1fr;
    }

    .cd-about-viewer {
        min-height: min(58vh, 560px);
    }

    .cd-about-toolbar-group--end {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-about-tab,
    .cd-about-tool,
    .cd-about-canvas-wrap,
    .cd-about-spinner {
        animation: none !important;
        transition: none !important;
    }
}
