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

:root {
    --lm-bg: #050505;
    --lm-bg-soft: #0d0b14;
    --lm-surface: rgba(20, 16, 31, 0.76);
    --lm-surface-strong: rgba(27, 22, 39, 0.92);
    --lm-surface-solid: #14111d;
    --lm-border: rgba(255, 255, 255, 0.1);
    --lm-border-strong: rgba(193, 163, 255, 0.2);
    --lm-text: #f7f3fb;
    --lm-muted: #b4acc8;
    --lm-muted-strong: #cbc4da;
    --lm-accent: #8b5cf6;
    --lm-accent-strong: #c4b5fd;
    --lm-accent-soft: rgba(157, 111, 255, 0.14);
    --lm-shadow: 0 28px 80px rgba(5, 4, 11, 0.5);
    --lm-shadow-soft: 0 18px 46px rgba(5, 4, 11, 0.28);
    --lm-shell: min(1180px, calc(100vw - 2rem));
    --lm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --lm-scroll-y: 0px;
    --lm-pointer-x: 72%;
    --lm-pointer-y: 16%;
    --lm-pointer-shift-x: 0px;
    --lm-pointer-shift-y: 0px;
}

html {
    scroll-behavior: smooth;
}

body.louming-kadence-portfolio {
    background:
        radial-gradient(circle at 18% 14%, rgba(139, 92, 246, 0.18), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(117, 155, 255, 0.14), transparent 22%),
        radial-gradient(circle at 55% 48%, rgba(98, 75, 209, 0.2), transparent 34%),
        linear-gradient(180deg, #050505 0%, #090711 52%, #050505 100%);
    color: var(--lm-text);
    font-family: "Inter", "Segoe UI Variable Text", "Aptos", sans-serif;
    text-rendering: optimizeLegibility;
}

body.louming-kadence-portfolio::before,
body.louming-kadence-portfolio::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body.louming-kadence-portfolio::before {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.05;
    transform: translate3d(0, calc(var(--lm-scroll-y) * -0.03), 0);
}

body.louming-kadence-portfolio::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
    opacity: 0.035;
    mix-blend-mode: soft-light;
}

body.louming-kadence-portfolio .site,
body.louming-kadence-portfolio #content,
body.louming-kadence-portfolio .site-main {
    background: transparent;
    position: relative;
    z-index: 1;
}

body.louming-kadence-portfolio a {
    color: inherit;
}

body.louming-kadence-portfolio .content-container,
body.louming-kadence-portfolio .content-wrap,
body.louming-kadence-portfolio .site-main {
    background: transparent;
}

body.louming-kadence-portfolio .entry.content-bg,
body.louming-kadence-portfolio .single-entry,
body.louming-kadence-portfolio .content-area,
body.louming-kadence-portfolio .content-container,
body.louming-kadence-portfolio .content-wrap {
    background: transparent !important;
    box-shadow: none !important;
}

body.louming-kadence-portfolio .entry-content-wrap,
body.louming-kadence-portfolio .entry-content {
    margin: 0;
}

body.louming-kadence-portfolio .content-bg,
body.louming-kadence-portfolio .content-style-unboxed .site-content,
body.louming-kadence-portfolio .site-content {
    background: transparent;
}

body.louming-kadence-portfolio.page .entry-hero,
body.louming-kadence-portfolio.page .entry-header.page-title,
body.louming-kadence-portfolio.single-project .entry-hero,
body.louming-kadence-portfolio.single-project .entry-header.page-title {
    display: none;
}

body.louming-kadence-portfolio #masthead.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(8, 7, 14, 0.9), rgba(8, 7, 14, 0.62));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 28px rgba(5, 4, 11, 0.14);
}

body.louming-kadence-portfolio #masthead .site-main-header-wrap,
body.louming-kadence-portfolio #masthead .site-header-row-container-inner,
body.louming-kadence-portfolio #masthead .site-header-row-layout-contained {
    background: transparent;
}

body.louming-kadence-portfolio #masthead .site-container {
    max-width: 1320px;
}

