body.portfolio-creative {
    --creative-sage: #73b061;
    --creative-sage-soft: rgba(115, 176, 97, 0.12);
    --creative-espresso: #2e261e;
    --creative-espresso-line: #57493a;
    --creative-accent-border: color-mix(in srgb, var(--brand-1, #3f6f33) 24%, var(--border-subtle, #c9d8c1));
}
body.portfolio-creative .identity-title { font-size: clamp(2.6rem, 6.5vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.08; }
body.portfolio-creative .section-title { letter-spacing: -0.025em; position: relative; padding-bottom: 0.5rem; }
body.portfolio-creative .section-title::after {
    content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
    width: 2.5rem; height: 3px; border-radius: var(--radius-full, 9999px);
    background: linear-gradient(90deg, var(--creative-sage), transparent);
}
body.portfolio-creative .eyebrow { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; }
body.portfolio-creative .home-page-revamp, body.portfolio-creative main {
    background: radial-gradient(circle at 85% 12%, var(--creative-sage-soft) 0%, transparent 45%),
                radial-gradient(circle at 10% 40%, rgba(63, 111, 51, 0.05) 0%, transparent 50%);
}
body.portfolio-creative .hero-photo-frame {
    transition: transform 0.3s var(--ease, ease), box-shadow 0.3s var(--ease, ease);
}
body.portfolio-creative .hero-photo-frame:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 30px -6px var(--creative-sage-soft);
}
body.portfolio-creative .portfolio-grid, body.portfolio-creative .skill-groups { align-items: stretch; grid-auto-rows: 1fr; }
body.portfolio-creative #social-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
}
@media (min-width: 768px) {
    body.portfolio-creative #social-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    body.portfolio-creative #social-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.portfolio-creative #social-list > [class*="col-"] {
    width: 100%; max-width: 100%; flex: 0 0 100%;
}
body.portfolio-creative .portfolio-grid > *, body.portfolio-creative .skill-groups > *, body.portfolio-creative #social-hub .row > * {
    display: flex; flex-direction: column; height: 100%; min-width: 0;
}
body.portfolio-creative .project-card, body.portfolio-creative .skill-card, body.portfolio-creative .timeline-content, body.portfolio-creative .social-card, body.portfolio-creative .glass-card {
    display: flex; flex-direction: column; height: 100%;
    border: 1px solid var(--creative-accent-border); box-shadow: 0 4px 16px -2px rgba(19, 36, 26, 0.06);
}
body.portfolio-creative .project-card > p, body.portfolio-creative .skill-card > p, body.portfolio-creative .social-card p {
    flex-grow: 1; height: auto; overflow-wrap: anywhere;
}
body.portfolio-creative .project-card:hover, body.portfolio-creative .skill-card:hover, body.portfolio-creative .social-card:hover { border-color: var(--creative-sage); }
body.portfolio-creative .project-num, body.portfolio-creative .day-num, body.portfolio-creative .stat-card .display-5, body.portfolio-creative .tnum {
    color: var(--brand-text); font-variant-numeric: tabular-nums;
}
body.portfolio-creative .creative-callout {
    border-inline-start: 3px solid var(--creative-sage); background: var(--creative-sage-soft);
    padding: 1rem 1.25rem; border-radius: 0 var(--radius-md, 0.75rem) var(--radius-md, 0.75rem) 0;
}
[dir="rtl"] body.portfolio-creative .creative-callout { border-radius: var(--radius-md, 0.75rem) 0 0 var(--radius-md, 0.75rem); }
body.portfolio-creative .privacy-copy { max-width: 840px; line-height: 1.8; }
body.portfolio-creative .privacy-copy h2 { color: var(--brand-text); }
body.portfolio-creative .form-control { border-color: var(--creative-accent-border); }
body.portfolio-creative .form-control:focus { border-color: var(--creative-sage); box-shadow: 0 0 0 3px var(--creative-sage-soft); }
body.portfolio-creative .creative-splash {
    position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: var(--canvas-bg, var(--canvas, #eef3e9)); pointer-events: none !important;
    animation: creative-splash-fade 0.6s cubic-bezier(0.2, 0, 0, 1) 0.3s forwards;
}
body.portfolio-creative .creative-splash .brand-mark {
    width: 64px; height: 82px; margin: 0; display: block;
}
body.portfolio-creative #creative-busy.creative-loader {
    position: fixed; inset-inline-end: 1.25rem;
    bottom: calc(var(--bottom-nav-space, 88px) + 1.25rem);
    z-index: 999; width: auto; height: auto;
    max-width: calc(100% - 2rem);
    display: inline-flex; align-items: center; gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    background: var(--surface-card, var(--card, #fafcf8));
    border: 1px solid var(--creative-accent-border);
    border-radius: var(--radius-full, 9999px);
    box-shadow: var(--shadow-2, 0 4px 16px -2px rgba(19, 36, 26, 0.12));
    pointer-events: none;
}
body.portfolio-creative #creative-busy.creative-loader.d-none {
    display: none !important;
}
body.portfolio-creative #creative-busy.creative-loader .brand-mark {
    width: 20px; height: 26px; margin: 0; flex-shrink: 0;
}
body.portfolio-creative #creative-busy.creative-loader .creative-busy-text {
    font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
    color: var(--text-primary, var(--text, #13241a));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[dir="rtl"] body.portfolio-creative #creative-busy.creative-loader .creative-busy-text::before {
    content: attr(data-ar);
}
[dir="rtl"] body.portfolio-creative #creative-busy.creative-loader .creative-busy-text {
    font-size: 0;
}
[dir="rtl"] body.portfolio-creative #creative-busy.creative-loader .creative-busy-text::before {
    font-size: 0.8125rem;
}
body.portfolio-creative #creative-busy.creative-loader::after {
    content: ""; display: inline-block; width: 0.875rem; height: 0.875rem;
    flex-shrink: 0; border-radius: var(--radius-full, 9999px);
    border: 2px solid var(--creative-sage-soft);
    border-top-color: var(--creative-sage);
    animation: creative-ring-spin 0.8s linear infinite;
}
@keyframes creative-splash-fade {
    0% { opacity: 1; visibility: visible; }
    99% { opacity: 0; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}
@keyframes creative-ring-spin {
    to { transform: rotate(360deg); }
}
@media (min-width: 901px) {
    body.portfolio-creative #creative-busy.creative-loader {
        bottom: 1.25rem;
    }
}
@media (max-width: 768px) {
    body.portfolio-creative .portfolio-grid, body.portfolio-creative .skill-groups { grid-template-columns: 1fr; }
}
@media (max-width: 320px) {
    body.portfolio-creative .container { padding-inline: 16px; }
    body.portfolio-creative .project-card, body.portfolio-creative .skill-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    body.portfolio-creative .creative-splash {
        animation: none !important; opacity: 0 !important; visibility: hidden !important;
    }
    body.portfolio-creative #creative-busy.creative-loader::after {
        animation: none !important; transform: none !important;
    }
    body.portfolio-creative .hero-photo-frame:hover { transform: none !important; }
}
