/* ============================================================
   BERIN ÇALIŞIR — PAGE TEMPLATES CSS
   Hakkımda · CV · Portfolyo · Yazılar · Single · Studio
   Swiss International Typographic Style
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ════════════════════════════════════════════════════════════ */
.scroll-to-top {
    position: fixed;
    bottom: var(--sp-5);
    right: var(--sp-5);
    z-index: 150;
    width: 44px;
    height: 44px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--c-muted);
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), opacity var(--t-base), transform var(--t-base);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}
.scroll-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-to-top:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: var(--c-surface-2);
}
.scroll-to-top svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════
   FOOTER — Always visible. Animation as enhancement only.
   ════════════════════════════════════════════════════════════ */
.site-footer {
    /* Force visibility — no opacity:0 ever */
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-inner,
.footer-top-grid,
.footer-col,
.footer-logo,
.footer-tagline,
.footer-tagline-sub,
.footer-ethics,
.footer-heading,
.footer-nav-list,
.footer-nav-list li,
.footer-nav-list li a,
.social-nav-list li a,
.footer-email,
.footer-location,
.footer-bottom-bar,
.footer-copy,
.footer-bottom-right {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit;
}

/* Progressive entrance animation for watermark only */
.footer-watermark {
    animation: footerWatermark 1.2s ease 0.5s both;
}
@keyframes footerWatermark {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   LIGHT THEME FIXES
   ════════════════════════════════════════════════════════════ */
[data-theme="light"] .lang-switcher a,
[data-theme="light"] .lang-switcher span {
    color: #444444;
}
[data-theme="light"] .lang-switcher .lang-active,
[data-theme="light"] .lang-switcher a:hover {
    color: #0A0A0A;
}
[data-theme="light"] .site-header {
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(12px);
}
[data-theme="light"] .nav-list li a { color: #666; }
[data-theme="light"] .nav-list li a:hover,
[data-theme="light"] .nav-list li.current-menu-item > a { color: #0A0A0A; }
[data-theme="light"] .header-login-btn { color: #555; }
[data-theme="light"] .availability-badge { color: #555; }
[data-theme="light"] .custom-logo-link img { filter: none; }

/* Custom logo in light mode */
[data-theme="light"] .site-identity .custom-logo { filter: none; }

/* ════════════════════════════════════════════════════════════
   MICRO-INTERACTIONS — ALL BUTTONS & LINKS
   ════════════════════════════════════════════════════════════ */
.btn, a.btn {
    transition: background var(--t-base), color var(--t-base),
                border-color var(--t-base), transform 120ms ease,
                box-shadow 120ms ease;
}
.btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

/* Link underline micro-animation */
.footer-nav-list li a,
.social-nav-list li a,
.nav-list li a {
    position: relative;
    transition: color var(--t-fast), gap var(--t-base);
}

/* Input focus ring */
input:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* Badge pulse */
.availability-badge,
.availability-pill {
    transition: border-color var(--t-fast);
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE — "Hakkımda"
   Swiss Manifesto Style · Stagger Animations
   ════════════════════════════════════════════════════════════ */

.about-page { overflow-x: hidden; }

/* ── Hero ───────────────────────────────────────────────── */
.about-hero {
    padding: 6rem 0 5rem;
    border-bottom: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent calc(25% - 0.5px),
        rgba(255,255,255,0.015) calc(25%),
        rgba(255,255,255,0.015) calc(25% + 0.5px)
    );
    pointer-events: none;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-10);
    align-items: center;
}

.about-hero-text { max-width: 640px; }

.about-page-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 2rem;
    display: block;
    opacity: 0;
    animation: abt-fadeUp 0.6s forwards 0.2s;
}

.about-name {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--c-heading);
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15em;
}

.about-name-word {
    overflow: hidden;
    display: inline-block;
}

.about-name-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: abt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-name-word:nth-child(1) .about-name-inner { animation-delay: 0.3s; }
.about-name-word:nth-child(2) .about-name-inner { animation-delay: 0.45s; }
.about-name-word:nth-child(3) .about-name-inner { animation-delay: 0.6s; }

@keyframes abt-slideUp {
    to { transform: translateY(0); }
}

.about-role-line {
    font-size: var(--text-base);
    color: var(--c-muted);
    letter-spacing: 0.02em;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.8s;
    margin-bottom: 1.5rem;
}

.about-hero-rule {
    height: 1px;
    background: var(--c-border);
    transform-origin: left;
    transform: scaleX(0);
    animation: abt-lineGrow 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
    margin-bottom: 1.5rem;
}

@keyframes abt-lineGrow {
    to { transform: scaleX(1); }
}

.about-hero-bio {
    font-size: var(--text-lg);
    color: var(--c-muted);
    line-height: 1.7;
    max-width: 520px;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 1.1s;
    margin-bottom: 2rem;
}

.about-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 1.3s;
}

.about-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    text-decoration: none;
    transition: color var(--t-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.about-contact-link span {
    color: var(--c-accent);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.05em;
}
.about-contact-link:hover {
    color: var(--c-heading);
    border-bottom-color: var(--c-accent);
}

/* About photo */
.about-hero-photo {
    opacity: 0;
    animation: abt-fadeUp 1s forwards 0.6s;
}

.about-photo-wrap {
    position: relative;
    width: 320px;
    height: 400px;
}

.about-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(15%);
    transition: filter var(--t-slow);
}
.about-photo-wrap:hover .about-photo-img { filter: grayscale(0%); }

.about-photo-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--c-accent);
    border-style: solid;
    transition: width var(--t-base), height var(--t-base);
}
.about-photo-wrap:hover .about-photo-corner { width: 32px; height: 32px; }