body.louming-kadence-portfolio .site-branding {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

body.louming-kadence-portfolio .site-branding::before {
    content: "LM";
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    border-radius: 0.46rem;
    border: 1px solid rgba(196, 181, 253, 0.24);
    background: linear-gradient(180deg, rgba(21, 17, 32, 0.96), rgba(11, 10, 19, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(139, 92, 246, 0.08);
    color: var(--lm-text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: border-color 220ms var(--lm-ease), box-shadow 220ms var(--lm-ease), color 220ms var(--lm-ease);
}

body.louming-kadence-portfolio .site-branding:hover::before,
body.louming-kadence-portfolio .site-branding:focus-within::before {
    border-color: rgba(196, 181, 253, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px rgba(139, 92, 246, 0.16);
    color: var(--lm-accent-strong);
}

body.louming-kadence-portfolio .site-branding a {
    position: relative;
    letter-spacing: 0.16em;
    font-weight: 600;
    transition: color 220ms var(--lm-ease);
}

body.louming-kadence-portfolio .custom-logo-link,
body.louming-kadence-portfolio .custom-logo {
    display: none !important;
}

body.louming-kadence-portfolio .site-branding .site-title {
    color: var(--lm-text);
    font-size: 0.76rem;
    margin: 0;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .site-branding .site-title a {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
}

body.louming-kadence-portfolio .site-branding .site-title a::before {
    content: none;
}

body.louming-kadence-portfolio .site-branding .site-title a:hover,
body.louming-kadence-portfolio .site-branding .site-title a:focus-visible {
    color: var(--lm-accent-strong);
}

body.louming-kadence-portfolio .site-branding .site-description,
body.louming-kadence-portfolio .site-branding .site-title span,
body.louming-kadence-portfolio .site-branding a span {
    color: var(--lm-muted);
}

body.louming-kadence-portfolio #primary-menu {
    gap: clamp(0.9rem, 1.7vw, 1.9rem);
}

body.louming-kadence-portfolio #primary-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0;
    color: rgba(246, 240, 255, 0.7);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 220ms var(--lm-ease), transform 220ms var(--lm-ease);
}

body.louming-kadence-portfolio #primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.62rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lm-accent), var(--lm-accent-strong));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 280ms var(--lm-ease), opacity 280ms var(--lm-ease);
    opacity: 0.75;
}

body.louming-kadence-portfolio #primary-menu > li:hover > a,
body.louming-kadence-portfolio #primary-menu > li.current-menu-item > a,
body.louming-kadence-portfolio #primary-menu > li.current_page_item > a,
body.louming-kadence-portfolio #primary-menu > li.current-menu-ancestor > a {
    color: var(--lm-text);
    transform: translateY(-1px) scale(1.02);
}

body.louming-kadence-portfolio #primary-menu > li:hover > a::after,
body.louming-kadence-portfolio #primary-menu > li.current-menu-item > a::after,
body.louming-kadence-portfolio #primary-menu > li.current_page_item > a::after,
body.louming-kadence-portfolio #primary-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

body.louming-kadence-portfolio .drawer-toggle,
body.louming-kadence-portfolio .menu-toggle-close,
body.louming-kadence-portfolio .mobile-toggle-open-container button {
    border-radius: 999px;
    border: 1px solid var(--lm-border);
    background: rgba(19, 15, 30, 0.84);
    color: var(--lm-text);
    box-shadow: var(--lm-shadow-soft);
}

body.louming-kadence-portfolio .drawer-navigation,
body.louming-kadence-portfolio #mobile-drawer {
    background: rgba(6, 6, 10, 0.94);
    backdrop-filter: blur(20px);
}

body.louming-kadence-portfolio .drawer-navigation .menu > li > a,
body.louming-kadence-portfolio .mobile-navigation ul li a {
    color: var(--lm-text);
    font-family: "Inter", "Segoe UI Variable Text", "Aptos", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .entry-content > [class*="wp-block-"]:first-child,
body.louming-kadence-portfolio .entry-content > .lm-project-single:first-child {
    margin-top: 0;
}

body.louming-kadence-portfolio .lm-shell {
    width: var(--lm-shell);
    margin-inline: auto;
    position: relative;
}

body.louming-kadence-portfolio .lm-section {
    padding: clamp(4.5rem, 6vw, 5.75rem) 0;
    position: relative;
}

body.louming-kadence-portfolio .lm-section + .lm-section {
    margin-top: -0.2rem;
}

body.louming-kadence-portfolio .lm-section::before {
    content: "";
    position: absolute;
    inset: 0.75rem auto auto 50%;
    width: min(72vw, 840px);
    height: min(72vw, 840px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(136, 92, 255, 0.13), transparent 62%);
    transform: translateX(-50%) translateY(calc(var(--lm-scroll-y) * -0.015));
    pointer-events: none;
    filter: blur(6px);
}

body.louming-kadence-portfolio .lm-hero {
    padding-top: clamp(4.5rem, 7vw, 5.75rem);
}

body.louming-kadence-portfolio .lm-hero .lm-shell {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.7rem;
    padding: clamp(1.35rem, 2.4vw, 2rem);
    background:
        linear-gradient(180deg, rgba(18, 15, 29, 0.9), rgba(10, 9, 18, 0.88)),
        radial-gradient(circle at var(--lm-pointer-x) var(--lm-pointer-y), rgba(108, 118, 255, 0.2), transparent 32%);
    box-shadow: var(--lm-shadow);
}

body.louming-kadence-portfolio .lm-hero .lm-shell::before,
body.louming-kadence-portfolio .lm-hero .lm-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

body.louming-kadence-portfolio .lm-hero .lm-shell::before {
    inset: auto -9% -18% auto;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 111, 255, 0.28), transparent 62%);
    transform: translate3d(var(--lm-pointer-shift-x), calc((var(--lm-scroll-y) * -0.04) + var(--lm-pointer-shift-y)), 0);
    filter: blur(18px);
}

