@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-stretch: 75% 100%;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/newsreader-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --paper: #f8f5f2;
    --ink: #18151b;
    --soft: #6e6670;
    --coral: #ff6b51;
    --wine: #9a286f;
    --violet: #4c2a86;
    --gold: #ffb423;
    --cyan: #24a9bd;
    --line: rgba(24, 21, 27, 0.16);
    --wide: min(1360px, calc(100vw - 64px));
    --display: 'Bricolage Grotesque', sans-serif;
    --serif: 'Newsreader', serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--display);
    font-variation-settings: 'wdth' 96;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.v4-page {
    position: relative;
    isolation: isolate;
}

.v4-noise {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.v4-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 0 max(32px, calc((100vw - 1360px) / 2));
    border-bottom: 1px solid rgba(24, 21, 27, 0.11);
    background: rgba(248, 245, 242, 0.78);
    backdrop-filter: blur(22px) saturate(1.35);
}

.v4-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    width: fit-content;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.v4-brand img {
    width: 42px;
    height: 34px;
    object-fit: contain;
}

.v4-nav-place {
    margin: 0;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(24, 21, 27, 0.52);
}

.v4-nav nav {
    justify-self: end;
    display: flex;
    gap: 1.7rem;
}

.v4-nav nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.v4-nav nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.v4-nav nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.v4-menu {
    display: none;
}

.v4-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    padding: clamp(135px, 15vh, 180px) max(32px, calc((100vw - 1360px) / 2)) 48px;
    border-bottom: 1px solid var(--line);
}

.v4-aurora {
    position: absolute;
    inset: 84px 0 0;
    overflow: hidden;
    pointer-events: none;
    filter: saturate(1.08);
}

.v4-aurora::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 35%), rgba(255, 255, 255, 0.76), transparent 28%);
    mix-blend-mode: soft-light;
}

.v4-aurora-shape {
    position: absolute;
    display: block;
    border-radius: 44% 56% 63% 37% / 42% 35% 65% 58%;
    filter: blur(40px);
    will-change: transform;
}

.v4-shape-one {
    width: min(56vw, 820px);
    aspect-ratio: 1.25;
    right: -8vw;
    top: -6vh;
    background: linear-gradient(135deg, rgba(255, 172, 52, 0.82), rgba(255, 85, 68, 0.66) 46%, rgba(199, 40, 104, 0.5));
    animation: v4FloatOne 13s ease-in-out infinite alternate;
}

.v4-shape-two {
    width: min(44vw, 680px);
    aspect-ratio: 1;
    right: 16vw;
    bottom: -24vh;
    background: linear-gradient(135deg, rgba(53, 164, 198, 0.52), rgba(78, 39, 135, 0.62) 50%, rgba(174, 45, 118, 0.58));
    animation: v4FloatTwo 17s ease-in-out infinite alternate;
}

.v4-shape-three {
    width: min(30vw, 470px);
    aspect-ratio: 1.15;
    left: -12vw;
    bottom: -9vh;
    background: linear-gradient(135deg, rgba(80, 48, 149, 0.42), rgba(216, 50, 111, 0.44));
    animation: v4FloatThree 15s ease-in-out infinite alternate;
}

.v4-orbit {
    position: absolute;
    right: max(5vw, calc((100vw - 1360px) / 2));
    top: 15vh;
    width: min(34vw, 470px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}

.v4-orbit-line {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(49, 24, 54, 0.17);
    border-radius: 50%;
    transform: rotate(-17deg) scaleY(0.73);
}

.v4-orbit-line::before,
.v4-orbit-line::after {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
}

.v4-orbit-line::after {
    inset: 27%;
}

.v4-orbit-dot {
    position: absolute;
    width: 13px;
    aspect-ratio: 1;
    top: 17%;
    left: 11%;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22);
    animation: v4DotPulse 2.2s ease-in-out infinite;
}

.v4-orbit img {
    width: 26%;
    max-height: 34%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(50, 21, 57, 0.2));
    transform: translateY(-3%);
}