.about-photo-corner--tl {
    top: -1px; left: -1px;
    border-width: 2px 0 0 2px;
}
.about-photo-corner--br {
    bottom: -1px; right: -1px;
    border-width: 0 2px 2px 0;
}

.about-photo-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    border: 1px solid var(--c-border);
    z-index: -1;
}

@keyframes abt-fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Content Sections ───────────────────────────────────── */
.about-content-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--c-border);
}

.about-content-section:last-of-type { border-bottom: none; }

.about-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-split {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--sp-8);
    align-items: start;
}

.about-split-label {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.as-num {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--c-border-light);
    line-height: 1;
    letter-spacing: -0.04em;
    display: block;
}

.as-name {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-muted);
    display: block;
}

.about-split-body { padding-top: 4px; }

.about-body-text {
    font-size: var(--text-lg);
    color: var(--c-body);
    line-height: 1.8;
    max-width: 620px;
}

.about-skills-text {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--c-muted);
    margin-top: var(--sp-3);
    line-height: 1.7;
}

/* ── Values Grid ────────────────────────────────────────── */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--c-border);
    border: 1px solid var(--c-border);
}

.about-value-item {
    background: var(--c-bg);
    padding: var(--sp-4) var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    transition: background var(--t-fast);
    cursor: default;
    animation: abt-fadeUp 0.5s forwards calc(0.1s * var(--i, 0));
    opacity: 0;
}
.about-value-item.is-visible {
    animation: abt-fadeUp 0.5s forwards calc(0.08s * var(--i, 0));
}

.about-value-item:hover { background: var(--c-surface); }

.av-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-accent);
    letter-spacing: 0.08em;
}

.av-text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--c-heading);
}

/* ── Experience List ────────────────────────────────────── */
.about-exp-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-exp-item {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--c-border);
    align-items: start;
    transition: background var(--t-fast);
}
.about-exp-item:first-child { border-top: 1px solid var(--c-border); }
.about-exp-item:hover { background: var(--c-surface); padding-left: var(--sp-3); margin-left: calc(-1 * var(--sp-3)); padding-right: var(--sp-3); margin-right: calc(-1 * var(--sp-3)); }

.aei-meta { padding-top: 2px; }

.aei-years {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-accent);
    letter-spacing: 0.04em;
    display: block;
}

.aei-role {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--c-heading);
    margin: 0 0 4px;
}

.aei-place {
    font-size: var(--text-sm);
    color: var(--c-muted);
    margin: 0 0 4px;
}

.aei-desc {
    font-size: var(--text-sm);
    color: var(--c-muted);
    line-height: 1.6;
    margin: 0;
}

.aei-actions {
    display: flex;
    gap: var(--sp-1);
    flex-shrink: 0;
    padding-top: 2px;
}

.about-empty-note {
    color: var(--c-muted);
    font-size: var(--text-sm);
    padding: var(--sp-4) 0;
    font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   CV PAGE — Swiss Typographic Timeline
   ════════════════════════════════════════════════════════════ */

.cv-page { overflow-x: hidden; }

/* ── CV Cover ───────────────────────────────────────────── */
.cv-cover-section {
    padding: 6rem 0 5rem;
    border-bottom: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}

.cv-cover-section::after {
    content: 'CV';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 16rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.cv-cover-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-8);
    align-items: end;
}

.cv-year-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: abt-fadeUp 0.6s forwards 0.2s;
}

.cv-hero-name {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--c-heading);
    margin: 0 0 1rem;
    overflow: hidden;
}

.cv-name-line {
    display: block;
    transform: translateY(110%);
    animation: abt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cv-name-line:nth-child(1) { animation-delay: 0.3s; }
.cv-name-line:nth-child(2) { animation-delay: 0.5s; }

.cv-hero-role {
    font-size: var(--text-base);
    color: var(--c-muted);
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.8s;
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.5;
}

.cv-meta-grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 1s;
}

.cv-meta-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    text-decoration: none;
    transition: color var(--t-fast);
}
.cv-meta-row:hover { color: var(--c-heading); }

.cv-meta-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--c-border);
    font-size: 9px;
    font-weight: 700;
    color: var(--c-accent);
    flex-shrink: 0;
    letter-spacing: 0;
}

.cv-cover-actions {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 1.2s;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent);
    color: white;
    padding: 13px 28px;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background var(--t-base), transform var(--t-fast);
    border: 1px solid var(--c-accent);
}
.cv-download-btn:hover {
    background: var(--c-accent-hover);
    color: white;
    transform: translateY(-2px);
}

.cv-cover-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-3);
    opacity: 0;
    animation: abt-fadeUp 0.8s forwards 0.5s;
}

.cv-side-num {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--c-border-light);
    line-height: 1;
    letter-spacing: -0.06em;
}

/* ── CV Timeline ────────────────────────────────────────── */
.cv-content-area {
    padding: var(--sp-10) 0;
}

