/* =====================================================
   HOME PAGE — PORTFOLIO CUSTOM STYLES
   Supplements the main template CSS. Uses template tokens.
   ===================================================== */

/* --- Brand: charcoal gray + yellow (flat surfaces, no purple) --- */
:root {
    --bg-base: #0b0b0c;
    --bg-raised: #141415;
    --bg-panel: #18181a;
    /* Surfaces above page background (cards, panels) */
    --bg-card: #1c1c1f;
    --bg-card-hover: #232326;
    --text-main: #ececf0;
    --text-muted: #9ca3af;
    --border-gray: #333333;
    --accent-gold-sand: #d4a84b;
    --accent-gold-sand-strong: #b8923f;
    --accent-gold-sand-soft: #e4bc64;
    --accent-gold-sand-dim: rgba(212, 168, 75, 0.14);

    --accent-yellow: var(--accent-gold-sand);
    --accent-yellow-strong: var(--accent-gold-sand-strong);
    --accent-yellow-soft: var(--accent-gold-sand-soft);
    --accent-yellow-dim: var(--accent-gold-sand-dim);

    --_color---theme-color--primary: var(--accent-yellow);
    --_color---theme-color--secondary: var(--accent-yellow-soft);
    --_color---theme-color--body-background: var(--bg-base);
    --_color---base-color--dark: #262626;
    --_color---theme-color--gradient-color-dark-from: var(--bg-base);
    --_color---theme-color--gradient-color-dark-to: var(--bg-base);
    --_color---theme-color--gradient-color-dark-from-2: var(--bg-raised);
    --_color---theme-color--gradient-color-dark-to-2: var(--bg-base);
    /* Neutralize Webflow purple-tinted border tokens */
    --border-color--border-glowing-1: #1a1a1a;
    --border-color--border-glowing-2: #2a2a2a;
}

body.body, body, html {
    background-color: var(--bg-base) !important;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    font-family: 'Inter Tight', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    background: transparent !important;
    padding-top: 100px;
}

/* --- Site navbar (redesigned) --- */
.main-header-1 {
    position: fixed !important;
    top: 20px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background-color: color-mix(in srgb, var(--bg-card) 85%, transparent) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 168, 75, 0.14) !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.main-header-1.nav-hidden {
    transform: translate(-50%, -150%);
}

