:root {
    --black: #0a0a0a;
    --white: #f5f5f0;
    --gray: #888;
    --gray-dark: #333;
    --gray-light: #d0d0c8;
    --gray-muted: #b0b0a8;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

::selection {
    background: var(--black);
    color: var(--white);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    overflow-x: hidden;
}

a, button { cursor: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.06em;
}

/* ── Custom Cursor ── */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid var(--black);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

.cursor-ring.hovering {
    width: 64px;
    height: 64px;
    border-color: var(--gray);
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 80px);
    height: 72px;
    background: rgba(245, 245, 240, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.82rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover { color: var(--black); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--black);
    transition: 0.3s;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 clamp(20px, 5vw, 80px);
    padding-bottom: 64px;
    padding-top: 100px;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    margin-bottom: 48px;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1em;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    animation: revealWord 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title .line:nth-child(2) .word { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.3s; }

@keyframes revealWord {
    to { transform: translateY(0); }
}

.hero-sub {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 1px solid var(--black);
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-filled:hover {
    background: var(--gray-dark);
}

/* ── Hero Portrait — Circle ── */
.hero-portrait {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-portrait img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(100%) contrast(1.15) brightness(1.05);
    border: 2px solid var(--black);
    display: block;
}

.hero-portrait-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
    gap: 4px;
}

.hero-portrait-name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
}

.hero-portrait-role {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--gray);
}

.hero-portrait-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hero-portrait-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
    transition: all 0.3s;
}

.hero-portrait-links a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hero-scroll-hint .mono {
    color: var(--gray);
}

/* ── Numbers ── */
.numbers {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.numbers .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.numbers .mono {
    color: var(--gray);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.number-card {
    background: var(--black);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: background 0.4s;
}

.number-card:hover {
    background: #111;
}

.number-value {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--white);
}

.number-unit {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-top: 12px;
}

.number-context {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Marquee ── */
.marquee-section {
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    padding: 20px 0;
    overflow: hidden;
}

.marquee { overflow: hidden; }

.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-dark);
}

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

/* ── Section Head ── */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 64px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--black);
}

.section-head h2 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Work ── */
.work {
    padding: 120px 0;
}

.role {
    border-bottom: 1px solid var(--gray-light);
    padding: 48px 0;
    transition: background 0.4s;
}

.role:hover { background: rgba(0, 0, 0, 0.015); }
.role:last-child { border-bottom: none; }

.role-top {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 24px;
}

.role-index { color: var(--gray); }

.role-info h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.role-at {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gray);
}

.role-year {
    color: var(--gray);
    white-space: nowrap;
}

.role-body {
    padding-left: 104px;
    max-width: 800px;
}

.role-body p {
    color: var(--gray-dark);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.role-metrics {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.role-metric { display: flex; flex-direction: column; }

.big-num {
    font-family: var(--font-sans);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.role-metric span:last-child {
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Featured ── */
.featured {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.featured .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.featured .mono { color: var(--gray); }

.featured-card { max-width: 900px; }

.featured-label {
    color: var(--gray);
    margin-bottom: 32px;
}

.featured-title {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 32px;
}

.featured-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 680px;
}

.featured-list { display: flex; flex-direction: column; }

.featured-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

.featured-item .mono {
    color: var(--gray);
    padding-top: 2px;
}

.featured-item p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--gray-light);
}

/* ── Leadership ── */
.leadership {
    padding: 120px 0;
}

.leadership-intro {
    margin-bottom: 64px;
    max-width: 720px;
}

.leadership-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.leadership-title em {
    font-size: 1em;
}

.leadership-subtitle {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-light);
    margin-bottom: 64px;
}

.leadership-card {
    background: var(--white);
    padding: 40px;
    transition: background 0.3s;
}

.leadership-card:hover {
    background: #efefea;
}

.leadership-card-num {
    color: var(--gray);
    margin-bottom: 20px;
}

.leadership-card h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.leadership-card p {
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.75;
}

.leadership-stats {
    display: flex;
    gap: 1px;
    background: var(--black);
    padding: 1px;
}

.leadership-stat {
    flex: 1;
    background: var(--white);
    padding: 36px 24px;
    text-align: center;
    transition: background 0.3s;
}

.leadership-stat:hover {
    background: #efefea;
}

.leadership-stat-num {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    display: block;
    line-height: 1;
}

.leadership-stat-label {
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 10px;
    display: block;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.about .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.about .mono { color: var(--gray); }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-large {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--white);
}

.about-large em { font-size: 1em; }

.about-text p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

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

.detail-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    align-items: baseline;
    color: var(--gray-light);
}