body.louming-kadence-portfolio .lm-hero .lm-shell::after {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: 0.06;
}

body.louming-kadence-portfolio .lm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    margin-bottom: 1rem;
    color: var(--lm-accent-strong);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .lm-eyebrow::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 0.7rem;
    border-radius: 0.18rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(117, 155, 255, 0.9));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(139, 92, 246, 0.22);
    transform: rotate(45deg);
}

body.louming-kadence-portfolio .lm-display,
body.louming-kadence-portfolio .lm-section-title,
body.louming-kadence-portfolio .lm-project-single h1,
body.louming-kadence-portfolio .lm-project-pdf h2 {
    margin: 0;
    color: var(--lm-text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

body.louming-kadence-portfolio .lm-display {
    max-width: none;
    font-size: clamp(2.05rem, 3.2vw, 2.45rem);
}

body.louming-kadence-portfolio .lm-section-title,
body.louming-kadence-portfolio .lm-project-single h1 {
    font-size: clamp(1.65rem, 2.6vw, 2rem);
}

body.louming-kadence-portfolio .hero-title,
body.louming-kadence-portfolio .entry-content h1 {
    font-size: 2.45rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

body.louming-kadence-portfolio .lm-hero-subtitle {
    max-width: 34rem;
    margin: 0.5rem 0 0;
    color: var(--lm-text);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.55;
}

body.louming-kadence-portfolio .lm-lead {
    max-width: 38rem;
    margin-top: 0.9rem;
    font-size: 1.02rem;
    line-height: 1.72;
    color: var(--lm-muted-strong);
}

body.louming-kadence-portfolio .lm-lead.is-subtle {
    color: var(--lm-muted);
}

body.louming-kadence-portfolio p,
body.louming-kadence-portfolio li {
    color: var(--lm-muted);
    font-size: 1rem;
    line-height: 1.72;
}

body.louming-kadence-portfolio .lm-actions,
body.louming-kadence-portfolio .lm-project-single__actions,
body.louming-kadence-portfolio .wp-block-buttons {
    gap: 0.8rem;
    margin-top: 1.4rem;
}

body.louming-kadence-portfolio .wp-block-button__link,
body.louming-kadence-portfolio .lm-project-single__actions .wp-block-button__link {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(111, 122, 255, 0.28), rgba(137, 106, 255, 0.18));
    color: var(--lm-text);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(46, 48, 114, 0.18);
    transition: transform 160ms var(--lm-ease), box-shadow 160ms var(--lm-ease), border-color 160ms var(--lm-ease), background 160ms var(--lm-ease);
}

body.louming-kadence-portfolio .wp-block-button.is-style-outline .wp-block-button__link,
body.louming-kadence-portfolio .wp-block-button__link.is-style-outline {
    border-color: var(--lm-border);
    background: rgba(16, 13, 25, 0.56);
    box-shadow: none;
}

body.louming-kadence-portfolio .wp-block-button__link:hover,
body.louming-kadence-portfolio .wp-block-button__link:focus-visible {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 34px rgba(64, 69, 160, 0.24);
    border-color: rgba(255, 255, 255, 0.12);
}

body.louming-kadence-portfolio .lm-profile-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin: 1.1rem 0 0;
}

body.louming-kadence-portfolio .lm-profile-strip p {
    margin: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--lm-muted-strong);
    font-size: 0.82rem;
}