.main-header-1.header-sticky-1 {
    background-color: color-mix(in srgb, var(--bg-card) 96%, transparent) !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.header-container {
    min-height: 64px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: clamp(8px, 2vw, 16px);
    align-items: center;
}

.header-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.primary-menu {
    gap: 2px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-menu-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.menu-item-link {
    line-height: 1.25 !important;
    padding: 10px 14px !important;
    border-radius: 10px;
    border: none !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.menu-item-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.07);
}

.menu-item-link.w--current {
    color: var(--accent-yellow) !important;
    background-color: rgba(234, 179, 8, 0.12);
}

.menu-divider-lv1 {
    display: none !important;
}

.link-logo {
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.text-logo {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.main-logo {
    border-radius: 8px;
}

/* Remove decorative “rain” line under header */
.header-divider {
    display: none !important;
}

/* Availability pill in header */
.header-buttons-wrap {
    flex-shrink: 0;
}

.header-buttons-wrap .availability-status {
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.65rem !important;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75) !important;
}

.header-buttons-wrap .availability-dot {
    animation: none;
}

/* Mobile menu trigger (<button>): reset native chrome only; keep themed bg/border (template controls display/position via media queries) */
.hamburger-menu-mobile {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    background-color: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    width: 42px !important;
    height: 42px !important;
    box-sizing: border-box;
    cursor: pointer;
}

.hamburger-line-top,
.hamburger-line-middle,
.hamburger-line-bottom {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Drawer */
.header-mobile {
    background-color: var(--bg-base) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 12px 0 48px rgba(0, 0, 0, 0.5);
}

.header-mobile-inner {
    padding-top: 28px !important;
}

.header-mobile {
    border-radius: 20px;
    margin-top: 12px;
}

.menu-mobile-item-link {
    border-bottom: none !important;
    border-radius: 10px;
    padding: 14px 16px !important;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.65) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-mobile-item-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.menu-mobile-item-link.w--current {
    background-color: rgba(234, 179, 8, 0.12);
    color: var(--accent-yellow) !important;
}

/* Floating section nav (home anchors) */
.nav-sticky-inner {
    background: color-mix(in srgb, var(--bg-card) 92%, transparent) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 15px rgba(234, 179, 8, 0.1) !important;
    padding: 5px 6px !important;
    border-radius: 14px !important;
}

.nav-sticky-inner .glowing-wrap {
    display: none !important;
}

.nav-link-item {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 8px !important;
    line-height: 1.5 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-radius: 8px !important;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link-item:hover {
    background-color: rgba(234, 179, 8, 0.14) !important;
    color: #fff !important;
    box-shadow: inset 0 0 8px rgba(234, 179, 8, 0.2);
}

@supports not (background-color: color-mix(in srgb, black 50%, transparent)) {
    .main-header-1,
    .main-header-1.header-sticky-1 {
        background-color: rgba(30, 30, 30, 0.94) !important;
    }

    .nav-sticky-inner {
        background: rgba(30, 30, 30, 0.92) !important;
    }
}

@media screen and (max-width: 991px) {
    .header-buttons-wrap .availability-status span {
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* --- Home layout utilities --- */
.space-80px { height: 80px; min-height: 80px; }
.space-36px { height: 36px; min-height: 36px; }

/* --- Home: global UX (sections, focus, motion) --- */
#section-writing,
#section-work,
#section-now {
    scroll-margin-top: 100px;
}

.link-logo:focus-visible,
.menu-item-link:focus-visible,
.nav-link-item:focus-visible,
.menu-mobile-item-link:focus-visible,
.home-work-feature:focus-visible,
.home-trust-aside-cta:focus-visible,
.home-closer-btn-primary:focus-visible,
.home-closer-btn-secondary:focus-visible,
.home-section-more:focus-visible,
.home-footer-nav a:focus-visible,
.button-outline:focus-visible,
.button-primary:focus-visible {
    outline: 2px solid rgba(234, 179, 8, 0.95);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .home-work-feature,
    .home-work-thumb,
    .home-pillar-card,
    .home-trust-aside-inner {
        transition: none !important;
    }

    .home-work-feature:hover {
        transform: none;
    }

    .home-work-feature:hover .home-work-thumb {
        transform: none;
    }

    .home-hero-backdrop {
        opacity: 1;
    }

    .home-work-thumb-wrap::after {
        display: none;
    }

    .home-writing-stage .post-blog-item:not(.home-post-lead) {
        transition: none !important;
    }

    .home-writing-stage .post-blog-item:not(.home-post-lead):hover {
        transform: none;
    }

    .home-post-lead .post-item-image {
        transition: none !important;
    }

    .home-post-lead:hover .post-item-image {
        transform: none;
    }

    .home-work-feature:hover .home-work-hint {
        opacity: 1;
        transform: none;
    }

    .home-now-grid .now-live-card {
        transition: none !important;
    }

    .home-now-grid .now-live-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* --- HOME: bold hero + visuals --- */
.home-hero-section {
    position: relative;
    overflow: hidden;
}

.home-hero-shell {
    position: relative;
    z-index: 1;
}

.home-hero-backdrop {
    position: absolute;
    inset: -20% -10% -30%;
    z-index: 0;
    pointer-events: none;
    background: rgba(234, 179, 8, 0.04);
    opacity: 1;
}

.home-hero-backdrop::before,
.home-hero-backdrop::after {
    display: none;
}

.home-hero-page-title {
    position: relative;
    z-index: 2;
}

.home-hero-particles {
    z-index: 2;
    opacity: 0.55;
    pointer-events: none;
}

.home-hero-particles--tl {
    left: -4%;
    top: 8%;
}

.home-hero-particles--tr {
    right: -2%;
    top: 12%;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 38%);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.home-hero-copy {
    text-align: left;
}

.home-hero-eyebrow {
    text-align: left;
}

.home-hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.home-hero-status {
    margin: 0;
}

.home-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(234, 179, 8, 0.25);
    background: rgba(234, 179, 8, 0.06);
}

.home-hero-chip--muted {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.06em;
}

.home-hero-trust-line {
    margin: 0 0 22px;
    max-width: 36em;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.home-hero-eng-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.home-eng-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    letter-spacing: 0.02em;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.home-eng-pill:hover {
    border-color: rgba(234, 179, 8, 0.28);
    background: rgba(234, 179, 8, 0.06);
    color: rgba(255, 255, 255, 0.78);
}

.home-hero-headline {
    text-align: left;
    text-transform: none;
    font-size: clamp(2.5rem, 2rem + 2.8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-wrap: balance;
}

.home-hero-lede {
    text-align: left;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    margin-left: 0;
    margin-right: 0;
    max-width: 34em;
}

.home-hero-cta-row {
    justify-content: flex-start;
}

.home-hero-cta-primary .button-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-hero-cta-outline {
    border-width: 2px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.home-hero-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 420px;
}

.home-hero-visual-card {
    position: relative;
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 2px;
    background: rgba(234, 179, 8, 0.35);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.home-hero-visual-frame {
    border-radius: calc(var(--border-radius--broder-radius-14px, 14px) - 2px);
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 4 / 5;
}

.home-hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.95;
}

.home-hero-visual-orbit {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -28px;
    top: -28px;
    pointer-events: none;
    z-index: 2;
}

.home-hero-orbit-glow {
    transform: scale(0.85);
    opacity: 0.9;
}

.home-hero-visual-badge {
    position: absolute;
    left: 20px;
    bottom: 52px;
    z-index: 3;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.home-hero-visual-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 3;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.home-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #262626;
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 16px;
    padding: 0;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

.home-hero-stat {
    padding: 28px 20px;
    text-align: center;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    transition: background 0.3s ease;
}

.home-hero-stat:hover {
    background: var(--bg-card-hover);
}

.home-hero-stat-value {
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.12em;
    color: rgba(234, 179, 8, 0.55);
    line-height: 1.1;
}

.home-hero-stat-caption {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.45;
    max-width: 22em;
}

.home-hero-meta {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

/* --- Trust pillars & operating model --- */
.home-pillars-section {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--bg-base);
}

.home-pillars-shell {
    padding-top: clamp(48px, 8vw, 88px);
    padding-bottom: clamp(48px, 8vw, 96px);
}

.home-pillars-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-pillars-intro-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.home-pillars-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #eab308;
}

.home-pillars-intro-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: rgba(234, 179, 8, 0.45);
}

.home-pillars-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.96);
    text-wrap: balance;
}

.home-pillars-lede {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
}

.home-pillars-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 340px);
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
}

.home-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-pillar-card {
    position: relative;
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 28px 26px 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.home-pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(234, 179, 8, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-pillar-card:hover {
    border-color: rgba(234, 179, 8, 0.22);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.home-pillar-card:hover::before {
    opacity: 1;
}

.home-pillar-index {
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.14em;
    color: rgba(234, 179, 8, 0.7);
    margin-bottom: 12px;
}

.home-pillar-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
}

.home-pillar-copy {
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.48);
}

.home-pillar-list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.38);
}

.home-pillar-list li {
    margin-bottom: 4px;
}

.home-trust-aside {
    position: sticky;
    top: 120px;
}

.home-trust-aside-inner {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(234, 179, 8, 0.22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.home-trust-aside-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fef9c3;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.home-trust-svg {
    display: block;
}

.home-trust-aside-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.home-trust-aside-copy {
    margin: 0 0 20px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.home-trust-aside-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fde047;
    text-decoration: none;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(234, 179, 8, 0.55);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.home-trust-aside-cta:hover {
    color: #fff;
    border-color: rgba(253, 224, 71, 0.9);
}

.home-trust-aside-foot {
    margin: 18px 0 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --- Writing: editorial frame + lead post --- */
.home-section-writing {
    position: relative;
}

.home-writing-stage {
    position: relative;
    padding: clamp(12px, 2vw, 20px);
    border-radius: calc(var(--border-radius--broder-radius-14px, 14px) + 6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
}

@media screen and (min-width: 992px) {
    .home-writing-stage .post-blog-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .home-post-lead {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.12fr 1fr;
        gap: 16px 32px;
        align-items: start;
        padding-bottom: 8px;
    }

    .home-post-lead .post-item-image-wrap {
        grid-column: 1;
        grid-row: 1 / span 4;
        margin-bottom: 0;
        aspect-ratio: 16 / 10;
        align-self: stretch;
    }

    .home-post-lead .post-item-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: 220px;
    }

    .home-post-lead .post-item-meta {
        grid-column: 2;
        grid-row: 1;
    }

    .home-post-lead .post-item-title {
        grid-column: 2;
        grid-row: 2;
    }

    .home-post-lead .writing-card-excerpt {
        grid-column: 2;
        grid-row: 3;
    }

    .home-post-lead .post-item-readmore {
        grid-column: 2;
        grid-row: 4;
    }

    .home-post-lead .main-divider-2.divider-blog-grid {
        grid-column: 1 / -1;
        grid-row: 5;
    }
}

.home-post-image-featured {
    position: relative;
}

.home-post-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: rgba(234, 179, 8, 0.92);
    border: 1px solid rgba(202, 138, 4, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-writing-stage .post-blog-item:not(.home-post-lead) {
    transition: transform 0.35s ease;
}

.home-writing-stage .post-blog-item:not(.home-post-lead):hover {
    transform: translateY(-6px);
}

.home-post-lead .post-item-image {
    transition: transform 0.6s ease;
}

.home-post-lead:hover .post-item-image {
    transform: scale(1.035);
}

/* --- Work: process strip --- */
.home-work-process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: var(--bg-card);
}

.home-work-process-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
}

.home-work-process-step.is-done {
    color: rgba(255, 255, 255, 0.5);
}

.home-work-process-step.is-active {
    color: #a3a3a3;
}

.home-work-process-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.home-work-process-step.is-done .home-work-process-dot {
    background: rgba(34, 197, 94, 0.65);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

.home-work-process-step.is-active .home-work-process-dot {
    background: #eab308;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.65);
}

.home-work-process-connector {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.home-work-preamble {
    text-align: center;
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.38);
}

.home-section-work {
    position: relative;
}

/* --- Now: status + shell --- */
.home-now-shell {
    position: relative;
}

.home-now-updated {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 100px;
    margin: 0 auto;
    max-width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
}

.home-now-updated-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #eab308;
}

.home-now-updated-sep {
    color: rgba(255, 255, 255, 0.15);
}

.home-now-updated-time {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

.home-section-now {
    position: relative;
}

.home-now-foot {
    font-size: 0.84rem;
}

/* --- Closing CTA band --- */
.home-closer-section {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: clamp(36px, 6vw, 72px);
}

.home-closer-panel {
    position: relative;
    border-radius: calc(var(--border-radius--broder-radius-14px, 14px) + 6px);
    padding: clamp(32px, 5vw, 56px) clamp(26px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(234, 179, 8, 0.22);
    background: var(--bg-card);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.home-closer-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0.75;
}

.home-closer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(200px, 260px);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.home-closer-kicker {
    margin: 0 0 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #eab308;
}

.home-closer-title {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: rgba(255, 255, 255, 0.96);
    max-width: 22em;
    text-wrap: balance;
}

.home-closer-lede {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.52);
    max-width: 38em;
}

.home-closer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.home-closer-btn-primary {
    text-align: center;
}

.home-closer-btn-secondary {
    justify-content: center;
    width: 100%;
    text-align: center;
}

.home-closer-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-closer-meta-item {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.home-closer-meta-dot {
    color: rgba(255, 255, 255, 0.12);
    font-weight: 300;
}

/* --- Footer: structured --- */
.home-footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-footer-container {
    max-width: 1100px;
}

.home-footer-glow {
    margin-bottom: 40px;
}

.home-footer-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 1fr);
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
    margin-bottom: 40px;
}

.home-footer-quote {
    margin: 0;
    padding: 0 0 0 20px;
    border: none;
    border-left: 3px solid rgba(234, 179, 8, 0.35);
    text-align: left;
    font-style: normal;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.home-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.home-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-footer-col-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 4px;
}

.home-footer-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s ease;
}

.home-footer-nav a:hover {
    color: #fff;
}

.home-footer-col--note {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer-note {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.35);
    max-width: 420px;
}

.home-footer-meta {
    display: flex;
    justify-content: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* --- Section index + oversized titles (home) --- */
.home-section-head .home-section-idx-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.home-section-idx {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.2);
}

.home-section-idx-line {
    flex: 1;
    max-width: 120px;
    height: 2px;
    border-radius: 2px;
    background: rgba(234, 179, 8, 0.55);
}

.home-section-title-xl {
    font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
}

/* --- Work feature cards (image + fancy-box) --- */
.home-work-grid {
    align-items: stretch;
}

.home-work-feature {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background: var(--bg-card);
}

.home-work-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.home-work-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-work-thumb-wrap::after {
    display: none;
}

.home-work-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.55s ease;
}

.home-work-feature:hover .home-work-thumb {
    transform: scale(1.06);
}

.home-work-thumb-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px 18px;
    transition: background 0.35s ease;
}

.home-work-feature:hover .home-work-thumb-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.home-work-hint {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.home-work-feature:hover .home-work-hint {
    opacity: 1;
    transform: translateY(0);
}

.home-work-body.fancy-box-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    margin-bottom: 0;
    padding-top: 28px;
    padding-bottom: 36px;
    background-color: var(--bg-card) !important;
}

/* Flat, lighter card fill (replaces template blue-gray glowing layers) */
.home-work-body .glowing-background-one.color-dark-1 {
    background-color: var(--bg-card) !important;
}

.home-work-body .glowing-background-two.color-dark-2,
.home-work-body .glowing-background-two.background-gradient {
    background-image: none !important;
    background-color: var(--bg-card) !important;
    inset: 0 !important;
}

.home-work-body .glowing-wrap.box-cta {
    margin-top: auto;
}

/* --- Now grid on home (cards) --- */
.home-now-grid .now-live-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
    line-height: 1;
    opacity: 0.85;
}

