:root {
    --ink: #0B0D0D;
    --paper: #F5F2EC;
    --charcoal: #171717;
    --muted: #63605A;
    /* Calibrated from #77736D for WCAG AA 5.8:1 contrast on --paper */
    --muted-light: #8E8A83;
    --accent: #C96A3D;
    --gold: #C6A15B;
    --gold-light: #D8BE82;
    --gold-readable: #8C6826;
    /* Accessible gold for light surfaces (4.8:1 contrast on --paper) */
    --shadow-sm: 0 2px 4px rgba(11, 13, 13, 0.04), 0 1px 2px rgba(11, 13, 13, 0.03);
    --shadow-md: 0 8px 24px -4px rgba(11, 13, 13, 0.08), 0 2px 6px -1px rgba(11, 13, 13, 0.04);
    --shadow-lg: 0 16px 36px -6px rgba(11, 13, 13, 0.12), 0 4px 12px -2px rgba(11, 13, 13, 0.06);
    /* Lovable Design System (identity-shine-station.lovable.app) */
    --stage: #121316;
    --stage-2: #1a1c21;
    --amber: #e5a93c;
    --amber-dim: #c48928;
    --mist: #edece8;
    --dim: #9fa2a8;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(229, 169, 60, 0.35);

    /* Aliased compatibility tokens */
    --ink: var(--stage);
    --paper: var(--stage);
    --charcoal: var(--mist);
    --muted: var(--dim);
    --muted-light: #7c7e84;
    --accent: var(--amber);
    --gold: var(--amber);
    --gold-light: #f3c46e;
    --gold-readable: var(--amber);

    /* Fonts */
    --font-display: 'Six Caps', sans-serif;
    --font-serif: 'Spectral', Georgia, serif;
    --font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows & Radius */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --radius-card: 14px;
    --ease-craft: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

/* --- Impeccable Browser Surfaces Theming --- */
::selection {
    background: var(--gold);
    color: var(--ink);
    background: var(--amber);
    color: var(--stage);
}

::-moz-selection {
    background: var(--gold);
    color: var(--ink);
    background: var(--amber);
    color: var(--stage);
}

:root {
    caret-color: var(--gold);
    caret-color: var(--amber);
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scrollbar-color: rgba(198, 161, 91, 0.45) #0B0D0D;
    scrollbar-color: rgba(229, 169, 60, 0.45) #0d0e10;
    scrollbar-width: thin;
    background-color: var(--stage);
}

/* WebKit Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0B0D0D;
    background: #0d0e10;
}

::-webkit-scrollbar-thumb {
    background: rgba(198, 161, 91, 0.4);
    background: rgba(229, 169, 60, 0.35);
    border-radius: 4px;
    border: 2px solid #0B0D0D;
    border: 2px solid #0d0e10;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(198, 161, 91, 0.75);
    background: rgba(229, 169, 60, 0.7);
}

/* Accessible Focus Ring System */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline: 2px solid var(--amber) !important;
    outline-offset: 3px !important;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--charcoal);
    font-family: Inter, sans-serif;
    background: var(--stage);
    color: var(--mist);
    font-family: var(--font-sans);
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography & Craft Polish */
h1,
h2,
h3,
h4,
h5,
h6,
/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    text-wrap: balance;
    letter-spacing: -0.015em;
    color: var(--mist);
}

.font-display {
    font-family: var(--font-display) !important;
    letter-spacing: 0.02em;
    letter-spacing: 0.06em !important;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

.font-sans {
    font-family: var(--font-sans) !important;
}

.display {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    font-family: var(--font-display) !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    letter-spacing: -0.015em;
    color: var(--mist);
}

.display-xl,
#home h1 {
    font-family: var(--font-display) !important;
    letter-spacing: 0.06em !important;
    line-height: 0.92 !important;
}

p,
.prose {
    text-wrap: pretty;
}

a {
    text-underline-offset: 0.25em;
    color: inherit;
}

/* Color Utilities */
.text-mist {
    color: var(--mist) !important;
}

.text-dim {
    color: var(--dim) !important;
}

.text-amber {
    color: var(--amber) !important;
}

.bg-amber {
    background-color: var(--amber) !important;
}

.bg-stage {
    background-color: var(--stage) !important;
}

.bg-stage-2 {
    background-color: var(--stage-2) !important;
}

