.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity 0.3s;
}
 
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
}
 
.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 195, 0, 0.6);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}
 
.cursor-ring.hovered {
    width: 56px;
    height: 56px;
    border-color: var(--color-accent);
}
 
/* Hide on touch devices */
@media (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
}
 
/* ===========================
   Hero
   =========================== */
.about-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(150deg, #0a0a0a 0%, #0f0f0a 60%, #111 100%);
}
 
.about-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 60%, rgba(255,195,0,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(255,195,0,0.04) 0%, transparent 50%);
    animation: pulse 12s ease-in-out infinite;
}
 
/* Decorative film frame strips */
.film-frame {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    z-index: 1;
}
 
.ff-left  { left: 0; }
.ff-right { right: 0; }
 
.film-frame::before,
.film-frame::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
}
 
/* Film perforations via repeating gradient */
.film-frame {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 14px,
        rgba(255,195,0,0.18) 14px,
        rgba(255,195,0,0.18) 24px,
        transparent 24px,
        transparent 42px
    );
}
 
/* Hero inner layout */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
 
/* Hero text */
.page-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
}
 
.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
 
.about-hero-title span {
    display: block;
}
 
.accent-gold {
    color: var(--color-accent);
    font-style: italic;
}
 
.about-hero-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(232,232,232,0.6);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.5rem;
}
 
.about-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
 
.about-hero-btn:hover {
    background: var(--color-accent);
    color: #0a0a0a;
}
 
/* Reveal animation */
.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
 
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
 
/* ===========================
   Polaroid Stack
   =========================== */
.polaroid-stack {
    position: relative;
    width: 280px;
    height: 320px;
    margin: 0 auto;
    cursor: pointer;
}
 
.polaroid {
    position: absolute;
    width: 220px;
    background: #f5f0e8;
    padding: 10px 10px 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    left: 50%;
    top: 50%;
    transform-origin: center bottom;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
.p1 { transform: translateX(-50%) translateY(-50%) rotate(-6deg); z-index: 1; }
.p2 { transform: translateX(-50%) translateY(-55%) rotate(2deg); z-index: 2; }
.p3 { transform: translateX(-50%) translateY(-50%) rotate(7deg); z-index: 3; }
 
.polaroid-img {
    width: 100%;
    padding-top: 110%;
    background-size: cover;
    background-position: center;
    background-color: #222;
}
 
.polaroid p {
    text-align: center;
    font-family: 'Segoe Script', 'Comic Sans MS', cursive;
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.6rem;
    line-height: 1;
}
 
/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeInUp 1s ease 1.5s both;
}
 
.scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232,232,232,0.35);
}
 
.scroll-line {
    width: 1px;
    height: 44px;
    background: var(--color-accent);
    animation: scrollLine 2.2s ease-in-out infinite;
    transform-origin: top;
}
 
@keyframes scrollLine {
    0%   { transform: scaleY(0); opacity: 1; }
    60%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}
 
/* ===========================
   Story Section
   =========================== */
.story-section {
    padding: 6rem 0;
    background: var(--color-bg);
}
 
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
 
.story-number-col {
    display: none;
}
 
.big-number {
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255,195,0,0.06);
    line-height: 1;
    user-select: none;
}
 
.story-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
 
.story-content p {
    color: var(--color-secondary);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    max-width: 600px;
}
 
.story-content em {
    color: var(--color-accent);
    font-style: italic;
}
 
/* ===========================
   Skills Bars (jQuery #1)
   =========================== */
.skills-section {
    padding: 5rem 0;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
 
.skills-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
 
.skills-note {
    color: var(--color-secondary);
    opacity: 0.6;
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 280px;
    line-height: 1.7;
}
 
.skills-bars-col {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
 
.skill-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
 
.skill-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
 
.skill-name {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--color-text);
}
 
.skill-pct {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-accent);
    min-width: 36px;
    text-align: right;
}
 
.skill-track {
    height: 3px;
    background: rgba(255,255,255,0.08);
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}
 
.skill-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent) 0%, #e5b000 100%);
    border-radius: 2px;
}
 
/* ===========================
   Philosophy Tabs (jQuery #2)
   =========================== */
.philosophy-section {
    padding: 6rem 0;
    background: var(--color-bg);
}
 
.tab-component {
    margin-top: 3rem;
}
 
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    margin-bottom: 0;
}
 
.tab-btn {
    background: none;
    border: none;
    color: rgba(232,232,232,0.45);
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 1rem 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}
 
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-accent); }
 
/* Sliding underline indicator */
.tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: var(--color-accent);
    transition: left 0.28s ease, width 0.28s ease;
}
 
/* Tab panels */
.tab-panels {
    border: 1px solid var(--color-border);
    border-top: none;
    background: rgba(255,255,255,0.02);
    min-height: 280px;
}
 
.tab-panel {
    display: none;
}
 
.tab-panel.active {
    display: block;
}
 
.tab-panel-inner {
    padding: 2.5rem 2rem;
}
 
.tab-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}
 
.tab-panel h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}
 
.tab-panel p {
    color: var(--color-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
    max-width: 600px;
}
 
.tab-panel blockquote {
    border-left: 2px solid var(--color-accent);
    padding-left: 1.2rem;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: rgba(232,232,232,0.5);
    line-height: 1.6;
}
 
/* ===========================
   Timeline (jQuery #3)
   =========================== */
.timeline-section {
    padding: 6rem 0;
    background: #0a0a0a;
    border-top: 1px solid var(--color-border);
}
 
.timeline {
    position: relative;
    margin-top: 4rem;
    padding: 0 0 2rem;
}
 
/* Vertical spine */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-accent) 10%, var(--color-accent) 90%, transparent);
    transform: translateX(-50%);
}
 