.v4-eyebrow {
    position: relative;
    z-index: 4;
    margin: 0 0 clamp(28px, 4vh, 50px);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.v4-hero-title {
    position: relative;
    z-index: 3;
    width: fit-content;
    margin: 0;
    font-size: clamp(4.7rem, 10vw, 9.7rem);
    font-weight: 750;
    line-height: 0.78;
    letter-spacing: -0.075em;
    font-variation-settings: 'wdth' 86;
}

.v4-title-line {
    display: block;
    clip-path: inset(0 0 0 0);
    animation: v4TitleIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.v4-line-two {
    margin-left: clamp(20px, 7vw, 110px);
    animation-delay: 0.08s;
}

.v4-line-three {
    margin-left: clamp(60px, 14vw, 220px);
    animation-delay: 0.16s;
}

.v4-hero-title em {
    position: relative;
    font-family: var(--serif);
    font-size: 1.08em;
    font-weight: 400;
    letter-spacing: -0.065em;
    background: linear-gradient(110deg, #3d2c83 0%, #a52c75 50%, #ec684e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.v4-hero-title em::after {
    content: '';
    position: absolute;
    left: 2%;
    right: -2%;
    bottom: 5%;
    height: 0.055em;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--coral), var(--wine), transparent);
    transform: rotate(-2deg);
}

.v4-hero-bottom {
    position: relative;
    z-index: 5;
    width: min(650px, 58vw);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin: clamp(44px, 7vh, 80px) 0 0 clamp(60px, 14vw, 220px);
}

.v4-hero-bottom > p {
    margin: 0;
    max-width: 43ch;
    font-size: clamp(0.94rem, 1.2vw, 1.1rem);
    line-height: 1.65;
    color: rgba(24, 21, 27, 0.73);
}

.v4-round-link {
    flex: 0 0 auto;
    width: 92px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 21, 27, 0.24);
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.v4-round-link b {
    position: absolute;
    transform: translateY(14px);
    font-size: 1rem;
    color: var(--coral);
}

.v4-round-link span {
    transform: translateY(-8px);
}

.v4-round-link:hover {
    background: var(--ink);
    color: #fff;
    transform: rotate(7deg);
}

.v4-side-note {
    position: absolute;
    right: 22px;
    bottom: 40px;
    z-index: 5;
    margin: 0;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    writing-mode: vertical-rl;
    color: rgba(24, 21, 27, 0.56);
}

.v4-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.v4-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.v4-ticker {
    overflow: hidden;
    padding: 17px 0 14px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
}

.v4-ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: v4Ticker 25s linear infinite;
}

.v4-ticker span {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-style: italic;
    white-space: nowrap;
}

.v4-ticker i {
    color: var(--gold);
    font-size: 0.75rem;
}

.v4-section-label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(24, 21, 27, 0.58);
}

.v4-section-label span {
    display: grid;
    place-items: center;
    width: 32px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--wine);
}

.v4-statement,
.v4-fields,
.v4-process {
    width: var(--wide);
    margin: 0 auto;
}

.v4-statement {
    padding: clamp(110px, 15vw, 220px) 0;
}

.v4-statement-copy {
    max-width: 12ch;
    margin: clamp(50px, 7vw, 100px) 0 0;
    font-size: clamp(3.8rem, 7.4vw, 8.2rem);
    font-weight: 700;
    line-height: 0.91;
    letter-spacing: -0.07em;
}

.v4-statement-copy em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--wine);
}

.v4-statement-foot {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 0.7fr);
    gap: 4rem;
    align-items: start;
    margin-top: clamp(70px, 10vw, 140px);
}

.v4-statement-foot > span {
    height: 1px;
    margin-top: 0.7rem;
    background: linear-gradient(90deg, var(--ink), transparent);
}

.v4-statement-foot p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.35;
}

.v4-projects {
    padding: clamp(90px, 12vw, 170px) 0 clamp(110px, 13vw, 190px);
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: #f1eeea;
}

.v4-projects-head {
    width: var(--wide);
    margin: 0 auto clamp(60px, 8vw, 105px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
}

.v4-projects-head .v4-section-label {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
}

.v4-projects-head h2 {
    margin: 0;
    font-size: clamp(4.5rem, 9vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.v4-projects-head h2 em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--wine);
}

.v4-projects-head > p:last-child {
    margin: 0 0 0.6rem;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
}

.v4-project-strip {
    display: flex;
    gap: clamp(18px, 2.4vw, 36px);
    width: max-content;
    padding: 0 max(32px, calc((100vw - 1360px) / 2));
    cursor: grab;
    touch-action: pan-x;
    transform: translate3d(var(--strip-offset, 0px), 0, 0);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.v4-project-strip.is-dragging {
    cursor: grabbing;
    transition: none;
}

.v4-project {
    position: relative;
    flex: 0 0 clamp(330px, 39vw, 560px);
    display: grid;
    grid-template-rows: minmax(400px, 61vh) auto;
    gap: 1.55rem;
    text-decoration: none;
}

.v4-project figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #e7e1dc;
    clip-path: inset(0 round 120px 22px 82px 28px);
}

.v4-project:nth-child(even) figure {
    clip-path: inset(0 round 24px 110px 30px 88px);
}

.v4-project:nth-child(3n) figure {
    clip-path: inset(0 round 70px 70px 20px 20px);
}

.v4-project figure::after {
    content: '↗';
    position: absolute;
    right: 22px;
    top: 22px;
    width: 48px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(248, 245, 242, 0.88);
    color: var(--ink);
    font-size: 1rem;
    transform: translateY(-80px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.v4-project:hover figure::after {
    transform: translateY(0);
}

.v4-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.v4-project:hover img {
    transform: scale(1.08) rotate(0.6deg);
}

.v4-project > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
}

.v4-project > div span {
    grid-column: 1 / -1;
    margin-bottom: 0.75rem;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(24, 21, 27, 0.55);
}

.v4-project h3 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.3rem);
    line-height: 0.87;
    letter-spacing: -0.065em;
}