/* Tabular Numerals for Optical Stability */
.tabular-nums,
[data-number],
.metric-num,
.stat-number,
.time-badge,
.runtime,
.chapter-number,
.timeline-year {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

img {
    max-width: 100%;
    display: block;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.display {
    font-family: var(--font-display) !important;
    letter-spacing: 0.06em !important;
}

/* Card & Widget Headings Legibility */
.card h3,
.card h4,
.venture-card h3,
.podcast-episode-card h3,
.chapter-card h3 {
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

.container-x {
    width: min(88vw, 1240px);
    margin-inline: auto;
}

.grain:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   LOVABLE ATMOSPHERE & VISUAL EFFECTS (identity-shine-station.lovable.app)
   ========================================================================== */

.stage-surface {
    isolation: isolate;
    background: radial-gradient(120% 90% at 50% 0, #1f2127 0%, #121316 45%, #0b0c0e 100%);
    position: relative;
    min-height: 100vh;
}

.starfield {
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.6px 1.6px at 44% 30%, rgba(229, 169, 60, 0.6), transparent),
        radial-gradient(1px 1px at 62% 78%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.8px 1.8px at 74% 18%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 86% 58%, rgba(229, 169, 60, 0.5), transparent),
        radial-gradient(1.2px 1.2px at 92% 34%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 6% 82%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 100% 100%;
    animation: 60s linear infinite stage-drift;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

@keyframes stage-drift {
    0% {
        transform: translate(0);
    }

    to {
        transform: translate(-4%, -6%);
    }
}

.spotlight {
    z-index: 1;
    pointer-events: none;
    opacity: .07;
    background-image: url('https://www.transparenttextures.com/patterns/noise-lines.png');
    filter: blur(6px);
    background: radial-gradient(45% 55% at 50% 42%, rgba(229, 169, 60, 0.16), rgba(229, 169, 60, 0.05) 40%, transparent 68%);
    width: 120%;
    height: 90%;
    animation: 9s ease-in-out infinite stage-glow;
    position: absolute;
    top: -18%;
    left: 50%;
    transform: translate(-50%);
}

@keyframes stage-glow {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.hero-image {
    background:
        linear-gradient(90deg, rgba(18, 19, 22, .92) 0%, rgba(18, 19, 22, .65) 50%, rgba(18, 19, 22, .25) 100%),
        url('https://placehold.co/1920x1080/1a1c21/e5a93c?text=Hero+Banner') center/cover no-repeat;
}

.rise {
    animation: 0.8s cubic-bezier(0.32, 0.72, 0, 1) both stage-rise;
}

@keyframes stage-rise {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.underline-link {
    position: relative;
}

.underline-link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 1px;
    background: currentColor;
    transition: right 0.35s ease;
}

.underline-link:hover:after {
    right: 0;
}

/* Glassmorphism System */
.glass {
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Premium Gold Accent */
.glass-soft {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Lift and Card Physics */
.lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease;
}

.lift:hover {
    border-color: rgba(229, 169, 60, 0.4);
    transform: translateY(-5px);
}

.pcard {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease;
}

.pcard:hover {
    border-color: rgba(229, 169, 60, 0.4);
    transform: translateY(-4px);
}

.portrait-dim {
    filter: grayscale(100%) brightness(0.7) contrast(1.08);
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: filter, transform;
}

.pcard:hover .portrait-dim,
.founder-card:hover .portrait-dim,
.group:hover .portrait-dim,
.portrait-dim:hover {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.05);
}

/* Founder Infinite Marquee Slider */
.founder-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.founder-marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: founderMarquee 30s linear infinite;
    will-change: transform;
}

.founder-marquee-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    padding-right: 1rem;
    flex-shrink: 0 !important;
}

.founder-marquee-container:hover .founder-marquee-track {
    animation-play-state: paused;
}

@keyframes founderMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.founder-card {
    flex-shrink: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 169, 60, 0.7);
    box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 169, 60, 0.2);
}

/* Pill Buttons & Links */
.btn-amber-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--amber);
    border: 1px solid rgba(229, 169, 60, 0.4);
    background: transparent;
    transition: all 0.25s var(--ease-craft);
    text-decoration: none;
}

.btn-amber-pill:hover {
    background: rgba(229, 169, 60, 0.12);
    border-color: var(--amber);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Gold / Amber Accents */
.gold-text {
    color: var(--gold) !important color: var(--amber) !important;
}

.gold-border {
    border-color: var(--gold) !important border-color: var(--amber) !important;
}

.gold-bg {
    background: var(--gold) !important background: var(--amber) !important;
}

.gold-line {
    background: var(--gold) !important background: var(--amber) !important;
}

.gold-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    border: 1px solid var(--amber);
    color: var(--amber);
}

.gold-hover {
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.gold-hover:hover {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--amber) !important;
    border-color: var(--amber) !important;
}

.premium-label {
    color: var(--gold);
    color: var(--amber);
}

.premium-rule {
    width: 42px;
    height: 1px;
    background: var(--gold);
    background: var(--amber);
}

.gold-accent-card {
    position: relative;
}

.gold-accent-card:before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 2;
}

.gold-accent-card:hover:before {
    transform: scaleX(1)
}

.timeline-dot {
    border-color: var(--gold) !important;
}

.timeline-dot:after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 9999px;
    background: var(--gold);
    opacity: .9;
}

.card {
    transition: transform .35s, box-shadow .35s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(11, 13, 13, .1);
}

.logo-grid img,
#featured .card img {
    filter: grayscale(1);
    opacity: .72;
    transition: .25s;
}

.logo-grid img:hover,
.logo-grid>div:hover img,
.logo-grid .card:hover img,
#featured .card:hover img,
#featured .card img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #171717 !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #171717;
    border-radius: 999px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 13px !important
}