.detail-label { color: var(--gray); }

.detail-row em {
    font-size: 0.92em;
    color: var(--gray);
}

/* ── Contact ── */
.contact {
    padding: 160px 0 120px;
    background: var(--white);
    color: var(--black);
}

.contact-inner { text-align: center; }

.contact-label {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 7.5vw, 6.5rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
}

.contact-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1em;
}

.contact-title .line { display: block; overflow: hidden; }

.contact-links {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.contact-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.contact-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gray);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-links a:hover { color: var(--black); }
.contact-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: var(--black);
}

/* ── Footer ── */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--gray-light);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.78rem;
}

/* ── Animations ── */
[data-aos] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: none;
}

/* ──────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ────────────────────────────────────────── */

/* ── Large screens (1440px+) ── */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 7.5rem;
    }

    .hero-portrait img {
        width: 320px;
        height: 320px;
    }

    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .number-value {
        font-size: 4rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Desktop (1024px — 1439px) ── */
@media (max-width: 1439px) and (min-width: 1025px) {
    .hero-portrait img {
        width: 260px;
        height: 260px;
    }
}

/* ── Tablet landscape / small laptop (768px — 1024px) ── */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-portrait img {
        width: 220px;
        height: 220px;
    }

    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .number-card {
        padding: 28px 20px;
    }

    .number-value {
        font-size: 2.2rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-stats {
        flex-wrap: wrap;
    }

    .leadership-stat {
        flex: 1 1 calc(33.333% - 1px);
    }

    .about-grid {
        gap: 48px;
    }

    .role-body {
        padding-left: 104px;
    }

    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .numbers, .featured, .about {
        padding: 80px 0;
    }
}

/* ── Tablet portrait (600px — 767px) ── */
@media (max-width: 767px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-light);
        flex-direction: column;
        padding: 24px clamp(20px, 5vw, 80px);
        gap: 20px;
    }

    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }

    .hero {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-portrait {
        order: -1;
        margin-bottom: 32px;
    }

    .hero-portrait img {
        width: 130px;
        height: 130px;
    }

    .hero-portrait-info {
        display: none;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .hero-scroll-hint { display: none; }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-card {
        padding: 32px 24px;
    }

    .number-value {
        font-size: 2.2rem;
    }

    .role-top {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .role-index { display: none; }

    .role-year {
        order: -1;
        font-size: 0.68rem;
    }

    .role-body {
        padding-left: 0;
    }

    .role-metrics {
        gap: 28px;
    }

    .featured-title {
        font-size: 2rem;
    }

    .featured-item {
        grid-template-columns: 36px 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card {
        padding: 32px 28px;
    }

    .leadership-stats {
        flex-wrap: wrap;
    }

    .leadership-stat {
        flex: 1 1 calc(50% - 1px);
        min-width: calc(50% - 1px);
    }

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

    .contact {
        padding: 80px 0 64px;
    }

    .contact-links {
        flex-direction: column;
        gap: 20px;
    }

    section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .numbers, .featured, .about {
        padding: 64px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }
}

/* ── Mobile (under 600px) ── */
@media (max-width: 599px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-outline, .btn-filled {
        justify-content: center;
        width: 100%;
    }

    .hero-portrait img {
        width: 110px;
        height: 110px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-card {
        padding: 24px 16px;
    }

    .number-value {
        font-size: 1.9rem;
    }

    .number-context {
        font-size: 0.75rem;
    }

    .big-num {
        font-size: 1.4rem;
    }

    .role-metrics {
        gap: 20px;
    }

    .featured-card {
        padding: 0;
    }

    .leadership-card {
        padding: 28px 20px;
    }

    .leadership-stat {
        padding: 24px 16px;
    }

    .leadership-stat-num {
        font-size: 1.8rem;
    }

    .leadership-title {
        font-size: 1.6rem;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .detail-row {
        grid-template-columns: 80px 1fr;
        gap: 16px;
        font-size: 0.82rem;
    }

    .about-large {
        font-size: 1.15rem;
    }
}

/* ── Small mobile (under 380px) ── */
@media (max-width: 379px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-portrait img {
        width: 90px;
        height: 90px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .leadership-stats {
        flex-direction: column;
    }

    .leadership-stat {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .nav-name {
        font-size: 0.68rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }
}