.v4-project p {
    width: 18ch;
    margin: 0 0 0.2rem 1.5rem;
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.25;
    color: rgba(24, 21, 27, 0.68);
}

.v4-project-nasch figure,
.v4-project-3d figure,
.v4-project-preussen figure {
    padding: clamp(30px, 5vw, 70px);
}

.v4-project-nasch figure {
    background: #e9d7dd;
}

.v4-project-3d figure {
    background: #dce3f0;
}

.v4-project-preussen figure {
    background: #e5d4c9;
}

.v4-project-schoko figure {
    background: #1d0b63;
}

.v4-project-nasch img,
.v4-project-3d img,
.v4-project-preussen img {
    object-fit: contain;
}

.v4-project-controls {
    width: var(--wide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: clamp(48px, 6vw, 80px) auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.v4-project-controls p {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(24, 21, 27, 0.55);
}

.v4-project-controls p span {
    color: var(--wine);
    font-weight: 750;
}

.v4-project-controls > div {
    display: flex;
    gap: 0.6rem;
}

.v4-project-controls button {
    width: 54px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.v4-project-controls button:hover {
    background: var(--ink);
    color: #fff;
    transform: scale(1.05);
}

.v4-fields {
    padding: clamp(110px, 15vw, 220px) 0;
}

.v4-field-list {
    margin-top: clamp(55px, 8vw, 110px);
}

.v4-field {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(260px, 1fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 2rem;
    min-height: 170px;
    padding: 1.6rem 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
}

.v4-field:last-child {
    border-bottom: 1px solid var(--line);
}

.v4-field::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 130px;
    left: 38%;
    top: 50%;
    border-radius: 50%;
    background: rgba(255, 107, 81, 0.17);
    filter: blur(25px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    transition: opacity 0.4s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.v4-field:nth-child(2)::after {
    background: rgba(154, 40, 111, 0.15);
}

.v4-field:nth-child(3)::after {
    background: rgba(36, 169, 189, 0.16);
}

.v4-field:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35);
}

.v4-field > span {
    font-family: var(--serif);
    font-style: italic;
    color: var(--wine);
}

.v4-field h2 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.v4-field p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    line-height: 1.35;
}

.v4-process {
    padding: 0 0 clamp(110px, 15vw, 220px);
}

.v4-process > h2 {
    margin: clamp(50px, 7vw, 95px) 0 1.5rem;
    font-size: clamp(3.8rem, 7vw, 8rem);
    line-height: 0.88;
    letter-spacing: -0.07em;
}

.v4-process > h2 em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--wine);
}

.home-process-intro {
    max-width: 48ch;
    margin: 0 0 clamp(65px, 9vw, 125px);
    color: rgba(24, 19, 29, 0.7);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.42;
}

.v4-process ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v4-process ol::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 1px;
    background: linear-gradient(90deg, var(--coral), var(--wine), var(--violet), var(--gold));
}

.v4-process li {
    position: relative;
    padding: 45px clamp(20px, 3vw, 45px) 0 0;
}

.v4-process li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 13px;
    aspect-ratio: 1;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 1px rgba(24, 21, 27, 0.16);
}

.v4-process li:nth-child(2)::before {
    background: var(--wine);
}

.v4-process li:nth-child(3)::before {
    background: var(--violet);
}

.v4-process li:nth-child(4)::before {
    background: var(--gold);
}

.v4-process li > span {
    display: block;
    margin-bottom: 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: rgba(24, 21, 27, 0.5);
}

.v4-process strong {
    display: block;
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    letter-spacing: -0.04em;
}

.v4-process li p {
    margin: 0.65rem 0 0;
    max-width: 23ch;
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.35;
    color: rgba(24, 21, 27, 0.65);
}

.v4-contact {
    position: relative;
    min-height: 92svh;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 120px 32px;
    overflow: hidden;
    text-align: center;
    background: #1a171d;
    color: #fff;
}

