/* ==========================================================================
   Overview Section — light theme with editorial header + count-up stats
   ========================================================================== */

.overview-section { /* inherits .section--light */ }

/* Stats row — count-up animation targets */
.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: clamp(56px, 7vh, 88px);
    padding: 36px 0;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
}

.stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--line-gold);
}

.stat-item:last-child { border-right: none; }

.stat-val {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(40px, 4vw, 56px);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
}

/* Overview cards — numbered editorial */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.overview-item {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(37, 51, 73, 0.06);
    border-radius: 4px;
    padding: 36px 28px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    box-shadow: 0 2px 0 rgba(37, 51, 73, 0.03);
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(37, 51, 73, 0.1);
    border-color: var(--line-gold-strong);
}

/* Italic display number */
.overview-item__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 44px;
    line-height: 1;
    color: var(--color-accent-gold);
    letter-spacing: -0.01em;
    display: inline-block;
}

.overview-item__num::before {
    content: "—";
    display: inline-block;
    color: var(--color-accent-gold);
    font-style: normal;
    font-size: 18px;
    margin-right: 10px;
    transform: translateY(-10px);
    vertical-align: middle;
    opacity: 0.7;
}

/* Hairline rule between number and title */
.overview-item__rule {
    width: 28px;
    height: 1px;
    background: var(--line-gold-strong);
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.5s ease;
    margin-top: 4px;
}

.overview-item:hover .overview-item__rule {
    width: 56px;
    background: var(--color-accent-gold);
}

.overview-item__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}

.overview-item__desc {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Subtle gold corner accent — appears on hover */
.overview-item__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 22px 22px 0;
    border-color: transparent rgba(201, 169, 97, 0.18) transparent transparent;
    opacity: 0;
    transition: opacity 0.4s ease, border-width 0.4s ease;
    pointer-events: none;
}

.overview-item:hover .overview-item__corner {
    opacity: 1;
    border-width: 0 28px 28px 0;
}

/* Background watermark number — extremely faint, decorative */
.overview-item::before {
    content: "";
    position: absolute;
    inset: auto -8% -28% auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at center, rgba(201, 169, 97, 0.08), transparent 60%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.overview-item:hover::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-top: 1px solid var(--line-gold); padding-top: 28px; }
    .overview-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-item { padding: 30px 24px 26px; }
    .overview-item__num { font-size: 38px; }
}

@media (max-width: 640px) {
    .overview-item { padding: 28px 22px 24px; gap: 12px; }
    .overview-item__num { font-size: 36px; }
    .overview-item__title { font-size: 16px; }
}

@media (max-width: 640px) {
    .overview-stats { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--line-gold); padding: 20px 0; }
    .stat-item:last-child { border-bottom: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-top: none; padding-top: 20px; }
    .overview-grid { grid-template-columns: 1fr; }
}
