/* ============================================
   ABOUT PAGE — REDESIGNED
   Editorial layout, bento grid, typography-driven
   Uses hero design system for dark/light consistency
   ============================================ */

/* ---- 0. Page-level theme — match homepage ---- */
body:has(.about-hero) {
    background: var(--hero-bg);
    color: var(--hero-text);
}

body:has(.about-hero) h1,
body:has(.about-hero) h2,
body:has(.about-hero) h3,
body:has(.about-hero) h4 {
    color: var(--hero-text);
}

body:has(.about-hero) p {
    color: var(--hero-text-secondary);
}

/* Navbar overrides — same as homepage */
body:has(.about-hero) .navbar:not(.scrolled) .navbar__link,
body:has(.about-hero) .navbar:not(.scrolled) .navbar__email,
body:has(.about-hero) .navbar:not(.scrolled) .navbar__btn {
    color: var(--hero-text-label);
}

body:has(.about-hero) .navbar:not(.scrolled) .navbar__link:hover,
body:has(.about-hero) .navbar:not(.scrolled) .navbar__link.active {
    color: var(--hero-text);
}

body:has(.about-hero) .navbar:not(.scrolled) .navbar__hamburger span {
    background: var(--hero-text);
}

body:has(.about-hero) .navbar:not(.scrolled) .theme-toggle {
    border-color: var(--hero-social-border);
    background: var(--hero-card-hover);
}

body:has(.about-hero) .navbar:not(.scrolled) .theme-toggle__slider {
    background: var(--hero-text);
}

body:has(.about-hero) .navbar:not(.scrolled) .navbar__btn {
    border-color: var(--hero-social-border);
    background: var(--hero-card-hover);
    color: var(--hero-text-label);
}

body:has(.about-hero) .navbar:not(.scrolled) .navbar__btn:hover {
    background: var(--hero-card-icon-bg);
    color: var(--hero-text);
    border-color: var(--hero-border-hover);
}

body:has(.about-hero) .navbar.scrolled {
    background: var(--hero-navbar-scrolled-bg);
    border-bottom-color: var(--hero-border);
}

body:has(.about-hero) .navbar.scrolled .navbar__link,
body:has(.about-hero) .navbar.scrolled .navbar__email,
body:has(.about-hero) .navbar.scrolled .navbar__btn {
    color: var(--hero-text-label);
}

body:has(.about-hero) .navbar.scrolled .navbar__link:hover,
body:has(.about-hero) .navbar.scrolled .navbar__link.active {
    color: var(--hero-text);
}

body:has(.about-hero) .navbar.scrolled .navbar__hamburger span {
    background: var(--hero-text);
}

body:has(.about-hero) .navbar.scrolled .theme-toggle {
    border-color: var(--hero-social-border);
    background: var(--hero-card-hover);
}

body:has(.about-hero) .navbar.scrolled .theme-toggle__slider {
    background: var(--hero-text);
}

body:has(.about-hero) .navbar.scrolled .navbar__btn {
    border-color: var(--hero-social-border);
    background: var(--hero-card-hover);
}

body:has(.about-hero) .navbar.scrolled .navbar__btn:hover {
    background: var(--hero-card-icon-bg);
    color: var(--hero-text);
    border-color: var(--hero-border-hover);
}

/* Footer overrides */
body:has(.about-hero) .footer {
    border-top-color: var(--hero-border);
}

body:has(.about-hero) .footer__social-link {
    border-color: var(--hero-social-border);
    color: var(--hero-social-color);
}

body:has(.about-hero) .footer__social-link:hover {
    color: var(--hero-text);
    border-color: var(--hero-border-hover);
}

body:has(.about-hero) .footer__copyright {
    color: var(--hero-text-faint);
}

body:has(.about-hero) .footer__back-top {
    color: var(--hero-text-faint);
}

body:has(.about-hero) .footer__back-top:hover {
    color: var(--hero-text);
}

/* Section badges */
body:has(.about-hero) .section-badge {
    color: var(--hero-accent);
    background: var(--hero-accent-subtle);
    border-color: var(--hero-accent-underline);
}

body:has(.about-hero) .section-title {
    color: var(--hero-text);
}

/* Buttons — use accent green */
body:has(.about-hero) .btn--primary {
    background: var(--hero-accent);
    border-color: var(--hero-accent);
    color: #0a0a0a;
}