.timeline-line {
    background: linear-gradient(#77736d, #77736d) no-repeat 7px 0/1px 100%;
}

.timeline-dot {
    box-shadow: 0 0 0 5px #F5F2EC;
    box-shadow: 0 0 0 5px var(--stage);
    border: 1px solid #171717;
}

.menu-open {
    overflow: hidden
}

/* Tablet */
@media (max-width:1023px) {
    .container-x {
        width: min(90vw, 760px)
    }

    .hero-image {
        background:
            linear-gradient(180deg, rgba(18, 19, 22, .35) 0%, rgba(18, 19, 22, .85) 65%, rgba(18, 19, 22, .98) 95%),
            url('https://placehold.co/1200x800/1a1c21/e5a93c?text=Hero+Banner') center top/cover no-repeat;
    }
}

/* Mobile */
@media (max-width:767px) {
    .container-x {
        width: calc(100% - 32px);
        max-width: none;
    }

    section {
        scroll-margin-top: 20px
    }

    /* Header */
    header .container-x {
        height: 68px
    }

    header .display {
        font-size: 15px
    }

    #menuBtn {
        width: 38px;
        height: 38px;
        flex: none;
    }

    #mobileMenu {
        padding: 20px 20px 32px;
        overflow-y: auto;
        height: 100dvh;
    }

    #mobileMenu nav {
        margin-top: 72px;
        gap: 20px;
        font-size: 34px;
        line-height: 1;
    }

    /* Hero */
    #home {
        min-height: auto;
        height: auto;
    }

    .hero-image {
        background:
            linear-gradient(180deg, rgba(18, 19, 22, .3) 0%, rgba(18, 19, 22, .78) 50%, rgba(18, 19, 22, .98) 92%),
            url('https://placehold.co/1000x800/1a1c21/e5a93c?text=Hero+Banner') 64% top/cover no-repeat;
    }

    #home>.container-x {
        min-height: auto;
        padding-top: 0;
        padding-bottom: 24px;
        align-items: flex-start;
    }

    #home .grid {
        display: block
    }

    #home h1,
    .display-xl {
        font-size: clamp(54px, 17vw, 78px) !important;
        line-height: .82 !important;
        letter-spacing: -.045em;
        line-height: .92 !important;
        letter-spacing: 0.05em !important;
    }

    #home h2 {
        font-size: 25px !important;
        line-height: 1.02 !important;
        margin-top: 22px;
    }

    #home p {
        font-size: 12px;
        line-height: 1.55;
    }

    #home .flex-wrap {
        gap: 8px;
    }

    #home .flex-wrap a {
        padding: 11px 15px;
        font-size: 10px;
    }

    #home .grid.grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        row-gap: 18px;
        margin-top: 28px;
        padding-top: 17px;
    }

    #home .grid.grid-cols-4 b {
        font-size: 24px;
    }

    #home .grid.grid-cols-4 span {
        font-size: 8px;
        line-height: 1.3;
    }

    /* General sections */
    .py-16 {
        padding-top: 56px !important;
        padding-bottom: 56px !important
    }

    .md\:py-24 {
        padding-top: 56px !important;
        padding-bottom: 56px !important
    }

    .section-title {
        font-size: 40px !important;
        line-height: .96 !important;
    }

    /* About */
    #about .grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    #about img {
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    #about .mt-9 {
        margin-top: 28px
    }

    #about .timeline-line {
        padding-left: 26px;
    }

    #about .timeline-dot {
        left: 0px !important;
    }

    /* Ventures / sliders */
    #ventures .flex {
        gap: 28px;
    }

    #ventures .lg\:w-\[28\%\] {
        width: 100%
    }

    .ventureSwiper {
        width: 100%;
        overflow: hidden;
    }

    .ventureSwiper .swiper-slide {
        width: 82% !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }

    /* Brand/media grids */
    .logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2px !important;
    }

    .logo-grid>div {
        height: 58px !important;
    }

    .logo-grid img {
        max-height: 30px !important;
    }

    #featured .grid.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    #featured .grid.grid-cols-2>div {
        height: 100px !important;
    }

    /* Podcast */
    #podcast .grid {
        display: flex;
        flex-direction: column;
    }

    #podcast h2 {
        font-size: 43px !important;
    }

    #podcast .grid.md\:grid-cols-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    #podcast article img {
        aspect-ratio: 1.4;
    }

    /* Book */
    #books .grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    #books img {
        width: 190px !important;
    }

    #books h2 {
        font-size: 40px !important;
    }

    #books blockquote {
        padding-left: 18px;
    }

    /* Insights */
    #insights .flex {
        align-items: flex-start;
    }

    #insights h2 {
        font-size: 40px !important;
    }

    #insights .grid.md\:grid-cols-3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #insights article h3 {
        font-size: 19px;
    }

    /* Speaking */
    section.bg-white>.grid.lg\:grid-cols-\[32\%\,68\%\] {
        display: flex;
        flex-direction: column;
    }

    section.bg-white>.grid.lg\:grid-cols-\[32\%\,68\%\]>img {
        width: 100%;
        height: 330px;
        min-height: 0 !important;
    }

    section.bg-white>.grid.lg\:grid-cols-\[32\%\,68\%\] .container-x {
        width: calc(100% - 32px) !important;
        padding-left: 0 !important;
        padding-top: 42px !important;
        padding-bottom: 50px !important;
    }

    section.bg-white>.grid.lg\:grid-cols-\[32\%\,68\%\] .xl\:grid-cols-\[1fr_360px\] {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    section.bg-white>.grid.lg\:grid-cols-\[32\%\,68\%\] h2 {
        font-size: 42px !important;
    }

    /* Connect */
    #contact .container-x {
        align-items: flex-start;
    }

    #contact h2 {
        font-size: 38px !important;
    }

    #contact p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.6;
    }

    #contact a {
        align-self: flex-start;
    }

    /* Footer */
    footer .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px 20px !important;
    }

    footer .md\:text-right {
        text-align: left !important;
        grid-column: 1/-1;
    }

    footer .display {
        font-size: 20px;
    }

    footer .mt-10 {
        margin-top: 30px;
    }

    footer .mt-10>div {
        line-height: 1.6;
    }
}

/* Small phones */
@media (max-width:390px) {
    .container-x {
        width: calc(100% - 24px)
    }

    #home h1,
    .display-xl {
        font-size: 50px !important
    }

    #home h2 {
        font-size: 22px !important
    }

    #home .grid.grid-cols-4 b {
        font-size: 21px
    }

    #home .grid.grid-cols-4 span {
        font-size: 7px
    }

    #about h2,
    .section-title {
        font-size: 35px !important
    }

    #podcast h2,
    #books h2,
    #insights h2 {
        font-size: 36px !important
    }

    #contact h2 {
        font-size: 34px !important
    }

    footer .grid {
        grid-template-columns: 1fr !important
    }

    footer .md\:text-right {
        grid-column: auto
    }
}

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

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