body.louming-kadence-portfolio .lm-profile-strip a {
    color: var(--lm-text);
    text-decoration: none;
}

body.louming-kadence-portfolio .lm-home-highlights,
body.louming-kadence-portfolio .lm-about-columns,
body.louming-kadence-portfolio .lm-skills-grid {
    gap: clamp(0.95rem, 1.6vw, 1.2rem);
    margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}

body.louming-kadence-portfolio .lm-surface-card,
body.louming-kadence-portfolio .lm-detail-card,
body.louming-kadence-portfolio .lm-contact-panel,
body.louming-kadence-portfolio .lm-project-pdf__heading {
    height: 100%;
    padding: clamp(1.2rem, 2vw, 1.55rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(24, 18, 36, 0.9), rgba(15, 12, 24, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--lm-shadow-soft);
    backdrop-filter: blur(12px);
}

body.louming-kadence-portfolio .lm-surface-card:hover,
body.louming-kadence-portfolio .lm-detail-card:hover {
    border-color: var(--lm-border-strong);
    transform: translateY(-3px) scale(1.01);
}

body.louming-kadence-portfolio .lm-card-kicker,
body.louming-kadence-portfolio .lm-project-card__categories,
body.louming-kadence-portfolio .lm-project-card__year {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    margin-bottom: 0.6rem;
    color: var(--lm-accent-strong);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .lm-card-kicker::before,
body.louming-kadence-portfolio .lm-project-card__categories::before {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    flex: 0 0 0.72rem;
    border: 1px solid rgba(196, 181, 253, 0.44);
    border-radius: 0.22rem;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.24), rgba(117, 155, 255, 0.14));
}

body.louming-kadence-portfolio .lm-surface-card h3,
body.louming-kadence-portfolio .lm-detail-card h3,
body.louming-kadence-portfolio .lm-project-card h3 {
    margin: 0 0 0.75rem;
    color: var(--lm-text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.louming-kadence-portfolio .lm-about-hero {
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: 1rem;
}

body.louming-kadence-portfolio .lm-about-hero .wp-block-media-text__media {
    margin: 0;
}

body.louming-kadence-portfolio .lm-about-hero .wp-block-media-text__media img {
    width: 100%;
    max-width: 420px;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(157, 111, 255, 0.22), rgba(17, 12, 28, 0.96));
    box-shadow: var(--lm-shadow);
}

body.louming-kadence-portfolio .lm-certificate img {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--lm-shadow-soft);
}

body.louming-kadence-portfolio ul {
    padding-left: 1.15rem;
}

body.louming-kadence-portfolio li::marker {
    color: var(--lm-accent);
}

body.louming-kadence-portfolio .lm-project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.25rem 0 1.5rem;
}

