body.home {
    background-color: #BEB8B2;
    color: var(--ink);
    font-family: var(--f-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home * {
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wallpaper {
    position: relative;
    overflow: hidden;
}

.wallpaper--warm {
    background-color: #BEB8B2;
    background-image:
        radial-gradient(ellipse 60% 50% at 88% 6%,  rgba(123,64,232,0.40) 0%, transparent 52%),
        radial-gradient(ellipse 55% 60% at 4% 92%,  rgba(191,160,248,0.28) 0%, transparent 52%),
        radial-gradient(ellipse 75% 45% at 42% 55%, rgba(212,196,184,0.45) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 80% 75%, rgba(155,107,71,0.18)  0%, transparent 52%);
}

.wallpaper--midnight {
    background-color: #1D1D1F;
    background-image:
        radial-gradient(ellipse 70% 55% at 85% 12%, rgba(123,64,232,0.40) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 10% 85%, rgba(123,64,232,0.28) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 50% 50%, rgba(123,64,232,0.10) 0%, transparent 65%);
    color: rgba(255, 255, 255, 0.92);
}

.home-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);

    height: var(--nav-height);
    padding: 0 var(--space-3);

    background: var(--glass-nav);
    backdrop-filter: var(--web-blur-nav);
    -webkit-backdrop-filter: var(--web-blur-nav);
    border-bottom: 0.5px solid var(--color-border-glass);
}

.home-nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.home-nav__path {
    font-family: var(--f-mono);
    font-size: var(--text-mono-sm);
    color: var(--ink);
    letter-spacing: var(--tracking-tight);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.home-nav__logo {
    height: 75px;
    width: auto;
    display: block;
    transform: translateY(6px);
}

.home-nav__links {
    display: none;
    list-style: none;
    margin: 0 var(--space-8) 0 0;
    padding: 0;
    gap: var(--space-3);
    align-items: center;
}

.home-nav__links li { display: inline-flex; }

.home-nav__link {
    font-family: var(--f-mono);
    font-size: var(--text-mono-sm);
    color: var(--ink);
    text-decoration: none;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--r-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.home-nav__link:hover {
    color: var(--p500);
}

.home-nav__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;

    background: var(--ink);
    color: var(--w100);
    font-family: 'Bungee', var(--f-disp);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-decoration: none;

    border: 2px solid var(--ink);
    border-radius: 0;
    transform: rotate(-1deg);
    box-shadow:
        3px 3px 0 var(--p500),
        6px 6px 0 var(--ink);
    transition: transform var(--transition-fast), box-shadow var(--transition-medium);
}

.home-nav__cta:hover {
    transform: rotate(0deg) translate(-2px, -2px);
    box-shadow:
        5px 5px 0 var(--p500),
        8px 8px 0 var(--ink);
}
.home-nav__cta:active {
    transform: rotate(0deg) translate(2px, 2px);
    box-shadow:
        1px 1px 0 var(--p500),
        2px 2px 0 var(--ink);
}

@media (min-width: 768px) {
    .home-nav { padding: 0 var(--space-6); }
    .home-nav__links { display: inline-flex; }
}

.home-section {
    position: relative;
    padding: var(--space-10) var(--space-3);
}

@media (min-width: 768px) {
    .home-section { padding: var(--space-12) var(--space-6); }
}

@media (min-width: 1024px) {
    .home-section { padding: var(--space-16) var(--space-6); }
}

.home-hero {
    position: relative;

    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    padding: var(--space-4) var(--space-3) var(--space-7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow-x: clip;
    overflow-y: visible;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(
        ellipse at center,
        rgba(123, 64, 232, 0.45) 0%,
        rgba(123, 64, 232, 0.18) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.home-hero__sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transform-origin: center;
    opacity: 0;
}

@keyframes sparkle-twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(75deg);
    }
    50% {
        opacity: 0.75;
        transform: scale(1) rotate(120deg);
    }
}

.home-hero__sparkle--purple {
    fill: var(--p500);
    filter: drop-shadow(0 0 6px rgba(123, 64, 232, 0.60))
            drop-shadow(0 0 12px rgba(123, 64, 232, 0.32));
}

.home-hero__sparkle--purple-light {
    fill: var(--p300);
    filter: drop-shadow(0 0 5px rgba(191, 160, 248, 0.65))
            drop-shadow(0 0 10px rgba(191, 160, 248, 0.32));
}

.home-hero__sparkle--warm {
    fill: #FAF8F6;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.70))
            drop-shadow(0 0 10px rgba(123, 64, 232, 0.22));
}

.home-hero__sparkle--rust {
    fill: var(--rust);
    filter: drop-shadow(0 0 5px rgba(155, 107, 71, 0.55))
            drop-shadow(0 0 10px rgba(155, 107, 71, 0.28));
}

.home-hero__sparkle--1 {
    top: 6%;  left: 4%;
    width: 14px; height: 14px;
    animation: sparkle-twinkle 2.6s ease-in-out infinite;
    animation-delay: 0s;
}

.home-hero__sparkle--2 {
    top: 5%; right: 22%;
    width: 22px; height: 22px;
    animation: sparkle-twinkle 3.2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.home-hero__sparkle--3 {
    bottom: 14%; right: 30%;
    width: 16px; height: 16px;
    animation: sparkle-twinkle 2.4s ease-in-out infinite;
    animation-delay: 1.1s;
}

.home-hero__sparkle--4 {
    top: 40%; left: 38%;
    width: 12px; height: 12px;
    animation: sparkle-twinkle 2.8s ease-in-out infinite;
    animation-delay: 1.8s;
}

.home-hero__sparkle--5 {
    top: 52%; left: 2%;
    width: 14px; height: 14px;
    animation: sparkle-twinkle 3s ease-in-out infinite;
    animation-delay: 0.7s;
}

.home-hero__sparkle--6 {
    bottom: 30%; right: 4%;
    width: 12px; height: 12px;
    animation: sparkle-twinkle 2.2s ease-in-out infinite;
    animation-delay: 1.4s;
}

.home-hero__sparkle--7 {
    top: 18%; right: 2%;
    width: 18px; height: 18px;
    animation: sparkle-twinkle 3.4s ease-in-out infinite;
    animation-delay: 2.1s;
}

.home-hero__sparkle--8 {
    bottom: 22%; left: 32%;
    width: 12px; height: 12px;
    animation: sparkle-twinkle 2.5s ease-in-out infinite;
    animation-delay: 2.4s;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__sparkle {
        animation: none;
        opacity: 0.55;
    }
}

.home-section,
.home-manifesto,
.home-closing,
.home-footer {
    position: relative;
}

.section-sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transform-origin: center;
    opacity: 0;
    animation: sparkle-twinkle 3s ease-in-out infinite;
}

.section-sparkle--purple {
    fill: var(--p500);
    filter: drop-shadow(0 0 6px rgba(123, 64, 232, 0.60))
            drop-shadow(0 0 12px rgba(123, 64, 232, 0.32));
}

.section-sparkle--purple-light {
    fill: var(--p300);
    filter: drop-shadow(0 0 5px rgba(191, 160, 248, 0.65))
            drop-shadow(0 0 10px rgba(191, 160, 248, 0.32));
}

.section-sparkle--warm {
    fill: #FAF8F6;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.70))
            drop-shadow(0 0 10px rgba(123, 64, 232, 0.22));
}

.section-sparkle--1  { top: 8%;    left: 6%;    width: 14px; height: 14px; animation-duration: 2.6s; animation-delay: 0s;    }
.section-sparkle--2  { top: 12%;   right: 10%;  width: 18px; height: 18px; animation-duration: 3.2s; animation-delay: 0.4s;  }
.section-sparkle--3  { bottom: 18%; right: 6%;  width: 12px; height: 12px; animation-duration: 2.4s; animation-delay: 1.1s;  }

@media (prefers-reduced-motion: reduce) {
    .section-sparkle {
        animation: none;
        opacity: 0.55;
    }
}

@media (max-width: 767px) {
    .home-hero__sparkle--2,
    .home-hero__sparkle--3,
    .home-hero__sparkle--4,
    .home-hero__sparkle--7,
    .home-hero__sparkle--8 {
        display: none;
    }
}

.home-hero__layout {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);

    align-items: center;
    padding: 0;
}

.home-hero__text {
    position: relative;
    z-index: 1;
}

.home-hero__title {
    font-family: var(--f-disp);
    font-size: var(--text-display-hero);
    font-weight: 800;
    color: var(--ink);
    line-height: var(--lh-tight);
    margin: 0 0 var(--space-2);
    letter-spacing: -0.02em;
    max-width: 14ch;
    text-wrap: balance;
}

.home-hero__title em,
.home-hero__subtitle em {
    font-style: normal;
    color: var(--p500);
    font-weight: 800;
}

.home-hero__subtitle {
    font-family: var(--f-body);
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--mut);
    line-height: var(--lh-relaxed);
    max-width: 38ch;
    margin: 0 0 var(--space-3);
    text-wrap: pretty;
}