/* FINAL MOBILE LAYOUT — 320px to 767px */
@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        font-size: 14px
    }

    .container-x {
        width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important
    }

    /* Header */
    header .container-x {
        height: 64px
    }

    header .display {
        font-size: 14px !important
    }

    #menuBtn {
        width: 36px !important;
        height: 36px !important
    }

    #mobileMenu {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 20px 22px 30px !important
    }

    #mobileMenu nav {
        margin-top: 58px !important;
        gap: 20px !important;
        font-size: 30px !important
    }

    #mobileMenu nav a {
        display: block;
        padding: 3px 0
    }

    /* Hero */
    #home {
        min-height: auto !important;
    }

    #home>.container-x {
        min-height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 20px !important;
    }

    #home .hero-image {
        background-position: 68% center !important;
        background-size: cover !important;
    }

    #home h1 {
        font-size: clamp(50px, 16.5vw, 68px) !important;
        line-height: .84 !important
    }

    #home h2 {
        font-size: 23px !important;
        line-height: 1.02 !important
    }

    #home p {
        font-size: 11.5px !important;
        line-height: 1.55 !important
    }

    #home .flex-wrap a {
        min-height: 38px;
        padding: 10px 14px !important
    }

    #home .grid.grid-cols-4 {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 0 !important;
        margin-top: 25px !important;
    }

    #home .grid.grid-cols-4>div {
        min-width: 0
    }

    #home .grid.grid-cols-4 b {
        font-size: 21px !important
    }

    #home .grid.grid-cols-4 span {
        font-size: 7px !important;
        white-space: normal !important
    }

    /* About */
    #about .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important
    }

    #about .grid>div {
        width: 100% !important
    }

    #about img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        object-fit: cover
    }

    #about h2 {
        font-size: 39px !important;
        line-height: .94 !important
    }

    #about .timeline-line {
        margin-top: 28px !important;
        padding-left: 28px !important
    }

    #about .timeline-line>div {
        position: relative !important
    }

    #about .timeline-dot {
        left: 0px !important
    }

    /* Ventures */
    #ventures .container-x>.flex {
        display: block !important
    }

    #ventures .container-x>.flex>div:first-child {
        width: 100% !important;
        margin-bottom: 28px
    }

    #ventures h2 {
        font-size: 40px !important;
        line-height: .95 !important
    }

    .ventureSwiper {
        width: 100% !important;
        overflow: hidden !important
    }

    .ventureSwiper .swiper-slide {
        width: 82% !important
    }

    .ventureSwiper .swiper-wrapper {
        align-items: stretch
    }

    .ventureSwiper .swiper-slide>div {
        height: 100%
    }

    .ventureSwiper img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.45;
        object-fit: cover
    }

    /* Brand strip */
    #ventures~section .container-x {
        width: calc(100% - 28px) !important
    }

    #ventures~section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important
    }

    #ventures~section h2 {
        font-size: 38px !important;
        line-height: .95 !important
    }

    .logo-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important
    }

    .logo-grid>div {
        height: 58px !important
    }

    /* Featured */
    #featured .grid.grid-cols-2 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important
    }

    #featured .grid.grid-cols-2>div {
        height: 92px !important
    }

    #featured h2 {
        font-size: 39px !important
    }

    /* Podcast */
    #podcast .grid {
        display: block !important
    }

    #podcast h2 {
        font-size: 41px !important;
        line-height: .94 !important
    }

    #podcast .grid.md\:grid-cols-2 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important
    }

    #podcast article img {
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover
    }

    /* Books */
    #books .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important
    }

    #books .grid>div {
        width: 100% !important
    }

    #books img {
        width: 170px !important
    }

    #books h2 {
        font-size: 39px !important;
        line-height: .95 !important
    }

    /* Insights */
    #insights .grid.md\:grid-cols-3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important
    }

    #insights h2 {
        font-size: 39px !important;
        line-height: .95 !important
    }

    #insights article img {
        width: 100%;
        aspect-ratio: 1.8;
        object-fit: cover
    }

    /* Speaking section — the section immediately before contact */
    #insights+section>.grid {
        display: flex !important;
        flex-direction: column !important;
    }

    #insights+section>.grid>img {
        width: 100% !important;
        height: 310px !important;
        min-height: 0 !important;
        object-fit: cover;
    }

    #insights+section>.grid>.container-x {
        width: calc(100% - 28px) !important;
        padding: 44px 0 50px !important;
    }

    #insights+section h2 {
        font-size: 41px !important;
        line-height: .94 !important
    }

    #insights+section .xl\:grid-cols-\[1fr_360px\] {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
    }

    #insights+section .grid.grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important
    }

    #insights+section .grid.grid-cols-3 b {
        font-size: 25px !important
    }

    /* Contact */
    #contact .container-x {
        padding-top: 4px !important
    }

    #contact h2 {
        font-size: 37px !important;
        line-height: .95 !important
    }

    #contact p {
        font-size: 11.5px !important;
        line-height: 1.55 !important
    }

    #contact a {
        width: max-content
    }

    /* Footer */
    footer .grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 28px 18px !important
    }

    footer .grid>div:last-child {
        grid-column: 1/-1 !important;
        text-align: left !important
    }

    footer .grid>div:first-child {
        grid-column: 1/-1 !important
    }

    footer .mt-10 {
        margin-top: 30px !important
    }

    footer .mt-10>div:last-child {
        margin-top: 4px
    }

    /* Touch devices should not lift cards while scrolling */
    @media (hover:none) {
        .card:hover {
            transform: none;
            box-shadow: none
        }
    }
}

@media (max-width:360px) {
    .container-x {
        width: calc(100% - 22px) !important
    }

    #home h1 {
        font-size: 49px !important
    }

    #home h2 {
        font-size: 21px !important
    }

    #home .grid.grid-cols-4 b {
        font-size: 19px !important
    }

    #home .grid.grid-cols-4 span {
        font-size: 6.5px !important
    }

    #about h2,
    #ventures h2,
    #featured h2,
    #podcast h2,
    #books h2,
    #insights h2 {
        font-size: 34px !important
    }

    #contact h2 {
        font-size: 33px !important
    }

    #mobileMenu nav {
        font-size: 27px !important
    }
}

/* Venture slider controls */
.ventureSwiper {
    overflow: visible;
}

.venture-prev,
.venture-next {
    transition: background-color .3s ease, color .3s ease,
        transform .3s ease, opacity .3s ease;
}

.venture-prev:hover,
.venture-next:hover {
    transform: none !important;
}

.venture-prev.swiper-button-disabled,
.venture-next.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

@media (max-width:767px) {
    .ventureSwiper {
        width: 100%;
        overflow: visible;
        padding-inline: 2px;
    }

    .ventureSwiper .swiper-wrapper {
        padding-bottom: 45px;
    }

    .venture-prev,
    .venture-next {
        width: 38px;
        height: 38px;
        top: 40%;
    }

    .venture-prev {
        left: -8px;
    }

    .venture-next {
        right: -8px;
    }

    .venture-prev i,
    .venture-next i {
        font-size: 10px;
    }

    .ventureSwiper .swiper-pagination {
        bottom: 0;
    }
}

@media (max-width:390px) {
    .venture-prev {
        left: -4px;
    }

    .venture-next {
        right: -4px;
    }

    .venture-prev,
    .venture-next {
        width: 34px;
        height: 34px;
    }
}

/* Buttons should never lift on hover */
button:hover,
a[role="button"]:hover {
    transform: none !important;
}

/* Animate.css reveal helpers */
.animate-reveal {
    --animate-duration: .8s;
}

.animate-reveal-fast {
    --animate-duration: .55s;
}

.animate-reveal-slow {
    --animate-duration: 1.05s;
}

@media (prefers-reduced-motion: reduce) {
    .animate__animated {
        animation: none !important;
    }
}

/* Subtle staggered entrance for repeated content */
.ventureSwiper .swiper-slide {
    --animate-duration: .7s;
}

.logo-grid>div {
    --animate-duration: .65s;
}

.logo-grid>div:nth-child(2n) {
    animation-delay: .08s;
}

.logo-grid>div:nth-child(3n) {
    animation-delay: .16s;
}

/* Keep hover interaction clean and premium */
.venture-prev,
.venture-next {
    transform: none !important;
}

/* Footer */
footer .hover\:text-accent:hover {
    color: var(--gold) !important;
}

