@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
    --bg: #050505;
    --card-bg: #0c0c0c;
    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border: rgba(255, 255, 255, 0.05);
    --border-bright: rgba(255, 255, 255, 0.12);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Syne', sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --duration: 0.4s;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -0.04em;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
}

a {
    cursor: pointer;
}

/* ─── UTILITY ─── */
.text-accent {
    color: var(--accent);
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* ─── NAVIGATION ─── */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 680px;
}

.nav-pill {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--duration) var(--ease);
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* ─── SECTIONS ─── */
section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─── PERSONAL BRAND HERO ─── */
.eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.display-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.9;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
}

.hero-personal {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 5% 80px;
    background: radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 480px;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ─── EDITORIAL GRID ─── */
.editorial-section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.lead-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

/* ─── EXPERTISE LIST ─── */
.expertise-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-list {
    margin-top: 60px;
}

.expertise-item {
    display: flex;
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    transition: border-color var(--duration) var(--ease);
}

.expertise-item:last-child {
    border-bottom: 1px solid var(--border);
}

.expertise-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-num {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1.5rem;
    width: 48px;
    flex-shrink: 0;
    padding-top: 6px;
}

.expertise-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.expertise-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── RESULTS OVERVIEW ─── */
.results-overview {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 5%;
    max-width: none;
}

.stats-grid {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 60px 0;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ─── BOOKING ─── */
.booking-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.booking-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 72px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.booking-text p {
    font-size: 1.1rem;
    margin-top: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.booking-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-bright);
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
}

/* Full-width stacked variant — used when Calendly is embedded */
.booking-container--stacked {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.booking-widget--calendar {
    padding: 0;
    background: none;
    border: none;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.calendly-inline-widget {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

/* Visually covers the "Powered by Calendly" badge inside the iframe.
   The badge sits ~36px from the bottom. This overlay matches the page bg. */
.booking-widget--calendar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--card-bg);
    border-radius: 0 0 16px 16px;
    pointer-events: none;
    z-index: 10;
}

.booking-widget i {
    display: block;
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.booking-widget h3 {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* ─── FOOTER ─── */
.site-footer {
    padding: 80px 5% 60px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

.footer-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-bottom: 40px;
}

.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--duration) var(--ease);
    cursor: pointer;
}

.footer-socials a:hover {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.45;
}

/* ─── RESPONSIVE SYSTEM ─── */
@media (max-width: 1024px) {
    .booking-container {
        padding: 56px;
    }
}

@media (max-width: 900px) {
    section {
        padding: 80px 5%;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .booking-container {
        grid-template-columns: 1fr;
        padding: 56px 40px;
        gap: 48px;
    }

    .expertise-item {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .expertise-num {
        width: auto;
        padding-top: 0;
    }

    .display-title {
        font-size: clamp(3.2rem, 12vw, 6rem);
    }
}

@media (max-width: 768px) {
    nav {
        width: 92%;
        top: 16px;
    }

    .nav-pill {
        padding: 8px 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-pill .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .hero-personal {
        padding-top: 160px;
        min-height: auto;
    }

    .hero-actions {
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-grid {
        gap: 32px;
        justify-content: flex-start;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .blog-grid,
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    .nav-pill {
        justify-content: center;
    }

    .nav-pill .btn-primary {
        display: none;
        /* Hide button on tiny screens to save space */
    }

    .booking-container {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .booking-widget {
        padding: 32px 20px;
    }

    .display-title {
        font-size: 15vw;
        letter-spacing: -0.05em;
    }

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

/* ─── BLOG & SECONDARY PAGES ─── */
.sub-hero {
    padding: 160px 5% 80px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.blog-grid,
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 24px;
    padding: 72px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── BENTO / TESTIMONIAL CARDS ─── */
.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration) var(--ease);
}

.bento-item:hover {
    border-color: var(--border-bright);
}

.bento-item h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* ─── BLOG POST CARDS ─── */
.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.post-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.post-content {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-date {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.post-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.post-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 8px;
}

/* ─── SINGLE POST ─── */
.article-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 160px 5% 100px;
}

.article-wrap .back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
    transition: color var(--duration) var(--ease);
}

.article-wrap .back-link:hover {
    color: var(--text-primary);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.article-body h2,
.article-body h3 {
    margin: 48px 0 16px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body img {
    width: 100%;
    border-radius: 16px;
    margin: 40px 0;
    border: 1px solid var(--border);
}

.article-body a {
    color: var(--text-primary);
    text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5em;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 8px;
}

/* ─── LOADING STATES ─── */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* ─── RESPONSIVE SYSTEM ─── */
@media (max-width: 1024px) {
    .booking-container {
        padding: 56px;
    }
}

@media (max-width: 900px) {
    section {
        padding: 80px 5%;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .booking-container {
        grid-template-columns: 1fr;
        padding: 56px 40px;
        gap: 48px;
    }

    .expertise-item {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .expertise-num {
        width: auto;
        padding-top: 0;
    }

    .display-title {
        font-size: clamp(3.2rem, 12vw, 6rem);
    }
}

@media (max-width: 768px) {
    nav {
        width: 92%;
        top: 16px;
    }

    .nav-pill {
        padding: 8px 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-pill .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .hero-personal {
        padding-top: 160px;
        min-height: auto;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-grid {
        gap: 32px;
        justify-content: flex-start;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .blog-grid,
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }

    .results-hero {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .nav-pill {
        justify-content: center;
    }

    .nav-pill .btn {
        display: none;
        /* Hide button on tiny screens to save space */
    }

    .booking-container {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .booking-widget {
        padding: 32px 20px;
    }

    .display-title {
        font-size: 15vw;
        letter-spacing: -0.05em;
    }

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