body:has(.about-hero) .btn--primary:hover {
    background: var(--hero-accent);
    opacity: 0.9;
    border-color: var(--hero-accent);
}

/* Mobile menu */
body:has(.about-hero) .mobile-menu {
    background: var(--hero-bg);
}

body:has(.about-hero) .mobile-menu__link {
    color: var(--hero-text);
}

/* Scroll progress */
body:has(.about-hero) .scroll-progress {
    background: var(--hero-accent);
}

/* Light-mode visibility fixes — hero-card-bg is too transparent in light */
:root body:has(.about-hero) .bento__card,
:root body:has(.about-hero) .photo-card__frame,
:root body:has(.about-hero) .timeline__img,
:root body:has(.about-hero) .fun-fact {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

:root body:has(.about-hero) .photo-card__img,
:root body:has(.about-hero) .photo-card__placeholder,
:root body:has(.about-hero) .timeline__img-placeholder,
:root body:has(.about-hero) .timeline__img img,
:root body:has(.about-hero) .photo-card__img--contain {
    background: #eae8e4;
}

:root body:has(.about-hero) .bento__card:hover {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] body:has(.about-hero) .bento__card,
[data-theme="dark"] body:has(.about-hero) .photo-card__frame,
[data-theme="dark"] body:has(.about-hero) .timeline__img,
[data-theme="dark"] body:has(.about-hero) .fun-fact {
    background: var(--hero-card-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] body:has(.about-hero) .photo-card__img,
[data-theme="dark"] body:has(.about-hero) .photo-card__placeholder,
[data-theme="dark"] body:has(.about-hero) .timeline__img-placeholder,
[data-theme="dark"] body:has(.about-hero) .timeline__img img,
[data-theme="dark"] body:has(.about-hero) .photo-card__img--contain {
    background: var(--hero-card-bg);
}

[data-theme="dark"] body:has(.about-hero) .bento__card:hover {
    background: var(--hero-card-hover);
}

/* Light-mode text visibility — ensure captions/labels are readable */
:root body:has(.about-hero) .photo-card__caption {
    color: rgba(0, 0, 0, 0.55);
}

:root body:has(.about-hero) .timeline__desc {
    color: rgba(0, 0, 0, 0.5);
}

:root body:has(.about-hero) .fun-fact__text {
    color: rgba(0, 0, 0, 0.55);
}

:root body:has(.about-hero) .bento__card--stats .stats__label,
:root body:has(.about-hero) .bento__card-label,
:root body:has(.about-hero) .bento__currently-key {
    color: rgba(0, 0, 0, 0.5);
}

:root body:has(.about-hero) .margin-note {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body:has(.about-hero) .photo-card__caption {
    color: var(--hero-text-muted);
}

[data-theme="dark"] body:has(.about-hero) .timeline__desc {
    color: var(--hero-text-muted);
}

[data-theme="dark"] body:has(.about-hero) .fun-fact__text {
    color: var(--hero-text-muted);
}

[data-theme="dark"] body:has(.about-hero) .bento__card--stats .stats__label,
[data-theme="dark"] body:has(.about-hero) .bento__card-label,
[data-theme="dark"] body:has(.about-hero) .bento__currently-key {
    color: var(--hero-text-muted);
}

[data-theme="dark"] body:has(.about-hero) .margin-note {
    color: var(--hero-text-muted);
}

/* ---- 1. Hero — Cinematic split ---- */
.about-hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* Background layer — fractal branches (light) / rings+sparkles (dark) */
.about-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-hero__bg-dark {
    display: none;
}

/* Page-wide dot grid background (light mode) */
.about-page-dots {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

[data-theme="dark"] .about-hero__bg-dark {
    display: contents;
}

[data-theme="dark"] .about-page-dots {
    display: none;
}

/* Page-wide sparkles (dark mode) */
.about-page-sparkles {
    display: none;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

[data-theme="dark"] .about-page-sparkles {
    display: block;
}

.about-page-sparkle {
    position: absolute;
    color: var(--hero-accent, #10b981);
    animation: aboutPageSparkleFloat 6s ease-in-out infinite;
}

.about-page-sparkle--1  { top: 8%;   left: 12%;  animation-delay: 0s;    opacity: 0.5; }
.about-page-sparkle--2  { top: 15%;  right: 18%; animation-delay: 1.2s;  opacity: 0.35; }
.about-page-sparkle--3  { top: 28%;  left: 6%;   animation-delay: 2.5s;  opacity: 0.45; }
.about-page-sparkle--4  { top: 22%;  right: 8%;  animation-delay: 0.8s;  opacity: 0.3; }
.about-page-sparkle--5  { top: 40%;  left: 15%;  animation-delay: 3.5s;  opacity: 0.4; }
.about-page-sparkle--6  { top: 38%;  right: 22%; animation-delay: 1.8s;  opacity: 0.25; }
.about-page-sparkle--7  { top: 55%;  right: 5%;  animation-delay: 4.2s;  opacity: 0.5; }
.about-page-sparkle--8  { top: 52%;  left: 8%;   animation-delay: 0.5s;  opacity: 0.3; }
.about-page-sparkle--9  { top: 68%;  left: 20%;  animation-delay: 2.8s;  opacity: 0.4; }
.about-page-sparkle--10 { top: 72%;  right: 14%; animation-delay: 5s;    opacity: 0.35; }
.about-page-sparkle--11 { top: 85%;  left: 10%;  animation-delay: 3.2s;  opacity: 0.3; }
.about-page-sparkle--12 { top: 90%;  right: 9%;  animation-delay: 1.5s;  opacity: 0.25; }

@keyframes aboutPageSparkleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.25); }
}

.about-hero__rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 28%, var(--hero-ring-color) 29%, transparent 30%),
        radial-gradient(circle, transparent 42%, var(--hero-ring-color) 43%, transparent 44%),
        radial-gradient(circle, transparent 56%, var(--hero-ring-color) 57%, transparent 58%),
        radial-gradient(circle, transparent 70%, var(--hero-ring-color) 71%, transparent 72%),
        radial-gradient(circle, transparent 84%, var(--hero-ring-color) 85%, transparent 86%);
    animation: aboutRingsRotate 60s linear infinite;
}

@keyframes aboutRingsRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-hero__sparkle {
    position: absolute;
    z-index: 1;
    color: var(--hero-accent);
    animation: aboutSparkleFloat 6s ease-in-out infinite;
}

.about-hero__sparkle--1 { top: 22%; left: 18%; animation-delay: 0s; }
.about-hero__sparkle--2 { top: 12%; right: 22%; animation-delay: 1.5s; opacity: 0.6; }
.about-hero__sparkle--3 { bottom: 25%; right: 10%; animation-delay: 3s; }

@keyframes aboutSparkleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-12px) scale(1.1); opacity: 1; }
}