footer img {
    transition: opacity .25s ease;
}

footer img:hover {
    opacity: .78;
}

@media (max-width: 767px) {
    footer .container-x {
        width: calc(100% - 32px);
    }

    footer .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 34px 22px !important;
    }

    footer .grid>div:first-child,
    footer .grid>div:last-child {
        grid-column: 1 / -1;
    }

    footer .grid>div:last-child {
        justify-content: flex-start;
        padding-top: 4px;
    }

    footer .grid>div:last-child img {
        width: 190px;
    }

    footer .py-14 {
        padding-top: 46px !important;
        padding-bottom: 46px !important;
    }
}

@media (max-width: 390px) {
    footer .grid {
        grid-template-columns: 1fr !important;
    }

    footer .grid>div {
        grid-column: auto !important;
    }

    footer .grid>div:last-child {
        grid-column: auto !important;
    }

    footer .grid>div:last-child img {
        width: 175px;
    }

    footer .container-x {
        width: calc(100% - 24px);
    }
}

/* About: Image | Content | Timeline */
#about .timeline-line {
    min-height: 100%;
}

@media (min-width: 1024px) {
    #about>.container-x>.grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(230px, .8fr) !important;
        align-items: center !important;
    }
}

@media (max-width: 1023px) {
    #about>.container-x>.grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    #about>.container-x>.grid {
        gap: 28px !important;
    }

    #about .timeline-line {
        min-height: auto;
    }
}

/* Timeline: vertical line passes through the centre of every dot */
.timeline-list {
    position: relative;
    padding: 2px 0;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: #77736D;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    border: 1.5px solid #171717;
    box-shadow: 0 0 0 4px #F5F2EC;
    box-shadow: 0 0 0 4px var(--stage);
}

.timeline-content {
    padding-left: 48px !important;
}

.timeline-content strong {
    letter-spacing: -.02em;
}

.timeline-content p {
    max-width: 280px;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .timeline-list::before {
        left: 10px;
    }

    .timeline-content {
        padding-left: 44px !important;
    }

    .timeline-dot {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Ventures slider stays strictly inside its own column */
#ventures {
    overflow: hidden;
}

#ventures .lg\:w-\[72\%\] {
    position: relative;
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden;
}

#ventures .ventureSwiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
}

#ventures .ventureSwiper .swiper-wrapper {
    overflow: visible;
}

#ventures .ventureSwiper .swiper-slide {
    max-width: 100%;
}

/* Keep navigation buttons inside the slider area */
#ventures .venture-prev {
    left: 10px !important;
}

#ventures .venture-next {
    right: 10px !important;
}

@media (max-width: 767px) {
    #ventures .lg\:w-\[72\%\] {
        width: 100%;
    }

    #ventures .ventureSwiper {
        overflow: hidden !important;
        padding-inline: 0;
    }

    #ventures .venture-prev {
        left: 8px !important;
    }

    #ventures .venture-next {
        right: 8px !important;
    }
}

/* Sticky header + responsive navigation */
body {
    padding-top: 72px;
}

#siteHeader.scrolled {
    background: rgba(11, 13, 13, .98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.main-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 72px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .25s ease;
}

.main-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 20px;
    height: 1px;
    background: var(--gold);
    transition: right .25s ease;
}

.main-nav-link:hover,
.main-nav-link.active {
    color: #fff;
}

.main-nav-link.active {
    color: var(--gold);
}

.main-nav-link:hover::after,
.main-nav-link.active::after {
    right: 0;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, .58);
    transition: color .25s ease, padding-left .25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #fff;
}

.mobile-nav-link.active {
    color: var(--gold);
}

.mobile-nav-link.active {
    padding-left: 10px;
}

#menuBtn:hover {
    transform: none !important;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
}

body.menu-open {
    overflow: hidden;
}

@media (min-width:768px) and (max-width:1023px) {
    body {
        padding-top: 68px;
    }

    #siteHeader .container-x {
        height: 68px;
        width: min(92vw, 980px);
    }

    #mobileMenu {
        top: 68px;
    }

    #mobileMenu .container-x {
        width: min(88vw, 720px);
    }
}

@media (max-width:767px) {
    body {
        padding-top: 64px;
    }

    #siteHeader .container-x {
        height: 64px;
    }

    #mobileMenu {
        top: 64px;
    }

    #mobileMenu .container-x {
        width: calc(100% - 32px);
    }

    #siteHeader .display {
        font-size: 15px;
    }
}

@media (max-width:390px) {
    body {
        padding-top: 60px;
    }

    #siteHeader .container-x {
        height: 60px;
    }

    #mobileMenu {
        top: 60px;
    }

    #mobileMenu .container-x {
        width: calc(100% - 24px);
    }
}

/* =========================
       MOBILE / TABLET MENU DRAWER
       ========================= */
#mobileMenu {
    z-index: 999;
}

#menuDrawer {
    z-index: 2;
    -webkit-overflow-scrolling: touch;
}

#mobileMenu.is-open #menuBackdrop {
    opacity: 1;
}

#mobileMenu.is-open #menuDrawer {
    transform: translateX(0);
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .62);
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    transition: color .25s ease, padding-left .25s ease;
}

.menu-item::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .25s ease, transform .25s ease;
}

.menu-item:hover,
.menu-item.active {
    color: #fff;
}

.menu-item:hover::after,
.menu-item.active::after {
    opacity: .8;
    transform: translateX(0);
}

#menuBtn {
    position: relative;
    z-index: 1100;
}

@media (min-width: 768px) and (max-width: 1023px) {
    #mobileMenu {
        top: 68px;
    }

    #menuDrawer {
        width: min(62vw, 460px);
    }

    .menu-item {
        min-height: 68px;
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    #mobileMenu {
        top: 64px;
    }

    #menuDrawer {
        width: min(90vw, 400px);
    }

    .menu-item {
        min-height: 58px;
        font-size: 30px;
    }
}

@media (max-width: 390px) {
    #mobileMenu {
        top: 60px;
    }

    #menuDrawer {
        width: 92vw;
    }

    .menu-item {
        min-height: 54px;
        font-size: 27px;
    }
}

/* FINAL MENU FIX */
#menuBtn {
    display: none;
    cursor: pointer;
    pointer-events: auto;
}

#mobileMenu {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

#mobileMenu.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

#mobileMenu #menuDrawer {
    transform: translateX(100%);
    pointer-events: auto;
}

