/* =============================================
    TOKENS
============================================= */
:root {
    --c-bg:       #0e0e0e;
    --c-surface:  #141414;
    --c-surface2: #1a1a1a;
    --c-border:   rgba(255,255,255,0.07);
    --c-accent:   #d97c20;
    --c-accent2:  #f0a040;
    --c-text:     #e8e4dc;
    --c-muted:    #7a7570;
    --c-white:    #ffffff;
    --ff-display: 'Barlow Condensed', sans-serif;
    --ff-body:    'DM Sans', sans-serif;
    --max-w:      1320px;
}

/* =============================================
    BASE
============================================= */
#about * { box-sizing: border-box; }
#about {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--ff-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}
/* =============================================
    ANIMATIONS
============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideRight {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.ct-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ct-reveal.visible { opacity: 1; transform: translateY(0); }
.ct-reveal-d1 { transition-delay: 0.1s; }
.ct-reveal-d2 { transition-delay: 0.2s; }
.ct-reveal-d3 { transition-delay: 0.3s; }
.ct-reveal-d4 { transition-delay: 0.4s; }

/* =============================================
    SHARED
============================================= */
.ct-container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.ct-label {
    font-family: var(--ff-display); font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--c-accent);
    display: block;
}
.ct-section-title {
    font-family: var(--ff-display); font-weight: 900;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.92; text-transform: uppercase; letter-spacing: -0.01em;
    color: var(--c-white);
}
.ct-section-title em { font-style: italic; color: var(--c-accent); }
.ct-body-text {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--c-muted); line-height: 1.85;
}

/* =============================================
    PAGE HERO
============================================= */
.about-hero {
    position: relative;
    min-height: 52vh;
    display: flex; align-items: flex-end;
    overflow: hidden;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
}
.about-hero-bg {
    position: absolute; inset: 0;
    background-image: url('../images/hero-1.webp');
    background-size: cover; background-position: center 30%;
    opacity: 0.18;
    transform: scale(1.04);
}
.about-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--c-bg) 0%, transparent 70%),
                linear-gradient(to right, rgba(14,14,14,0.9) 0%, transparent 55%);
}
.about-hero-accent {
    position: absolute; left: 0; top: 0; width: 3px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--c-accent) 40%, transparent);
    opacity: 0.6;
}
.about-hero-content {
    position: relative; z-index: 2;
    padding: 8rem 0 clamp(3rem, 6vh, 5rem);
    width: 100%;
}
.about-hero-eyebrow {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.2rem;
    opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}
.about-hero-eyebrow::before {
    content: ''; display: block; width: 40px; height: 1.5px;
    background: var(--c-accent);
}
.about-hero-title {
    font-family: var(--ff-display); font-weight: 900;
    font-size: clamp(4.5rem, 12vw, 10rem);
    line-height: 0.88; text-transform: uppercase; letter-spacing: -0.02em;
    color: var(--c-white);
    opacity: 0; animation: fadeUp 0.9s 0.4s ease forwards;
}
.about-hero-title em { font-style: italic; color: var(--c-accent); }
.about-hero-sub {
    margin-top: 2rem; max-width: 500px;
    opacity: 0; animation: fadeUp 0.9s 0.6s ease forwards;
}
.about-hero-sub p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(232,228,220,0.6); line-height: 1.7;
}