.cv-section-block {
    margin-bottom: var(--sp-12);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.cv-section-block.is-visible { opacity: 1; transform: translateY(0); }

.cv-section-head {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.cv-section-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width 0.8s ease;
}

.cv-section-block.is-visible .cv-section-head::after {
    width: 60px;
}

.cv-sec-num {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.cv-sec-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--c-heading);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Timeline */
.cv-timeline {
    position: relative;
    padding-left: var(--sp-6);
}

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--c-border);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s ease;
}
.cv-section-block.is-visible .cv-timeline::before {
    transform: scaleY(1);
}

.cv-entry {
    position: relative;
    padding-bottom: var(--sp-6);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--sp-4);
    align-items: start;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cv-entry.is-visible { opacity: 1; transform: translateX(0); }

.cv-entry::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--sp-6));
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    transition: background var(--t-fast), border-color var(--t-fast);
}
.cv-entry:hover::before {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.cv-entry-years {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-accent);
    letter-spacing: 0.04em;
    padding-top: 2px;
    white-space: nowrap;
}

.cv-entry-role {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--c-heading);
    margin: 0 0 4px;
}

.cv-entry-place {
    font-size: var(--text-sm);
    color: var(--c-muted);
    margin: 0 0 8px;
}

.cv-entry-desc {
    font-size: var(--text-sm);
    color: var(--c-muted);
    line-height: 1.6;
    margin: 0;
}

.cv-entry-actions {
    display: flex;
    gap: var(--sp-1);
    margin-top: var(--sp-2);
}

/* Skills section */
.cv-skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
}

.cv-skill-pill {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    transition: border-color var(--t-fast), color var(--t-fast);
    cursor: default;
}
.cv-skill-pill:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

/* CV Education */
.cv-edu-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.cv-edu-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--c-border);
}
.cv-edu-item:last-child { border-bottom: none; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO / PROJELER PAGE — Editorial Asymmetric
   ════════════════════════════════════════════════════════════ */

.portfolio-page { overflow-x: hidden; }

.portfolio-hero {
    padding: 5rem 0 3rem;
    position: relative;
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
}

.portfolio-bg-num {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.06em;
}

.page-label-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 2rem;
    display: block;
    opacity: 0;
    animation: abt-fadeUp 0.6s forwards 0.15s;
}

.portfolio-hero-title-wrap {
    overflow: hidden;
    margin-bottom: var(--sp-5);
}

.portfolio-hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--c-heading);
    margin: 0;
    overflow: hidden;
}

.portfolio-hero-title .phi-inner {
    display: block;
    transform: translateY(110%);
    animation: abt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}

.portfolio-hero-title--alt { color: var(--c-muted); }
.portfolio-hero-title--alt .phi-inner { animation-delay: 0.5s; }

/* Filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    margin: var(--sp-5) 0 var(--sp-6);
}

.filter-count {
    font-family: var(--font-mono);
    font-size: 10px;
    opacity: 0.6;
    margin-left: 4px;
}

/* Project editorial list */
.portfolio-editorial {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 60px 280px 1fr auto;
    align-items: center;
    gap: var(--sp-5);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--c-border);
    text-decoration: none;
    color: inherit;
    transition: background var(--t-fast), padding var(--t-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.portfolio-row:first-child { border-top: 1px solid var(--c-border); }

.portfolio-row::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--c-accent);
    transition: width 0.3s ease;
}

.portfolio-row:hover { background: var(--c-surface); padding-left: var(--sp-3); }
.portfolio-row:hover::after { width: 2px; }

.pr-num {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-border-light);
    letter-spacing: 0.06em;
    transition: color var(--t-fast);
}
.portfolio-row:hover .pr-num { color: var(--c-accent); }

.pr-image {
    width: 280px;
    height: 170px;
    overflow: hidden;
    background: var(--c-surface-2);
    flex-shrink: 0;
    position: relative;
}

.pr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    display: block;
}
.portfolio-row:hover .pr-image img {
    transform: scale(1.05);
    opacity: 0.85;
}

.pr-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--c-border-light);
    font-weight: 700;
}

.pr-overlay {
    position: absolute;
    inset: 0;
    background: rgba(130,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t-base);
}
.portfolio-row:hover .pr-overlay { opacity: 1; }

.pr-overlay span {
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pr-info { padding: var(--sp-1) 0; }

.pr-year {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-accent);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: var(--sp-1);
}

.pr-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--c-heading);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 var(--sp-1);
    transition: color var(--t-fast);
}
.portfolio-row:hover .pr-title { color: var(--c-accent); }

.pr-meta {
    font-size: var(--text-xs);
    color: var(--c-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pr-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-2);
    flex-shrink: 0;
}

.pr-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-base);
}
.portfolio-row:hover .pr-arrow {
    border-color: var(--c-accent);
    color: var(--c-accent);
    transform: translate(2px, -2px);
}

.pr-be {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 2px 6px;
    text-decoration: none;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.pr-be:hover { color: var(--c-accent); border-color: var(--c-accent); }

/* Empty state */
.portfolio-empty {
    padding: var(--sp-10) 0;
    text-align: center;
    border: 1px dashed var(--c-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
}

/* ════════════════════════════════════════════════════════════
   BLOG / YAZILLAR PAGE — Editorial Layout
   ════════════════════════════════════════════════════════════ */

.blog-listing-page { overflow-x: hidden; }

.blog-hero {
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent calc(33.33% - 0.5px),
        rgba(255,255,255,0.02) calc(33.33%),
        rgba(255,255,255,0.02) calc(33.33% + 0.5px)
    );
    pointer-events: none;
}

.blog-hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--c-heading);
    margin: 0;
    overflow: hidden;
}