.about-hero__dot {
    position: absolute;
    border-radius: 50%;
    background: var(--hero-dot-color);
    z-index: 1;
}

.about-hero__dot--1 { width: 6px; height: 6px; top: 18%; right: 28%; opacity: 0.8; animation: aboutDotPulse 3s ease-in-out infinite; }
.about-hero__dot--2 { width: 4px; height: 4px; top: 35%; left: 30%; opacity: 0.4; animation: aboutDotPulse 4s ease-in-out infinite 1s; }
.about-hero__dot--3 { width: 3px; height: 3px; bottom: 40%; left: 20%; opacity: 0.3; animation: aboutDotPulse 5s ease-in-out infinite 2s; }

@keyframes aboutDotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

@media (max-width: 768px) {
    .about-hero__rings {
        width: 500px;
        height: 500px;
    }
}

.about-hero__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-hero__content {
    display: flex;
    flex-direction: column;
}

.about-hero__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hero-accent);
    margin-bottom: var(--space-xl);
}

.about-hero__title {
    font-size: var(--text-hero);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
}

.about-hero__subtitle {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--hero-text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
}

.about-hero__cta {
    align-self: flex-start;
}

.about-hero__visual {
    position: relative;
}

.about-hero__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--hero-card-bg);
    box-shadow: 0 8px 40px var(--hero-shadow);
}

.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__caption {
    margin-top: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--hero-text-muted);
    font-style: italic;
    text-align: right;
}

/* Scroll indicator */
.about-hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.about-hero__scroll span {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hero-text-muted);
}

.about-hero__scroll-line {
    width: 1px;
    height: 48px;
    background: var(--hero-border);
    position: relative;
    overflow: hidden;
}

.about-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-accent);
    animation: scrollLine 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollLine {
    0%   { transform: translateY(0); }
    100% { transform: translateY(200%); }
}

