:root {
    --scroll-snap-duration: 0.6s;

    --green-square-width: 60.5vw;

    --acid: #b6e900;
    --acid-deep: #86b800;
    --ink: #26261f;
    --paper: #f0f1ea;
}

body {
    margin: 0;
    font-family: 'Lora', Georgia, serif;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-y: hidden;
}

header {
    display: none;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.sections {
    position: relative;
    z-index: 1;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none;
}

.sections::-webkit-scrollbar {
    display: none;
}

.project-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--accent-color);
    overflow: hidden;
}

.intro-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 400vh;

    z-index: 0;
    will-change: transform;
    background:
        radial-gradient(70vw 70vw at 82% 8%, rgba(182, 233, 0, 0.32) 0%, transparent 62%),
        radial-gradient(60vw 60vw at 8% 40%, rgba(182, 233, 0, 0.16) 0%, transparent 62%),
        radial-gradient(56vw 56vw at 90% 66%, rgba(182, 233, 0, 0.22) 0%, transparent 60%),
        radial-gradient(60vw 60vw at 12% 90%, rgba(182, 233, 0, 0.24) 0%, transparent 60%),
        radial-gradient(46vw 46vw at 88% 97%, rgba(240, 110, 170, 0.08) 0%, transparent 60%),
        linear-gradient(174deg, #f5f6f1 0%, #e9ebe2 25%, #eef0e3 48%, #e6e8dc 68%, #e9ecdd 85%, #e2e5d7 100%);
}

.intro-content {
    text-align: center;
    max-width: 640px;
    padding: 32px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-content.animate-in {
    opacity: 1;
}

.intro-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    box-shadow: 0 14px 44px rgba(38, 38, 31, 0.22);
    border: 3px solid var(--acid);
}

.intro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-name {
    font-size: 2.6rem;
    margin: 0 0 4px;
    font-weight: bold;
    color: #1a1a2e;
}

.intro-role {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(38, 38, 31, 0.6);
    margin-bottom: 20px;
}

.intro-bio {
    font-size: 1.15rem;
    color: rgba(38, 38, 31, 0.78);
    margin: 0 0 28px;
}

.intro-scroll-hint {
    font-size: 0.9rem;
    color: rgba(38, 38, 31, 0.5);
    animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.background {
    position: absolute;
    inset: 0;
    overflow: hidden;

    background-color: #eef0e3;
    transition: background-color 0.5s ease;
}

.project-section.presenting .background {
    background-color: var(--accent-color);
}

.background .bg-baked {
    position: absolute;
    left: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    animation: bakedDrift 46s ease-in-out infinite alternate;
    animation-play-state: paused;
    will-change: transform;
}

.active-section .bg-baked {
    animation-play-state: running;
}

@keyframes bakedDrift {
    from { transform: translateY(-3%); }
    to   { transform: translateY(3%); }
}

.background .overlay {
    position: absolute;
    inset: 0;

    background:

        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E") repeat,

        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            transparent 2px,
            transparent 30px,
            rgba(0, 0, 0, 0.06) 30px,
            rgba(0, 0, 0, 0.06) 32px,
            transparent 32px,
            transparent 60px
        ),

        radial-gradient(120% 90% at 78% 16%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),

        linear-gradient(to bottom, rgba(8, 8, 18, 0.08) 40%, rgba(4, 4, 12, 0.62) 100%);
}

.background .overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #eef0e3;
    opacity: 0.32;
    transition: background 0.5s ease, opacity 0.5s ease;
}