.blog-hero-title .bht-inner {
    display: block;
    transform: translateY(110%);
    animation: abt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.blog-hero-title--sub { color: var(--c-muted); }
.blog-hero-title--sub .bht-inner { animation-delay: 0.5s; }

.blog-hero-sub {
    font-size: var(--text-base);
    color: var(--c-muted);
    margin-top: 1.5rem;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.8s;
    max-width: 500px;
}

/* Filter */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    margin: var(--sp-5) 0;
}

/* Featured Post */
.post-card--featured {
    grid-column: 1 / -1;
}

.post-card--featured .post-card-image {
    aspect-ratio: 21 / 9;
}

.post-card--featured .post-card-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
}

/* Post card entrance animation */
.post-card {
    opacity: 0;
    transform: translateY(16px);
    animation: abt-fadeUp var(--t-slow) forwards;
    animation-delay: calc(0.1s * var(--card-i, 0));
}

.post-card.is-visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   SINGLE POST — Enhanced
   ════════════════════════════════════════════════════════════ */

/* Reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--c-accent);
    z-index: calc(var(--z-header) + 5);
    transition: width 0.1s linear;
}

.single-post { padding-top: var(--sp-8); }

.post-header-area {
    max-width: 760px;
    margin: 0 auto var(--sp-6);
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.2s;
}

.post-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--sp-3);
}

.post-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-4);
    color: var(--c-heading);
}

.post-header-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--c-border);
    font-size: var(--text-sm);
    color: var(--c-muted);
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   SINGLE PROJECT — Enhanced
   ════════════════════════════════════════════════════════════ */

.project-hero-image {
    position: relative;
    overflow: hidden;
    max-height: 65vh;
}

.project-hero-image img {
    width: 100%;
    height: 65vh;
    object-fit: cover;
    opacity: 0;
    animation: abt-fadeUp 1s forwards 0.1s;
}

.project-hero-caption {
    position: absolute;
    bottom: var(--sp-4);
    left: var(--sp-5);
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.single-project .container {
    padding-top: var(--sp-8);
}

.single-project-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-8);
    align-items: start;
}

.project-content-area {
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.3s;
}

.project-details-sticky {
    position: sticky;
    top: 100px;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.5s;
}

/* ════════════════════════════════════════════════════════════
   STUDIO DASHBOARD — Frontend CMS
   Complete redesign
   ════════════════════════════════════════════════════════════ */

.studio-page { padding: var(--sp-8) 0 var(--sp-12); }

.studio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: var(--sp-6);
    gap: var(--sp-4);
}

.studio-page-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-accent);
    display: block;
    margin-bottom: var(--sp-1);
}

.studio-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--c-heading);
    margin: 0;
}

.studio-user-info {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--c-muted);
}

/* Studio Tab Navigation */
.studio-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: var(--sp-6);
    overflow-x: auto;
    scrollbar-width: none;
}
.studio-tabs::-webkit-scrollbar { display: none; }

.studio-tab-btn {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    padding: var(--sp-2) var(--sp-4);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--t-fast), border-color var(--t-fast);
    margin-bottom: -1px;
}
.studio-tab-btn:hover { color: var(--c-heading); }
.studio-tab-btn.is-active {
    color: var(--c-heading);
    border-bottom-color: var(--c-accent);
}

.studio-tab-panel { display: none; }
.studio-tab-panel.is-active { display: block; }

/* Studio Section Header */
.studio-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.studio-section-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--c-heading);
    margin: 0;
}

/* Studio item table */
.studio-items-list {
    border: 1px solid var(--c-border);
    border-radius: 2px;
    overflow: hidden;
}

.studio-item-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: var(--sp-3);
    padding: 14px var(--sp-3);
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg);
    transition: background var(--t-fast);
}
.studio-item-row:last-child { border-bottom: none; }
.studio-item-row:hover { background: var(--c-surface); }

.studio-item-thumb {
    width: 48px;
    height: 36px;
    background: var(--c-surface-2);
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}
.studio-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-item-info { min-width: 0; }
.studio-item-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--c-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.studio-item-sub {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    display: block;
}

.studio-item-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
    flex-shrink: 0;
    white-space: nowrap;
}
.badge--publish { background: rgba(34,197,94,0.1); color: #22c55e; }
.badge--draft   { background: rgba(255,165,0,0.1);  color: #ffa500; }
.badge--private { background: rgba(130,0,0,0.1);    color: var(--c-accent); }

.studio-item-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.studio-icon-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    background: none;
    color: var(--c-muted);
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.studio-icon-btn:hover { color: var(--c-heading); border-color: var(--c-border-light); }
.studio-icon-btn.studio-icon-btn--danger:hover { color: var(--c-accent); border-color: var(--c-accent); }

/* Studio quick cards */
.studio-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
}

.studio-quick-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    padding: var(--sp-3);
    transition: border-color var(--t-fast), transform var(--t-fast);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}
.studio-quick-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.studio-quick-card:hover .sqc-icon { color: var(--c-accent); }