.v4-contact-orb {
    position: absolute;
    width: min(65vw, 850px);
    aspect-ratio: 1;
    border-radius: 43% 57% 66% 34% / 58% 37% 63% 42%;
    background: conic-gradient(from 45deg, #552d91, #b22976, #ff684e, #ffb42b, #267f9d, #552d91);
    filter: blur(36px) saturate(1.1);
    opacity: 0.72;
    animation: v4ContactMorph 16s ease-in-out infinite alternate;
}

.v4-contact > p,
.v4-contact > h2,
.v4-contact > a {
    position: relative;
    z-index: 1;
}

.v4-contact > p {
    margin: 0 0 2rem;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.v4-contact h2 {
    margin: 0;
    font-size: clamp(4rem, 9vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.v4-contact h2 em {
    font-family: var(--serif);
    font-weight: 400;
}

.v4-contact > a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding: 1rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.v4-contact > a:hover {
    background: #fff;
    color: var(--ink);
}

.v4-footer {
    min-height: 140px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 30px max(32px, calc((100vw - 1360px) / 2));
    background: #1a171d;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.v4-footer > p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.v4-footer nav {
    justify-self: end;
    display: flex;
    gap: 1.2rem;
}

.v4-footer nav a {
    font-size: 0.68rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes v4TitleIn {
    from {
        opacity: 0;
        transform: translateY(1em) rotate(2deg);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: none;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes v4FloatOne {
    to {
        transform: translate3d(-8vw, 7vh, 0) rotate(13deg) scale(1.12);
        border-radius: 64% 36% 40% 60% / 34% 62% 38% 66%;
    }
}

@keyframes v4FloatTwo {
    to {
        transform: translate3d(6vw, -8vh, 0) rotate(-17deg) scale(0.91);
        border-radius: 35% 65% 52% 48% / 63% 43% 57% 37%;
    }
}

@keyframes v4FloatThree {
    to {
        transform: translate3d(10vw, -5vh, 0) rotate(12deg) scale(1.14);
    }
}

@keyframes v4DotPulse {
    50% {
        transform: scale(1.45);
        opacity: 0.7;
    }
}

@keyframes v4Ticker {
    to {
        transform: translateX(-50%);
    }
}

@keyframes v4ContactMorph {
    to {
        transform: rotate(35deg) scale(1.17);
        border-radius: 65% 35% 42% 58% / 37% 62% 38% 63%;
    }
}

@media (max-width: 900px) {
    :root {
        --wide: calc(100vw - 36px);
    }

    .v4-nav {
        height: 70px;
        grid-template-columns: 1fr auto;
        padding-inline: 18px;
    }

    .v4-nav-place,
    .v4-nav nav {
        display: none;
    }

    .v4-menu {
        display: grid;
        place-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 12px 9px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: rgba(248, 245, 242, 0.7);
    }

    .v4-menu span {
        width: 20px;
        height: 1.5px;
        background: var(--ink);
    }

    .v4-hero {
        min-height: auto;
        padding: 118px 18px 56px;
    }

    .v4-orbit {
        width: 65vw;
        right: -20vw;
        top: 13vh;
        opacity: 0.62;
    }

    .v4-hero-title {
        font-size: clamp(4rem, 16vw, 7rem);
        line-height: 0.82;
    }

    .v4-line-two {
        margin-left: 0.25em;
    }

    .v4-line-three {
        margin-left: 0.6em;
    }

    .v4-hero-bottom {
        width: 100%;
        margin-left: 0;
    }

    .v4-side-note {
        display: none;
    }

    .v4-statement-foot {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .v4-projects-head {
        grid-template-columns: 1fr;
    }

    .v4-projects-head > p:last-child {
        margin-top: 1.3rem;
    }

    .v4-field {
        grid-template-columns: 45px 1fr;
        gap: 1rem;
        padding-block: 2rem;
    }

    .v4-field p {
        grid-column: 2;
    }

    .v4-process ol {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem 1.5rem;
    }

    .v4-process ol::before {
        display: none;
    }

    .v4-process li {
        padding-top: 32px;
        border-top: 1px solid var(--line);
    }

    .v4-process li::before {
        top: -7px;
    }

    .v4-footer {
        grid-template-columns: 1fr auto;
        padding-inline: 18px;
    }

    .v4-footer > p {
        display: none;
    }
}

@media (max-width: 600px) {
    .v4-brand span {
        font-size: 0.85rem;
    }

    .v4-eyebrow {
        max-width: 21ch;
        line-height: 1.5;
    }

    .v4-hero-title {
        font-size: clamp(3.6rem, 18vw, 5.8rem);
        line-height: 0.84;
    }

    .v4-line-three {
        margin-left: 0.24em;
    }

    .v4-hero-bottom {
        align-items: start;
        flex-direction: column;
        margin-top: 45px;
    }

    .v4-round-link {
        width: 78px;
        align-self: flex-end;
    }

    .v4-statement {
        padding-block: 90px;
    }

    .v4-statement-copy {
        max-width: none;
        font-size: clamp(3rem, 15vw, 5.3rem);
    }

    .v4-projects {
        padding-block: 80px 100px;
    }

    .v4-projects-head {
        margin-bottom: 50px;
    }

    .v4-projects-head h2 {
        font-size: clamp(4rem, 20vw, 6rem);
    }

    .v4-project-strip {
        padding-inline: 18px;
        gap: 16px;
        overflow-x: auto;
        width: 100%;
        transform: none !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .v4-project-strip::-webkit-scrollbar {
        display: none;
    }

    .v4-project {
        flex-basis: 82vw;
        grid-template-rows: 54vh auto;
        scroll-snap-align: center;
    }

    .v4-project figure,
    .v4-project:nth-child(n) figure {
        clip-path: inset(0 round 55px 18px 42px 20px);
    }

    .v4-project > div {
        grid-template-columns: 1fr;
    }

    .v4-project p {
        width: auto;
        margin: 0.8rem 0 0;
    }

    .v4-project-controls p {
        display: none;
    }

    .v4-project-controls {
        justify-content: flex-end;
    }

    .v4-fields {
        padding-block: 95px;
    }

    .v4-field {
        grid-template-columns: 32px 1fr;
    }

    .v4-field h2 {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .v4-process {
        padding-bottom: 100px;
    }

    .v4-process > h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .home-process-intro {
        margin-bottom: 58px;
        font-size: 1.2rem;
    }

    .v4-process ol {
        grid-template-columns: 1fr;
    }

    .v4-contact {
        min-height: 82svh;
        padding-inline: 18px;
    }

    .v4-contact-orb {
        width: 130vw;
    }

    .v4-contact h2 {
        font-size: clamp(3.7rem, 18vw, 6.2rem);
    }

    .v4-footer {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding-block: 35px;
    }

    .v4-footer nav {
        justify-self: start;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .v4-reveal {
        opacity: 1;
        transform: none;
    }
}

/* WordPress shell integration. */
body.home {
    background: var(--paper);
    font-family: var(--display);
}

body.home .ambient-bg {
    display: none;
}

body.home .site-shell {
    overflow: clip;
}

body.home .site-main {
    z-index: 2;
    padding-bottom: 0;
}

body.home .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
    border-bottom: 1px solid rgba(24, 21, 27, 0.11);
    background: rgba(248, 245, 242, 0.82);
    backdrop-filter: blur(22px) saturate(1.35);
}

body.home .site-header .nav-wrap {
    position: relative;
    width: var(--wide);
    min-height: 74px;
}

body.home .site-header .nav-wrap::after {
    content: 'Bremen · Familienunternehmen';
    position: absolute;
    left: 50%;
    top: 50%;
    color: rgba(24, 21, 27, 0.52);
    font-size: 0.62rem;
    font-weight: 720;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.home .brand-link {
    font-family: var(--display);
    font-size: 0.92rem;
    font-weight: 760;
    letter-spacing: -0.035em;
}

body.home .menu a {
    color: var(--ink);
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 720;
}

body.home .v4-hero {
    min-height: calc(100svh - 74px);
    padding-top: clamp(90px, 12vh, 140px);
}

body.home .v4-aurora {
    inset: 0;
}

body.home .site-footer {
    z-index: 4;
    margin-top: 0;
    border-top: 1px solid rgba(24, 21, 27, 0.12);
    background: var(--paper);
    backdrop-filter: none;
}

body.home .site-footer .footer-inner {
    width: var(--wide);
    min-height: 100px;
}

body.home .site-footer .footer-inner > p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
}

body.home .site-footer .footer-actions {
    gap: 1.2rem;
}

body.home .site-footer .footer-link-btn,
body.home .site-footer .back-top {
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 720;
    transition: border-color 0.25s ease;
}

body.home .site-footer .footer-link-btn:hover,
body.home .site-footer .back-top:hover {
    border-bottom-color: currentColor;
}

@media (max-width: 860px) {
    body.home .site-header .nav-wrap {
        width: calc(100vw - 36px);
        min-height: 68px;
    }

    body.home .site-header .nav-wrap::after {
        display: none;
    }

    body.home .main-nav {
        background:
            radial-gradient(circle at 84% 14%, rgba(255, 107, 81, 0.17), transparent 30%),
            radial-gradient(circle at 10% 70%, rgba(154, 40, 111, 0.13), transparent 34%),
            var(--paper);
    }

    body.home .main-nav a {
        font-size: clamp(1.65rem, 8vw, 2.5rem);
    }

    body.home .v4-hero {
        min-height: calc(100svh - 68px);
        padding-top: clamp(72px, 10vh, 100px);
    }
}

@media (max-width: 640px) {
    body.home .site-footer .footer-inner {
        width: calc(100vw - 36px);
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding-block: 34px;
    }

    body.home .site-footer .footer-actions {
        display: grid;
        grid-template-columns: max-content max-content;
        align-items: flex-start;
        gap: 0.72rem 1rem;
        width: 100%;
    }

    body.home .site-footer .back-top {
        grid-column: 1;
    }
}

/* Project register: one changing stage instead of a gallery of image cards. */
.v5-projects {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(100px, 11vw, 170px) 0 clamp(120px, 13vw, 200px);
    border-block: 1px solid var(--line);
    background:
        radial-gradient(circle at 4% 18%, rgba(212, 82, 132, 0.13), transparent 25%),
        radial-gradient(circle at 94% 78%, rgba(255, 142, 70, 0.14), transparent 28%),
        #f3efec;
}

.v5-projects::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: min(78vw, 1060px);
    aspect-ratio: 1;
    right: -34vw;
    top: -22vw;
    border: 1px solid rgba(24, 21, 27, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 8vw rgba(255, 255, 255, 0.12),
        0 0 0 17vw rgba(255, 255, 255, 0.08);
}

.v5-projects-head {
    width: var(--wide);
    margin: 0 auto clamp(62px, 7vw, 105px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
}

.v5-projects-head .v4-section-label {
    grid-column: 1 / -1;
    margin-bottom: clamp(24px, 3vw, 42px);
}

.v5-projects-head h2 {
    margin: 0;
    font-size: clamp(4.8rem, 9vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.085em;
}

.v5-projects-head h2 em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--wine);
}

.v5-projects-head > p:last-child {
    max-width: 24ch;
    margin: 0 0 0.55rem;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-style: italic;
    line-height: 1.35;
}

.v5-project-browser {
    width: var(--wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(350px, 0.82fr) minmax(560px, 1.35fr);
    gap: clamp(55px, 7vw, 115px);
    align-items: start;
}

.v5-project-index {
    border-top: 1px solid rgba(24, 21, 27, 0.24);
}

.v5-project-button {
    position: relative;
    width: 100%;
    min-height: 77px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 0.85rem;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(24, 21, 27, 0.17);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.v5-project-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
    transform: translateX(-102%);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-project-button:hover::before,
.v5-project-button:focus-visible::before,
.v5-project-button.is-active::before {
    transform: translateX(0);
}

.v5-project-button > span {
    font-family: var(--serif);
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(24, 21, 27, 0.48);
    transition: color 0.35s ease;
}

.v5-project-button strong {
    overflow: hidden;
    font-size: clamp(1.02rem, 1.35vw, 1.35rem);
    font-weight: 620;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform-origin: left center;
    transition: color 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-project-button small {
    font-size: 0.59rem;
    font-weight: 720;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(24, 21, 27, 0.46);
    transition: color 0.35s ease;
}

.v5-project-button i {
    position: relative;
    display: block;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(24, 21, 27, 0.24);
    border-radius: 50%;
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-project-button i::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: var(--wine);
    transform: scale(0);
    transition: transform 0.35s ease;
}

.v5-project-button:hover strong,
.v5-project-button:focus-visible strong,
.v5-project-button.is-active strong {
    color: var(--wine);
    transform: translateX(8px);
}

.v5-project-button.is-active > span,
.v5-project-button.is-active small {
    color: var(--wine);
}

.v5-project-button.is-active i {
    border-color: var(--wine);
    transform: scale(1.08);
}

.v5-project-button.is-active i::after {
    transform: scale(1);
}

.v5-project-button:focus-visible {
    outline: 0;
    border-bottom-color: var(--wine);
    box-shadow: inset 0 -2px 0 var(--wine);
}

.v5-project-stage {
    --stage-a: #ffc15f;
    --stage-b: #dc4d69;
    --stage-c: #60216f;
    --visual-width: min(64%, 430px);
    --visual-mobile-width: min(74vw, 310px);
    --visual-ratio: 1;
    --visual-inset: 4%;
    --visual-radius: 46% 54% 48% 52% / 39% 44% 56% 61%;
    position: sticky;
    top: 112px;
    min-height: 670px;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 25px 30px 18px;
    color: var(--ink);
}

.v5-project-stage::before {
    content: '';
    position: absolute;
    z-index: -3;
    width: min(94%, 650px);
    aspect-ratio: 1.05;
    left: 51%;
    top: 46%;
    border-radius: 43% 57% 63% 37% / 53% 38% 62% 47%;
    background:
        radial-gradient(circle at 67% 22%, rgba(255, 255, 255, 0.78), transparent 15%),
        linear-gradient(137deg, var(--stage-a), var(--stage-b) 48%, var(--stage-c));
    filter: saturate(0.92);
    transform: translate(-50%, -50%) rotate(-4deg);
    animation: v5StageMorph 14s ease-in-out infinite alternate;
    transition: background 0.7s ease;
}

.v5-project-stage::after {
    content: '';
    position: absolute;
    z-index: -2;
    width: min(77%, 530px);
    aspect-ratio: 1;
    left: 50%;
    top: 44%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.v5-project-stage[data-theme='naschsalon'] {
    --stage-a: #ffca45;
    --stage-b: #ec346e;
    --stage-c: #087c86;
}

.v5-project-stage[data-theme='villa'] {
    --stage-a: #ffb179;
    --stage-b: #75c7d5;
    --stage-c: #2d778e;
}

.v5-project-stage[data-theme='lockerbot'] {
    --stage-a: #c6d3da;
    --stage-b: #638aa3;
    --stage-c: #172a39;
}

.v5-project-stage[data-theme='delicious'] {
    --stage-a: #ffcb66;
    --stage-b: #56bddd;
    --stage-c: #4b4eac;
}

.v5-project-stage[data-theme='preussen'] {
    --stage-a: #e7a35b;
    --stage-b: #a6243c;
    --stage-c: #3a1721;
}

.v5-project-stage[data-theme='schokolade'] {
    --stage-a: #ff9d18;
    --stage-b: #eb0b67;
    --stage-c: #190866;
}

.v5-project-stage[data-media='portrait'] {
    --visual-width: min(62%, 410px);
    --visual-mobile-width: min(72vw, 300px);
    --visual-ratio: 0.96;
    --visual-inset: 5%;
}

.v5-project-stage[data-media='transparent'] {
    --visual-width: min(69%, 455px);
    --visual-mobile-width: min(80vw, 330px);
    --visual-inset: 7%;
}

.v5-project-stage[data-media='wide'] {
    --visual-width: min(84%, 585px);
    --visual-mobile-width: min(90vw, 365px);
    --visual-ratio: 1.52;
    --visual-inset: 3%;
    --visual-radius: 24% 18% 26% 16% / 30% 24% 32% 22%;
}

.v5-stage-meta {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    font-size: 0.64rem;
    font-weight: 760;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.v5-stage-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.v5-stage-meta span:first-child::before {
    content: '';
    width: 30px;
    height: 1px;
    background: currentColor;
}

.v5-stage-word {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 47%;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.27);
    font-size: clamp(5rem, 9vw, 9.5rem);
    font-weight: 790;
    line-height: 0.75;
    letter-spacing: -0.09em;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-7deg);
    transition: opacity 0.28s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-stage-orbits {
    position: absolute;
    z-index: -1;
    inset: 8% 1% 20%;
    pointer-events: none;
}

.v5-stage-orbits span {
    position: absolute;
    border: 1px solid rgba(24, 21, 27, 0.13);
    border-radius: 50%;
}

.v5-stage-orbits span:nth-child(1) {
    inset: 8% 4% 5%;
    transform: rotate(18deg);
}

.v5-stage-orbits span:nth-child(2) {
    inset: 20% -1% 17% 9%;
    transform: rotate(-23deg);
}

.v5-stage-orbits span:nth-child(3) {
    width: 8px;
    height: 8px;
    right: 5%;
    top: 28%;
    border: 0;
    background: var(--stage-c);
    box-shadow: -35vw 15vw 0 var(--stage-a), -4vw 27vw 0 var(--stage-b);
}

.v5-stage-visual {
    position: relative;
    z-index: 2;
    place-self: center;
    width: var(--visual-width);
    aspect-ratio: var(--visual-ratio);
    margin: 8px 0 28px;
    overflow: visible;
    border-radius: var(--visual-radius);
    background: color-mix(in srgb, var(--stage-c) 18%, rgba(255, 255, 255, 0.72));
    box-shadow: 0 28px 75px rgba(48, 23, 40, 0.19);
    transform: rotate(2.5deg);
    transition: opacity 0.26s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.v5-stage-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: inherit;
    pointer-events: none;
}

.v5-stage-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.v5-stage-backdrop {
    z-index: 0;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
    clip-path: inset(0 round 40%);
    opacity: 0.4;
    filter: blur(24px) saturate(1.2);
    transform: scale(1.05);
}

.v5-stage-foreground {
    z-index: 1;
    object-fit: contain;
    padding: var(--visual-inset);
    clip-path: inset(var(--visual-inset) round 10%);
    filter: drop-shadow(0 13px 18px rgba(21, 15, 23, 0.16));
}

.v5-project-stage[data-media='transparent'] .v5-stage-backdrop {
    opacity: 0.22;
    filter: blur(28px) saturate(1.45);
}

.v5-project-stage[data-media='transparent'] .v5-stage-foreground {
    filter: drop-shadow(0 20px 20px rgba(28, 32, 75, 0.24));
}

.v5-stage-info {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    transition: opacity 0.25s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-stage-info h3 {
    max-width: 15ch;
    margin: 0 0 0.65rem;
    font-size: clamp(2.35rem, 4vw, 4.65rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
}

.v5-stage-info p {
    max-width: 51ch;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.4;
    color: rgba(24, 21, 27, 0.72);
}

.v5-stage-info > a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid currentColor;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 760;
    white-space: nowrap;
}

.v5-stage-info > a span {
    display: grid;
    place-items: center;
    width: 29px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.v5-stage-info > a:hover span {
    transform: rotate(45deg);
}

.v5-project-stage.is-changing .v5-stage-visual {
    opacity: 0;
    filter: blur(12px);
    transform: rotate(-5deg) scale(0.84);
}

.v5-project-stage.is-changing .v5-stage-info {
    opacity: 0;
    transform: translateY(18px);
}

.v5-project-stage.is-changing .v5-stage-word {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(5deg) scale(0.8);
}

.v5-project-hint {
    width: var(--wide);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 35px auto 0;
    padding-left: 0;
    font-family: var(--serif);
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(24, 21, 27, 0.55);
}

.v5-project-hint span {
    width: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--wine), var(--violet));
    box-shadow: 0 0 0 5px rgba(154, 40, 111, 0.08);
}

@keyframes v5StageMorph {
    0% {
        border-radius: 43% 57% 63% 37% / 53% 38% 62% 47%;
        transform: translate(-50%, -50%) rotate(-4deg) scale(0.98);
    }
    100% {
        border-radius: 58% 42% 39% 61% / 42% 59% 41% 58%;
        transform: translate(-50%, -50%) rotate(3deg) scale(1.025);
    }
}

@media (max-width: 1050px) {
    .v5-project-browser {
        grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.2fr);
        gap: 40px;
    }

    .v5-project-button {
        grid-template-columns: 28px minmax(0, 1fr) 17px;
    }

    .v5-project-button small {
        display: none;
    }

    .v5-project-stage {
        min-height: 630px;
    }
}

@media (max-width: 780px) {
    .v5-projects {
        padding-block: 90px 110px;
    }

    .v5-projects-head {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .v5-projects-head h2 {
        font-size: clamp(4.1rem, 18vw, 6.5rem);
    }

    .v5-projects-head > p:last-child {
        margin: 0.9rem 0 0;
    }

    .v5-project-browser {
        width: 100%;
        display: block;
    }

    .v5-project-index {
        width: 100%;
        display: flex;
        gap: 26px;
        overflow-x: auto;
        padding: 0 max(18px, calc(50vw - 112px)) 15px;
        border-top: 0;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .v5-project-index::-webkit-scrollbar {
        display: none;
    }

    .v5-project-button {
        flex: 0 0 auto;
        width: auto;
        min-height: 54px;
        grid-template-columns: auto auto;
        gap: 0.55rem;
        padding-right: 0;
        border-bottom-color: rgba(24, 21, 27, 0.18);
        scroll-snap-align: center;
    }

    .v5-project-button::before,
    .v5-project-button small,
    .v5-project-button i {
        display: none;
    }

    .v5-project-button > span {
        align-self: start;
        padding-top: 17px;
        font-size: 0.62rem;
    }

    .v5-project-button strong {
        max-width: 210px;
        font-size: 1rem;
    }

    .v5-project-button:hover strong,
    .v5-project-button:focus-visible strong,
    .v5-project-button.is-active strong {
        transform: none;
    }

    .v5-project-button.is-active {
        border-bottom-color: var(--wine);
    }

    .v5-project-stage {
        position: relative;
        top: auto;
        width: calc(100% - 36px);
        min-height: 590px;
        margin: 25px auto 0;
        padding: 18px 4px 0;
    }

    .v5-project-stage::before {
        width: min(120%, 560px);
        top: 43%;
    }

    .v5-stage-orbits {
        inset-inline: -4%;
    }

    .v5-stage-visual {
        width: var(--visual-mobile-width);
        margin-bottom: 20px;
    }

    .v5-stage-info {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .v5-stage-info h3 {
        max-width: 13ch;
        font-size: clamp(2.6rem, 12vw, 4.2rem);
    }

    .v5-stage-info p {
        max-width: 38ch;
    }

    .v5-stage-info > a {
        justify-self: start;
    }

    .v5-project-hint {
        width: calc(100% - 36px);
        margin-top: 42px;
    }
}

@media (max-width: 430px) {
    .v5-project-stage {
        min-height: 625px;
    }

    .v5-stage-meta {
        padding-inline: 2px;
    }

    .v5-stage-visual {
        width: var(--visual-mobile-width);
    }

    .v5-stage-info h3 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .v5-project-stage::before {
        animation: none;
    }

    .v5-project-stage,
    .v5-stage-visual,
    .v5-stage-info,
    .v5-stage-word,
    .v5-project-button,
    .v5-project-button::before,
    .v5-project-button strong,
    .v5-project-button i,
    .v5-project-button i::after {
        transition: none;
    }
}