/* Hero mobile */
@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .about-hero__layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-hero__visual {
        order: -1;
        max-width: 320px;
    }

    .about-hero__image {
        aspect-ratio: 1;
        border-radius: var(--radius-lg);
    }

    .about-hero__scroll {
        display: none;
    }
}


/* ---- 2. Intro — Editorial opener ---- */
.about-intro {
    padding: var(--space-5xl) 0;
}

.about-intro__text {
    font-size: var(--text-2xl);
    line-height: 1.7;
    color: var(--hero-text-secondary);
    max-width: 780px;
}

.about-intro__text em {
    color: var(--hero-text);
    font-style: italic;
}

@media (max-width: 768px) {
    .about-intro {
        padding: var(--space-3xl) 0;
    }

    .about-intro__text {
        font-size: var(--text-xl);
    }
}


/* ---- 3. Bento Grid ---- */
.about-bento {
    padding-bottom: var(--space-5xl);
}

/*  Desktop layout (3 columns, 2 rows):
    ┌──────────────────────┬────────────────────┐
    │   STATS (col 1-2)    │                    │
    │                      │    PHOTO (col 3)   │
    ├───────────┬──────────┤    spans 2 rows    │
    │  QUOTE    │CURRENTLY │                    │
    │  (col 1)  │(col 2)   │                    │
    └───────────┴──────────┴────────────────────┘  */
.bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-md);
}

.bento__card {
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.bento__card:hover {
    border-color: var(--hero-border-hover);
}

.bento__inner {
    padding: var(--space-2xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stats card */
.bento__card--stats {
    grid-column: 1 / 3;
    grid-row: 1;
}

.bento__card--stats .stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: 0;
    border: none;
}

.bento__card--stats .stats__item {
    text-align: center;
}

.bento__card--stats .stats__number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1;
    color: var(--hero-text);
    margin-bottom: var(--space-xs);
}

.bento__card--stats .stats__label {
    font-size: var(--text-xs);
    color: var(--hero-text-muted);
    letter-spacing: 0.02em;
}

/* Quote card */
.bento__card--quote {
    grid-column: 1;
    grid-row: 2;
}

.bento__quote-icon {
    width: 24px;
    height: 24px;
    color: var(--hero-accent);
    opacity: 0.3;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.bento__quote-text {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-style: italic;
    line-height: 1.6;
    color: var(--hero-text);
}

.bento__card--quote .bento__inner {
    padding: var(--space-xl);
}

.bento__card--currently .bento__inner {
    padding: var(--space-xl);
}

/* Currently card */
.bento__card--currently {
    grid-column: 2;
    grid-row: 2;
}

.bento__card-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hero-text-muted);
    margin-bottom: var(--space-lg);
}

.bento__currently-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.bento__currently-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bento__currently-key {
    font-size: var(--text-xs);
    color: var(--hero-text-muted);
}

.bento__currently-val {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--hero-text);
}

/* Photo card */
.bento__card--photo {
    grid-column: 3;
    grid-row: 1 / 3;
}

.bento__card--photo {
    cursor: pointer;
    padding: 0;
}

.bento__card--photo:hover {
    transform: translateY(-3px);
}

.bento__card--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento__card--photo:hover img {
    transform: scale(1.04);
}

/* Bento mobile */
@media (max-width: 768px) {
    .about-bento {
        padding-bottom: var(--space-3xl);
    }

    .bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .bento__card--stats {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento__card--quote {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento__card--currently {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento__card--photo {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 220px;
    }

    .bento__inner {
        padding: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento__card--photo {
        grid-column: 1;
        min-height: 200px;
    }
}


/* ---- 4. Story — Narrative with scattered photo collage ---- */
.about-story {
    padding: var(--space-5xl) 0;
    border-top: 1px solid var(--hero-border);
    transition: border-color var(--transition-theme);
}

.about-story__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-4xl) 0;
    border-bottom: 1px solid var(--hero-border);
    transition: border-color var(--transition-theme);
}

.about-story__block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-story__block:first-child {
    padding-top: 0;
}

/* Reverse layout for alternating blocks */
.about-story__block--reverse {
    direction: rtl;
}

.about-story__block--reverse > * {
    direction: ltr;
}

.about-story__num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--hero-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-lg);
    transition: color var(--transition-theme);
}

.about-story__heading {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    color: var(--hero-text);
}

.about-story__text {
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--hero-text-secondary);
    margin-bottom: var(--space-lg);
}

.about-story__text:last-child {
    margin-bottom: 0;
}