.sqc-icon {
    font-size: 1.25rem;
    color: var(--c-border-light);
    transition: color var(--t-fast);
    display: block;
    flex-shrink: 0;
}
.sqc-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-heading);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sqc-sub {
    font-size: 11px;
    color: var(--c-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* Studio availability toggle */
.studio-availability-toggle {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    margin-bottom: var(--sp-4);
    flex-wrap: nowrap;
    min-width: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.studio-availability-toggle[data-status="available"] {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.04);
}
.studio-availability-toggle[data-status="unavailable"] {
    border-color: rgba(130, 0, 0, 0.35);
    background: rgba(130, 0, 0, 0.03);
}
/* Kart içindeki buton — taşmasın */
.studio-quick-grid .studio-availability-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    margin-bottom: 0;
    min-height: 110px;
}
.studio-quick-grid .studio-availability-toggle .studio-avail-toggle-btn {
    margin-left: 0 !important;
    align-self: stretch;
    margin-top: auto;
    text-align: center;
}
.studio-quick-grid .studio-availability-toggle > div {
    flex: 1;
}

.avail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
.avail-dot--available { background: #22c55e; }
.avail-dot--unavailable { background: var(--c-accent); }

.avail-status-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-heading);
    flex: 1;
}

/* ════════════════════════════════════════════════════════════
   STUDIO MODAL
   ════════════════════════════════════════════════════════════ */

.studio-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001; /* WP admin bar is 99999, modal must be above it */
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    padding-top: calc(var(--sp-4) + 32px); /* account for admin bar */
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base);
}
.studio-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.studio-modal-inner {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-accent);
    border-radius: 2px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform var(--t-base);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.studio-modal-overlay.is-open .studio-modal-inner {
    transform: none;
}

.studio-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--c-border);
}

.studio-modal-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--c-heading);
    margin: 0;
    letter-spacing: -0.02em;
}

.studio-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    background: var(--c-surface-2);
    color: var(--c-heading);
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
    flex-shrink: 0;
}
.studio-modal-close:hover { color: var(--c-accent); border-color: var(--c-accent); background: rgba(130,0,0,0.1); }

.studio-modal-body {
    padding: var(--sp-5);
}

.studio-modal-footer {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--c-border);
    display: flex;
    gap: var(--sp-2);
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Form fields in modal */
.sm-field {
    margin-bottom: var(--sp-4);
}
.sm-field label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 6px;
}
.sm-field input[type="text"],
.sm-field input[type="url"],
.sm-field input[type="email"],
.sm-field input[type="number"],
.sm-field textarea,
.sm-field select {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    color: var(--c-heading);
    padding: 11px 14px;
    border-radius: 2px;
    font-size: var(--text-sm);
    font-family: inherit;
    transition: border-color var(--t-fast);
    outline: none;
    resize: vertical;
}
.sm-field input:focus,
.sm-field textarea:focus,
.sm-field select:focus { border-color: var(--c-accent); }
.sm-field textarea { min-height: 100px; }

.sm-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
}

.sm-upload-area {
    border: 2px dashed var(--c-border);
    border-radius: 2px;
    padding: var(--sp-5);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.sm-upload-area:hover { border-color: var(--c-accent); background: rgba(130,0,0,0.03); }

.sm-upload-area input[type="file"] { display: none; }

.sm-upload-label {
    font-size: var(--text-sm);
    color: var(--c-muted);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
}

.sm-upload-icon { color: var(--c-border-light); font-size: 2rem; }

.sm-preview-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    display: none;
    margin: 0 auto var(--sp-2);
}

.sm-toast {
    position: fixed;
    bottom: var(--sp-5);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    padding: 12px var(--sp-4);
    font-size: var(--text-sm);
    color: var(--c-body);
    z-index: calc(var(--z-modal) + 10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--t-base), transform var(--t-base);
}
.sm-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.sm-toast--success { border-color: #22c55e; color: #86efac; }
.sm-toast--error { border-color: var(--c-accent); color: #ffaaaa; }

/* Studio inline edit buttons */
.studio-inline-edit,
.studio-inline-delete,
.studio-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 3px 10px;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.studio-inline-edit:hover { color: var(--c-heading); border-color: var(--c-border-light); }
.studio-inline-delete:hover { color: var(--c-accent); border-color: var(--c-accent); }
.studio-add-btn {
    color: var(--c-accent);
    border-color: var(--c-accent);
}
.studio-add-btn:hover { background: rgba(130,0,0,0.1); }

/* Studio delete confirm */
.studio-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) + 5);
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-fast);
}
.studio-confirm-overlay.is-open { opacity: 1; pointer-events: auto; }

.studio-confirm-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-top: 2px solid var(--c-accent);
    border-radius: 2px;
    padding: var(--sp-5);
    max-width: 380px;
    width: 100%;
    text-align: center;
}

.studio-confirm-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: var(--sp-2);
}

.studio-confirm-text {
    font-size: var(--text-sm);
    color: var(--c-muted);
    margin-bottom: var(--sp-4);
}

.studio-confirm-btns {
    display: flex;
    gap: var(--sp-2);
    justify-content: center;
}

/* Studio empty state */
.studio-empty-state {
    padding: var(--sp-8) var(--sp-4);
    text-align: center;
    border: 1px dashed var(--c-border);
    border-radius: 2px;
    color: var(--c-muted);
    font-size: var(--text-sm);
}

/* Hero image preview in studio */
.studio-hero-img-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border: 1px solid var(--c-border);
    margin-bottom: var(--sp-3);
    display: none;
}
.studio-hero-img-preview.has-img { display: block; }

/* ════════════════════════════════════════════════════════════
   HERO IMAGE (Front Page)
   ════════════════════════════════════════════════════════════ */

.hero-with-image .hero-inner {
    grid-template-columns: 1fr 360px;
}