#mobileMenu.is-open #menuDrawer {
    transform: translateX(0);
}

#mobileMenu #menuBackdrop {
    pointer-events: auto;
}

@media (max-width: 1023px) {
    #menuBtn {
        display: inline-flex !important;
    }

    #mobileMenu {
        display: block;
    }

    #mobileMenu.hidden {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    #menuBtn {
        display: none !important;
    }

    #mobileMenu {
        display: none !important;
    }
}

/* FINAL MOBILE MENU OVERRIDES */
@media (max-width: 1023px) {
    #menuBtn {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1100 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    #mobileMenu {
        display: none;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 72px !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100dvh - 72px) !important;
        z-index: 1050 !important;
        overflow: hidden !important;
    }

    #mobileMenu #menuDrawer {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        height: 100% !important;
        width: min(88vw, 430px) !important;
        transform: translateX(100%) !important;
        transition: transform .28s ease !important;
        z-index: 2 !important;
    }

    #mobileMenu #menuBackdrop {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    #mobileMenu.is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #mobileMenu.is-open #menuDrawer {
        transform: translateX(0) !important;
    }
}

@media (min-width: 1024px) {

    #menuBtn,
    #mobileMenu {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    #menuBtn {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1200 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    #mobileMenu {
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100dvh - 72px) !important;
        z-index: 1100 !important;
    }

    #mobileMenu #menuDrawer {
        z-index: 2 !important;
        pointer-events: none !important;
        transition: transform .28s ease !important;
    }

    #mobileMenu #menuBackdrop {
        z-index: 1 !important;
        pointer-events: none !important;
    }

    #mobileMenu.is-open #menuDrawer {
        pointer-events: auto !important;
    }

    #mobileMenu.is-open #menuBackdrop {
        pointer-events: auto !important;
    }
}

@media (min-width: 1024px) {

    #menuBtn,
    #mobileMenu {
        display: none !important;
    }
}

/* ABOUT TIMELINE — MOBILE ALIGNMENT */
.timeline-list {
    position: relative !important;
}

.timeline-list::before {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    background: rgba(23, 23, 23, .22) !important;
    transform: none !important;
}

.timeline-item {
    position: relative !important;
    min-height: 58px !important;
}

.timeline-dot {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    border: 2px solid #171717 !important;
    border-radius: 9999px !important;
    background: #F5F2EC !important;
    background: var(--stage) !important;
}

/* The text starts after the dot, not from the line. */
.timeline-content {
    margin-left: 0 !important;
    padding-left: 48px !important;
    position: relative !important;
}

/* Mobile: keep one fixed geometry for every timeline item. */
@media (max-width: 767px) {
    .timeline-list::before {
        left: 12px !important;
    }

    .timeline-dot {
        left: 0 !important;
        top: 1px !important;
        width: 25px !important;
        height: 25px !important;
    }

    .timeline-content {
        padding-left: 48px !important;
    }

    .timeline-item {
        padding-bottom: 28px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .timeline-list::before {
        left: 12px !important;
    }

    .timeline-dot {
        left: 0 !important;
        top: 1px !important;
    }

    .timeline-content {
        padding-left: 48px !important;
    }
}

/* Timeline: line should sit BEHIND the dot */
.timeline-list {
    position: relative !important;
}

.timeline-list::before {
    left: 12px !important;
    width: 1px !important;
    z-index: 0 !important;
}

.timeline-item {
    position: relative !important;
}

.timeline-dot {
    left: 0 !important;
    top: 1px !important;
    position: absolute !important;
    z-index: 10 !important;
    background: #F5F2EC !important;
    box-shadow: 0 0 0 4px #F5F2EC !important;
    background: var(--stage) !important;
    box-shadow: 0 0 0 4px var(--stage) !important;
}

.timeline-content {
    position: relative !important;
    z-index: 1 !important;
    padding-left: 48px !important;
}

/* On mobile keep the line starting above the first dot,
   while every dot visually sits on top of the line. */
@media (max-width: 767px) {
    .timeline-list::before {
        left: 12px !important;
        top: 0 !important;
        bottom: 0 !important;
    }

    .timeline-dot {
        left: 0 !important;
        top: 1px !important;
        width: 25px !important;
        height: 25px !important;
    }
}

/* ==========================================================================
   MOTION (motion.dev) + HAIKEI-STYLE BACKDROPS + MOTION-PRIMITIVES PATTERNS
   Shared across index.html and about.html
   ========================================================================== */

/* --- Scroll reveal base state (animated in by motion.js / about.js) --- */
[data-reveal] {
    opacity: 0;
}

[data-reveal-group]>* {
    opacity: 0;
}

/* If Motion fails to load, motion.js adds this class so nothing stays hidden */
.motion-fallback [data-reveal],
.motion-fallback [data-reveal-group]>* {
    opacity: 1 !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-reveal-group]>* {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Haikei-style organic blob backdrops (haikei.app aesthetic, hand-authored) --- */
.haikei-blob {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: blur(6px);
    opacity: .5;
    animation: blobDrift 24s ease-in-out infinite;
}

.hero-blob {
    top: -8%;
    right: -6%;
    width: min(46vw, 560px);
    height: auto;
    opacity: .22;
    filter: blur(10px);
}

.about-teaser-blob {
    top: -8%;
    left: -12%;
    width: 78%;
    height: auto;
    opacity: .35;
}

@keyframes blobDrift {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(-2%, 3%, 0) rotate(6deg) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .haikei-blob {
        animation: none;
    }
}

/* --- Motion-primitives.com style: cursor-tracked spotlight glow on cards --- */
.spotlight-card {
    position: relative;
    isolation: isolate;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 161, 91, .22), transparent 70%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.spotlight-card:hover::before {
    opacity: 1;
}


/* --- About: sticky story + FAQ headings --- */
.story-sticky,
.faq-sticky {
    position: sticky;
    top: 112px;
    align-self: start;
    z-index: 2;
}

/* --- Four Hats: square role visual --- */
.role-image-wrap {
    width: min(100%, 400px);
    margin-left: auto;
}

.role-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #171717;
    border: 1px solid rgba(198, 161, 91, .35);
    position: relative;
}

.role-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .28s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.role-image.is-changing {
    opacity: 0;
    transform: scale(1.025);
}

.role-image-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    letter-spacing: .22em;
}

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