.about-story__text strong {
    color: var(--hero-text);
    font-weight: 600;
}

/* ---- Scattered Photo Collage ---- */
.about-story__collage {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual photo card — polaroid style */
.photo-card {
    position: absolute;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                z-index 0s;
    z-index: 1;
}

.photo-card:hover {
    z-index: 10;
    transform: rotate(0deg) scale(1.08) translateY(-8px) !important;
}

.photo-card__frame {
    background: var(--hero-card-bg);
    padding: 8px 8px 0 8px;
    border-radius: 4px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s ease;
    border: 1px solid var(--hero-border);
}

.photo-card:hover .photo-card__frame {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.photo-card__img {
    width: 180px;
    height: 140px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--hero-card-bg);
}

.photo-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-card:hover .photo-card__img img {
    transform: scale(1.05);
}

.photo-card__caption {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--hero-text-muted);
    padding: 8px 4px 10px;
    text-align: center;
    line-height: 1.2;
}

/* Placeholder for photos not yet added */
.photo-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-card-bg);
    transition: background-color 0.3s ease;
}

.photo-card__placeholder svg {
    width: 28px;
    height: 28px;
    opacity: 0.12;
    color: var(--hero-text);
}

.photo-card:hover .photo-card__placeholder {
    background: var(--hero-card-hover);
}

/* ---- Each photo card gets unique position & rotation ---- */
/* Block 01 photos */
.photo-card--1 {
    top: 0;
    left: 0;
    transform: rotate(-6deg);
}
.photo-card--1 .photo-card__img {
    width: 200px;
    height: 160px;
}

.photo-card--2 {
    top: 10px;
    right: 10px;
    transform: rotate(4deg);
}
.photo-card--2 .photo-card__img {
    width: 170px;
    height: 130px;
}

.photo-card--3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
}
.photo-card--3 .photo-card__img {
    width: 160px;
    height: 120px;
}

/* Block 02 photos */
.photo-card--4 {
    top: 0;
    right: 0;
    transform: rotate(5deg);
}
.photo-card--4 .photo-card__img {
    width: 180px;
    height: 150px;
}

.photo-card--5 {
    top: 20px;
    left: 0;
    transform: rotate(-4deg);
}
.photo-card--5 .photo-card__img {
    width: 190px;
    height: 140px;
}

.photo-card--6 {
    bottom: 0;
    left: 40%;
    transform: translateX(-40%) rotate(3deg);
}
.photo-card--6 .photo-card__img {
    width: 160px;
    height: 120px;
}

.photo-card--13 {
    top: 65%;
    left: 0;
    transform: rotate(-2deg);
}
.photo-card--13 .photo-card__img {
    width: 170px;
    height: 130px;
}

.photo-card--14 {
    top: 70%;
    right: 0;
    transform: rotate(4deg);
}
.photo-card--14 .photo-card__img {
    width: 165px;
    height: 125px;
}

/* Block 02 — Clean grid collage (overrides scattered layout) */
.about-story__collage--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-height: auto;
    align-items: start;
}

.about-story__collage--grid .photo-card {
    position: static;
    transform: none;
}

/* If odd number of images, center the last one */
.about-story__collage--grid .photo-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
}

/* No rotation — keeps images sharp (rotation causes sub-pixel blur) */
.about-story__collage--grid .photo-card {
    transform: none !important;
}

/* Larger images that fill their grid cells */
.about-story__collage--grid .photo-card__img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
}

.about-story__collage--grid .photo-card__frame {
    padding: 10px 10px 0 10px;
}

/* No-crop variant — shows full image without cropping */
.photo-card__img--contain {
    background: var(--hero-card-bg);
}

.photo-card__img--contain img {
    object-fit: contain !important;
    object-position: center center !important;
}

/* Block 03 photos */
.photo-card--7 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}
.photo-card--7 .photo-card__img {
    width: 190px;
    height: 150px;
}
.photo-card--7 .photo-card__img img {
    object-position: center center;
}

.photo-card--8 {
    top: 15px;
    right: 5px;
    transform: rotate(3deg);
}
.photo-card--8 .photo-card__img {
    width: 175px;
    height: 135px;
}

.photo-card--9 {
    bottom: 0;
    left: 45%;
    transform: translateX(-45%) rotate(-2.5deg);
}
.photo-card--9 .photo-card__img {
    width: 165px;
    height: 125px;
}