/* =============================================
    BIO SECTION
============================================= */
.about-bio {
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative; overflow: hidden;
}
.about-bio::before {
    content: 'CT'; position: absolute; right: -3%; top: 50%;
    transform: translateY(-50%);
    font-family: var(--ff-display); font-weight: 900;
    font-size: clamp(12rem, 28vw, 24rem); line-height: 1;
    color: rgba(255,255,255,0.02); pointer-events: none;
    user-select: none; letter-spacing: -0.05em;
}
.about-bio-grid {
    display: grid; gap: clamp(3rem, 6vw, 7rem); align-items: center;
}
.about-bio-image-wrap { position: relative; }
.about-bio-image-frame {
    position: relative; overflow: hidden;
}
.about-bio-image-frame img {
    width: 100%; display: block; object-fit: cover;
    transition: transform 0.8s ease;
}
.about-bio-image-frame:hover img { transform: scale(1.04); }
.about-bio-image-frame::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 80px; height: 80px;
    border-bottom: 3px solid var(--c-accent);
    border-right: 3px solid var(--c-accent);
}
.about-bio-image-frame::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 80px; height: 80px;
    border-top: 3px solid rgba(217,124,32,0.3);
    border-left: 3px solid rgba(217,124,32,0.3);
    z-index: 1;
}
.about-bio-badge {
    position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: var(--c-accent); color: #0e0e0e;
    padding: 1.5rem 1.8rem; z-index: 2;
}
.about-bio-badge .badge-num {
    font-family: var(--ff-display); font-size: 3rem; font-weight: 900; line-height: 1;
}
.about-bio-badge .badge-txt {
    font-family: var(--ff-display); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(0,0,0,0.65);
}
.about-bio-text {
    display: flex; flex-direction: column; gap: 1.8rem;
}
.about-bio-text blockquote {
    border-left: 3px solid var(--c-accent);
    padding-left: 1.5rem;
    font-family: var(--ff-display); font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700; font-style: italic; line-height: 1.3;
    color: var(--c-text);
}
.about-bio-name {
    font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-white);
}
.about-bio-role {
    font-size: 0.85rem; color: var(--c-accent); letter-spacing: 0.05em;
}

.about-bio-img-placeholder {
    width: 100%;
    aspect-ratio: 4/6;
    border: 1px solid var(--c-border2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background var(--t), border-color var(--t);
}

[data-theme="dark"] .about-bio-img-placeholder {
    background: linear-gradient(135deg, #301b0d 0%, #28190b 50%, #201408 100%);
}

[data-theme="light"] .about-bio-img-placeholder {
    background: linear-gradient(135deg, #e8eeff 0%, #dbeafe 60%, #eff6ff 100%);
}

.about-bio-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 164, 79, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 170, 100, 0.07) 0%, transparent 50%);
}

.about-bio-img-placeholder i {
    font-size: 4rem;
    color: rgba(255, 185, 79, 0.2);
    position: relative;
    z-index: 1;
}

/* =============================================
    VALUES SECTION
============================================= */
.about-values {
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.about-values-head {
    margin-bottom: clamp(3rem, 5vw, 5rem);
}
.about-values-grid {
    display: grid; gap: 1.5px;
    background: var(--c-border);
}
.about-value-card {
    background: var(--c-bg); padding: 2.8rem 2.4rem;
    position: relative; overflow: hidden;
    transition: background 0.3s ease;
}
.about-value-card::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 3px; height: 0;
    background: var(--c-accent);
    transition: height 0.4s ease;
}
.about-value-card:hover { background: var(--c-surface2); }
.about-value-card:hover::before { height: 100%; }
.about-value-icon {
    font-size: 1.6rem; color: var(--c-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
    display: block;
}
.about-value-card:hover .about-value-icon { transform: scale(1.15); }
.about-value-num {
    position: absolute; top: 1.8rem; right: 2rem;
    font-family: var(--ff-display); font-size: 4rem; font-weight: 900;
    color: rgba(255,255,255,0.04); line-height: 1; user-select: none;
}
.about-value-title {
    font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.02em;
    color: var(--c-white); margin-bottom: 0.8rem;
}
.about-value-desc {
    font-size: 0.9rem; color: var(--c-muted); line-height: 1.75;
}

/* =============================================
    GALLERY SECTION
============================================= */
.about-gallery {
    padding: clamp(5rem, 10vw, 9rem) 0;
    overflow: hidden;
}
.about-gallery-head {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.about-gallery-grid {
    display: grid; gap: 3px;
    max-height: 600px;
}
.about-gallery-item {
    position: relative; overflow: hidden;
    background: var(--c-surface);
}
.about-gallery-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.7s ease, filter 0.4s ease;
    filter: grayscale(0.3);
}
.about-gallery-item:hover img {
    transform: scale(1.06); filter: grayscale(0);
}
.about-gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14,14,14,0.6) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s ease;
}
.about-gallery-item:hover::after { opacity: 1; }
/* Placeholder for when real images aren't available */
.about-gallery-placeholder {
    width: 100%; height: 100%; min-height: 240px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
}
.about-gallery-placeholder i {
    font-size: 2rem; color: rgba(217,124,32,0.2);
}