body.louming-kadence-portfolio .lm-project-filter__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.68rem 0.98rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(231, 224, 243, 0.76);
    cursor: pointer;
    font-family: "Inter", "Segoe UI Variable Text", "Aptos", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 160ms var(--lm-ease), border-color 160ms var(--lm-ease), background 160ms var(--lm-ease), color 160ms var(--lm-ease), box-shadow 160ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-filter__button::before {
    content: "";
    width: 0.58rem;
    height: 0.58rem;
    flex: 0 0 0.58rem;
    border-radius: 999px;
    background: rgba(196, 181, 253, 0.48);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.louming-kadence-portfolio .lm-project-filter__button[data-project-filter="coding"]::before {
    background: rgba(117, 155, 255, 0.72);
}

body.louming-kadence-portfolio .lm-project-filter__button[data-project-filter="design"]::before {
    background: rgba(139, 92, 246, 0.76);
}

body.louming-kadence-portfolio .lm-project-filter__button[data-project-filter="ai"]::before {
    background: rgba(84, 214, 255, 0.78);
}

body.louming-kadence-portfolio .lm-project-filter__button:hover,
body.louming-kadence-portfolio .lm-project-filter__button:focus-visible,
body.louming-kadence-portfolio .lm-project-filter__button.is-active {
    border-color: rgba(201, 175, 255, 0.32);
    background: linear-gradient(135deg, rgba(128, 101, 255, 0.2), rgba(92, 117, 255, 0.12));
    color: var(--lm-text);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 20px rgba(22, 18, 40, 0.22);
}

body.louming-kadence-portfolio .lm-project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

body.louming-kadence-portfolio .lm-project-card {
    display: grid;
    grid-column: span 6;
    grid-template-rows: auto 1fr;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(21, 16, 31, 0.96), rgba(11, 9, 19, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--lm-shadow-soft);
    transition: opacity 180ms var(--lm-ease), transform 180ms var(--lm-ease), border-color 180ms var(--lm-ease), box-shadow 180ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(154, 154, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px rgba(6, 5, 13, 0.34);
}

body.louming-kadence-portfolio .lm-project-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at top right, rgba(157, 111, 255, 0.24), transparent 34%),
        linear-gradient(180deg, rgba(25, 20, 39, 0.9), rgba(13, 11, 21, 0.94));
}

body.louming-kadence-portfolio .lm-project-card__media img,
body.louming-kadence-portfolio .lm-project-single__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 220ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-card:hover .lm-project-card__media img {
    transform: scale(1.03);
}

body.louming-kadence-portfolio .lm-project-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.08em;
    background:
        radial-gradient(circle at 20% 20%, rgba(157, 111, 255, 0.24), transparent 36%),
        linear-gradient(135deg, rgba(29, 20, 44, 0.96), rgba(14, 11, 23, 1));
}

body.louming-kadence-portfolio .lm-project-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.66rem;
    padding: 1rem 1rem 1.15rem;
}