.timeline-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
 
.tl-left  { transform: translateX(-30px); }
.tl-right { transform: translateX(30px); }
 
.timeline-item.tl-visible {
    opacity: 1;
    transform: translateX(0);
}
 
/* Dot on spine */
.tl-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 12px rgba(255,195,0,0.5);
}
 
.tl-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    padding: 1.5rem 1.5rem;
    margin: 0 0 0 calc(50% + 24px);
    transition: border-color 0.3s;
}
 
.tl-left .tl-card  { margin: 0 calc(50% + 24px) 0 0; }
.tl-right .tl-card { margin: 0 0 0 calc(50% + 24px); }
 
.tl-card:hover { border-color: rgba(255,195,0,0.35); }
 
.tl-year {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
 
.tl-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}
 
.tl-card p {
    color: var(--color-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
}
 
.tl-card em { color: var(--color-accent); font-style: italic; }
 
.tl-card-accent {
    border-color: rgba(255,195,0,0.35);
    background: rgba(255,195,0,0.04);
}
 
/* ===========================
   Gear Section
   =========================== */
.gear-section {
    padding: 5rem 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}
 
.section-sub {
    color: var(--color-secondary);
    opacity: 0.6;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}
 
.gear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
 
.gear-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    padding: 1.8rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
 
.gear-card:hover {
    border-color: rgba(255,195,0,0.3);
    transform: translateY(-4px);
}
 
.gear-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
 
.gear-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-text);
}
 
.gear-card ul {
    list-style: none;
    padding: 0;
}
 
.gear-card ul li {
    color: var(--color-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
    opacity: 0.75;
    padding-left: 1rem;
    position: relative;
}
 
.gear-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    opacity: 0.5;
}
 
/* ===========================
   Testimonial Carousel (jQuery #4)
   =========================== */
.testimonials-section {
    padding: 6rem 0;
    background: #0a0a0a;
    border-top: 1px solid var(--color-border);
}
 
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}
 
.testimonial-track {
    display: flex;
    width: 100%;
    margin-left: 0;
}
 
.testimonial-slide {
    min-width: 100%;
    padding: 0 4rem;
    box-sizing: border-box;
}
 
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
 
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 6rem;
    color: rgba(255,195,0,0.12);
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    line-height: 1;
}
 
.t-text {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}
 
.t-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}
 
.t-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-accent);
    letter-spacing: 1px;
}
 
.t-role {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgba(232,232,232,0.35);
    text-transform: uppercase;
}
 
/* Carousel controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--color-text);
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
}
 
.carousel-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
 
.prev-btn { left: 0; }
.next-btn { right: 0; }
 
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
}
 
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}
 
.dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}
 
/* ===========================
   CTA Section
   =========================== */
.about-cta {
    padding: 8rem 0;
    background: linear-gradient(160deg, #0f0f0a 0%, #111 100%);
    text-align: center;
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
 
.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,195,0,0.06) 0%, transparent 65%);
}
 
.cta-inner {
    position: relative;
    z-index: 1;
}
 
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.2rem 0 2.5rem;
}
 
.cta-title em {
    color: var(--color-accent);
    font-style: italic;
}
 
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
 
/* ===========================
   Footer
   =========================== */
.footer {
    background: #050505;
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}
 
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
 
.footer-col h3.logo {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
 
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
 
.footer-col p {
    color: rgba(232,232,232,0.45);
    font-size: 0.9rem;
    line-height: 1.7;
}
 
.footer-col ul {
    list-style: none;
}
 
.footer-col ul li {
    color: rgba(232,232,232,0.45);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
 
.footer-col ul li a {
    transition: color 0.3s;
}
 
.footer-col ul li a:hover {
    color: var(--color-accent);
}
 
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    text-align: center;
}
 
.footer-bottom p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: rgba(232,232,232,0.2);
}
 
/* ===========================
   Fade-in utility (supplement shared)
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
 
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* ===========================
   Responsive — Tablet (≥ 640px)
   =========================== */
@media (min-width: 640px) {
    .gear-grid {
        grid-template-columns: repeat(4, 1fr);
    }
 
    .timeline-item {
        grid-template-columns: 1fr 1fr;
    }
 
    .tl-left .tl-card  { margin: 0 1rem 0 0; }
    .tl-right .tl-card { margin: 0 0 0 1rem; }
}
 
/* ===========================
   Responsive — Desktop (≥ 900px)
   =========================== */
@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr 340px;
        gap: 5rem;
    }
 
    .polaroid-stack {
        margin: 0;
    }
 
    .story-grid {
        grid-template-columns: 120px 1fr;
    }
 
    .story-number-col {
        display: flex;
        align-items: flex-start;
    }
 
    .skills-inner {
        grid-template-columns: 300px 1fr;
        gap: 5rem;
        align-items: flex-start;
    }
 
    .tab-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
 
    .tab-panel-inner {
        padding: 3rem;
    }
 
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
 
    .tl-card {
        max-width: 380px;
    }
}
 
/* ===========================
   Responsive — Large (≥ 1200px)
   =========================== */
@media (min-width: 1200px) {
    .hero-inner {
        grid-template-columns: 1fr 400px;
        gap: 6rem;
    }
 
    .polaroid-stack {
        width: 360px;
        height: 400px;
    }
 
    .polaroid {
        width: 280px;
    }
}
 
/* ===========================
   High-DPI / Retina
   =========================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-hero-title,
    .section-title,
    .cta-title {
        -webkit-font-smoothing: antialiased;
    }
}