.hero-img-wrap {
    position: relative;
    width: 360px;
    height: 460px;
    flex-shrink: 0;
    opacity: 0;
    animation: abt-fadeUp 1s forwards 0.5s;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(10%);
    transition: filter var(--t-slow);
}
.hero-img-wrap:hover img { filter: grayscale(0%); }

.hero-img-frame-tl,
.hero-img-frame-br {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--c-accent);
    border-style: solid;
    transition: width 0.3s ease, height 0.3s ease;
}
.hero-img-frame-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-img-frame-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-img-wrap:hover .hero-img-frame-tl,
.hero-img-wrap:hover .hero-img-frame-br { width: 40px; height: 40px; }

.hero-img-caption {
    position: absolute;
    bottom: var(--sp-3);
    right: calc(-1 * var(--sp-4));
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--c-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Pages
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-photo { display: none; }
    .about-split { grid-template-columns: 120px 1fr; gap: var(--sp-5); }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    
    .cv-cover-grid { grid-template-columns: 1fr; }
    .cv-cover-right { display: none; }
    
    .portfolio-row { grid-template-columns: 40px 200px 1fr auto; }
    .pr-image { width: 200px; height: 130px; }
    
    .single-project-layout { grid-template-columns: 1fr; }
    .project-details-sticky { position: static; }

    .hero-with-image .hero-inner { grid-template-columns: 1fr; }
    .hero-img-wrap { display: none; }
}

@media (max-width: 768px) {
    .about-split { grid-template-columns: 1fr; }
    .about-split-label { flex-direction: row; align-items: center; justify-content: space-between; position: static; }
    .as-num { font-size: 1.5rem; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    
    .about-exp-item { grid-template-columns: 1fr; gap: var(--sp-2); }
    
    .cv-timeline { padding-left: var(--sp-4); }
    .cv-entry { grid-template-columns: 1fr; gap: var(--sp-2); }
    .cv-entry::before { left: calc(-1 * var(--sp-4)); }
    
    .portfolio-row {
        grid-template-columns: 1fr auto;
        gap: var(--sp-3);
    }
    .pr-num { display: none; }
    .pr-image { display: none; }
    .pr-meta { display: none; }
    
    .studio-tabs { gap: 0; }
    .studio-tab-btn { padding: var(--sp-2); font-size: 10px; }
    
    .sm-field-row { grid-template-columns: 1fr; }
    .studio-item-row { grid-template-columns: 1fr auto; }
    .studio-item-thumb { display: none; }
    .studio-item-badge { display: none; }
    
    .about-hero { padding: 4rem 0 3rem; }
    .cv-cover-section { padding: 4rem 0 3rem; }
    .portfolio-hero { padding: 3rem 0 2rem; }
    .blog-hero { padding: 3rem 0 2.5rem; }
}

@media (max-width: 480px) {
    .about-name { font-size: 2.8rem; }
    .portfolio-hero-title { font-size: 2.5rem; }
    .blog-hero-title { font-size: 2.5rem; }
    .cv-hero-name { font-size: 2.5rem; }
    .scroll-to-top { bottom: var(--sp-3); right: var(--sp-3); }
}


/* ════════════════════════════════════════════════════════════
   SINGLE PROJECT PAGE — Complete Redesign
   ════════════════════════════════════════════════════════════ */

.single-project-page { overflow-x: hidden; }

/* Reading progress */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--c-accent);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Hero ───────────────────────────────────────────────── */
.sp-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--c-border);
}

.sp-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: grayscale(15%);
    animation: spHeroReveal 1.2s ease forwards;
}

@keyframes spHeroReveal {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: scale(1); }
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.5) 50%,
        rgba(10,10,10,0.15) 100%
    );
}

/* No hero image fallback */
.sp-hero:not(:has(.sp-hero-image)) {
    min-height: auto;
    padding: 6rem 0 4rem;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}

.sp-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: var(--sp-8);
    padding-top: var(--sp-10);
}

.sp-hero:not(:has(.sp-hero-image)) .sp-hero-content {
    padding-top: 0;
}

/* Back link */
.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-bottom: var(--sp-3);
    transition: color var(--t-fast), gap var(--t-fast);
}
.sp-back:hover { color: white; gap: 10px; }
.sp-hero:not(:has(.sp-hero-image)) .sp-back { color: var(--c-muted); }
.sp-hero:not(:has(.sp-hero-image)) .sp-back:hover { color: var(--c-heading); }

/* Types */
.sp-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--sp-3);
    animation: abt-fadeUp 0.6s forwards 0.3s;
    opacity: 0;
}

.sp-type-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent);
    border: 1px solid rgba(130,0,0,0.4);
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(130,0,0,0.1);
}

/* Title */
.sp-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--c-heading);
    margin: 0 0 var(--sp-4);
    animation: abt-slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    transform: translateY(30px);
    opacity: 0;
    max-width: 800px;
}

.sp-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.6);
    animation: abt-fadeUp 0.7s forwards 0.5s;
    opacity: 0;
}
.sp-hero:not(:has(.sp-hero-image)) .sp-meta-row { color: var(--c-muted); }

.sp-meta-k {
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 9px;
    margin-right: 3px;
}

.sp-meta-sep { opacity: 0.3; }

/* ── Layout ─────────────────────────────────────────────── */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-10);
    align-items: start;
    padding-top: var(--sp-8);
    padding-bottom: var(--sp-12);
}