/* Block 04 photos */
.photo-card--10 {
    top: 0;
    right: 0;
    transform: rotate(4deg);
}
.photo-card--10 .photo-card__img {
    width: 185px;
    height: 145px;
}

.photo-card--11 {
    top: 25px;
    left: 0;
    transform: rotate(-3.5deg);
}
.photo-card--11 .photo-card__img {
    width: 180px;
    height: 140px;
}

.photo-card--12 {
    bottom: 0;
    left: 35%;
    transform: translateX(-35%) rotate(2deg);
}
.photo-card--12 .photo-card__img {
    width: 160px;
    height: 120px;
}

/* ---- Story mobile ---- */
@media (max-width: 768px) {
    .about-story {
        padding: var(--space-3xl) 0;
    }

    .about-story__block,
    .about-story__block--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        direction: ltr;
    }

    .about-story__block--reverse > * {
        direction: ltr;
    }

    .about-story__collage {
        min-height: 320px;
    }

    .about-story__collage--grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        min-height: auto;
    }

    .about-story__collage--grid .photo-card {
        grid-column: span 1;
    }

    .about-story__collage--grid .photo-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 60%;
        justify-self: center;
    }

    .photo-card__img {
        width: 140px !important;
        height: 110px !important;
    }

    .photo-card--1 .photo-card__img {
        width: 160px !important;
        height: 130px !important;
    }
}

@media (max-width: 480px) {
    .about-story__collage {
        min-height: 280px;
    }

    .about-story__collage--grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-story__collage--grid .photo-card:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .photo-card__img {
        width: 120px !important;
        height: 95px !important;
    }

    .photo-card--1 .photo-card__img,
    .photo-card--4 .photo-card__img,
    .photo-card--5 .photo-card__img {
        width: 135px !important;
        height: 105px !important;
    }

    .photo-card__caption {
        font-size: 0.9rem;
        padding: 6px 2px 8px;
    }
}


/* ---- 5. Values — Philosophy ---- */
.about-values {
    padding: var(--space-5xl) 0;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.about-values__item {
    padding-top: var(--space-xl);
    border-top: 2px solid var(--hero-border-hover);
    transition: border-color var(--transition-theme);
}

.about-values__item:hover {
    border-color: var(--hero-accent);
}

.about-values__num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--hero-accent);
    opacity: 0.6;
    margin-bottom: var(--space-md);
}

.about-values__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--hero-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.about-values__desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--hero-text-secondary);
}

@media (max-width: 768px) {
    .about-values {
        padding: var(--space-3xl) 0;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-top: var(--space-2xl);
    }
}


/* ---- 6. Tools — Categorized ---- */
.about-tools {
    padding: var(--space-5xl) 0;
}

.tools-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.tools-category {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--space-xl);
    align-items: baseline;
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--hero-border);
    transition: border-color var(--transition-theme);
}

.tools-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tools-category__title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--hero-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tools-category__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tool-tag {
    padding: 0.45rem 1.1rem;
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--hero-text-secondary);
    transition: all var(--transition-fast);
}

.tool-tag:hover {
    background: var(--hero-accent);
    color: #0a0a0a;
    border-color: var(--hero-accent);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .about-tools {
        padding: var(--space-3xl) 0;
    }

    .tools-category {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .tools-categories {
        margin-top: var(--space-2xl);
    }
}


/* ---- 7. Timeline — Left-aligned with image galleries ---- */
.timeline {
    padding: var(--space-5xl) 0;
}

.timeline__list {
    position: relative;
    max-width: 780px;
    margin: var(--space-3xl) auto 0;
    padding-left: 40px;
}

.timeline__list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 1px;
    height: 100%;
    background: var(--hero-border-hover);
    transition: background-color var(--transition-theme);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-3xl);
    padding-left: var(--space-lg);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: calc(-40px + 1px);
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hero-bg);
    border: 2px solid var(--hero-accent);
    transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.timeline__item:first-child .timeline__dot {
    background: var(--hero-accent);
}

.timeline__year {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--hero-accent);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.timeline__role {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--hero-text);
    margin-bottom: 2px;
}

.timeline__company {
    font-size: var(--text-sm);
    color: var(--hero-text-secondary);
    margin-bottom: var(--space-sm);
}

.timeline__desc {
    font-size: var(--text-sm);
    color: var(--hero-text-muted);
    line-height: 1.7;
}