@media (max-width: 1023px) {

    .story-sticky,
    .faq-sticky {
        position: static;
    }

    .role-image-wrap {
        margin-left: 0;
        width: min(100%, 420px);
    }
}

@media (max-width: 767px) {

    .story-sticky,
    .faq-sticky {
        position: static;
    }

    .role-image-wrap {
        width: 100%;
        max-width: 360px;
        margin: 12px auto 0;
    }
}

/* ==========================================================================
   ABOUT PAGE — motion-primitives-style components
   ========================================================================== */

/* --- Animated pill tabs (sliding indicator behind active tab) --- */
.role-tabs {
    position: relative;
    display: inline-flex;
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
}

.role-tabs .tab-indicator {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    border-radius: 999px;
    background: var(--gold);
    z-index: 0;
}

.tab-btn {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    border-radius: 999px;
    white-space: nowrap;
    transition: color .3s ease;
}

.tab-btn.is-active {
    color: var(--ink);
}

.tab-panel {
    transition: none;
}

.tab-panel.hidden {
    display: none;
}

/* --- Accordion (pure-CSS height animation via grid-template-rows) --- */
.accordion-item {
    border-bottom: 1px solid rgba(23, 23, 23, .12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 2px;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 600;
    color: var(--mist);
}

.accordion-trigger .accordion-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(23, 23, 23, .25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, background .35s ease, border-color .35s ease;
    transition: transform .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}

.accordion-item.is-open .accordion-trigger .accordion-icon {
    transform: rotate(45deg);
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    background: var(--amber);
    border-color: var(--amber);
    color: var(--stage);
}

.accordion-panel-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1);
}

.accordion-item.is-open .accordion-panel-wrap {
    grid-template-rows: 1fr;
}

.accordion-panel-wrap>.accordion-panel {
    overflow: hidden;
}

.accordion-panel p {
    padding-bottom: 22px;
    max-width: 640px;
}

/* --- Infinite logo marquee (motion-primitives "Infinite Slider" pattern) --- */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    animation: marqueeScroll 30s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* --- Horizontal Milestone Timeline --- */
#milestones {
    position: relative;
}

#milestones-sticky {
    position: sticky;
    top: 72px;
}

#milestoneHTrack {
    display: flex;
    align-items: center;
    transition: transform 0.05s linear;
}

.milestone-card {
    width: 300px;
    height: 440px;
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .milestone-card {
        width: 330px;
        height: 460px;
    }
}

@media (min-width: 1024px) {
    .milestone-card {
        width: 350px;
        height: 470px;
    }
}

