/* ===================================
   Reset & Base
   =================================== */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #d1d5db;
    background-color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Accessibility
   =================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3 {
    color: #ffffff;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

p {
    font-size: 1.0625rem;
    color: #9ca3af;
    line-height: 1.8;
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* ===================================
   Header
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
    display: inline-block;
}

.logo-mark {
    width: 36px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-mark:hover {
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.header-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.header-name.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Hero
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
    padding-top: 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-photo {
    animation: fadeIn 0.6s ease-out;
}

.headshot {
    width: 280px;
    height: 340px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 4px;
    display: block;
}

.hero-info {
    animation: fadeIn 0.6s ease-out 0.15s backwards;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #d1d5db;
    margin-bottom: 0.125rem;
    letter-spacing: 0.01em;
}

.hero-org {
    font-size: 1.125rem;
    font-weight: 300;
    color: #6b7280;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.hero-tagline {
    font-size: 1rem;
    color: #b8c0cc;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 2.5rem;
}

.hero-contact a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.hero-contact a:hover {
    color: #ffffff;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    background-color: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: 1px solid #ffffff;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffffff;
}

.cta-button.cta-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    color: #ffffff;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #6b7280;
    opacity: 0.55;
    text-decoration: none;
    transform: translateX(-50%);
    animation: heroScrollCueBounce 2.4s ease-in-out infinite;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.hero-scroll-cue:hover {
    opacity: 1;
    color: #ffffff;
}

.hero-scroll-cue svg {
    display: block;
}

@keyframes heroScrollCueBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

/* ===================================
   About
   =================================== */

.about {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.about-body {
    max-width: 100%;
}

.about-body p {
    margin-bottom: 1.25rem;
}

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

/* ===================================
   Selected Work
   =================================== */

.work {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.work-stat {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background-color: #0f0f0f;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* ===================================
   How I Work
   =================================== */

.principles {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.principles-list {
    list-style: none;
    display: grid;
    gap: 2rem;
}

.principles-list h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.principles-list p {
    color: #9ca3af;
    line-height: 1.7;
}

/* ===================================
   Speaking & Recognition
   =================================== */

.speaking {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.speaking-list {
    list-style: none;
    display: grid;
}

.speaking-list li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #1a1a1a;
    align-items: baseline;
}

.speaking-list li:first-child {
    border-top: 1px solid #1a1a1a;
}

.speaking-meta {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.speaking-detail {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
}

.speaking-detail a,
.currently-detail a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    transition: border-color 0.2s ease;
}

.speaking-detail a:hover,
.currently-detail a:hover {
    border-bottom-color: #ffffff;
}

/* ===================================
   Endorsement
   =================================== */

.endorsement {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.endorsement-quote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.endorsement-quote::before {
    content: "\201C";
    display: block;
    font-size: 4rem;
    color: #2a2a2a;
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.endorsement-quote p {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e5e7eb;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: -0.005em;
}

.endorsement-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.endorsement-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.endorsement-role {
    font-size: 0.8125rem;
    color: #6b7280;
    letter-spacing: 0.02em;
}

/* ===================================
   Currently
   =================================== */

.currently {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.currently-list {
    list-style: none;
    display: grid;
}

.currently-list li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #1a1a1a;
    align-items: baseline;
}

.currently-list li:first-child {
    border-top: 1px solid #1a1a1a;
}

.currently-meta {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.currently-detail {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
}

.currently-detail em {
    font-style: italic;
    color: #ffffff;
}

/* ===================================
   Connect
   =================================== */

.connect {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.connect-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    background-color: #0f0f0f;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.connect-card:hover {
    background-color: #141414;
}

.connect-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.connect-value {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #ffffff;
}

/* ===================================
   Footer
   =================================== */

footer {
    background-color: #0a0a0a;
    padding: 3rem 0;
    border-top: 1px solid #1a1a1a;
}

footer p {
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 0.04em;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-photo {
        display: flex;
        justify-content: center;
    }

    .headshot {
        width: 220px;
        height: 270px;
    }

    .hero-name {
        font-size: 2.75rem;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-contact {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    section {
        padding: 4.5rem 0;
    }

    h2 {
        margin-bottom: 2rem;
    }

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

    .speaking-list li,
    .currently-list li {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .endorsement-quote p {
        font-size: 1.25rem;
    }

    .endorsement-quote::before {
        font-size: 3rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .headshot {
        width: 180px;
        height: 220px;
    }

    .hero-name {
        font-size: 2.25rem;
    }

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

    .hero-org {
        font-size: 1rem;
    }

    section {
        padding: 3.5rem 0;
    }

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

    .about-body p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