/* Timeline Mini-Polaroid Strip */
.timeline__images {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding: var(--space-xs) 0 var(--space-sm);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline__images::-webkit-scrollbar {
    display: none;
}

.timeline__img {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
}

/* Slight rotation on each mini-polaroid */
.timeline__img:nth-child(odd) {
    transform: rotate(-2deg);
}

.timeline__img:nth-child(even) {
    transform: rotate(2.5deg);
}

.timeline__img:hover {
    transform: rotate(0deg) scale(1.08) translateY(-6px) !important;
    z-index: 5;
}

.timeline__img-placeholder {
    width: 110px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-card-bg);
    border-radius: 2px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.timeline__img-placeholder svg {
    width: 18px;
    height: 18px;
    opacity: 0.12;
    color: var(--hero-text);
}

.timeline__img:hover .timeline__img-placeholder {
    background: var(--hero-card-hover);
}

/* Mini-polaroid frame for timeline */
.timeline__img {
    background: var(--hero-card-bg);
    padding: 5px 5px 0 5px;
    border-radius: 3px;
    border: 1px solid var(--hero-border);
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.03);
}

.timeline__img:hover {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.05);
}

.timeline__img img {
    width: 110px;
    height: 80px;
    object-fit: contain;
    border-radius: 2px;
    display: block;
    transition: transform 0.4s ease;
    background: var(--hero-card-bg);
}

.timeline__img:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .timeline {
        padding: var(--space-3xl) 0;
    }

    .timeline__img-placeholder {
        width: 90px;
        height: 65px;
    }

    .timeline__img img {
        width: 90px;
        height: 65px;
        object-fit: contain;
    }
}


/* ---- 8. CTA — Personal invitation ---- */
.about-cta {
    padding: var(--space-5xl) 0;
    text-align: center;
    border-top: 1px solid var(--hero-border);
    transition: border-color var(--transition-theme);
}

.about-cta__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
    color: var(--hero-text);
}

.about-cta__subtitle {
    font-size: var(--text-lg);
    color: var(--hero-text-secondary);
    max-width: 480px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}


/* ============================================
   9. INTERACTIVE ELEMENTS — Marquee, Notes, Pull Quotes, Highlights, Fun Facts
   ============================================ */

/* ---- Scrolling Marquee Ribbon ---- */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--hero-border);
    border-bottom: 1px solid var(--hero-border);
    transition: border-color var(--transition-theme);
}

.marquee__track {
    display: inline-flex;
    animation: marqueeScroll 20s linear infinite;
    will-change: transform;
}

.marquee__content {
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hero-text-muted);
    opacity: 0.6;
    padding-right: 0.5em;
    flex-shrink: 0;
}

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

.marquee:hover .marquee__track {
    animation-play-state: paused;
}


/* ---- Margin Notes ---- */
.margin-note {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hero-text-muted);
    opacity: 0.5;
    position: relative;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.margin-note::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--hero-accent);
    opacity: 0.4;
    vertical-align: middle;
    margin-right: 8px;
}


/* ---- Pull Quote Breakers ---- */
.pull-quote {
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}

.pull-quote::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--hero-accent);
    opacity: 0.4;
    margin: 0 auto var(--space-2xl);
    transition: background-color var(--transition-theme);
}

.pull-quote__text {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--hero-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pull-quote {
        padding: var(--space-2xl) 0;
    }

    .pull-quote__text {
        font-size: var(--text-lg);
    }
}


/* ---- Text Highlight Effect ---- */
.text-highlight {
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 50%,
        rgba(255, 200, 50, 0.2) 50%,
        rgba(255, 200, 50, 0.2) 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 2px;
    border-radius: 2px;
}

.text-highlight.highlighted {
    background-position: 0 0;
}

[data-theme="dark"] .text-highlight {
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 50%,
        rgba(255, 200, 50, 0.1) 50%,
        rgba(255, 200, 50, 0.1) 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
}

[data-theme="dark"] .text-highlight.highlighted {
    background-position: 0 0;
}


/* ---- Fun Fact Callout Cards ---- */
.fun-fact {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: var(--radius-sm);
    margin-top: var(--space-lg);
    transition: background-color var(--transition-theme);
}

.fun-fact__icon {
    font-size: 1rem;
    line-height: 1.6;
    flex-shrink: 0;
}

.fun-fact__text {
    font-size: var(--text-sm);
    color: var(--hero-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .fun-fact__text {
        font-size: var(--text-xs);
    }
}