.home-hero__direct-answer {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: 0;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;

    font-family: var(--f-body);
    font-size: var(--text-body-md);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--r-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-medium), background var(--transition-fast), color var(--transition-fast);
    border: 1px solid transparent;
}

.home-cta--primary {
    background: var(--p500);
    color: var(--w50);
    box-shadow: 0 6px 20px rgba(123, 64, 232, 0.36);
}

.home-cta--primary:hover {
    background: var(--p700);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(123, 64, 232, 0.50);
}
.home-cta--henry {
    background: var(--ink);
    color: var(--w100);
    font-family: 'Bungee', var(--f-disp);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    border: 2px solid var(--ink);
    border-radius: 0;
    padding: 14px 24px;
    transform: rotate(-1deg);
    box-shadow:
        4px 4px 0 var(--p500),
        8px 8px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-cta--henry:hover {
    background: var(--ink);
    color: var(--w100);
    transform: rotate(0deg) translate(-2px, -2px);
    box-shadow:
        6px 6px 0 var(--p500),
        10px 10px 0 var(--ink);
}
.home-cta--henry:active {
    transform: rotate(0deg) translate(3px, 3px);
    box-shadow:
        1px 1px 0 var(--p500),
        2px 2px 0 var(--ink);
}

.home-cta--inverse {
    background: var(--w50);
    color: var(--ink);
}

.home-cta--inverse:hover {
    background: var(--w200);
}

.home-cta__arrow {
    transition: transform var(--transition-fast);
}

.home-cta:hover .home-cta__arrow {
    transform: translateX(4px);
}

.home-hero__visual {
    position: relative;
    z-index: 1;
    align-self: start;

    min-height: 520px;

    isolation: isolate;

    overflow-y: visible;
}

.home-hero__visual,
.home-hero__visual *,
.home-hero__visual *::before,
.home-hero__visual *::after {
    box-sizing: border-box;
}

.henry-supporting {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
    background: var(--glass-social-light);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 0.5px solid var(--color-border-glass);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
}

.henry-supporting__chrome {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    height: 28px;
    padding: 0 10px;
    background: var(--chrome-toolbar-bg);
    border-bottom: 0.5px solid var(--color-border-subtle);
}

.henry-supporting__chrome--dark {
    background: var(--chrome-toolbar-bg-dk);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.henry-supporting__dots {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.henry-supporting__dot {
    width: 7px;
    height: 7px;
    border-radius: var(--r-full);
    flex-shrink: 0;
}

.henry-supporting__dot--red    { background: var(--chrome-dot-red); }
.henry-supporting__dot--yellow { background: var(--chrome-dot-yellow); }
.henry-supporting__dot--green  { background: var(--chrome-dot-green); }

.henry-supporting__path {
    flex: 1;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--ink);
    text-align: right;
    letter-spacing: var(--tracking-tight);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.henry-supporting__path--dark {
    color: rgba(255, 255, 255, 0.72);
}

.henry-supporting__body {
    padding: var(--space-2) var(--space-3);
}

.henry-supporting__cursor {
    display: inline-block;
    width: 1.5px;
    height: 1em;
    margin-left: 2px;
    background: var(--ink);
    vertical-align: text-bottom;
    animation: writer-cursor-blink 1s steps(2) infinite;
}

@keyframes writer-cursor-blink {
    50% { opacity: 0; }
}

.henry-supporting--code {

    top: 47px;
    left: -97px;
    right: auto;
    bottom: auto;
    width: 244px;
    height: 204px;
    transform: rotate(-6deg);
    z-index: 2;
    background: var(--d800);
    border-color: rgba(255, 255, 255, 0.08);

    display: flex;
    flex-direction: column;
}

.henry-supporting__code-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    padding: 0;

    mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}

.henry-supporting__code-rain {
    margin: 0;
    padding: 6px 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    white-space: pre;
    display: flex;
    flex-direction: column;
    animation: code-rain 16s linear infinite;
    will-change: transform;
}

.hsc-line {
    display: block;
    white-space: pre;
}

@keyframes code-rain {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .henry-supporting__code-rain {
        animation: none;
    }
}

.henry-supporting__code-rain .hsc-kw  { color: var(--p300); }
.henry-supporting__code-rain .hsc-fn  { color: #FFFFFF; font-weight: 500; }
.henry-supporting__code-rain .hsc-arg { color: var(--rust-l); }
.henry-supporting__code-rain .hsc-cm  { color: rgba(255, 255, 255, 0.50); font-style: italic; }
.henry-supporting__code-rain .hsc-str { color: var(--rust-l); }

.henry-supporting--blog {

    top: 313px;
    left: 311px;
    right: auto;
    bottom: auto;
    width: 255px;
    height: 160px;
    transform: rotate(5deg);
    z-index: 25;
}

.henry-supporting__blog-title {
    font-family: var(--f-disp);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.henry-supporting__blog-body {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--mut);
    line-height: 1.55;
    margin: 0;
}

.henry-supporting--paint {

    top: 77px;
    left: 323px;
    right: auto;
    bottom: auto;
    width: 239px;
    height: 195px;
    transform: rotate(8deg);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.henry-supporting--notes {

    top: 272px;
    left: -85px;
    right: auto;
    bottom: auto;
    width: 191px;
    height: 155px;
    transform: rotate(-6deg);
    z-index: 9;
}

.henry-supporting__notes-canvas {
    position: relative;
    height: 96px;
    padding: 0;
}

.henry-supporting__mini-note {
    position: absolute;
    display: inline-block;
    padding: 8px 12px;
    max-width: 110px;
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
}

.henry-supporting__mini-note--purple {
    background: var(--sn-purple);
    color: var(--p600);

    top: 82px;
    left: 56px;
    width: 95px;
    height: 35px;
    max-width: none;
    bottom: auto;
    right: auto;
    transform: rotate(5deg);
    z-index: 14;
    box-shadow: 0 3px 8px rgba(123, 64, 232, 0.16);
}

.henry-supporting__notes-sparkle--2 {

    top: 11px;
    left: 87px;
    right: auto;
    bottom: auto;
    width: 18px;
    height: 19px;
    transform: rotate(12deg);
    fill: var(--p300);
    z-index: 18;
}

.henry-supporting__notes-glyph {
    position: absolute;
    font-family: var(--f-body);
    z-index: 2;
    line-height: 1;
    user-select: none;
}

.henry-supporting__notes-glyph--2 {

    top: 74px;
    left: 220px;
    right: auto;
    bottom: auto;
    width: 22px;
    height: 23px;
    font-size: 16px;
    color: var(--p500);
    transform: rotate(-10deg);
    opacity: 0.80;
    filter: drop-shadow(0 0 4px rgba(123, 64, 232, 0.40));
    z-index: 11;
}

.henry-supporting__notes-sparkle {
    position: absolute;

    top: 44px;
    left: 81px;
    bottom: auto;
    width: 18px;
    height: 19px;
    fill: var(--p500);
    filter: drop-shadow(0 0 4px rgba(123, 64, 232, 0.45));
    z-index: 19;
    transform: rotate(12deg);
}

.henry-supporting__swatches {

    position: absolute;
    top: -44px;
    left: -12px;
    width: 106px;
    height: 49px;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: rotate(-89deg);
    transform-origin: left center;
    z-index: 8;
}

.henry-supporting__swatch {
    width: 18px;
    height: 18px;
    border-radius: var(--r-full);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        0 1px 2px rgba(0, 0, 0, 0.08);
}

.henry-paint__pie {

    position: absolute;
    top: 8px;
    left: 60px;
    width: 167px;
    height: 196px;
    display: block;
    z-index: 7;
}

.henry-paint__annotation {
    position: absolute;
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--ink);
    opacity: 0.75;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}

.henry-paint__annotation--1 { top: 31px;  left: 179px; width: 69px; height: 21px; transform: rotate(-3deg); z-index: 6; }
.henry-paint__annotation--2 { top: 159px; left: 162px; width: 59px; height: 30px; transform: rotate(3deg);  z-index: 5; }
.henry-paint__annotation--4 { top: 37px;  left: 72px;  width: 66px; height: 32px; transform: rotate(-6deg); z-index: 4; }

.henry-paint__label {

    position: absolute;
    top: 129px;
    left: 25px;
    bottom: auto;
    width: 66px;
    height: 29px;
    font-family: var(--f-mono);
    font-size: 8px;
    color: var(--mut);
    opacity: 0.65;
    transform: rotate(-1deg);
    user-select: none;
    white-space: nowrap;
    z-index: 3;
}

.henry-supporting__body--paint {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-2);
    flex: 1;
    min-height: 0;
}

.henry-photo {

    position: absolute;
    top: 84px;
    left: 80px;
    right: auto;
    bottom: auto;
    z-index: 24;
    width: 309px;
    height: 347px;
    transform: rotate(0deg);

    display: flex;
    flex-direction: column;

    overflow: visible;
    background: var(--glass-social-light);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 0.5px solid var(--color-border-glass);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-window);

}

.henry-photo__chrome {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    height: 32px;
    padding: 0 12px;
    background: var(--chrome-toolbar-bg);
    border-bottom: 0.5px solid var(--color-border-subtle);
}

.henry-photo__dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.henry-photo__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    flex-shrink: 0;
}