.sp-body {
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.4s;
}

.sp-content {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--c-body);
    margin-bottom: var(--sp-8);
}

.sp-content > * + * { margin-top: 1.5em; }

/* Admin bar */
.sp-admin-bar {
    margin-bottom: var(--sp-6);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--c-border);
    display: flex;
    gap: var(--sp-2);
}

/* Prev/Next pagination */
.sp-pagination {
    margin-top: var(--sp-8);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--c-border);
}

.sp-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.sp-nav-prev, .sp-nav-next {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}
.sp-nav-next { align-items: flex-end; text-align: right; }

.sp-nav-dir {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.sp-nav-next .sp-nav-dir { justify-content: flex-end; }

.sp-nav-title a {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--c-heading);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--t-fast);
    display: block;
}
.sp-nav-title a:hover { color: var(--c-accent); }

/* ── Sidebar ─────────────────────────────────────────────── */
.sp-sidebar {
    position: sticky;
    top: 100px;
    opacity: 0;
    animation: abt-fadeUp 0.7s forwards 0.6s;
}

.sp-details-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-top: 2px solid var(--c-accent);
    border-radius: 2px;
    overflow: hidden;
}

.sp-details-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
    padding: var(--sp-3) var(--sp-3) var(--sp-2);
    border-bottom: 1px solid var(--c-border);
}

.sp-details-list {
    display: flex;
    flex-direction: column;
}

.sp-detail {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px solid var(--c-border);
    align-items: start;
}
.sp-detail:last-child { border-bottom: none; }

.sp-detail dt {
    font-size: var(--text-xs);
    color: var(--c-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.sp-detail dd {
    font-size: var(--text-sm);
    color: var(--c-body);
    line-height: 1.5;
}

.sp-detail-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sp-tool-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 2px 7px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.sp-behance-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-accent);
    color: white;
    text-decoration: none;
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: var(--sp-3);
    border-radius: 2px;
    transition: background var(--t-base), transform var(--t-fast);
}
.sp-behance-btn:hover { background: var(--c-accent-hover); color: white; transform: translateY(-1px); }

.sp-sidebar-footer {
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    border-top: 1px solid var(--c-border);
}

.sp-all-link {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    text-decoration: none;
    transition: color var(--t-fast);
    letter-spacing: 0.04em;
}
.sp-all-link:hover { color: var(--c-accent); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .sp-layout { grid-template-columns: 1fr; gap: var(--sp-6); }
    .sp-sidebar { position: static; order: -1; }
    .sp-hero { min-height: 45vh; }
}

@media (max-width: 640px) {
    .sp-title { font-size: 2.2rem; }
    .sp-nav-grid { grid-template-columns: 1fr; }
    .sp-nav-next { align-items: flex-start; text-align: left; }
}

/* ════════════════════════════════════════════════════════════
   STUDIO PAGE — Ping Test + Better Layout
   ════════════════════════════════════════════════════════════ */

.studio-ping-bar {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 2px;
    margin-bottom: var(--sp-4);
    font-size: var(--text-xs);
    color: var(--c-muted);
}

.studio-ping-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-border-light);
    flex-shrink: 0;
    transition: background var(--t-base);
}
.studio-ping-dot--ok     { background: #22c55e; }
.studio-ping-dot--error  { background: var(--c-accent); }
.studio-ping-dot--testing { animation: pulse 1s ease-in-out infinite; background: #ffa500; }

.studio-ping-text { flex: 1; }

.studio-ping-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 3px 10px;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.studio-ping-btn:hover { color: var(--c-heading); border-color: var(--c-border-light); }

/* Studio availability toggle improvement */
.studio-availability-toggle .avail-status-text {
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
}

/* Studio tabs scrollable */
.studio-tabs {
    -webkit-overflow-scrolling: touch;
}

/* Studio item row improvement */
.studio-item-row {
    cursor: default;
}

/* ════════════════════════════════════════════════════════════
   GLOBAL MICRO-INTERACTIONS v2.3
   ════════════════════════════════════════════════════════════ */

/* Link hover arrow animation */
.about-contact-link svg,
.sp-back svg {
    transition: transform var(--t-fast);
}
.about-contact-link:hover svg { transform: translateX(3px); }
.sp-back:hover svg { transform: translateX(-3px); }

/* Button press feedback */
.btn:active,
.filter-btn:active,
.studio-add-btn:active,
.studio-inline-edit:active {
    transform: scale(0.97) !important;
}

/* Nav item hover underline */
.nav-list li a {
    position: relative;
}
.nav-list li a::after {
    transition: width var(--t-base);
}

/* Post card hover */
.post-card {
    transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.post-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

/* Value items hover */
.about-value-item {
    transition: background var(--t-fast), padding var(--t-fast);
}
.about-value-item:hover {
    background: var(--c-surface);
    padding-left: var(--sp-2);
}

/* CV skill pill hover */
.cv-skill-pill {
    transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.cv-skill-pill:hover { transform: translateY(-2px); }

/* Portfolio row number animation */
.pr-num {
    transition: color var(--t-fast), font-size var(--t-base);
}
.portfolio-row:hover .pr-num {
    font-size: var(--text-base);
    color: var(--c-accent);
}

/* Project title slide */
.pr-title {
    transition: color var(--t-fast), letter-spacing var(--t-base);
}
.portfolio-row:hover .pr-title {
    letter-spacing: -0.025em;
}

/* Footer ethics dot bigger on hover */
.footer-ethics:hover .ethics-dot {
    transform: scale(1.5);
}
.ethics-dot {
    transition: transform var(--t-base);
}


/* ════════════════════════════════════════════════════════════
   SEARCH OVERLAY — Minimalist, Swiss design
   ════════════════════════════════════════════════════════════ */

/* Header search button */
.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
	border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 2px;
    color: var(--c-heading);
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
    flex-shrink: 0;
}
.header-search-btn:hover { color: var(--c-heading); border-color: var(--c-border-light); }
.header-search-btn[aria-expanded="true"] { color: var(--c-accent); border-color: var(--c-accent); }

/* Search overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 100002;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }

.search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 var(--sp-4);
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-overlay.is-open .search-overlay-inner { transform: translateY(0); }

/* Input area */
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    border-bottom: 1px solid var(--c-border-light);
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.search-icon-big { color: var(--c-muted); flex-shrink: 0; }

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--c-heading);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    caret-color: var(--c-accent);
}
.search-input::placeholder { color: var(--c-muted); }

.search-kbd {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

/* Close button */
.search-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    z-index: 1;
}
.search-close:hover { color: white; border-color: rgba(255,255,255,0.4); }

/* Search hints / status */
.search-hint,
.search-no-results,
.search-count {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--c-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: var(--sp-4) 0;
}

.search-count { text-align: left; padding: var(--sp-2) 0 0; }

/* Loading dots */
.search-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: var(--sp-5) 0;
}
.search-loading span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    animation: searchDot 1.2s ease-in-out infinite;
}
.search-loading span:nth-child(2) { animation-delay: 0.2s; }
.search-loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes searchDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Results list */
.search-result-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.search-result-item {
    border-bottom: 1px solid var(--c-border);
    animation: abt-fadeUp 0.4s forwards;
    opacity: 0;
}
.search-result-item:nth-child(1) { animation-delay: 0.05s; }
.search-result-item:nth-child(2) { animation-delay: 0.10s; }
.search-result-item:nth-child(3) { animation-delay: 0.15s; }
.search-result-item:nth-child(4) { animation-delay: 0.20s; }
.search-result-item:nth-child(n+5) { animation-delay: 0.25s; }

