.gist-cta-hover {
    transition: background-color 0.2s ease;
}

.gist-cta-hover:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.gist-paper {
    border-radius: 2px;
}

.gist-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.gist-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.gist-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.gist-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.gist-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.gist-corner {
    width: 1.75rem;
    height: 1.75rem;
    border-color: var(--bs-primary) !important;
}

.gist-corner--top-start {
    border-top: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--top-end {
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-corner--bottom-start {
    border-bottom: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--bottom-end {
    border-bottom: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-paper-lines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.4) 11px,
        rgba(255, 255, 255, 0.4) 12px
    );
}

.gist-meta-header {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

.gist-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    min-width: 7.5rem;
}

.gist-note-radius {
    border-radius: 0 6px 6px 0;
}

.gist-note-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.gist-divider-rule {
    height: 0.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.35);
}

.gist-seal-text {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
}

.gist-footer-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.gist-dot {
    width: 0.25rem;
    height: 0.25rem;
}

/* Layout / motion — colors stay in Blade / @sem */
/* Grid + gap here only: @sem output may obfuscate class names, so Tailwind gap/grid on the wrapper is unreliable */

.philosophy-cards-row {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .philosophy-cards-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.philosophy-decor {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.philosophy-numbered-badge {
    width: 4rem;
    height: 4rem;
}

.philosophy-card {
    transition: transform 0.5s ease;
}

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

.philosophy-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-card:hover .philosophy-card-accent {
    opacity: 1;
}

.philosophy-bg__img {
    object-fit: cover;
}

.card-photo-ribbon__cover {
    height: 16rem;
}

.card-photo-ribbon__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.card-photo-ribbon__min-shrink {
  min-width: 0;
}

.dashboard-metrics-timeline__grid-lines {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, currentColor 79px, currentColor 80px);
}

@keyframes dashboard-metrics-timeline__pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.dashboard-metrics-timeline__pulse {
    width: 0.5rem;
    height: 0.5rem;
    animation: dashboard-metrics-timeline__pulse 2s ease infinite;
}

.dashboard-metrics-timeline__watermark {
    font-size: clamp(60px, 12vw, 140px);
    opacity: 0.03;
}

.dashboard-metrics-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.dashboard-metrics-timeline__metric {
    font-size: 2rem;
}

.dashboard-metrics-timeline__bar {
    height: 4px;
}

.dashboard-metrics-timeline__progress {
    height: 4px;
    width: var(--dashboard-metrics-timeline__width, 0%);
}

.dashboard-metrics-timeline__index-dot {
    width: 6px;
    height: 6px;
}

@keyframes dashboard-metrics-timeline__count {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-metrics-timeline__line {
    height: 1px;
}

/* Bootstrap branch: explicit grid + gap (row gutters often collapse with overflow / theme resets) */
.dashboard-metrics-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem;
    }
}

.dashboard-metrics-timeline__min-shrink {
  min-width: 0;
}

