* {
    box-sizing: border-box;
}
html {
    scroll-padding-top: 60px;
}
body {
    margin: 0;
    overflow-x: hidden;
}
main,
section,
article,
p,
h1,
h2,
h3 {
    min-width: 0;
}
p,
h1,
h2,
h3,
figcaption {
    overflow-wrap: anywhere;
}
img {
    display: block;
    max-width: 100%;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-soft {
    0% { opacity: 0; transform: translateY(36px) scale(0.96); }
    60% { opacity: 1; transform: translateY(-8px) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-gentle { animation: float-gentle 3s ease-in-out infinite; }
.animate-wiggle { animation: wiggle 2s ease-in-out infinite; }
.reveal-section {
    opacity: 0;
    transform: translateY(34px);
    scroll-margin-top: 60px;
}
.anchor-target {
    display: block;
    height: 0;
    scroll-margin-top: 60px;
}
.reveal-section.reveal-active {
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0ms);
}
.entrance-bounce {
    opacity: 0;
    animation: bounce-soft 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.material-symbols-outlined {
    visibility: hidden;
}
.icons-ready .material-symbols-outlined {
    visibility: visible;
}
.hand-drawn-blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transition: border-radius 1s ease-in-out;
}
.neo-brutalism-card {
    background: white;
    border: 3px solid #1f1538;
    box-shadow: 8px 8px 0 0 #1f1538;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.neo-brutalism-card:hover {
    transform: translate(-4px, -4px) scale(1.02) rotate(-1deg);
    box-shadow: 12px 12px 0 0 #1f1538;
}
.breakdown-card:hover {
    transform: none;
    box-shadow: 8px 8px 0 0 #1f1538;
}
.breakdown-card {
    scroll-margin-top: 104px;
}
.ability-card:hover {
    transform: none;
    box-shadow: 8px 8px 0 0 #1f1538;
}
.resume-toggle:hover,
.resume-preview-card:hover {
    transform: none;
    box-shadow: 8px 8px 0 0 #1f1538;
}
.ability-card .material-symbols-outlined {
    animation: none;
}
.sticker-hover {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sticker-hover:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 8px 8px 0 0 #1f1538;
}
.bg-grid-dot {
    background-image: radial-gradient(rgba(31, 21, 56, 0.15) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}
.organic-border {
    border: 3px solid #1f1538;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}
.mobile-nav {
    display: none;
}
.poster-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    padding: 28px 0 24px;
    isolation: isolate;
}
.poster-stage {
    position: relative;
    z-index: 12;
    min-width: 0;
    max-width: min(760px, 100%);
    margin: 0 auto;
    grid-column: 2 / 5;
    grid-row: 2 / 5;
}
.poster-main-card {
    overflow: hidden;
    background: white;
    transform-origin: center;
}
.poster-main-card.is-switching {
    animation: poster-pop 260ms ease-out;
}
.poster-main-card img,
.poster-thumb img {
    display: block;
    width: 100%;
    height: auto;
    background: white;
    object-fit: contain;
}
.poster-main-card img {
    max-height: 980px;
}
.poster-stack {
    display: contents;
}
.poster-thumb {
    position: relative;
    z-index: var(--poster-z, 1);
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border: 4px solid #1f1538;
    border-radius: 24px;
    color: inherit;
    font: inherit;
    box-shadow: 7px 7px 0 0 #1f1538;
    transform: translate(var(--poster-x, 0), var(--poster-y, 0)) rotate(var(--poster-r, 0deg));
    transform-origin: center;
    transition: transform 220ms ease, box-shadow 220ms ease, z-index 0ms, filter 220ms ease;
}
.poster-thumb + .poster-thumb {
    margin-top: 0;
}
.poster-thumb:hover,
.poster-thumb:focus-visible {
    z-index: 30;
    box-shadow: 10px 10px 0 0 #1f1538;
    transform: translate(var(--poster-x, 0), var(--poster-y, 0)) rotate(0deg) scale(1.04);
    outline: none;
}
.poster-thumb[aria-pressed="true"] {
    border-color: #6b46c1;
    filter: saturate(1.08);
}
.poster-thumb:nth-child(1) { grid-column: 1; grid-row: 1; --poster-r: -6deg; --poster-z: 10; }
.poster-thumb:nth-child(2) { grid-column: 2; grid-row: 1; --poster-r: 4deg; --poster-z: 9; --poster-y: 8px; }
.poster-thumb:nth-child(3) { grid-column: 4; grid-row: 1; --poster-r: -4deg; --poster-z: 8; --poster-y: 8px; }
.poster-thumb:nth-child(4) { grid-column: 5; grid-row: 1; --poster-r: 6deg; --poster-z: 7; }
.poster-thumb:nth-child(5) { grid-column: 1; grid-row: 2; --poster-r: 5deg; --poster-z: 6; --poster-x: 8px; }
.poster-thumb:nth-child(6) { grid-column: 5; grid-row: 2; --poster-r: -5deg; --poster-z: 5; --poster-x: -8px; }
.poster-thumb:nth-child(7) { grid-column: 1; grid-row: 4; --poster-r: -4deg; --poster-z: 4; --poster-x: 8px; }
.poster-thumb:nth-child(8) { grid-column: 5; grid-row: 4; --poster-r: 4deg; --poster-z: 3; --poster-x: -8px; }
.poster-thumb:nth-child(9) { grid-column: 2; grid-row: 5; --poster-r: -5deg; --poster-z: 2; --poster-y: -8px; }
.poster-thumb:nth-child(10) { grid-column: 4; grid-row: 5; --poster-r: 5deg; --poster-z: 1; --poster-y: -8px; }
.poster-thumb-caption {
    display: block;
    border-top: 4px solid #1f1538;
    background: #fef3c7;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 900;
}
@keyframes poster-pop {
    0% { transform: scale(0.985) rotate(-1deg); }
    60% { transform: scale(1.012) rotate(0.5deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.contact-headline {
    font-size: 32px;
}
.resume-preview {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-10px);
    transition: grid-template-rows 420ms ease, opacity 260ms ease, transform 260ms ease;
}
.resume-preview.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}
.resume-preview-inner {
    min-height: 0;
    overflow: hidden;
}
.resume-preview-card {
    display: inline-block;
    width: min(100%, 780px);
    overflow: hidden;
    background: white;
    text-align: left;
}
.resume-preview-card img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}
@media (min-width: 390px) {
    .contact-headline {
        font-size: 42px;
    }
}
.section-title-line {
    height: 12px;
    border-radius: 999px;
    border: 3px solid #1f1538;
    box-shadow: 4px 4px 0 0 #1f1538;
}
.case-image {
    width: 100%;
    height: auto;
    border: 4px solid #1f1538;
    background: white;
}
.operation-proof-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    background: white;
    cursor: zoom-in;
}
.operation-proof-media {
    display: flex;
    flex: 1;
    min-height: 270px;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 18px;
}
.operation-proof-media img {
    max-height: 270px;
    object-fit: contain;
    cursor: zoom-in;
}
.operation-proof-caption {
    margin-top: auto;
}
.breakdown-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.xhs-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border: 3px solid #1f1538;
    border-radius: 999px;
    background: white;
    box-shadow: 4px 4px 0 0 #1f1538;
    font-weight: 900;
    line-height: 1;
}
.xhs-stat .material-symbols-outlined {
    font-size: 22px;
    visibility: visible;
}
.xhs-stat-like .material-symbols-outlined { color: #ef4056; }
.xhs-stat-save .material-symbols-outlined { color: #f2b443; }
.xhs-stat-comment .material-symbols-outlined { color: #1f1538; }
.breakdown-gallery {
    display: grid;
    gap: 18px;
}
.breakdown-shot {
    position: relative;
}
.breakdown-shot img {
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.breakdown-shot:hover img {
    transform: rotate(-1deg) scale(1.02);
}
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(31, 21, 56, 0.74);
}
.image-lightbox.is-open {
    display: flex;
}
.image-lightbox-panel {
    position: relative;
    width: fit-content;
    max-width: 94vw;
    max-height: 88vh;
    border: 4px solid #1f1538;
    border-radius: 28px;
    background: white;
    box-shadow: 10px 10px 0 0 #1f1538;
    overflow: hidden;
}
.image-lightbox img {
    display: block;
    width: auto;
    max-width: 94vw;
    max-height: calc(88vh - 58px);
    object-fit: contain;
    background: white;
}
.image-lightbox.is-profile .image-lightbox-panel {
    width: min(560px, 94vw);
}
.image-lightbox.is-profile img {
    height: calc(88vh - 58px);
    width: 100%;
}
.image-lightbox-caption {
    border-top: 4px solid #1f1538;
    background: #fef3c7;
    padding: 14px 18px;
    font-weight: 900;
}
.image-lightbox-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    display: flex;
    height: 46px;
    width: 46px;
    align-items: center;
    justify-content: center;
    border: 3px solid #1f1538;
    border-radius: 14px;
    background: #a480fe;
    color: #1f1538;
    box-shadow: 4px 4px 0 0 #1f1538;
    cursor: pointer;
}
.image-lightbox-close:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 #1f1538;
}
.data-badge {
    position: absolute;
    right: 10px;
    bottom: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 20px);
    padding: 8px 10px;
    border: 3px solid #1f1538;
    border-radius: 999px;
    background: #a480fe;
    box-shadow: 4px 4px 0 0 #1f1538;
    color: white;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}
.data-badge .material-symbols-outlined {
    font-size: 16px;
    visibility: visible;
}
.analysis-panel {
    align-self: start;
    border: 3px solid #1f1538;
    border-radius: 24px;
    background: #fff7d6;
    box-shadow: 6px 6px 0 0 #1f1538;
    padding: 22px;
}
.strategy-brief {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 3px dashed #1f1538;
}
.strategy-brief h5 {
    display: inline-block;
    margin-bottom: 6px;
    color: #6c46d9;
    font-size: 15px;
    font-weight: 900;
}
.strategy-brief p,
.strategy-brief li {
    color: rgba(31, 21, 56, 0.72);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}
.strategy-brief ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 20px;
}
.analysis-title {
    display: inline-block;
    margin-bottom: 14px;
    border-bottom: 8px solid #a480fe;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}
.analysis-data {
    margin-bottom: 18px;
    color: #6c46d9;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.9;
}
.analysis-core {
    margin-bottom: 12px;
    color: #1f1538;
    font-size: 19px;
    font-weight: 900;
}
.analysis-points {
    display: grid;
    gap: 10px;
    color: rgba(31, 21, 56, 0.72);
    font-weight: 800;
    line-height: 1.75;
}
.metric-pill {
    border: 3px solid #1f1538;
    box-shadow: 5px 5px 0 0 #1f1538;
}
.selfie-carousel {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 4 / 5;
    overflow: visible;
}
.selfie-card {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border: 4px solid #1f1538;
    border-radius: 255px 18px 225px 18px/18px 225px 18px 255px;
    background: white;
    box-shadow: 12px 12px 0 0 #1f1538;
    cursor: pointer;
    padding: 0;
    transform-origin: 18% 88%;
    transition:
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms ease,
        filter 280ms ease;
}
.selfie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms ease;
}
.selfie-card:hover img {
    transform: scale(1.04);
}
.selfie-card[data-position="0"] {
    z-index: 4;
    transform: translate(0, 0) rotate(-2deg) scale(1);
    filter: none;
}
.selfie-card[data-position="1"] {
    z-index: 3;
    transform: translate(46px, -20px) rotate(5deg) scale(0.96);
    filter: saturate(0.92) brightness(0.98);
}
.selfie-card[data-position="2"] {
    z-index: 2;
    transform: translate(82px, 2px) rotate(11deg) scale(0.93);
    filter: saturate(0.86) brightness(0.96);
}
.selfie-card[data-position="3"] {
    z-index: 1;
    transform: translate(112px, 32px) rotate(17deg) scale(0.9);
    filter: saturate(0.78) brightness(0.94);
}
.selfie-card:focus-visible {
    outline: 4px solid #a480fe;
    outline-offset: 8px;
}
@media (max-width: 980px) {
    .poster-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
    .poster-thumb {
        width: 100%;
    }
}
@media (max-width: 640px) {
    *,
    *::before,
    *::after {
        max-width: 100%;
    }
    html {
        scroll-padding-top: 56px;
        overflow-x: hidden;
        overflow-x: clip;
    }
    body {
        background-size: 24px 24px;
        overflow-x: hidden;
        overflow-x: clip;
    }
    .reveal-section,
    .breakdown-card {
        scroll-margin-top: 64px;
    }
    .reveal-section {
        opacity: 1;
        transform: none;
    }
    .reveal-section.reveal-active {
        animation: none;
    }
    .anchor-target {
        scroll-margin-top: 64px;
    }
    main.mx-auto {
        max-width: 100vw;
        width: 100%;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden;
        overflow-x: clip;
    }
    main.mx-auto > section {
        width: 100%;
        max-width: 100%;
        padding-top: 64px;
        padding-bottom: 64px;
        overflow-x: hidden;
        overflow-x: clip;
    }
    #intro {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        gap: 42px;
        padding-top: 42px;
    }
    #intro > div {
        width: 100%;
        min-width: 0;
    }
    #intro .hero-copy {
        align-self: stretch;
        width: 100%;
        max-width: 340px;
        overflow: hidden;
    }
    #intro > .relative {
        min-width: 0;
        max-width: 100%;
    }
    #intro h1 {
        margin-bottom: 22px;
        max-width: 340px;
        font-size: clamp(42px, 14vw, 58px);
        line-height: 1.02;
    }
    #intro h1 span:last-child {
        margin-top: 14px;
        font-size: 22px;
        line-height: 1.28;
    }
    #intro p {
        margin-bottom: 28px;
        max-width: 340px;
        font-size: 16px;
        line-height: 1.78;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .hero-tags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: min(100%, 340px) !important;
        max-width: 340px;
        padding-right: 8px;
    }
    .hero-tags > div {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        text-align: center;
    }
    .hero-tags > div:last-child {
        grid-column: 1 / -1;
    }
    .hero-tags span {
        display: block;
        white-space: nowrap;
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #intro .sticker-hover {
        padding: 10px 16px;
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 4px 4px 0 0 #1f1538;
    }
    header > div.mx-auto {
        gap: 12px;
        padding: 12px 18px;
    }
    header a[href="#intro"] {
        font-size: 18px;
    }
    .mobile-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 0 16px 12px;
        scrollbar-width: none;
    }
    .mobile-nav::-webkit-scrollbar {
        display: none;
    }
    .mobile-nav a {
        flex: 0 0 auto;
        border: 2px solid #1f1538;
        border-radius: 999px;
        background: white;
        box-shadow: 3px 3px 0 0 #1f1538;
        color: #1f1538;
        font-size: 13px;
        font-weight: 900;
        line-height: 1;
        padding: 8px 12px;
        text-decoration: none;
    }
    .mobile-nav a:nth-child(even) {
        background: #a480fe;
        color: white;
    }
    .animate-float,
    .animate-float-gentle {
        animation-duration: 5.5s;
    }
    .animate-wiggle {
        animation-duration: 3.5s;
    }
    .section-title-line {
        width: min(180px, 52vw) !important;
        height: 9px;
        border-width: 2px;
        box-shadow: 3px 3px 0 0 #1f1538;
    }
    section h2 {
        gap: 12px !important;
        font-size: clamp(34px, 10.5vw, 44px) !important;
        line-height: 1.08 !important;
    }
    section h2 .font-handwritten {
        font-size: clamp(46px, 13vw, 58px) !important;
        line-height: 0.95;
    }
    h3 {
        line-height: 1.18;
    }
    .neo-brutalism-card {
        border-width: 3px;
        border-radius: 22px;
        max-width: min(100%, calc(100vw - 52px));
    }
    .neo-brutalism-card:hover,
    .sticker-hover:hover {
        transform: none;
    }
    .metric-pill {
        padding: 12px 8px;
        min-width: 0;
    }
    .metric-pill b {
        font-size: 18px;
        line-height: 1.1;
    }
    .metric-pill span {
        display: block;
        margin-top: 4px;
        line-height: 1.25;
    }
    .breakdown-card {
        padding: 20px;
        border-radius: 24px;
    }
    .breakdown-card > .flex {
        align-items: flex-start;
        gap: 12px;
    }
    .breakdown-card h3 {
        width: 100%;
        font-size: 25px;
        line-height: 1.18;
    }
    .breakdown-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }
    .xhs-stat {
        min-height: 40px;
        justify-content: center;
        gap: 5px;
        padding: 8px 6px;
        border-width: 2px;
        font-size: 12px;
        box-shadow: 3px 3px 0 0 #1f1538;
    }
    .xhs-stat .material-symbols-outlined {
        font-size: 16px;
    }
    .breakdown-gallery {
        gap: 16px;
    }
    .breakdown-shot img {
        border-width: 3px;
        border-radius: 18px;
    }
    .breakdown-shot:hover img {
        transform: none;
    }
    .breakdown-shot figcaption {
        margin-top: 8px;
    }
    .analysis-panel {
        padding: 18px;
        border-radius: 20px;
        box-shadow: 4px 4px 0 0 #1f1538;
    }
    .strategy-brief {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }
    .strategy-brief p,
    .strategy-brief li {
        font-size: 13px;
        line-height: 1.72;
    }
    .strategy-brief ol {
        padding-left: 18px;
    }
    .analysis-title {
        margin-bottom: 12px;
        border-bottom-width: 6px;
        font-size: 23px;
    }
    .analysis-data {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.7;
    }
    .analysis-core {
        font-size: 16px;
        line-height: 1.55;
    }
    .analysis-points {
        gap: 8px;
        font-size: 14px;
        line-height: 1.65;
    }
    .data-badge {
        left: 10px;
        right: auto;
        bottom: 36px;
        max-width: calc(100% - 20px);
        flex-wrap: wrap;
        border-width: 2px;
        padding: 6px 8px;
        font-size: 10px;
        line-height: 1.2;
        box-shadow: 3px 3px 0 0 #1f1538;
    }
    .data-badge .material-symbols-outlined {
        font-size: 13px;
    }
    .operation-proof-card {
        min-height: auto;
    }
    .operation-proof-media {
        min-height: 220px;
        padding: 14px;
    }
    .operation-proof-media img {
        max-height: 240px;
    }
    .poster-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        width: min(100%, calc(100vw - 52px));
        padding: 8px 0 0;
    }
    .poster-stage {
        max-width: 100%;
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .poster-main-card {
        border-radius: 22px;
    }
    .poster-main-card img {
        max-height: 620px;
    }
    #posterMainCaption {
        padding: 14px;
        font-size: 15px;
        line-height: 1.35;
    }
    .poster-thumb {
        width: 100%;
        border-width: 3px;
        border-radius: 16px;
    }
    .poster-thumb:nth-child(n) {
        margin-top: 0;
        --poster-x: 0;
        --poster-y: 0;
    }
    .poster-thumb:nth-child(1) { grid-column: 1 / 3; grid-row: 1; --poster-r: -5deg; }
    .poster-thumb:nth-child(2) { grid-column: 3 / 5; grid-row: 1; --poster-r: 5deg; }
    .poster-thumb:nth-child(3) { grid-column: 1 / 3; grid-row: 3; --poster-r: 4deg; margin-top: -10px; }
    .poster-thumb:nth-child(4) { grid-column: 3 / 5; grid-row: 3; --poster-r: -4deg; margin-top: -10px; }
    .poster-thumb:nth-child(5) { grid-column: 1 / 3; grid-row: 4; --poster-r: -4deg; margin-top: -10px; }
    .poster-thumb:nth-child(6) { grid-column: 3 / 5; grid-row: 4; --poster-r: 4deg; margin-top: -10px; }
    .poster-thumb:nth-child(7) { grid-column: 1 / 3; grid-row: 5; --poster-r: 5deg; margin-top: -10px; }
    .poster-thumb:nth-child(8) { grid-column: 3 / 5; grid-row: 5; --poster-r: -5deg; margin-top: -10px; }
    .poster-thumb:nth-child(9) { grid-column: 1 / 3; grid-row: 6; --poster-r: -3deg; margin-top: -10px; }
    .poster-thumb:nth-child(10) { grid-column: 3 / 5; grid-row: 6; --poster-r: 3deg; margin-top: -10px; }
    .poster-thumb-caption {
        padding: 7px 8px;
        border-top-width: 3px;
        font-size: 10px;
        line-height: 1.25;
    }
    .hero-visual {
        width: min(300px, calc(100vw - 86px));
        max-width: none;
        margin: 0 auto;
        transform: translateX(-16px);
    }
    .selfie-carousel {
        aspect-ratio: 4 / 5.15;
    }
    .selfie-card[data-position="1"] {
        transform: translate(24px, -10px) rotate(5deg) scale(0.96);
    }
    .selfie-card[data-position="2"] {
        transform: translate(44px, 4px) rotate(10deg) scale(0.93);
    }
    .selfie-card[data-position="3"] {
        transform: translate(60px, 22px) rotate(15deg) scale(0.9);
    }
    .image-lightbox {
        padding: 14px;
    }
    .image-lightbox-panel {
        max-width: calc(100vw - 28px);
        max-height: 88vh;
        border-width: 3px;
        border-radius: 20px;
        box-shadow: 5px 5px 0 0 #1f1538;
    }
    .image-lightbox img {
        max-width: calc(100vw - 28px);
        max-height: calc(88vh - 50px);
    }
    .image-lightbox.is-profile .image-lightbox-panel {
        width: min(420px, calc(100vw - 28px));
    }
    .image-lightbox.is-profile img {
        height: auto;
        max-height: calc(88vh - 50px);
    }
    .image-lightbox-close {
        right: 10px;
        top: 10px;
        height: 40px;
        width: 40px;
        border-width: 2px;
        border-radius: 12px;
    }
    .image-lightbox-caption {
        padding: 11px 14px;
        font-size: 13px;
        line-height: 1.35;
    }
    .contact-headline {
        white-space: normal;
    }
    .resume-preview-card {
        width: 100%;
    }
    footer .font-handwritten {
        font-size: 42px;
    }
    .neo-brutalism-card,
    .poster-main-card,
    .poster-thumb,
    .metric-pill {
        box-shadow: 5px 5px 0 0 #1f1538;
    }
}
@media (max-width: 430px) {
    main.mx-auto {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    main.mx-auto > section {
        max-width: 100%;
        padding-top: 56px;
        padding-bottom: 56px;
    }
    #intro {
        padding-top: 34px;
    }
    #intro .hero-copy {
        max-width: 320px;
    }
    #intro h1 {
        max-width: 320px;
        font-size: clamp(38px, 13vw, 50px);
    }
    #intro h1 span:last-child {
        font-size: 20px;
    }
    #intro p {
        width: 100%;
        max-width: 320px;
    }
    .hero-tags {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100% !important;
        max-width: 320px;
        padding-right: 10px;
    }
    .hero-tags > div:last-child {
        grid-column: auto;
    }
    .hero-visual {
        width: min(268px, calc(100vw - 86px));
        transform: translateX(-18px);
    }
    .selfie-card {
        border-width: 3px;
        box-shadow: 7px 7px 0 0 #1f1538;
    }
    .selfie-card[data-position="1"] {
        transform: translate(20px, -8px) rotate(5deg) scale(0.96);
    }
    .selfie-card[data-position="2"] {
        transform: translate(38px, 5px) rotate(10deg) scale(0.93);
    }
    .selfie-card[data-position="3"] {
        transform: translate(52px, 20px) rotate(15deg) scale(0.9);
    }
    .breakdown-card {
        padding: 16px;
    }
    .breakdown-stats {
        grid-template-columns: 1fr;
    }
    .xhs-stat {
        justify-content: flex-start;
        padding-left: 12px;
    }
    .poster-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .poster-stage {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .poster-thumb:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
        --poster-r: 0deg;
    }
    .poster-thumb:hover,
    .poster-thumb:focus-visible {
        transform: scale(1.015);
    }
}
@media (max-width: 380px) {
    header > div {
        padding-left: 14px;
        padding-right: 14px;
    }
    header a[href="#intro"] {
        font-size: 16px;
        gap: 8px;
    }
    main.mx-auto {
        padding-left: 14px;
        padding-right: 20px;
    }
    main.mx-auto > section {
        max-width: calc(100vw - 34px);
    }
    #intro h1 {
        font-size: 36px;
    }
    .hero-visual {
        width: min(238px, calc(100vw - 78px));
    }
    section h2 {
        font-size: 32px !important;
    }
    section h2 .font-handwritten {
        font-size: 42px !important;
    }
    .analysis-panel,
    .breakdown-card {
        padding: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-gentle,
    .animate-wiggle,
    .entrance-bounce,
    .reveal-section.reveal-active {
        animation: none;
    }
    .poster-main-card.is-switching {
        animation: none;
    }
    .reveal-section,
    .entrance-bounce {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}