.project-section.presenting .background .overlay::before {
    background: var(--accent-color, #1a1a2e);
    opacity: 0.5;
}

.content {
    position: relative;
    z-index: 1;
    padding: 32px 32px 60px;
    box-sizing: border-box;
}

.square-image {
    display: block;
    width: calc(100vh / 3);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.text-block {
    opacity: 1;

    transform-origin: left bottom;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.content.text-shrunk .text-block {
    transform: scale(0.6);
}

@media (min-width: 1024px) {
    .content.text-shrunk .text-block {

        transform: scale(0.38);
    }
}

.content h1.title {
    font-size: 4rem;
    margin: 0 0 8px;
    color: #fff;
    font-weight: bold;
    word-wrap: break-word;
    line-height: 1.1;
}

.content .category {
    font-size: 1.1rem;
    margin-top: 6px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content .description {
    font-size: 1.2rem;
    margin-top: 12px;
    display: none;
    color: rgba(255,255,255,0.85);
    word-wrap: break-word;
}

.content .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 13px 22px;
    background: rgba(15, 15, 24, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

.content .cta:hover {
    background: rgba(28, 28, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cta-label {
    white-space: nowrap;
}

.cta-arrow {
    display: inline-flex;
    transition: transform 0.25s ease;
}

.cta-arrow svg {
    width: 15px;
    height: 15px;
    display: block;
}

.content .cta:hover .cta-arrow {
    transform: translate(2px, -2px);
}

.content,
.square-image {
    opacity: 0;
    transform: translateY(22px);
}

.content {
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.square-image {
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.anim-fade .content,
.anim-fade .square-image {
    transform: translateY(22px);
}

.content.animate-in,
.square-image.animate-in {

    opacity: 1;
    transform: none;
}

.page-control {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
    transition: opacity 0.3s ease;
}

body.presentation-open .page-control,
body.presentation-open .lang-switcher {
    opacity: 0;
    pointer-events: none;
}

.page-control .indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(134, 184, 0, 0.55);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.page-control .indicator.active {
    background-color: var(--acid);
    transform: scaleY(2);
}

.page-control .indicator.intro-indicator {
    width: 28px;
    height: 17px;
    border-radius: 0;
    margin-bottom: 4px;
    background-color: rgba(134, 184, 0, 0.55);
    -webkit-mask: url('media/logo-dog.svg') no-repeat center / contain;
    mask: url('media/logo-dog.svg') no-repeat center / contain;
    transition: background-color 0.3s, transform 0.3s;
}

.page-control .indicator.intro-indicator.active {
    background-color: var(--acid);
    transform: scale(1.25);
}

.page-control .indicator.project-indicator {
    width: 12px;
    height: 14px;
    border-radius: 0;
    background-color: rgba(134, 184, 0, 0.55);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 32'%3E%3Crect x='12' y='0' width='4' height='3'/%3E%3Cpath fill-rule='evenodd' d='M2 3h24v16H2zm3 3v10h18V6z'/%3E%3Cpath d='M7.5 14.5 L11 9.5 L13.5 12.5 L15 10.8 L20.5 14.5z'/%3E%3Ccircle cx='18' cy='8.6' r='1.7'/%3E%3Cpath d='M7 19 L3.2 30.5 L5.4 30.5 L9.4 19z'/%3E%3Cpath d='M21 19 L24.8 30.5 L22.6 30.5 L18.6 19z'/%3E%3Crect x='12.8' y='19' width='2.4' height='11.5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 32'%3E%3Crect x='12' y='0' width='4' height='3'/%3E%3Cpath fill-rule='evenodd' d='M2 3h24v16H2zm3 3v10h18V6z'/%3E%3Cpath d='M7.5 14.5 L11 9.5 L13.5 12.5 L15 10.8 L20.5 14.5z'/%3E%3Ccircle cx='18' cy='8.6' r='1.7'/%3E%3Cpath d='M7 19 L3.2 30.5 L5.4 30.5 L9.4 19z'/%3E%3Cpath d='M21 19 L24.8 30.5 L22.6 30.5 L18.6 19z'/%3E%3Crect x='12.8' y='19' width='2.4' height='11.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.page-control .indicator.project-indicator.active {
    background-color: var(--acid);
    transform: scale(1.25);
}

.page-control .indicator.contact-indicator {
    width: 14px;
    height: 10px;
    border-radius: 0;
    background-color: rgba(134, 184, 0, 0.55);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 22'%3E%3Cpath d='M2 0h28L16 10z'/%3E%3Cpath d='M0 4l16 11L32 4v18H0z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 22'%3E%3Cpath d='M2 0h28L16 10z'/%3E%3Cpath d='M0 4l16 11L32 4v18H0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.page-control .indicator.contact-indicator.active {
    background-color: var(--acid);
    transform: scale(1.25);
}

.nav-dots {
    display: none;
}

@media (min-width: 768px) {
    .content .description {
        display: block;
    }
}

@media (min-width: 1024px) {
    .content h1.title {
        font-size: 5rem;
    }
    .content .description {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .content h1.title {
        font-size: 2.5rem;
    }
    .square-image {
        width: 35vw;
    }
}

@media (max-width: 480px) {
    .content h1.title {
        font-size: 1.8rem;
    }
    .content .description {
        display: none;
    }
    .square-image {
        width: 45vw;
    }
    .intro-avatar {
        width: 150px;
        height: 150px;
    }
    .intro-name {
        font-size: 1.8rem;
    }
    .intro-bio {
        font-size: 1rem;
    }
}

.feature-title,
.cta-title,
.contact-title,
.proc-title,
.soul-title,
.content h1.title,
.intro-name {
    font-style: italic;

    background: linear-gradient(90deg, #26261f 0%, #86b800 38%, #b6e900 55%, #26261f 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: titleShimmer 6s linear infinite;
    animation-play-state: paused;

    padding-bottom: 0.15em;
}

.active-section .feature-title,
.active-section .cta-title,
.active-section .contact-title,
.active-section .proc-title,
.active-section .soul-title,
.active-section .content h1.title,
.active-section .intro-name {
    animation-play-state: running;
}

.content h1.title {
    background: linear-gradient(90deg, #fff 0%, #d8ff4d 40%, #b6e900 55%, #fff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.project-section[data-needs-fix] {

}

.green-square {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    border-radius: 0;
    overflow: hidden;
    z-index: 20;

    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.green-square.visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1024px) {
    .green-square {
        width: var(--green-square-width);
    }
}

.green-square img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;
    opacity: 0;
    transition: opacity 0.45s ease-in-out;
}

.green-square img.is-visible {
    opacity: 1;
}

.thought-comment {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    --ty: -50%;
    transform: translate(-50%, var(--ty));
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 540px;
    padding: 22px 28px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 0;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 25;

    transition: opacity 0.25s ease;
}

.thought-comment.visible {
    opacity: 1;
}

.thought-comment.pop {
    opacity: 1;
    animation: thoughtPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes thoughtPop {
    from {
        opacity: 0;
        transform: translate(-50%, var(--ty, -50%)) scale(0.55);
    }
    to {
        opacity: 1;
        transform: translate(-50%, var(--ty, -50%)) scale(1);
    }
}

.thought-comment.fading {
    opacity: 0;
}

.thought-comment-text {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #1a1a2e;
}

@media (min-width: 1024px) {
    .thought-comment.container-open {
        top: 12%;
        left: auto;
        right: calc(var(--green-square-width) + 24px);
        transform: none;
    }
}

.eye-toggle {
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 46, 0.25);
    background: rgba(26, 26, 46, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    color: #1a1a2e;
    opacity: 1;
    overflow: hidden;

    transition: background 0.2s ease, border-color 0.2s ease;
}

.eye-toggle:hover {
    background: rgba(26, 26, 46, 0.14);
    border-color: rgba(26, 26, 46, 0.45);
}

.eye-toggle.open {
    opacity: 0;
    width: 0;
    height: 0;
    border-width: 0;
    margin-right: -16px;
    pointer-events: none;
}

.eye-toggle svg {
    width: 56px;
    height: 38px;
    transform-origin: center;
    animation: eyeBlink 4.5s ease-in-out infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    94% { transform: scaleY(0.12); }
}

.eye-toggle.loading svg {
    display: none;
}

.eye-toggle.loading::after {
    content: '';
    width: 34px;
    height: 34px;
    border: 3px solid rgba(38, 38, 31, 0.18);
    border-top-color: var(--acid-deep);
    border-radius: 50%;
    animation: eyeSpin 0.8s linear infinite;
}

@keyframes eyeSpin {
    to { transform: rotate(360deg); }
}

.watch-btn.loading {
    pointer-events: none;
    opacity: 0.75;
    letter-spacing: 0.2em;
}

.feature-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 100vh;
    padding: 0 0 0 clamp(24px, 4vw, 72px);
    box-sizing: border-box;

}

.feature-text {

    flex: 1 1 auto;
    min-width: 0;
    padding: 24px 0;
}

.feature-sub,
.feature-outro {
    max-width: 600px;
}

.feature-chips {
    max-width: 680px;
}

.feature-title {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
}

@keyframes titleShimmer {
    to { background-position: -300% 0; }
}

.feature-sub {
    margin: 14px 0 0;
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(38, 38, 31, 0.72);
}

.feature-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.feature-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(38, 38, 31, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ink);
    opacity: 0;
}

.feature-chip-body {
    min-width: 0;
}

.feature-chip-title {
    font-weight: 600;
    font-size: 0.98rem;
}

.feature-chip-desc {
    margin: 5px 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(38, 38, 31, 0.62);
}

.feature-outro {
    margin: 18px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--acid);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(38, 38, 31, 0.65);
}

@media (max-height: 760px) {
    .feature-outro { display: none; }
    .feature-chip-desc { font-size: 0.78rem; }
}

.feature-content.animate-in .feature-chip {
    opacity: 1;
    animation: contactLinkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.feature-content.animate-in .feature-chip:nth-child(1) { animation-delay: 0.15s; }
.feature-content.animate-in .feature-chip:nth-child(2) { animation-delay: 0.30s; }
.feature-content.animate-in .feature-chip:nth-child(3) { animation-delay: 0.45s; }
.feature-content.animate-in .feature-chip:nth-child(4) { animation-delay: 0.60s; }

.feature-chip-icon {
    color: var(--acid-deep);
    font-size: 1.15rem;
}

.feature-chip:nth-child(2) .feature-chip-icon { color: #f06eaa; }
.feature-chip:nth-child(4) .feature-chip-icon { color: #f06eaa; }

.feature-cards {
    flex: 0 1 auto;
    width: 48vw;
    margin-left: auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;

    height: 106vh;
    margin-right: -2.5vw;
    align-self: center;
    min-width: 0;
}

.sf-tile {
    display: block;
    border-radius: 0;
    border: 1px solid rgba(38, 38, 31, 0.12);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(38, 38, 31, 0.12);

    opacity: 1;
    transition: background-size 0.5s ease, filter 0.3s ease, border-color 0.3s ease;
}

.sf-tile:hover {
    filter: brightness(1.05) saturate(1.08);
    border-color: var(--acid);
}

.sf-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.sf-tile.sf-tall {
    background-position: top center;
    transition: background-position 5s ease, background-size 0.5s ease,
                filter 0.3s ease, border-color 0.3s ease;
}

.sf-tile.sf-tall:hover {
    background-position: bottom center;
}

@keyframes tileIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
    .feature-content {
        flex-direction: column;
        gap: 28px;
        padding: 24px;
    }
    .feature-cards {
        width: 100%;
        height: 38vh;
        gap: 6px;
        margin-right: 0;
    }
    .feature-chips {
        gap: 10px;
    }
    .feature-chip {
        padding: 12px 14px;
        font-size: 0.92rem;
    }
}

.process-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.process-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    height: 100vh;
    padding: 20px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;

}

.proc-head {
    text-align: center;
}

.proc-title {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
}

.proc-sub {
    margin: 10px auto 0;
    max-width: 760px;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.6;
    color: rgba(38, 38, 31, 0.7);
}

.proc-strip {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2vh 0;
}

.proc-shot {
    display: block;
    height: 40vh;
    margin: 0 -1.4vw;
    background: #fff;
    border: 1px solid rgba(38, 38, 31, 0.14);
    box-shadow: 0 16px 40px rgba(38, 38, 31, 0.22);
    transform: rotate(var(--tilt, 0deg)) translateY(var(--off, 0));
    opacity: 0;
}

.proc-shot:nth-child(1) { width: 17vw; }
.proc-shot:nth-child(2) { width: 21vw; height: 36vh; }
.proc-shot:nth-child(3) { width: 15vw; height: 43vh; }
.proc-shot:nth-child(4) { width: 23vw; }
.proc-shot:nth-child(5) { width: 16vw; height: 35vh; }
.proc-shot:nth-child(6) { width: 19vw; height: 42vh; }

.proc-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-content.animate-in .proc-shot {
    opacity: 1;
    animation: procShotIn 0.55s ease-out backwards;
}

.process-content.animate-in .proc-shot:nth-child(1) { animation-delay: 0.1s; }
.process-content.animate-in .proc-shot:nth-child(2) { animation-delay: 0.18s; }
.process-content.animate-in .proc-shot:nth-child(3) { animation-delay: 0.26s; }
.process-content.animate-in .proc-shot:nth-child(4) { animation-delay: 0.34s; }
.process-content.animate-in .proc-shot:nth-child(5) { animation-delay: 0.42s; }
.process-content.animate-in .proc-shot:nth-child(6) { animation-delay: 0.5s; }

@keyframes procShotIn {
    from {
        opacity: 0;
        transform: rotate(var(--tilt, 0deg)) translateY(calc(var(--off, 0vh) + 24px));
    }
    to {
        opacity: 1;
        transform: rotate(var(--tilt, 0deg)) translateY(var(--off, 0vh));
    }
}

.proc-case {
    display: block;
    text-align: center;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(38, 38, 31, 0.6);
    text-decoration: none;
    border-bottom: none;
}

.proc-case:hover {
    color: var(--acid-deep);
}

.proc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proc-step {
    border-top: 2px solid rgba(38, 38, 31, 0.15);
    padding-top: 12px;
}

.proc-step-num {
    font-style: italic;
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--acid-deep);
}

.proc-step-title {
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.98rem;
}

.proc-step-desc {
    margin: 6px 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(38, 38, 31, 0.62);
}

.proc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
}

.proc-tag {
    padding: 0 14px;
    border: none;
    border-right: 1px solid rgba(38, 38, 31, 0.28);
    border-radius: 0;
    line-height: 1.1;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(38, 38, 31, 0.6);
    transition: color 0.2s ease;
}

.proc-tag:last-child {
    border-right: none;
}

.proc-tag:hover {
    color: var(--acid-deep);
}

.section-avatar {
    display: inline-block;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--acid);
    box-shadow: 0 8px 24px rgba(38, 38, 31, 0.22);
    margin-bottom: 12px;
}

.contact-content .section-avatar {
    width: 220px;
    height: 220px;
    border-width: 3px;
    margin-bottom: 20px;
}

@media (max-height: 1000px) {
    .proc-shot:nth-child(n) { height: 31vh; }
    .proc-shot:nth-child(2) { height: 28vh; }
    .proc-shot:nth-child(3) { height: 34vh; }
    .proc-shot:nth-child(5) { height: 27vh; }
    .proc-shot:nth-child(6) { height: 33vh; }
    .proc-head .section-avatar,
    .feature-text .section-avatar { width: 72px; height: 72px; }
    .proc-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
    .process-content { gap: 12px; }
}

@media (max-width: 1023px) {
    .proc-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .proc-shot:nth-child(n) {
        width: 30vw;
        height: 30vh;
    }
    .proc-shot:nth-child(n+5) {
        display: none;
    }
    .proc-tags .proc-tag:nth-child(n+9) {
        display: none;
    }
}

@media (max-height: 800px) {
    .proc-tags .proc-tag:nth-child(n+11) { display: none; }
    .proc-step-desc { font-size: 0.75rem; }
    .proc-sub { display: none; }
    .process-content { gap: 10px; }
}

.soul-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.soul-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    padding: 24px 32px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.soul-content.animate-in {
    opacity: 1;
    transform: none;
}

.soul-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--acid);
    box-shadow: 0 14px 40px rgba(38, 38, 31, 0.24);
    margin-bottom: 18px;
}

.soul-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

.soul-text {
    margin: 14px auto 0;
    max-width: 560px;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.65;
    color: rgba(38, 38, 31, 0.72);
}

.soul-arrow {
    display: block;
    margin: 14px auto 0;
    width: 82px;
    height: 130px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--acid-deep);
    transition: color 0.25s ease, transform 0.25s ease;
}

.soul-arrow:hover {
    color: #5f8500;
    transform: translateY(4px);
}

.soul-arrow svg {
    width: 100%;
    height: 100%;
    animation: soulBob 2.6s ease-in-out infinite;
}

@keyframes soulBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

.soul-arrow-path,
.soul-arrow-head {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.soul-content.animate-in .soul-arrow-path {
    animation: soulDraw 1.35s ease-out 0.5s forwards;
}

.soul-content.animate-in .soul-arrow-head {
    animation: soulDraw 0.35s ease-out 1.8s forwards;
}

@keyframes soulDraw {
    to { stroke-dashoffset: 0; }
}

.soul-hint {
    margin-top: 6px;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(38, 38, 31, 0.55);
}

@media (max-height: 760px) {
    .soul-photo { width: 130px; height: 130px; }
    .soul-arrow { width: 72px; height: 90px; }
}

.contact-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 15%, #f2f3ec 0%, #e0e2d6 65%);
    overflow: hidden;
}

.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation-play-state: paused;
}

.contact-section.active-section::before,
.contact-section.active-section::after {
    animation-play-state: running;
}

.contact-section::before {
    width: 46vw;
    height: 46vw;
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(182, 233, 0, 0.4) 0%, transparent 70%);
    animation: blobFloatA 16s ease-in-out infinite alternate;
}

.contact-section::after {
    width: 40vw;
    height: 40vw;
    bottom: -14%;
    right: -6%;
    background: radial-gradient(circle, rgba(240, 110, 170, 0.18) 0%, transparent 70%);
    animation: blobFloatB 12s ease-in-out infinite alternate;
}

@keyframes blobFloatA {
    to { transform: translate(9vw, 7vh) scale(1.18); }
}

@keyframes blobFloatB {
    to { transform: translate(-7vw, -6vh) scale(1.12); }
}

.contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.contact-content.animate-in {
    opacity: 1;
    transform: none;
}

.contact-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(38, 38, 31, 0.55);
    margin-bottom: 14px;
}

.contact-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.contact-link {
    --brand: #26261f;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(38, 38, 31, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: background 0.25s ease, border-color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-link svg {
    width: 26px;
    height: 26px;
    display: block;
}

.contact-content.animate-in .contact-link {
    opacity: 1;
    animation: contactLinkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.contact-content.animate-in .contact-link:nth-child(1) { animation-delay: 0.15s; }
.contact-content.animate-in .contact-link:nth-child(2) { animation-delay: 0.25s; }
.contact-content.animate-in .contact-link:nth-child(3) { animation-delay: 0.35s; }
.contact-content.animate-in .contact-link:nth-child(4) { animation-delay: 0.45s; }
.contact-content.animate-in .contact-link:nth-child(5) { animation-delay: 0.55s; }
.contact-content.animate-in .contact-link:nth-child(6) { animation-delay: 0.65s; }

@keyframes contactLinkPop {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.6);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.contact-link:hover {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 14px 34px rgba(38, 38, 31, 0.3), 0 0 26px var(--brand);
}

.contact-footer {
    margin-top: 48px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: rgba(38, 38, 31, 0.45);
}

@media (max-width: 480px) {
    .contact-link {
        width: 56px;
        height: 56px;
    }
    .contact-link svg {
        width: 22px;
        height: 22px;
    }
}

.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 110;
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15, 15, 24, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a2e;
}

.scroll-to-contact {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 100;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 15, 24, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.25s ease,
                background 0.25s ease, border-color 0.25s ease;
}

.scroll-to-contact:hover {
    background: rgba(40, 40, 62, 0.72);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
}

.scroll-to-contact.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-to-contact svg {
    width: 21px;
    height: 21px;
    animation: pencilWrite 1.9s ease-in-out infinite;
}

@keyframes pencilWrite {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(1.5px, 1.5px) rotate(-5deg); }
    50%      { transform: translate(-1px, 0.5px) rotate(2deg); }
    75%      { transform: translate(1px, -0.5px) rotate(-3deg); }
}

.cta-section {
    scroll-snap-align: start;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 70% 20%, #f4f5ee 0%, #e3e5d8 65%);
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation-play-state: paused;
}

.cta-section.active-section::before,
.cta-section.active-section::after {
    animation-play-state: running;
}

.cta-section::before {
    width: 44vw;
    height: 44vw;
    top: -10%;
    right: -8%;
    background: radial-gradient(circle, rgba(182, 233, 0, 0.42) 0%, transparent 70%);
    animation: blobFloatB 14s ease-in-out infinite alternate;
}

.cta-section::after {
    width: 42vw;
    height: 42vw;
    bottom: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(240, 110, 170, 0.16) 0%, transparent 70%);
    animation: blobFloatA 18s ease-in-out infinite alternate;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.cta-content.animate-in {
    opacity: 1;
    transform: none;
}

.cta-title {
    margin: 0;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
}

.cta-sub {
    margin: 14px 0 0;
    font-size: 1.15rem;
    color: rgba(38, 38, 31, 0.68);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 17px 34px;
    border-radius: 999px;
    text-decoration: none;
    color: #1e2400;
    font-weight: 600;
    font-size: 1.05rem;
    background: linear-gradient(90deg, var(--acid) 0%, #8fd400 100%);
    box-shadow: 0 10px 32px rgba(134, 184, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: ctaPulse 2.6s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 42px rgba(134, 184, 0, 0.5);
    animation-play-state: paused;
}

.cta-button-arrow {
    display: inline-flex;
    transition: transform 0.25s ease;
}

.cta-button-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.cta-button:hover .cta-button-arrow {
    transform: translateX(3px) rotate(-6deg);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 32px rgba(134, 184, 0, 0.35); }
    50%      { box-shadow: 0 10px 46px rgba(182, 233, 0, 0.55); }
}

.cta-scroll-link {
    display: block;
    margin: 26px auto 0;
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: rgba(38, 38, 31, 0.55);
    transition: color 0.2s ease;
}

.cta-scroll-link:hover {
    color: rgba(38, 38, 31, 0.9);
}

.slide-scrubber {
    position: fixed;
    top: 0;
    height: 100vh;

    right: calc(var(--green-square-width) - 22px);
    width: 44px;
    z-index: 26;
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

@media (min-width: 1024px) {

    .slide-scrubber.visible {
        display: block;
    }
    .slide-scrubber.visible.cursor-in {
        opacity: 1;
    }
}

.scrubber-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    border-radius: 2px;
    background: linear-gradient(
        to bottom,
        var(--acid) 0%,
        rgba(182, 233, 0, 0.35) 55%,
        rgba(38, 38, 31, 0.18) 100%
    );
    cursor: pointer;
}

.scrubber-track::before,
.scrubber-track::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 3px;
    border-radius: 2px;
    background: var(--acid);
}

.scrubber-track::before { top: 0; }
.scrubber-track::after { bottom: 0; background: rgba(38, 38, 31, 0.3); }

.scrubber-handle {
    position: absolute;
    left: 50%;
    top: 0;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--acid);
    box-shadow: 0 2px 10px rgba(38, 38, 31, 0.35);
    cursor: grab;
    touch-action: none;
}

.scrubber-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.scrubber-handle:active {
    cursor: grabbing;
}

.watch-btn {
    display: none;
    position: fixed;
    bottom: 2.5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 26;
    padding: 12px 38px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #1e2400;
    background: linear-gradient(90deg, var(--acid) 0%, #8fd400 100%);
    box-shadow: 0 8px 26px rgba(134, 184, 0, 0.4);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.watch-btn.visible {
    opacity: 1;
}

.home-dog {
    display: none;
    position: absolute;
    top: calc(44px + env(safe-area-inset-top, 0px));
    right: 16px;
    z-index: 30;
    width: 56px;
    height: 35px;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: rgba(38, 38, 31, 0.4);
    -webkit-mask: url('media/logo-dog.svg') no-repeat center / contain;
    mask: url('media/logo-dog.svg') no-repeat center / contain;

    transform: rotate(12deg);
}

.home-dog:active {
    transform: rotate(12deg) scale(0.9);
}

@media (max-width: 768px) {
    .page-canvas {
        height: 400svh;
    }


    html, body {
        overflow: hidden;
        height: 100%;
        overscroll-behavior: none;
    }
    body {
        position: fixed;
        inset: 0;
        width: 100%;
    }
    .sections,
    .intro-section,
    .feature-section,
    .process-section,
    .soul-section,
    .project-section,
    .cta-section,
    .contact-section {
        height: 100svh;
    }


    .page-control {
        display: none;
    }
    .lang-switcher {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .lang-switcher.on-intro {
        opacity: 1;
        pointer-events: auto;
    }


    .home-dog {
        display: block;
    }


    .green-square.visible {
        pointer-events: auto;
        touch-action: pan-x;
    }


    .feature-content {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding: 16px;
        height: 100vh;
        overflow: hidden;
    }
    .feature-text {
        flex: 0 1 auto;
        padding: 0;
    }
    .feature-text .section-avatar {
        width: 54px;
        height: 54px;
        margin-bottom: 8px;
    }
    .feature-title { font-size: 1.7rem; }
    .feature-sub { font-size: 0.85rem; margin-top: 8px; }
    .feature-chips { gap: 8px; margin-top: 12px; }
    .feature-chip { padding: 10px 12px; }
    .feature-chip-title { font-size: 0.88rem; }
    .feature-chip-desc { display: none; }
    .feature-outro { display: none; }
    .feature-cards {
        width: 100%;
        height: 32vh;
        margin: 0;
        gap: 6px;
        flex: 0 0 auto;
    }


    .process-content {
        height: 100vh;
        height: 100svh;
        padding: 10px 16px;
        gap: 8px;
    }
    .proc-shot:nth-child(n) {
        height: 26vh;
    }
    .proc-step-title { font-size: 0.8rem; }
    .proc-tags .proc-tag:nth-child(n+7) { display: none; }
    .proc-head .section-avatar {
        width: 54px;
        height: 54px;
        margin-bottom: 8px;
    }
    .proc-title { font-size: 1.5rem; }
    .proc-sub { display: none; }
    .proc-strip {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 10px;
        padding: 8px 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .proc-strip::-webkit-scrollbar { display: none; }
    .proc-shot:nth-child(n) {
        display: block;
        flex: 0 0 auto;
        width: auto;
        height: 30vh;
        aspect-ratio: 3 / 4;
        margin: 0;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .proc-case { font-size: 0.78rem; }
    .proc-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .proc-step { padding-top: 8px; }
    .proc-step-num { font-size: 1.3rem; }
    .proc-step-title { font-size: 0.86rem; margin-top: 4px; }
    .proc-step-desc { display: none; }
    .proc-tag { padding: 0 9px; font-size: 0.6rem; }
    .proc-tags .proc-tag:nth-child(n+8) { display: none; }


    .project-section {
        justify-content: center;
    }
    .content {
        text-align: center;
        padding: 0 20px 12vh;
    }
    .square-image {
        width: 62vw;
        margin-left: auto;
        margin-right: auto;
    }
    .text-block {
        transform-origin: center bottom;
    }


    .content .cta {
        padding: 4px 9px;
        font-size: 0.6rem;
        gap: 4px;
        margin-top: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    .cta-arrow svg {
        width: 9px;
        height: 9px;
    }


    .thought-comment {
        --ty: 0;
        top: auto;
        bottom: calc(4vh + 58px);
        width: calc(100vw - 24px);
        max-width: none;
        justify-content: center;
        padding: 14px 18px;
        gap: 0;
    }
    .eye-toggle {
        display: none;
    }
    .thought-comment-text {
        font-size: 0.95rem;
        text-align: center;
    }
    .watch-btn {
        display: block;
    }
}