/* =============================================
    CTA STRIP
============================================= */
.about-cta {
    background: var(--c-accent); padding: 5rem 0;
    position: relative; overflow: hidden;
}
.about-cta::before {
    content: 'BOOK'; position: absolute; left: -2%; top: 50%;
    transform: translateY(-50%);
    font-family: var(--ff-display); font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 900; color: rgba(0,0,0,0.06); line-height: 1;
    pointer-events: none; user-select: none; letter-spacing: -0.03em;
}
.about-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.about-cta-title {
    font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900; text-transform: uppercase; line-height: 0.95; color: #0e0e0e;
}
.about-cta-title span { display: block; font-style: italic; font-weight: 700; opacity: 0.65; }
.about-cta-btn {
    background: #0e0e0e; color: var(--c-accent);
    font-family: var(--ff-display); font-size: 1rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2.2rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
    position: relative; overflow: hidden; transition: color 0.3s; text-decoration: none;
}
.about-cta-btn::before {
    content: ''; position: absolute; inset: 0; background: #1a1a1a;
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; z-index: 0;
}
.about-cta-btn span, .about-cta-btn i { position: relative; z-index: 1; }
.about-cta-btn:hover::before { transform: scaleX(1); }


/* =============================================
    DESKTOP  > 768px
============================================= */
@media (min-width: 769px) {
    .mobile-only { display: none !important; }

    .about-bio-grid { grid-template-columns: 1fr 1fr; }
    .about-bio-image-frame { aspect-ratio: 3/4; }

    .about-values-grid { grid-template-columns: repeat(3, 1fr); }

    /* Gallery: asymmetric 3-column layout */
    .about-gallery-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
        grid-template-rows: auto auto;
    }
    .about-gallery-item:first-child {
        grid-row: span 2;
    }
    .about-gallery-item { min-height: 280px; }

    .about-cta-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* =============================================
    MOBILE  ≤ 768px
============================================= */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }

    .ct-container { width: 88%; }
    .ct-label { font-size: 0.75rem; letter-spacing: 0.22em; }
    .ct-section-title { font-size: clamp(2.8rem, 11vw, 4rem); }
    .ct-body-text { font-size: 0.95rem; }

    .about-hero-content { padding-top: 7rem; }
    .about-hero-title { font-size: clamp(4rem, 18vw, 5.5rem); }

    .about-bio-grid { grid-template-columns: 1fr; }
    .about-bio-image-frame { aspect-ratio: 4/3; }
    .about-bio-badge { bottom: -1rem; left: -0.5rem; padding: 1rem 1.2rem; }
    .about-bio-badge .badge-num { font-size: 2.2rem; }

    .about-values-grid { grid-template-columns: 1fr; }
    .about-value-card { padding: 2rem 1.6rem; }

    /* Gallery: 2-col grid on mobile */
    .about-gallery-grid { grid-template-columns: 1fr 1fr; }
    .about-gallery-item { min-height: 180px; }

    .about-cta { padding: clamp(3rem, 8vw, 5rem) 0; }
    .about-cta-inner { flex-direction: column; align-items: flex-start; }
    .about-cta-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .about-cta-buttons { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
    .about-cta-btn { width: 100%; justify-content: center; }
}