body.louming-kadence-portfolio .lm-project-card__topline {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

body.louming-kadence-portfolio .lm-project-card__context {
    margin: 0;
    color: var(--lm-muted-strong);
    font-weight: 500;
}

body.louming-kadence-portfolio .lm-project-card__excerpt {
    margin: 0;
}

body.louming-kadence-portfolio .lm-project-card__tags {
    margin: 0;
    color: var(--lm-muted-strong);
    font-size: 0.84rem;
    line-height: 1.55;
}

body.louming-kadence-portfolio .lm-project-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

body.louming-kadence-portfolio .lm-project-card[data-project-terms*="coding"]:hover {
    border-color: rgba(111, 164, 255, 0.34);
}

body.louming-kadence-portfolio .lm-project-card[data-project-terms*="design"]:hover {
    border-color: rgba(164, 122, 255, 0.34);
}

body.louming-kadence-portfolio .lm-project-card[data-project-terms*="ai"]:hover {
    border-color: rgba(100, 227, 255, 0.34);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial {
    position: relative;
}

body.louming-kadence-portfolio .lm-project-grid--editorial {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card {
    display: block;
    grid-column: auto;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: clamp(1.85rem, 4vw, 2.5rem) 0;
    background: transparent;
    box-shadow: none;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__head {
    max-width: 48rem;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__label-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__token {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.46rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 226, 244, 0.78);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__token--category {
    border-color: rgba(196, 181, 253, 0.26);
    background: rgba(139, 92, 246, 0.14);
    color: var(--lm-accent-strong);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__token--year {
    color: var(--lm-muted);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__title {
    margin: 0;
    color: var(--lm-text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__excerpt {
    max-width: 45rem;
    margin: 0.8rem 0 0;
    color: var(--lm-muted-strong);
    font-size: 0.98rem;
    line-height: 1.72;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
    gap: clamp(1.1rem, 2.6vw, 1.9rem);
    align-items: stretch;
    margin-top: 1.35rem;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: clamp(250px, 34vw, 360px);
    aspect-ratio: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at top right, rgba(157, 111, 255, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(23, 18, 35, 0.94), rgba(11, 9, 18, 0.96));
    box-shadow: 0 18px 40px rgba(5, 4, 11, 0.26);
    transform: translateY(0);
    transition: transform 300ms var(--lm-ease), box-shadow 300ms var(--lm-ease), border-color 300ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 6, 10, 0.08), rgba(6, 6, 10, 0.34)),
        linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 48%);
    pointer-events: none;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__media img {
    filter: brightness(0.66) saturate(0.92);
    transform: scale(1.015);
    transition: transform 300ms var(--lm-ease), filter 300ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-stack {
    display: grid;
    gap: 0.95rem;
    align-content: start;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-block {
    padding: 1rem 1.05rem 1.08rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(21, 17, 33, 0.88), rgba(14, 11, 23, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    transition: border-color 300ms var(--lm-ease), background 300ms var(--lm-ease), transform 300ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-label {
    margin: 0;
    color: var(--lm-accent-strong);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-copy {
    margin: 0.6rem 0 0;
    color: var(--lm-muted-strong);
    font-size: 0.95rem;
    line-height: 1.68;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__actions {
    gap: 0.75rem 1.05rem;
    margin-top: 0;
    padding-top: 0.15rem;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-inline-link {
    color: rgba(245, 239, 255, 0.9);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__media {
    transform: translateY(-4px);
    border-color: rgba(196, 181, 253, 0.24);
    box-shadow: 0 24px 48px rgba(5, 4, 11, 0.34);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__media img {
    filter: brightness(0.8) saturate(1);
    transform: scale(1.05);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__title,
body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-inline-link {
    color: #ffffff;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__excerpt,
body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__detail-copy {
    color: rgba(235, 229, 245, 0.9);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card:hover .lm-project-card__detail-block {
    border-color: rgba(196, 181, 253, 0.18);
    transform: translateY(-1px);
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card[data-project-terms*="coding"] .lm-project-card__token--category,
body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card[data-project-terms*="coding"] .lm-project-card__detail-label {
    color: #a9c2ff;
}

body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card[data-project-terms*="ai"] .lm-project-card__token--category,
body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card[data-project-terms*="ai"] .lm-project-card__detail-label {
    color: #98ebff;
}

body.louming-kadence-portfolio .lm-inline-link,
body.louming-kadence-portfolio .lm-back-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--lm-text);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

body.louming-kadence-portfolio .lm-inline-link::after,
body.louming-kadence-portfolio .lm-back-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--lm-accent), transparent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms var(--lm-ease);
}

body.louming-kadence-portfolio .lm-inline-link:hover::after,
body.louming-kadence-portfolio .lm-back-link:hover::after,
body.louming-kadence-portfolio .lm-inline-link:focus-visible::after,
body.louming-kadence-portfolio .lm-back-link:focus-visible::after {
    transform: scaleX(1);
}

body.louming-kadence-portfolio .lm-project-empty {
    margin-top: 1.25rem;
    color: var(--lm-muted);
}

html.lm-js body.louming-kadence-portfolio .lm-project-card.is-filtered-out {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.985);
    pointer-events: none;
}

body.louming-kadence-portfolio .single-project .entry-content,
body.louming-kadence-portfolio .single-project article {
    max-width: none;
}

body.louming-kadence-portfolio.louming-kadence-project-view .entry-content-wrap,
body.louming-kadence-portfolio.louming-kadence-project-view .entry-content,
body.louming-kadence-portfolio.louming-kadence-project-view article.entry {
    background: transparent !important;
    color: var(--lm-text);
}

body.louming-kadence-portfolio.louming-kadence-project-view,
body.louming-kadence-portfolio.louming-kadence-project-view #main,
body.louming-kadence-portfolio.louming-kadence-project-view .site-main,
body.louming-kadence-portfolio.louming-kadence-project-view .content-area,
body.louming-kadence-portfolio.louming-kadence-project-view .content-container,
body.louming-kadence-portfolio.louming-kadence-project-view .content-wrap,
body.louming-kadence-portfolio.louming-kadence-project-view article.entry,
body.louming-kadence-portfolio.louming-kadence-project-view .entry-content-wrap,
body.louming-kadence-portfolio.louming-kadence-project-view .entry-content {
    background:
        radial-gradient(circle at 52% 16%, rgba(131, 88, 255, 0.18), transparent 26%),
        linear-gradient(180deg, #050509 0%, #0a0811 52%, #06060a 100%) !important;
}

body.louming-kadence-portfolio .lm-project-single {
    width: var(--lm-shell);
    margin: clamp(3.75rem, 7vw, 5.5rem) auto;
}

body.louming-kadence-portfolio .lm-back-link {
    margin-bottom: 1rem;
    color: var(--lm-accent-strong);
}

body.louming-kadence-portfolio .lm-project-single__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

body.louming-kadence-portfolio .lm-project-single__hero-media {
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 320px;
    background: linear-gradient(180deg, rgba(23, 18, 35, 0.96), rgba(12, 10, 20, 0.98));
    box-shadow: var(--lm-shadow);
}

body.louming-kadence-portfolio .lm-project-single__facts,
body.louming-kadence-portfolio .lm-project-single__insights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

body.louming-kadence-portfolio .lm-project-single__insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.louming-kadence-portfolio .lm-project-pdf {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

body.louming-kadence-portfolio .lm-project-pdf__frame {
    overflow: hidden;
    min-height: 640px;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 9, 15, 0.9);
    box-shadow: var(--lm-shadow-soft);
}

body.louming-kadence-portfolio .lm-project-pdf iframe {
    width: 100%;
    min-height: 640px;
    border: 0;
    background: #120f1c;
}

body.louming-kadence-portfolio #colophon {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 9, 16, 0.75);
    backdrop-filter: blur(14px);
}

body.louming-kadence-portfolio #colophon,
body.louming-kadence-portfolio #colophon p,
body.louming-kadence-portfolio #colophon li,
body.louming-kadence-portfolio #colophon a {
    color: var(--lm-muted);
}

html.lm-js body.louming-kadence-portfolio .lm-section,
html.lm-js body.louming-kadence-portfolio .lm-surface-card,
html.lm-js body.louming-kadence-portfolio .lm-project-card,
html.lm-js body.louming-kadence-portfolio .lm-detail-card,
html.lm-js body.louming-kadence-portfolio .lm-about-hero,
html.lm-js body.louming-kadence-portfolio .lm-contact-panel,
html.lm-js body.louming-kadence-portfolio .lm-project-single__hero,
html.lm-js body.louming-kadence-portfolio .lm-project-single__facts,
html.lm-js body.louming-kadence-portfolio .lm-project-single__insights,
html.lm-js body.louming-kadence-portfolio .lm-project-pdf {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 320ms var(--lm-ease),
        transform 320ms var(--lm-ease),
        border-color 160ms var(--lm-ease),
        box-shadow 160ms var(--lm-ease);
    transition-delay: var(--lm-reveal-delay, 0ms);
}

html.lm-js body.louming-kadence-portfolio .is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1024px) {
    body.louming-kadence-portfolio .lm-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.louming-kadence-portfolio .lm-project-card {
        grid-column: span 1;
    }

    body.louming-kadence-portfolio .lm-project-single__hero,
    body.louming-kadence-portfolio .lm-project-pdf,
    body.louming-kadence-portfolio .lm-about-hero {
        grid-template-columns: 1fr;
    }

    body.louming-kadence-portfolio .lm-project-single__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__editorial-grid {
        grid-template-columns: 1fr;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__media {
        min-height: 290px;
    }
}

@media (max-width: 782px) {
    :root {
        --lm-shell: min(100vw - 1.25rem, 100%);
    }

    body.louming-kadence-portfolio .site-branding .site-title {
        font-size: 0.62rem;
    }

    body.louming-kadence-portfolio .site-branding {
        gap: 0.58rem;
    }

    body.louming-kadence-portfolio .site-branding::before {
        width: 1.72rem;
        height: 1.72rem;
        font-size: 0.64rem;
    }

    body.louming-kadence-portfolio #masthead.site-header {
        backdrop-filter: blur(14px);
    }

    body.louming-kadence-portfolio .lm-section {
        padding: 3rem 0;
    }

    body.louming-kadence-portfolio .lm-hero {
        padding-top: 3.7rem;
    }

    body.louming-kadence-portfolio .lm-hero .lm-shell {
        padding: 1.35rem;
        border-radius: 1.3rem;
    }

    body.louming-kadence-portfolio .lm-display {
        max-width: none;
        font-size: 1.9rem;
    }

    body.louming-kadence-portfolio .lm-section-title,
    body.louming-kadence-portfolio .lm-project-single h1 {
        font-size: clamp(1.5rem, 8vw, 1.8rem);
        line-height: 1.15;
    }

    body.louming-kadence-portfolio .lm-lead {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    body.louming-kadence-portfolio .hero-title,
    body.louming-kadence-portfolio .entry-content h1 {
        font-size: 1.95rem;
    }

    body.louming-kadence-portfolio .lm-hero-subtitle {
        font-size: 0.98rem;
    }

    body.louming-kadence-portfolio .lm-project-grid {
        grid-template-columns: 1fr;
    }

    body.louming-kadence-portfolio .lm-project-filter {
        gap: 0.5rem;
        margin: 1rem 0 1.2rem;
    }

    body.louming-kadence-portfolio .lm-project-filter__button {
        padding: 0.62rem 0.86rem;
        font-size: 0.66rem;
        letter-spacing: 0.16em;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card {
        padding: 1.5rem 0;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__label-row {
        gap: 0.42rem;
        margin-bottom: 0.72rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__token {
        min-height: 1.8rem;
        padding: 0.42rem 0.62rem;
        font-size: 0.62rem;
        letter-spacing: 0.16em;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__title {
        font-size: 1.35rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__excerpt {
        margin-top: 0.68rem;
        font-size: 0.94rem;
        line-height: 1.64;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__editorial-grid {
        gap: 0.9rem;
        margin-top: 1rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__media {
        min-height: 220px;
        border-radius: 1.15rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-stack {
        gap: 0.75rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-block {
        padding: 0.88rem 0.92rem 0.94rem;
        border-radius: 1rem;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-label {
        font-size: 0.64rem;
        letter-spacing: 0.18em;
    }

    body.louming-kadence-portfolio .lm-project-grid-wrap--editorial .lm-project-card__detail-copy {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        line-height: 1.62;
    }

    body.louming-kadence-portfolio .lm-project-single {
        margin: 3.5rem auto 4.5rem;
    }

    body.louming-kadence-portfolio .lm-project-single__hero-media,
    body.louming-kadence-portfolio .lm-project-pdf__frame,
    body.louming-kadence-portfolio .lm-project-pdf iframe {
        min-height: 320px;
    }

    body.louming-kadence-portfolio .lm-project-single__facts,
    body.louming-kadence-portfolio .lm-project-single__insights {
        grid-template-columns: 1fr;
    }

    body.louming-kadence-portfolio .lm-profile-strip {
        gap: 0.6rem;
    }

    body.louming-kadence-portfolio .lm-profile-strip p {
        width: 100%;
    }
}

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

    body.louming-kadence-portfolio *,
    body.louming-kadence-portfolio *::before,
    body.louming-kadence-portfolio *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    body.louming-kadence-portfolio::before,
    body.louming-kadence-portfolio .lm-section::before,
    body.louming-kadence-portfolio .lm-hero .lm-shell::before {
        transform: none !important;
    }
}