.henry-photo__dot--red    { background: var(--chrome-dot-red); }
.henry-photo__dot--yellow { background: var(--chrome-dot-yellow); }
.henry-photo__dot--green  { background: var(--chrome-dot-green); }

.henry-photo__path {
    flex: 1;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--ink);
    text-align: right;
    letter-spacing: var(--tracking-tight);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.henry-photo__frame {
    width: 100%;
    flex: 1;
    min-height: 0;

    background: var(--w200);
    position: relative;

    overflow: visible;
    border-bottom-left-radius: var(--r-md);
    border-bottom-right-radius: var(--r-md);
}

.henry-photo__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.10);
    pointer-events: none;
    z-index: 2;
}

.henry-photo__img-wrap {
    position: absolute;
    left: 0;
    top: -180px;
    width: 100%;
    height: calc(100% + 180px);

    z-index: 10;
}

.henry-photo__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    user-select: none;
    -webkit-user-drag: none;

    filter: drop-shadow(0 18px 32px rgba(62, 26, 115, 0.55));
}

.henry-photo__chrome {
    position: relative;
    z-index: 0;
}

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

@media (max-width: 767px) {
    .henry-supporting {
        display: none;
    }
}

.home-hero__text {
    transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero.is-transitioning .home-hero__text {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__text {
        transition: none;
    }

    .home-hero.is-transitioning .home-hero__text {
        opacity: 1;
    }
}

.home-hero__ctas .home-cta {
    padding: 12px 20px;
    font-size: var(--text-body-sm);
}

.home-hero__dock {
    position: absolute;

    bottom: calc(var(--space-5) - 25px);
    left: 50%;
    transform: translateX(-50%);

    isolation: isolate;

    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px;

    background-color: rgba(29, 29, 31, 0.05);

    backdrop-filter: blur(8px) url(#liquid-glass-soulscale) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.10),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.90),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.80),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.60),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.20),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.20),
        inset 2px -6.5px 1px -4px rgba(0, 0, 0, 0.10),
        0 1px 5px 0 rgba(0, 0, 0, 0.10),
        0 6px 16px 0 rgba(0, 0, 0, 0.08);

    border-radius: var(--r-full);
    width: max-content;
    max-width: calc(100% - var(--space-4));
    z-index: 4;

    transition:
        background-color 400ms cubic-bezier(1, 0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
}

.home-hero__dock-pill {
    position: absolute;
    top: 6px;
    height: calc(100% - 12px);

    background-color: rgba(123, 64, 232, 0.35);

    backdrop-filter: blur(8px) url(#liquid-glass-soulscale) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.90),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.80),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.60),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.20),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.20),
        inset 2px -6.5px 1px -4px rgba(0, 0, 0, 0.10),
        0 1px 5px 0 rgba(0, 0, 0, 0.10),
        0 6px 16px 0 rgba(123, 64, 232, 0.28);

    border-radius: 999px;

    transition:
        left 420ms cubic-bezier(0.65, 0, 0.35, 1),
        width 480ms cubic-bezier(0.34, 1.5, 0.64, 1),
        background-color 400ms cubic-bezier(1, 0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
    z-index: 1;
    pointer-events: none;

    width: 0;
    left: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__dock-pill {
        transition: none;
    }
}

.home-hero__dock-item {
    position: relative;
    z-index: 2;

    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--r-full);

    font-family: var(--f-mono);
    font-size: var(--text-mono-sm);
    color: var(--ink);
    text-decoration: none;
    transition: color 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero__dock-item:hover {
    color: var(--p500);
}

.home-hero__dock-item[aria-selected="true"] {
    color: var(--w50);

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.home-hero__dock-item[aria-selected="true"]:hover {
    color: var(--w50);
}

.home-hero__dock-item:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .home-hero {
        padding: var(--space-4) var(--space-6) var(--space-8);
    }

    .home-hero__layout {
        grid-template-columns: 1.3fr 1fr;
        gap: var(--space-6);
    }

    .home-hero__dock {
        bottom: calc(var(--space-6) - 25px);
    }
}

@media (min-width: 1024px) {
    .home-hero {
        padding: var(--space-4) var(--space-8) var(--space-10);
    }

    .home-hero__layout {
        gap: var(--space-8);
        max-width: 1280px;
    }

    .home-hero__title {
        margin-bottom: var(--space-3);
    }

    .home-hero__dock {
        bottom: calc(var(--space-7) - 25px);
    }
}

@media (max-width: 767px) {

    .home-hero__sparkle--3 {
        display: none;
    }
}

.home-manifesto {
    text-align: center;
    padding-block: var(--space-16);
    position: relative;
    overflow: hidden;
}

.case-tag-break {
    flex-basis: 100%;
    height: 0;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    background: var(--w50);
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    white-space: nowrap;
    min-height: 34px;
}

.wallpaper--midnight .case-tag {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-section--bleed {
    position: relative;
    padding: var(--space-3) var(--space-3);
    overflow: hidden;

    height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .home-section--bleed { padding: var(--space-4); }
}

.cwk {
    width: 100%;
    max-width: 1320px;
    height: 100%;
    margin: 0 auto;
    background:
        radial-gradient(ellipse 80% 60% at 15% 10%, rgba(123, 64, 232, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 100%, rgba(191, 160, 248, 0.14) 0%, transparent 60%),
        rgba(13, 13, 22, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(191, 160, 248, 0.18);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.55),
        0 16px 40px rgba(123, 64, 232, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    font-family: var(--f-body);
    --cwk-bg: transparent;
    --cwk-bg-2: rgba(255, 255, 255, 0.04);
    --cwk-bg-3: rgba(123, 64, 232, 0.14);
    --cwk-border: rgba(255, 255, 255, 0.08);
    --cwk-border-soft: rgba(191, 160, 248, 0.20);
    --cwk-text: rgba(255, 255, 255, 0.94);
    --cwk-text-dim: rgba(255, 255, 255, 0.62);
    --cwk-text-faint: rgba(255, 255, 255, 0.38);
    --cwk-accent: #BFA0F8;
    --cwk-accent-strong: #7B40E8;
    --cwk-accent-bg: rgba(123, 64, 232, 0.18);
    --cwk-glow: 0 0 18px rgba(191, 160, 248, 0.45);
}

.cwk__icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--cwk-text-dim);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cwk__icon-btn:hover {
    background: var(--cwk-bg-3);
    color: var(--cwk-text);
}

.cwk__body {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    height: 100%;
    min-height: 0;
    background: var(--cwk-bg);
}

.cwk__sb-left {
    background: rgba(0, 0, 0, 0.15);
    border-right: 1px solid var(--cwk-border);
    display: flex;
    flex-direction: column;
    padding: 14px 10px;
    gap: 10px;
    overflow: hidden;
    min-height: 0;
}

.cwk__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 10px;
    border-bottom: 1px dashed var(--cwk-border);
    margin-bottom: 4px;
}

.cwk__brand-mark {
    flex-shrink: 0;
    display: inline-flex;
    filter: drop-shadow(0 0 8px rgba(168, 136, 244, 0.50));
}

.cwk__brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cwk__brand-name strong {
    font-family: var(--f-disp);
    font-size: 15px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.cwk__brand-name small {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--cwk-text-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cwk__sb-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 4px 6px 0;
}

.cwk__sb-head--divider {
    padding-top: 10px;
    border-top: 1px dashed var(--cwk-border);
    margin-top: 6px;
}

.cwk__sb-h {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--cwk-accent);
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.cwk__sb-count {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--cwk-text-faint);
}

.cwk__skills,
.cwk__chats {
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--cwk-bg-3) transparent;
}

.cwk__skills { flex: 1.6; }
.cwk__chats  { flex: 1; }

.cwk__skills::-webkit-scrollbar,
.cwk__chats::-webkit-scrollbar { width: 4px; }
.cwk__skills::-webkit-scrollbar-thumb,
.cwk__chats::-webkit-scrollbar-thumb { background: var(--cwk-bg-3); border-radius: 2px; }

.cwk__skill {
    border: none;
    background: transparent;
    color: var(--cwk-text-dim);
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cwk__skill:hover {
    background: var(--cwk-bg-2);
    color: var(--cwk-text);
}

.cwk__skill.is-active {
    background: linear-gradient(90deg, rgba(123, 64, 232, 0.28) 0%, rgba(123, 64, 232, 0.08) 100%);
    color: white;
    box-shadow:
        inset 0 0 0 1px rgba(191, 160, 248, 0.30),
        inset 3px 0 0 var(--cwk-accent);
}

.cwk__skill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}

.cwk__skill-dot--p1 { background: var(--p500);     color: var(--p500); }
.cwk__skill-dot--p2 { background: var(--blush-l);  color: var(--blush-l); }
.cwk__skill-dot--p3 { background: var(--rust-l);   color: var(--rust-l); }
.cwk__skill-dot--p4 { background: var(--sage-l);   color: var(--sage-l); }
.cwk__skill-dot--p5 { background: var(--p300);     color: var(--p300); }
.cwk__skill-dot--p6 { background: var(--sn-yellow);color: var(--sn-yellow); }
.cwk__skill-dot--p7 { background: var(--sn-purple);color: var(--sn-purple); }

.cwk__skill.is-active .cwk__skill-dot {
    box-shadow: 0 0 12px currentColor;
    animation: ss-pulse 2s ease-in-out infinite;
}

.cwk__chat-item {
    border: none;
    background: transparent;
    color: var(--cwk-text-dim);
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cwk__chat-item:hover { background: var(--cwk-bg-2); color: var(--cwk-text); }

.cwk__chat-item.is-active {
    background: var(--cwk-bg-3);
    color: var(--cwk-text);
}

.cwk__chat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cwk-text-faint);
    flex-shrink: 0;
}

.cwk__chat-dot--live {
    background: var(--cwk-accent);
    box-shadow: 0 0 8px var(--cwk-accent);
    animation: ss-pulse 1.6s ease-in-out infinite;
}

.cwk__user {
    border-top: 1px solid var(--cwk-border);
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.cwk__user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p500), var(--p700));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-body);
    font-size: 10px;
    font-weight: 700;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 0 0 2px rgba(191, 160, 248, 0.35),
        0 4px 12px rgba(123, 64, 232, 0.40);
    position: relative;
}

.cwk__user-avatar img {
    position: absolute;
    width: 220%;
    height: 220%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.cwk__user-info {
    flex: 1;
    font-size: 12px;
    color: var(--cwk-text);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.cwk__user-info strong { font-weight: 600; }
.cwk__user-info small { color: var(--cwk-text-faint); font-size: 11px; }

.cwk__chat {
    background: var(--cwk-bg);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-right: 1px solid var(--cwk-border);
}

.cwk__feed {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: var(--cwk-bg-3) transparent;
}

.cwk__feed::-webkit-scrollbar { width: 6px; }
.cwk__feed::-webkit-scrollbar-thumb { background: var(--cwk-bg-3); border-radius: 3px; }

.cwk__msg {
    font-family: var(--f-body);
    color: var(--cwk-text);
    line-height: 1.55;
}

.cwk__msg--user {
    align-self: flex-end;
    max-width: 75%;
    background: linear-gradient(135deg, var(--p500) 0%, var(--p700) 100%);
    color: white;
    padding: 14px 18px;
    border-radius: 18px 18px 4px 18px;
    font-size: 14px;
    box-shadow:
        0 8px 24px rgba(123, 64, 232, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cwk__msg--user p { margin: 0; color: var(--cwk-text); }

.cwk__msg--sys {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
}

.cwk__h2 {
    font-family: var(--f-disp);
    font-size: clamp(22px, 2.0vw, 32px);
    font-weight: 400;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.cwk__h2 strong,
.cwk__h2 em {
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(120deg, var(--p300) 0%, #E0D2FA 50%, var(--p300) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ss-iridescent 6s ease infinite;
}

@keyframes ss-iridescent {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.cwk__p {
    font-family: var(--f-body);
    font-size: 14.5px;
    color: var(--cwk-text);
    line-height: 1.6;
    margin: 0;
    max-width: 70ch;
}

.cwk__p strong {
    color: white;
    font-weight: 600;
}

.cwk__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.cwk__input {
    border-top: 1px solid var(--cwk-border);
    background: var(--cwk-bg);
    padding: 12px 18px;
    flex-shrink: 0;
}

.cwk__input-field {
    background: var(--cwk-bg-2);
    border: 1px solid var(--cwk-border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cwk__input-placeholder {
    color: var(--cwk-text-faint);
    font-family: var(--f-body);
    font-size: 13px;
    flex: 1;
}

.cwk__icon-btn--send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p500) 0%, var(--p700) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(123, 64, 232, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cwk__icon-btn--send:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow:
        0 6px 18px rgba(123, 64, 232, 0.70),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.cwk__icon-btn--send svg { transform: translateY(-1px); }

.cwk__input-placeholder.is-typing { color: var(--cwk-text); font-style: normal; }
.cwk__input-placeholder.is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--cwk-accent);
    margin-left: 2px;
    vertical-align: middle;
    animation: ss-blink 0.8s steps(2) infinite;
}

@keyframes ss-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.cwk__icon-btn--send.is-sending {
    animation: ss-send-pulse 0.4s ease;
}

@keyframes ss-send-pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.18); box-shadow: 0 0 24px rgba(168, 136, 244, 0.85); }
    100% { transform: scale(1); }
}

.cwk__loading {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cwk-border-soft);
    border-radius: 18px 18px 18px 4px;
    align-self: flex-start;
    animation: ss-fadeIn 0.3s ease;
}

.cwk__loading span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cwk-accent);
    box-shadow: 0 0 8px var(--cwk-accent);
    animation: ss-loading-bounce 1.2s ease-in-out infinite;
}

.cwk__loading span:nth-child(2) { animation-delay: 0.15s; }
.cwk__loading span:nth-child(3) { animation-delay: 0.30s; }

@keyframes ss-loading-bounce {
    0%, 60%, 100% { transform: translateY(0);    opacity: 0.4; }
    30%           { transform: translateY(-5px); opacity: 1; }
}

.cwk__msg {
    animation: ss-fadeIn 0.45s ease;
}

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

.cwk__sb-right {
    background: var(--cwk-bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 14px 12px;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--cwk-bg-3) transparent;
}

.cwk__sb-right::-webkit-scrollbar { width: 4px; }
.cwk__sb-right::-webkit-scrollbar-thumb { background: var(--cwk-bg-3); border-radius: 2px; }

.cwk__panel {
    background: rgba(123, 64, 232, 0.08);
    border: 1px solid var(--cwk-border-soft);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.20);
}

.cwk__panel-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-disp);
    font-size: 14px;
    font-weight: 600;
    color: white;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--cwk-border);
}