.home-now-grid .now-live-label {
    color: #eab308;
    letter-spacing: 0.14em;
}

.home-now-grid .now-live-value {
    font-size: 0.95rem;
    line-height: 1.7;
}

.home-now-grid .now-live-card,
.now-cards-grid .now-live-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    background-color: var(--bg-card);
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease;
}

.home-now-grid .now-live-card .glowing-background-one.border-radius-lg,
.now-cards-grid .now-live-card .glowing-background-one.border-radius-lg {
    background-color: var(--bg-card) !important;
}

.home-now-grid .now-live-card .glowing-background-two.border-radius-lg.bg-gradient,
.now-cards-grid .now-live-card .glowing-background-two.border-radius-lg.bg-gradient {
    background-image: none !important;
    background-color: var(--bg-card) !important;
    inset: 0 !important;
}

.home-now-grid .now-live-card:hover,
.now-cards-grid .now-live-card:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 179, 8, 0.24);
    background-color: var(--bg-card-hover);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 991px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero-copy {
        text-align: center;
    }

    .home-hero-eyebrow {
        text-align: center;
    }

    .home-hero-eyebrow .section-sub-title-inner {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-headline,
    .home-hero-lede {
        text-align: center;
    }

    .home-hero-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-cta-row {
        justify-content: center;
    }

    .home-hero-pill-row {
        justify-content: center;
    }

    .home-hero-visual {
        justify-self: center;
        max-width: 360px;
    }

    .home-hero-stats {
        grid-template-columns: 1fr;
    }

    .home-hero-trust-line {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-hero-eng-stack {
        justify-content: center;
    }

    .home-pillars-layout {
        grid-template-columns: 1fr;
    }

    .home-trust-aside {
        position: static;
    }

    .home-pillars-grid {
        grid-template-columns: 1fr;
    }

    .home-footer-grid {
        grid-template-columns: 1fr;
    }

    .home-footer-quote {
        text-align: center;
        border-left: none;
        padding-left: 0;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-work-process {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-work-process-connector {
        display: none;
    }

    .home-closer-grid {
        grid-template-columns: 1fr;
    }

    .home-closer-actions {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
}

@media screen and (max-width: 567px) {
    .home-hero-visual-orbit {
        width: 88px;
        height: 88px;
        right: -16px;
        top: -16px;
    }

    .home-section-head .home-section-idx-row {
        flex-direction: column;
        gap: 8px;
    }

    .home-section-idx-line {
        max-width: 64px;
        width: 64px;
    }

    .home-footer-nav {
        grid-template-columns: 1fr;
    }
}

/* --- Availability Status Indicator --- */
.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(125, 155, 130, 0.95);
    box-shadow: 0 0 6px rgba(125, 155, 130, 0.35);
    animation: pulse-dot 3.5s ease-in-out infinite;
}

.availability-dot.unavailable {
    background: rgba(180, 100, 100, 0.9);
    box-shadow: 0 0 6px rgba(180, 100, 100, 0.35);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.72; transform: scale(1.12); }
}

/* --- Hero Metadata Strip --- */
.hero-meta-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.hero-meta-item {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    transition: background 0.3s ease;
}

.hero-meta-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-meta-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.hero-meta-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* --- CTA Buttons Group --- */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.button-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.button-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

/* --- Status Badges --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.shipped {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-badge.tool {
    background: rgba(202, 138, 4, 0.12);
    color: #ca8a04;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

/* --- Type Tags (Writing) --- */
.type-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.type-tag.essay {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.type-tag.note {
    background: rgba(163, 163, 163, 0.1);
    color: #eab308;
}

.type-tag.research {
    background: rgba(202, 138, 4, 0.1);
    color: #ca8a04;
}

.type-tag.log {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

/* --- Tech Stack Pills --- */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tech-pill {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Project Index Number --- */
.project-index {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* --- Now Section --- */
.now-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.now-item {
    padding: 32px 28px;
    background: var(--bg-card);
    transition: background 0.3s ease;
}

.now-item:hover {
    background: var(--bg-card-hover);
}

.now-item-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.now-item-label::before {
    content: "→ ";
    color: rgba(255, 255, 255, 0.15);
}

.now-item-value {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.now-timestamp {
    margin-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.now-timestamp a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.now-timestamp a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- Section Link (All writing →  /  All projects →) --- */
.section-footer-link {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.section-footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.section-footer-link a:hover {
    color: #fff;
    gap: 12px;
}

.home-section-more-wrap {
    margin-top: 48px;
}

.home-section-more-wrap .home-section-more {
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: gap 0.3s ease, border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.home-section-more-wrap .home-section-more:hover {
    border-color: rgba(234, 179, 8, 0.65);
    background: rgba(202, 138, 4, 0.2);
    color: #fff;
    box-shadow: 0 12px 40px rgba(202, 138, 4, 0.25);
    gap: 14px;
}

.home-section-more-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.home-section-more-wrap .home-section-more:hover .home-section-more-arrow {
    transform: translateX(4px);
}

/* --- Writing Card Date --- */
.writing-card-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

/* --- Writing Card Excerpt --- */
.writing-card-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-top: 8px;
}

/* --- Footer Strip Quote --- */
.footer-strip-quote {
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.footer-strip-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-strip-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-strip-links a:hover {
    color: #fff;
}

/* --- Selected Work Grid --- */
.selected-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* --- Writing Card Layout --- */
.writing-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* =====================================================
   ABOUT PAGE — BENTO GRID REDESIGN
   ===================================================== */

/* --- Bento Grid Layout --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.bento-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
}

/* Story Card */
.bento-story {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-story-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
}

.bento-story-text strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.bento-story-quote {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid #eab308;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.bento-story-quote em {
    color: #eab308;
    font-style: italic;
}

/* Stats Card */
.bento-stats {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
}

.bento-stat {
    padding: 18px 0;
}

.bento-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #eab308;
    line-height: 1.1;
}

.bento-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

.bento-stat-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px auto;
}

/* Facts Card */
.bento-facts {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.bento-fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bento-fact-row:last-child {
    border-bottom: none;
}

.bento-fact-key {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.bento-fact-val {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Personality Card */
.bento-personality {
    grid-column: 1 / 3;
}

.bento-misc-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bento-misc-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.bento-misc-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.bento-misc-icon {
    font-size: 1rem;
}

/* --- Experience Timeline Cards --- */
.exp-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.exp-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-4px);
}

.exp-card-year {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.06em;
    color: #eab308;
    margin-bottom: 16px;
}

.exp-card-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
}

.exp-card-company {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.exp-card-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

.exp-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #eab308;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exp-card:hover .exp-card-accent {
    opacity: 1;
}

/* --- Skills SVG Ring Visualization --- */
.skills-visual-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.skill-ring-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.skill-ring-card:hover {
    transform: translateY(-4px);
}

.skill-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    position: relative;
}

.skill-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.skill-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 4;
}

.skill-ring-fill {
    fill: none;
    stroke: #eab308;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.skill-ring-fill.learning {
    stroke: #eab308;
}

.skill-ring-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.skill-ring-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.skill-ring-level {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.skill-ring-level.learning-badge {
    color: #eab308;
}

/* --- Beliefs Big Statement Cards --- */
.beliefs-big-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.belief-big-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.belief-big-card:hover {
    transform: translateY(-4px);
}

.belief-big-index {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.14);
    line-height: 1;
    margin-bottom: 16px;
}

.belief-big-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.belief-big-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Now Live Cards --- */
.now-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.now-live-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: var(--bg-card);
}

.now-live-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card-hover);
}

.now-live-card.span-full {
    grid-column: 1 / -1;
}

.now-live-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    filter: grayscale(0.3);
}

.now-live-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 10px;
}

.now-live-value {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.now-live-value.dimmed {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

/* --- Find Me Strip --- */
.find-me-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.find-me-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.find-me-chip:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.find-me-chip-arrow {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.find-me-chip:hover .find-me-chip-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* --- Responsive --- */
@media screen and (max-width: 991px) {
    .hero-meta-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .selected-work-grid {
        grid-template-columns: 1fr;
    }
    .now-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-story {
        grid-column: 1;
        grid-row: auto;
    }
    .bento-stats {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        justify-content: space-around;
    }
    .bento-stat-divider {
        width: 1px;
        height: 40px;
        margin: 0;
    }
    .bento-facts {
        grid-column: 1;
        grid-row: auto;
    }
    .bento-personality {
        grid-column: 1;
    }
    .exp-timeline {
        grid-template-columns: 1fr;
    }
    .skills-visual-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .beliefs-big-grid {
        grid-template-columns: 1fr;
    }
    .now-cards-grid {
        grid-template-columns: 1fr;
    }
    .now-live-card.span-full {
        grid-column: 1;
    }
}

@media screen and (max-width: 567px) {
    .hero-meta-strip {
        grid-template-columns: 1fr;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-cta-group .button-primary,
    .hero-cta-group .button-outline {
        width: 100%;
        justify-content: center;
    }
    .bento-stats {
        flex-direction: column;
    }
    .bento-stat-divider {
        width: 40px;
        height: 1px;
    }
    .skills-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .exp-timeline {
        grid-template-columns: 1fr;
    }
    .find-me-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .find-me-chip {
        justify-content: space-between;
    }
}




/* =====================================================
   WORK PAGE — IMMERSIVE PROJECT SHOWCASE
   ===================================================== */

/* --- Filter Strip --- */
.work-filter-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.work-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: var(--bg-card);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.work-filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}

.work-filter-pill.active {
    border-color: #eab308;
    color: #fff;
    background: rgba(202, 138, 4, 0.22);
}

/* --- Project Showcase Container --- */
.work-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Project Card --- */
.work-project-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, background-color 0.3s ease;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-project-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card-hover);
}

.work-project-inner {
    position: relative;
    z-index: 1;
}

/* Large Index Number - Positioned Bottom Right */
.work-project-index {
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    bottom: -10px;
    right: 30px;
    color: rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Meta Strip */
.work-project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.work-project-category {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.work-project-date {
    font-size: 0.7rem;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    color: rgba(255, 255, 255, 0.2);
    margin-left: auto;
}

/* Title & Tagline */
.work-project-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
}

.work-project-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
    font-weight: 400;
}

/* Description */
.work-project-desc {
    max-width: 720px;
    margin-bottom: 28px;
}

.work-project-desc p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Metric Highlights */
.work-project-highlights {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.work-highlight {
    text-align: left;
}

.work-highlight-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #eab308;
    line-height: 1.2;
}

.work-highlight-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

/* Stack */
.work-project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

/* Links */
.work-project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.work-link-btn.primary {
    background: rgba(202, 138, 4, 0.18);
    border: 1px solid rgba(234, 179, 8, 0.45);
    color: #fef9c3;
}

.work-link-btn.primary:hover {
    background: rgba(202, 138, 4, 0.3);
    border-color: rgba(253, 224, 71, 0.65);
    color: #fff;
    transform: translateY(-1px);
}

.work-link-arrow {
    transition: transform 0.3s ease;
}

.work-link-btn.primary:hover .work-link-arrow {
    transform: translateX(4px);
}

.work-link-btn.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.work-link-btn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

/* Status Badge - additional states */
.status-badge.shipped {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.2);
    background: rgba(52, 211, 153, 0.05);
}

.status-badge.archived {
    color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

/* Archived Card - Muted */
.work-project-card.archived {
    opacity: 0.7;
}

.work-project-card.archived:hover {
    opacity: 1;
}

/* Post-Mortem Section */
.work-project-postmortem {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 8px 8px 0;
}

.work-postmortem-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.work-project-postmortem p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* --- Work Page Responsive --- */
@media screen and (max-width: 991px) {
    .work-project-card {
        padding: 36px;
    }
    .work-project-title {
        font-size: 1.6rem;
    }
    .work-project-index {
        font-size: 6rem;
        right: 16px;
        bottom: -5px;
    }
    .work-project-highlights {
        gap: 24px;
    }
}

@media screen and (max-width: 567px) {
    .work-project-card {
        padding: 24px;
    }
    .work-project-title {
        font-size: 1.3rem;
    }
    .work-project-index {
        font-size: 4rem;
        right: 12px;
    }
    .work-project-highlights {
        flex-wrap: wrap;
        gap: 16px;
    }
    .work-highlight {
        min-width: 80px;
    }
    .work-project-date {
        margin-left: 0;
    }
    .work-filter-strip {
        justify-content: flex-start;
    }
    .work-project-links {
        flex-direction: column;
    }
    .work-link-btn {
        justify-content: center;
    }
}

/* =====================================================
   PROJECT DETAIL PAGE — BENTO GRID LAYOUT
   ===================================================== */

/* --- Breadcrumb --- */
.pd-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.pd-crumb a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.pd-crumb a:hover { color: #eab308; }

.pd-crumb span { color: rgba(255, 255, 255, 0.15); }

.pd-crumb-active {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* --- Hero Grid --- */
.pd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pd-cat {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.pd-name {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.pd-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
    font-weight: 400;
    line-height: 1.5;
}

/* --- Hero Info Card (right side) --- */
.pd-hero-info {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.pd-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pd-info-row:last-of-type { border-bottom: none; }

.pd-info-k {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.pd-info-v {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.pd-ext-link {
    color: #eab308;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.pd-ext-link:hover { color: #fef9c3; }

/* --- Stack Row --- */
.pd-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* --- BENTO GRID (main content) --- */
.pd-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Metric Cards */
.pd-bento-metric {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    grid-column: span 1;
}

.pd-m-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #eab308;
}

.pd-m-lbl {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

/* Problem Card (wide) */
.pd-bento-problem {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px;
    position: relative;
    overflow: hidden;
    grid-column: span 3;
}

.pd-bento-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Quote Card (narrow) */
.pd-bento-quote {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pd-quote-mark {
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.8;
    color: rgba(234, 179, 8, 0.45);
    margin-bottom: 8px;
}

.pd-quote-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Architecture Card (full-width) */
.pd-bento-arch {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 32px;
    position: relative;
    overflow: hidden;
    grid-column: span 4;
}

.pd-arch-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.pd-arch-node {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pd-arch-node:hover {
    background: rgba(234, 179, 8, 0.04);
    border-color: rgba(234, 179, 8, 0.15);
    transform: translateY(-2px);
}

.pd-arch-node-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.pd-arch-node-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

.pd-arch-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 1.2rem;
    color: rgba(234, 179, 8, 0.35);
    font-weight: 300;
    flex-shrink: 0;
}

/* Lesson Cards */
.pd-bento-lesson {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 28px;
    position: relative;
    overflow: hidden;
    grid-column: span 4;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    align-items: start;
}

.pd-lesson-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
}

.pd-lesson-body {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Related Cards */
.pd-bento-related {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 24px;
    position: relative;
    overflow: hidden;
    grid-column: span 2;
}

.pd-rel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.pd-rel-link:last-of-type { border-bottom: none; }

.pd-rel-link:hover {
    color: #fff;
    padding-left: 4px;
}

.pd-rel-arr {
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.pd-rel-link:hover .pd-rel-arr {
    color: #eab308;
    transform: translateX(3px);
}

/* --- Back Strip --- */
.pd-back-strip {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Spacing utilities --- */
.space-30px { height: 30px; }
.space-40px { height: 40px; }
.space-100px { height: 100px; }
.space-120px { height: 120px; }

/* --- Project Detail Responsive --- */
@media screen and (max-width: 991px) {
    .pd-hero-grid {
        grid-template-columns: 1fr;
    }
    .pd-name {
        font-size: 2.4rem;
    }
    .pd-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-bento-metric { grid-column: span 1; }
    .pd-bento-problem { grid-column: span 2; }
    .pd-bento-quote { grid-column: span 2; }
    .pd-bento-arch { grid-column: span 2; }
    .pd-arch-flow {
        flex-direction: column;
        gap: 0;
    }
    .pd-arch-arrow {
        justify-content: center;
        padding: 8px 0;
        transform: rotate(90deg);
    }
    .pd-bento-lesson { grid-column: span 2; }
    .pd-bento-related { grid-column: span 2; }
}

@media screen and (max-width: 567px) {
    .pd-name {
        font-size: 1.8rem;
    }
    .pd-bento {
        grid-template-columns: 1fr 1fr;
    }
    .pd-bento-metric { grid-column: span 1; }
    .pd-bento-problem { grid-column: span 2; }
    .pd-bento-quote { grid-column: span 2; }
    .pd-bento-arch { grid-column: span 2; }
    .pd-bento-lesson {
        grid-column: span 2;
        grid-template-columns: 40px 1fr;
    }
    .pd-bento-related { grid-column: span 2; }
    .pd-bento-metric { padding: 20px 14px; }
    .pd-m-num { font-size: 1.6rem; }
}

/* =====================================================
   PROJECT DETAIL PAGE — IMMERSIVE LAYOUT
   ===================================================== */

/* --- Breadcrumb --- */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.pd-breadcrumb-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pd-breadcrumb-link:hover {
    color: #eab308;
}

.pd-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.15);
}

.pd-breadcrumb-current {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- Hero Meta --- */
.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pd-category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.pd-visibility {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* --- Project Title --- */
.pd-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.pd-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 14px;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.6;
}

/* --- Info Strip --- */
.pd-info-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    overflow: hidden;
}

.pd-info-item {
    padding: 24px 28px;
    background: var(--bg-card);
}

.pd-info-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
}

.pd-info-value {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.5;
}

.pd-info-links {
    display: flex;
    gap: 14px;
}

.pd-ext-link {
    color: #eab308;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pd-ext-link:hover {
    color: #fef9c3;
}

/* --- Metrics Dashboard --- */
.pd-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pd-metric-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pd-metric-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #eab308;
    margin-bottom: 8px;
}

.pd-metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Section Headers --- */
.pd-section-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.pd-section-index {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    min-width: 68px;
    margin-top: -6px;
}

.pd-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.06em;
    color: #eab308;
    margin-bottom: 8px;
}

.pd-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* --- Prose Blocks --- */
.pd-prose {
    max-width: 800px;
}

.pd-prose p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.5em 0;
}

/* --- Architecture Diagram Block --- */
.pd-arch-block {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.pd-arch-code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    white-space: pre;
    margin: 0;
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

/* --- Lessons Grid --- */
.pd-lessons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
}

.pd-lesson-card {
    border-radius: var(--border-radius--broder-radius-14px, 14px);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.pd-lesson-index {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
}

.pd-lesson-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* --- Related Content --- */
.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pd-related-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-related-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pd-related-link:last-child {
    border-bottom: none;
}

.pd-related-link:hover {
    color: #fff;
    padding-left: 8px;
}

.pd-related-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pd-related-link:hover .pd-related-arrow {
    color: #eab308;
    transform: translateX(6px);
}

/* --- Back Strip --- */
.pd-back-strip {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Spacing utilities --- */
.space-30px { height: 30px; }
.space-40px { height: 40px; }
.space-100px { height: 100px; }
.space-120px { height: 120px; }
.pd-hero { position: relative; }

/* --- Project Detail Responsive --- */
@media screen and (max-width: 991px) {
    .pd-title { font-size: 3rem; }
    .pd-info-strip { grid-template-columns: repeat(2, 1fr); }
    .pd-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-lessons-grid { grid-template-columns: 1fr; }
    .pd-section-title { font-size: 1.8rem; }
}

@media screen and (max-width: 567px) {
    .pd-title { font-size: 2.2rem; }
    .pd-info-strip { grid-template-columns: 1fr; }
    .pd-metrics-grid {
        grid-template-columns: span 2;
    }
    .pd-lessons-grid { grid-template-columns: 1fr; }
    .pd-lesson-card { padding: 28px; }
    .pd-arch-block { padding: 28px; }
    .pd-arch-code { font-size: 0.75rem; }
    .pd-related-grid { grid-template-columns: 1fr; gap: 32px; }
    .pd-section-header {
        flex-direction: column;
        gap: 12px;
    }
    .pd-section-index { font-size: 2.5rem; margin-top: 0; }
}

/* --- Webflow bundle: flat primary button + gradient text (no image gradients) --- */
.button-background-gradient {
    background-image: none !important;
    background-color: var(--accent-yellow) !important;
    inset: 0 !important;
}

.text-gradient {
    background-image: none !important;
    -webkit-text-fill-color: inherit !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--accent-yellow) !important;
}

/* --- FOOTER REDESIGN --- */

.main-footer {
    border-top: 1px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 -10px 40px rgba(234, 179, 8, 0.05);
    background: var(--bg-base);
    position: relative;
    z-index: 10;
}

.main-footer .divider-group,
.main-footer .footer-divider,
.main-footer .footer-divider-wrap {
    display: none !important;
}

.main-footer .text-gradient {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-yellow-strong) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.section-footer-cta {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 40px 0;
}

.form-subscribe-1 .form-field-1 {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-subscribe-1 .form-field-1:focus {
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.15);
    outline: none;
}

.main-footer .footer-heading-widget {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.main-footer .footer-desc-widget {
    color: rgba(255, 255, 255, 0.55);
}

.main-footer .list-link-text {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.main-footer .list-link-text:hover {
    color: var(--accent-yellow);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: 24px;
}

/* --- PREMIUM ABOUT PAGE OVR --- */

/* 1. Eliminate Webflow Graphic Artifacts */
.bento-card .glowing-wrap,
.exp-card .glowing-wrap,
.skill-ring-card .glowing-wrap {
    display: none !important;
}

/* 2. Flat Dark Dashboard Aesthetics */
.bento-card, .exp-card, .skill-ring-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(8px) !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
    transform: none !important; /* PREVENT "DUMMY" SCALING */
}

/* 3. Subtle Lighting on Hover (No Structure Jump) */
.bento-card:hover, .exp-card:hover, .skill-ring-card:hover {
    border-color: rgba(234, 179, 8, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0px 2px 10px rgba(234, 179, 8, 0.05) !important;
    transform: none !important; /* Enforce static geometry */
}

/* 4. Deep Neon Yellow Token Injections */
.bento-card-label {
    color: var(--accent-yellow) !important;
    letter-spacing: 0.05em !important;
}

.exp-card-year {
    color: var(--accent-yellow) !important;
}

.exp-card-accent {
    border-left: 2px solid var(--accent-yellow) !important;
    background: transparent !important;
}

/* Skill Rings Overrides */
.skill-ring-bg {
    stroke: rgba(255, 255, 255, 0.05) !important;
}

.skill-ring-fill {
    stroke: var(--accent-yellow) !important;
}

.skill-ring-fill.learning {
    stroke: var(--accent-yellow-strong) !important;
}

.skill-ring-level {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.skill-ring-level.learning-badge {
    background: rgba(234, 179, 8, 0.1) !important;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
    color: var(--accent-yellow) !important;
}

/* Fix text legibility */
.bento-story-text strong,
.bento-story-quote em {
    color: #fff !important;
}

/* --- Global Footer CTA Redesign --- */
div.section-footer-cta {
    position: relative;
    padding: 80px 40px !important;
    border-radius: 24px !important;
    background-color: rgba(20, 20, 20, 0.7) !important;
    background-image: 
        linear-gradient(rgba(234, 179, 8, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 179, 8, 0.15) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    background-position: center top !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

div.section-footer-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}

div.section-footer-cta .section-heading {
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 20px !important;
    position: relative;
    z-index: 2;
}

div.section-footer-cta .text-gradient {
    background: linear-gradient(90deg, var(--accent-yellow-soft), var(--accent-yellow)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

div.section-footer-cta .cta-description {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 600px !important;
    margin: 0 auto 40px !important;
    line-height: 1.6 !important;
    position: relative;
    z-index: 2;
}

div.section-footer-cta .button-primary {
    background: rgba(234, 179, 8, 0.1) !important;
    border: 1px solid var(--accent-yellow) !important;
    border-radius: 100px !important;
    padding: 16px 36px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    z-index: 2;
}

div.section-footer-cta .button-primary:hover {
    background: rgba(212, 168, 75, 0.16) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

div.section-footer-cta .button-text {
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    color: var(--accent-yellow) !important;
    position: relative;
    z-index: 2;
}

div.section-footer-cta .button-background-gradient {
    display: none !important;
}

/* Ensure Webflow's internal "net" background inside the card matches the neon yellow theme */
div.section-footer-cta .divider-item,
div.section-footer-cta .divider-horizontal {
    background-color: rgba(234, 179, 8, 0.1) !important;
}

/* Home Hero Card Net Background */
.home-hero-visual-card {
    background-color: rgba(30, 30, 30, 0.4) !important;
    background-image: 
        linear-gradient(rgba(234, 179, 8, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 179, 8, 0.25) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    background-position: center top !important;
}

/* Mobile menu control — keyboard focus */
.hamburger-menu-mobile:focus-visible {
    outline: 2px solid var(--accent-yellow, #eab308);
    outline-offset: 3px;
}

/* Project cards — shared glyph (all pages; replaces emoji) */
.case-visual-glyph {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.case-study-card:hover .case-visual-glyph {
    border-color: rgba(212, 168, 75, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.03);
}
.case-study-card:nth-child(2n):hover .case-visual-glyph {
    border-color: rgba(139, 156, 175, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}
.case-study-card:nth-child(3n):hover .case-visual-glyph {
    border-color: rgba(125, 155, 130, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

/* --- Availability Card (Mobile Responsive) --- */
.section-status-bar {
    padding: 40px 0;
}

.availability-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 8px;
    padding: 24px 32px;
    backdrop-filter: blur(10px);
}

.availability-card__content {
    flex: 1;
    min-width: 0;
}

.availability-card__status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.availability-card__description {
    margin: 0;
    font-size: 1rem;
}

.availability-card__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .availability-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
        align-items: flex-start;
    }

    .availability-card__content {
        width: 100%;
    }

    .availability-card__cta {
        width: 100%;
        white-space: normal;
    }
}

@media screen and (max-width: 567px) {
    .section-status-bar {
        padding: 32px 0;
    }

    .availability-card {
        padding: 16px 18px;
        gap: 12px;
    }

    .availability-card__status {
        gap: 10px;
        margin-bottom: 10px;
    }

    .availability-card__status .text-overline {
        font-size: 0.7rem;
    }

    .availability-card__description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .availability-card__cta {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .availability-dot {
        animation: none !important;
    }
    .main-header-1 {
        transition: none !important;
    }
}