.search-result-link {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-2);
    text-decoration: none;
    color: var(--c-body);
    transition: background var(--t-fast), padding-left var(--t-fast);
    border-radius: 2px;
}
.search-result-link:hover { background: var(--c-surface); padding-left: var(--sp-3); color: var(--c-heading); }

.search-result-thumb {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    background: var(--c-surface-2);
}

.search-result-icon {
    width: 56px;
    height: 40px;
    flex-shrink: 0;
    background: var(--c-surface);
    border-radius: 2px;
    border: 1px solid var(--c-border);
}

.search-result-body { flex: 1; min-width: 0; }

.search-result-title {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--c-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-excerpt {
    display: block;
    font-size: var(--text-sm);
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-type {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-accent);
    border: 1px solid rgba(130,0,0,0.3);
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Search responsiveness */
@media (max-width: 640px) {
    .search-overlay { padding-top: 60px; }
    .search-input { font-size: 1.5rem; }
    .search-kbd { display: none; }
}

/* ════════════════════════════════════════════════════════════
   AVAILABILITY BADGE — v2.4 fixes
   ════════════════════════════════════════════════════════════ */

/* Unavailable: NO pulsing animation */
.availability-badge--unavailable .badge-dot,
.availability-pill--unavailable .pill-dot {
    background: var(--c-accent);
    animation: none !important; /* static red dot */
}

/* Available: green pulsing */
.availability-badge--available .badge-dot,
.availability-pill--available .pill-dot {
    background: #22c55e;
    animation: pulse-green 2.5s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════
   EASTER EGG CLOSE BUTTON FIX
   ════════════════════════════════════════════════════════════ */

#easter-egg-overlay .ee-close {
    color: rgba(255,255,255,0.8) !important;
    background: rgba(0,0,0,0.4) !important;
    border-color: rgba(255,255,255,0.2) !important;
    z-index: 100;
}
#easter-egg-overlay .ee-close:hover {
    color: white !important;
    border-color: rgba(255,255,255,0.5) !important;
    background: rgba(130,0,0,0.3) !important;
}
#easter-egg-overlay .ee-close svg {
    display: block !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    width: 18px !important;
    height: 18px !important;
}

/* ════════════════════════════════════════════════════════════
   FOOTER ANIMATION — Stagger on in-view
   ════════════════════════════════════════════════════════════ */

.site-footer .footer-col {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.site-footer.in-view .footer-col:nth-child(1) {
    animation: footerColReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}
.site-footer.in-view .footer-col:nth-child(2) {
    animation: footerColReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}
.site-footer.in-view .footer-col:nth-child(3) {
    animation: footerColReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

@keyframes footerColReveal {
    from { opacity: 0.7; transform: translateY(12px); }
    to   { opacity: 1;   transform: translateY(0); }
}

/* CV PDF loading fix */
.cv-pdf-loading { display: none !important; }

/* Hide "Giriş" nav menu item for logged-in users */
.logged-in .nav-list li a[href*="giris"],
.logged-in .nav-list li a[href*="/login"] {
    display: none;
}
.logged-in .nav-list li:has(a[href*="giris"]),
.logged-in .nav-list li:has(a[href*="/login"]) {
    display: none;
}