.cwk__panel-icon {
    color: var(--cwk-accent);
    font-size: 12px;
    filter: drop-shadow(0 0 6px var(--cwk-accent));
}

.cwk__panel-count {
    margin-left: auto;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--cwk-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cwk__project {
    border: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cwk-border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    text-align: left;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.cwk__project:hover {
    background: rgba(123, 64, 232, 0.14);
    border-color: var(--cwk-border-soft);
}

.cwk__project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.cwk__project-dot--p1 { background: var(--p500);    color: var(--p500); }
.cwk__project-dot--p2 { background: var(--blush-l); color: var(--blush-l); }
.cwk__project-dot--p3 { background: var(--sage-l);  color: var(--sage-l); }

.cwk__project-name {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--cwk-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cwk__project-meta {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--cwk-text-faint);
}

.cwk__file {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cwk-border);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: var(--f-body);
    font-size: 12px;
    color: var(--cwk-text);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cwk__file:hover {
    background: rgba(123, 64, 232, 0.14);
    border-color: var(--cwk-border-soft);
}

.cwk__file-icon {
    font-size: 12px;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .cwk__body { grid-template-columns: 220px 1fr 280px; min-height: 580px; }
}

@media (max-width: 1023px) {
    .cwk__body { grid-template-columns: 200px 1fr; min-height: 540px; }
    .cwk__sb-right { display: none; }
}

@media (max-width: 767px) {
    .cwk__body { grid-template-columns: 1fr; }
    .cwk__sb-left { display: none; }
    .cwk__feed { padding: 16px; }
}

@keyframes ss-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.92); }
}