/* Center Anchor for the Dot on the Line */
.milestone-h-dot-anchor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.milestone-h-dot {
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    border: 2px solid var(--charcoal);
    background: var(--paper);
    box-shadow: 0 0 0 4px var(--paper);
    border: 2px solid var(--amber);
    background: var(--stage-2);
    box-shadow: 0 0 0 4px rgba(229, 169, 60, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.milestone-h-dot span {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    background: var(--gold);
    background: var(--amber);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* TOP CARD */
.milestone-card.is-top .milestone-box-wrap {
    position: absolute;
    bottom: calc(50% + 20px);
    left: 0;
    right: 0;
}

.milestone-card.is-top .milestone-stem {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(23, 23, 23, 0.12);
    background: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.milestone-card.is-top .milestone-year-text {
    position: absolute;
    top: calc(50% + 18px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* BOTTOM CARD */
.milestone-card.is-bottom .milestone-year-text {
    position: absolute;
    bottom: calc(50% + 18px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.milestone-card.is-bottom .milestone-stem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(23, 23, 23, 0.12);
    background: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.milestone-card.is-bottom .milestone-box-wrap {
    position: absolute;
    top: calc(50% + 20px);
    left: 0;
    right: 0;
}

.milestone-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    background: rgba(26, 28, 33, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.milestone-card:hover .milestone-box {
    border-color: rgba(198, 161, 91, 0.5);
    box-shadow: 0 12px 28px -6px rgba(198, 161, 91, 0.2);
    border-color: rgba(229, 169, 60, 0.45);
    box-shadow: 0 16px 36px -6px rgba(229, 169, 60, 0.2);
    transform: translateY(-2px);
}

/* Legacy vertical milestone styles kept for backward compatibility */
.milestone-track {
    position: relative;
    padding-left: 44px;
}

.milestone-track::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(23, 23, 23, .15);
}

.milestone-fill {
    position: absolute;
    left: 11px;
    top: 4px;
    width: 1px;
    height: calc(100% - 8px);
    background: var(--gold);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform .1s linear;
}

.milestone-item {
    position: relative;
    padding-bottom: 44px;
}

.milestone-item:last-child {
    padding-bottom: 0;
}

.milestone-dot {
    position: absolute;
    left: -44px;
    top: 2px;
    width: 23px;
    height: 23px;
    border-radius: 999px;
    border: 1.5px solid var(--charcoal);
    background: var(--paper);
    box-shadow: 0 0 0 4px var(--paper);
    z-index: 1;
}

.milestone-dot:after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: var(--gold);
    opacity: 0;
    transition: opacity .3s ease;
}

.milestone-item.is-past .milestone-dot:after {
    opacity: 1;
}

/* --- Pull quote with blob backdrop --- */
.about-quote {
    position: relative;
    overflow: hidden;
}

/* --- Values / spotlight card grid --- */
.value-card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 2px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, .03);
}

@media (max-width: 767px) {
    .role-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 9px 14px;
        font-size: 10px;
    }

    .milestone-track {
        padding-left: 38px;
    }

    .milestone-dot {
        left: -38px;
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   BLOG PAGES
   ========================================================================== */

/* --- Category filter pills --- */
.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(23, 23, 23, .15);
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--muted);
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.blog-filter-btn:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.blog-filter-btn.is-active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

@media (max-width: 767px) {
    .blog-filter-btn {
        padding: 7px 14px;
        font-size: 10px;
    }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 23, 23, 0.14);
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    color: var(--dim);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.contact-pill:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
    border-color: var(--amber);
    color: var(--mist);
    background: rgba(255, 255, 255, 0.08);
}

.contact-pill.active {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
    background: var(--amber) !important;
    color: var(--stage) !important;
    border-color: var(--amber) !important;
    box-shadow: 0 4px 14px rgba(229, 169, 60, 0.35);
    font-weight: 700;
}

@media (max-width: 640px) {
    .contact-pill {
        padding: 7px 12px;
        font-size: 10px;
    }
}

/* ==========================================================================
   PODCAST PAGE STYLES
   ========================================================================== */
.podcast-tab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: var(--dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.podcast-tab-btn:hover {
    color: var(--charcoal);
    border-color: rgba(198, 161, 91, 0.4);
    color: var(--mist);
    border-color: rgba(229, 169, 60, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.podcast-tab-btn.is-active {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
    box-shadow: 0 10px 25px -5px rgba(11, 13, 13, 0.25);
    background: var(--amber);
    color: var(--stage);
    border-color: var(--amber);
    box-shadow: 0 10px 25px -5px rgba(229, 169, 60, 0.35);
}

.podcast-tab-btn.is-active .podcast-tab-badge {
    background: rgba(198, 161, 91, 0.25);
    color: var(--goldlight);
    background: rgba(18, 19, 22, 0.25);
    color: var(--stage);
    font-weight: 700;
}

.podcast-tab-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.1);
    color: var(--dim);
    transition: all 0.3s ease;
}

.podcast-episode-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.podcast-episode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(198, 161, 91, 0.35);
}

.podcast-episode-card:hover .episode-play-btn {
    transform: scale(1.08);
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.podcast-episode-card:hover .episode-thumb {
    transform: scale(1.04);
}

.episode-thumb {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.episode-play-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sound wave animation inside modal */
.audio-wave-bar {
    width: 3px;
    height: 100%;
    background-color: var(--gold);
    border-radius: 999px;
    animation: audioWave 1.2s ease-in-out infinite alternate;
}

@keyframes audioWave {
    0% {
        transform: scaleY(0.15);
    }

    50% {
        transform: scaleY(0.9);
    }

    100% {
        transform: scaleY(0.3);
    }
}

.audio-wave-bar:nth-child(2) {
    animation-delay: 0.15s;
}

.audio-wave-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.audio-wave-bar:nth-child(4) {
    animation-delay: 0.45s;
}

.audio-wave-bar:nth-child(5) {
    animation-delay: 0.6s;
}

.audio-wave-bar:nth-child(6) {
    animation-delay: 0.2s;
}

.audio-wave-bar:nth-child(7) {
    animation-delay: 0.5s;
}

.audio-wave-bar:nth-child(8) {
    animation-delay: 0.35s;
}

/* ==========================================================================
   BOOK PAGE STYLES (3D Book Mockup & Chapter Accordion)
   ========================================================================== */
.book-3d-wrap {
    perspective: 1200px;
}

.book-3d {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-18deg) rotateX(8deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    box-shadow: -15px 25px 50px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(198, 161, 91, 0.15);
}

.book-3d:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-8px);
    box-shadow: -20px 35px 65px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(198, 161, 91, 0.25);
}

.chapter-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter-card:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 161, 91, 0.4);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.06);
}

.chapter-card.active {
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: 0 16px 36px -8px rgba(198, 161, 91, 0.18);
    border-color: var(--amber) !important;
    background: rgba(229, 169, 60, 0.08) !important;
    box-shadow: 0 16px 36px -8px rgba(229, 169, 60, 0.25) !important;
}

/* ==========================================================================
   IMPECCABLE CRAFT FLOOR POLISH ENHANCEMENTS
   ========================================================================== */

/* Reading Measure (65-72ch) for Ergonomic Readability */
.reading-measure,
.prose p,
article p {
    max-width: 70ch;
    line-height: 1.75;
}

/* Accessible Gold on Light Surfaces (WCAG AA Compliant) */
.bg-paper .gold-text,
body:not(.bg-ink) .light-surface .gold-text,
.card .gold-text {
    color: var(--gold-readable) !important;
}

/* Tactile Button Micro-Physics */
button:not(:disabled),
a[role="button"],
.btn-tactile,
.tab-btn,
.podcast-episode-card,
.chapter-card {
    user-select: none;
}

button:active:not(:disabled),
a[role="button"]:active {
    transform: scale(0.98) !important;
}

/* Standardized Card Elevation System (Declaring Elevation Once) */
.craft-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    border: 1px solid rgba(11, 13, 13, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-craft), box-shadow 0.3s ease, border-color 0.3s ease;
}

.craft-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(198, 161, 91, 0.4);
}

/* Comprehensive Reduced-Motion Accessibility Failsafe */
@media (prefers-reduced-motion: reduce) {

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

/* ==========================================================================
   LOVABLE DESIGN SYSTEM INTEGRATION (identity-shine-station.lovable.app)
   ========================================================================== */

/* Universal Dark Stage & Glass Surface Mappings */
.bg-paper,
section.bg-paper,
div.bg-paper {
    background-color: transparent !important;
}

section.bg-white,
div.bg-white,
article.bg-white {
    background-color: var(--stage-2) !important;
    color: var(--mist) !important;
}

.bg-white:not(button):not(a):not(span.badge):not(.pill) {
    background-color: var(--stage-2) !important;
    color: var(--mist) !important;
}

.bg-ink,
section.bg-ink,
header.bg-ink,
footer.bg-ink {
    background-color: rgba(18, 19, 22, 0.85) !important;
}

.text-charcoal {
    color: var(--mist) !important;
}

.text-muted {
    color: var(--dim) !important;
}

.border-black\/5,
.border-black\/8,
.border-black\/10,
.border-black\/15,
.border-black\/20 {
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

/* Glassmorphism Card System */
.card,
.venture-card,
.podcast-episode-card,
.chapter-card,
.value-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.spotlight-card,
.gold-accent-card,
.sidebar-card,
.contact-card {
    background: var(--stage-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: var(--mist) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.chapter-card:hover,
.podcast-episode-card:hover,
.card:hover,
.value-card:hover:hover:hover {
    border-color: rgba(229, 169, 60, 0.4) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6) !important;
}

/* Forms & Inputs */
input,
textarea,
select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--mist) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(159, 162, 168, 0.6) !important;
}

input:focus,
textarea:focus {
    border-color: var(--amber) !important;
    box-shadow: 0 0 0 1px var(--amber) !important;
}

/* Ensure hero section text is immediately 100% visible on first paint */
#home,
#home [data-reveal],
#home [data-reveal-group]>*,
#home h1,
#home h2,
#home p {
    opacity: 1 !important;
    visibility: visible !important;
}