/* ════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Cursor ── */
.cursor {
    width: 8px; height: 8px;
    background: var(--text-primary, #111);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
}
.cursor-follower {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.cursor.hovering { transform: scale(3); }
.cursor-follower.hovering { width: 60px; height: 60px; border-color: rgba(255,255,255,0.6); }

body {
    background: #fff;
    font-family: 'Inter', sans-serif;
    color: #111;
    overflow-x: hidden;
}

/* ── Nav ── */
.ab-nav {
    position: fixed;
    top: 24px;
    left: 28px;
    z-index: 100;
}

.ab-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 9px 18px 9px 14px;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
}
.ab-back-btn:hover {
    background: rgba(255,255,255,0.85);
    transform: translateX(-3px);
}
.ab-back-arrow {
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s;
}
.ab-back-btn:hover .ab-back-arrow {
    transform: translateX(-2px);
}

/* ── Hero ── */
.ab-hero {
    background: #E0C9BF;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px;
    overflow: hidden;
}

.ab-topo {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 90%;
    pointer-events: none;
    opacity: 0.7;
}

.ab-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.ab-hero-line {
    display: flex;
    align-items: baseline;
    gap: 18px;
    line-height: 1.1;
    margin-bottom: 8px;
    overflow: hidden;
}

.ab-sans {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
    display: block;
}

.ab-script {
    font-family: 'Caveat', cursive;
    font-size: clamp(50px, 7.5vw, 84px);
    font-weight: 600;
    color: #111;
    display: block;
    transform: translateY(4px);
}

.ab-hero-sub {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    max-width: 300px;
    margin-top: 28px;
    opacity: 0;
}

.ab-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.ab-scroll-dot {
    animation: ab-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes ab-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50%  { transform: translateY(10px); }
}

/* ── Bento Grid ── */
.ab-bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.ab-card {
    border: 1.5px solid #111;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    transform: translateY(24px);
}

/* Photo card: col 1, rows 1–2 */
.ab-card-photo {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    min-height: 420px;
}

.ab-photo-tag {
    position: absolute;
    top: 16px;
    left: 0;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    z-index: 2;
}

.ab-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.ab-photo-time {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 12px;
    border-radius: 3px;
    z-index: 2;
}

/* Me in brief: cols 2–3, row 1 */
.ab-card-brief {
    grid-column: 2 / 4;
    grid-row: 1;
    padding: 32px 36px;
}

.ab-card-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ab-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/* Music card: col 2, row 2 */
.ab-card-music {
    grid-column: 2;
    grid-row: 2;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ab-music-cover {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.ab-music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: vinyl-spin 7s linear infinite;
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ab-music-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.ab-music-bars span {
    display: block;
    width: 3px;
    background: #111;
    border-radius: 2px;
    animation: ab-bar 0.8s ease-in-out infinite alternate;
}
.ab-music-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.ab-music-bars span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.ab-music-bars span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.ab-music-bars span:nth-child(4) { height: 16px; animation-delay: 0.15s; }
.ab-music-bars span:nth-child(5) { height: 8px; animation-delay: 0.05s; }

@keyframes ab-bar {
    from { transform: scaleY(0.4); }
    to   { transform: scaleY(1); }
}

.ab-music-artist {
    font-size: 13px;
    color: #555;
}

.ab-music-track {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.ab-music-progress {
    width: 80%;
    height: 3px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.ab-music-bar {
    height: 100%;
    width: 60%;
    background: #111;
    border-radius: 2px;
}

.ab-music-time {
    font-size: 12px;
    color: #888;
    font-family: 'Space Mono', monospace;
}

/* Tools: col 3, row 2 */
.ab-card-tools {
    grid-column: 3;
    grid-row: 2;
    padding: 28px 24px;
}

.ab-marquee-track {
    margin-top: 20px;
    overflow: hidden;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-bottom: -28px;
    border-radius: 0;
    height: 72px;
    display: flex;
    align-items: center;
    background: #111;
    border-radius: 12px;
    padding: 0 16px;
}

.ab-marquee-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-shrink: 0;
    animation: ab-marquee 6s linear infinite;
}

.ab-marquee-track:hover .ab-marquee-inner {
    animation-play-state: paused;
}

.ab-tool-logo {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s;
}

.ab-tool-logo:hover { opacity: 1; }

@keyframes ab-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services: cols 1–2, row 3 */
.ab-card-services {
    grid-column: 1 / 3;
    grid-row: 3;
    padding: 32px 36px;
}

.ab-services-title {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 20px;
}

.ab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ab-tags span {
    background: #2a2a2a;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    cursor: default;
    transition: background 0.2s, transform 0.15s;
}

.ab-tags span:hover {
    background: #111;
    transform: translateY(-2px);
}

/* UX Quote image: col 3, row 3 */
.ab-card-ux {
    grid-column: 3;
    grid-row: 3;
    position: relative;
    min-height: 200px;
}

.ab-ux-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ab-ux-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 14px;
}

/* ── Manifesto + CTA ── */
.ab-manifesto {
    text-align: center;
    padding: 100px 40px 120px;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.ab-manifesto-text {
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.7;
    color: #111;
    font-weight: 500;
    margin-bottom: 60px;
}

.ab-cv-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    opacity: 0;
    transform: translateY(16px);
}

.ab-cv-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ── Contact override for about page ── */
.ab-bento ~ .contact {
    padding: 60px 80px;
}
.ab-bento ~ .contact .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