@keyframes ss-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.home-closing {

    padding: 30px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(123, 64, 232, 0.15) 1px, transparent 0),
        radial-gradient(ellipse 60% 50% at 88% 8%, rgba(123, 64, 232, 0.30) 0%, transparent 55%),
        radial-gradient(ellipse 65% 55% at 8% 88%, rgba(154, 165, 151, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 50% 50%, rgba(212, 220, 208, 0.40) 0%, transparent 65%);
    background-size: 18px 18px, 100% 100%, 100% 100%, 100% 100%;
}

.home-footer {
    padding: var(--space-12) var(--space-3) var(--space-6);
}

.home-footer__container {
    max-width: var(--container-max);
    margin-inline: auto;
}

.home-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.home-footer__col {
    display: flex;
    flex-direction: column;
}

.home-footer__heading {
    font-family: var(--f-mono);
    font-size: var(--text-mono-md);
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin: 0 0 var(--space-3);
}

.home-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.home-footer__link {
    font-family: var(--f-body);
    font-size: var(--text-body-sm);
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.home-footer__link:hover {
    color: var(--p300);
}

.home-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: var(--space-4);

    display: flex;
    flex-direction: column;
    gap: var(--space-2);

    font-family: var(--f-mono);
    font-size: var(--text-mono-sm);
    color: rgba(255, 255, 255, 0.60);
}

@media (min-width: 768px) {
    .home-footer { padding: var(--space-16) var(--space-6) var(--space-8); }

    .home-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .home-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .home-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-cta,
    .home-nav__cta,
    .home-cta__arrow {
        transition: none;
    }
}

html {

    scroll-snap-type: y mandatory;
    scroll-padding-top: var(--nav-height);
    scroll-behavior: smooth;
}

.home-hero,
.home-section,
.home-section--bleed,
.home-manifesto,
.home-closing {
    scroll-snap-align: start;

}

.home-section,
.home-section--bleed,
.home-manifesto,
.home-closing {
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.audience-routing {
    justify-content: center;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.home-footer {
    scroll-snap-align: end;
}

@supports (animation-timeline: view()) {
    .home-section,
    .home-manifesto,
    .home-closing {
        animation: section-fade-in linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 25%;
    }
}

@keyframes section-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

    html {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    .home-section,
    .home-manifesto,
    .home-closing {
        scroll-snap-align: none;
        animation: none !important;
        opacity: 1 !important;
    }
}

@media print {
    .home-nav,
    .home-hero__sparkle,
    .home-hero__dock {
        display: none;
    }

    .wallpaper {
        background: var(--w50) !important;
    }
}

.case-stage__view {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 400ms;
}

.case-stage__view.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
    z-index: 1;
}

.case-deck__dot {
    transform-origin: center center;
}

.case-deck__dot {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(29, 29, 31, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 240ms cubic-bezier(0.4, 0, 0.2, 1),
                width 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.case-deck__dot:hover {
    background: rgba(29, 29, 31, 0.40);
}

.case-deck__dot.is-active {
    background: var(--p500);
    width: 48px;
}

.case-deck__dot.is-active:hover {
    background: var(--p600);
}

.case-deck__dot:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 3px;
}

.svg-liquid-glass-filter {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* perf: <picture> só serve pra não baixar estas imagens no celular */
.henry-photo__img-wrap > picture,
.home-nav__path > picture { display: contents; }
