:root {
    --bg: #fdfbff;
    --surface: #ffffff;
    --text: #141218;
    --text-soft: #5f5668;
    --accent: #f26b52;
    --accent-2: #9a4d8c;
    --line: rgba(20, 18, 24, 0.16);
    --container: min(1120px, 92vw);
    --entry-head-gap: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body,
body * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
[contenteditable='true'] {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 88% 8%, rgba(242, 107, 82, 0.11), transparent 32%),
        radial-gradient(circle at 14% 20%, rgba(154, 77, 140, 0.1), transparent 30%),
        linear-gradient(180deg, #fffdff 0%, #f9f3fc 100%);
    background-size: 130% 130%, 125% 125%, 100% 100%;
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ambient-bg {
    position: fixed;
    inset: -8%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(34px);
    opacity: 0.62;
    animation: ambientFloat 11s ease-in-out infinite;
    will-change: transform;
}

.ambient-blob-a {
    width: 34vw;
    height: 34vw;
    min-width: 300px;
    min-height: 300px;
    background: rgba(242, 107, 82, 0.5);
    top: 2%;
    right: -6%;
}

.ambient-blob-b {
    width: 30vw;
    height: 30vw;
    min-width: 250px;
    min-height: 250px;
    background: rgba(154, 77, 140, 0.42);
    left: -8%;
    top: 28%;
    animation-delay: -8s;
}

.ambient-blob-c {
    width: 28vw;
    height: 28vw;
    min-width: 230px;
    min-height: 230px;
    background: rgba(246, 198, 162, 0.54);
    right: 22%;
    bottom: -8%;
    animation-delay: -15s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.site-header,
.site-main,
.site-footer,
.sticky-cta-mobile {
    position: relative;
    z-index: 2;
}

.site-footer {
    flex-shrink: 0;
}

.site-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 35;
}

.site-main {
    padding-bottom: 36px;
    flex: 1 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(10px);
    background: rgba(255, 252, 255, 0.88);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.brand-link,
.custom-logo-link {
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.header-logo-dust {
    position: relative;
    width: 54px;
    min-width: 54px;
    height: calc(54px / var(--logo-ratio, 1.385));
    aspect-ratio: var(--logo-ratio, 1 / 1);
    border-radius: 0;
    pointer-events: none;
    overflow: visible;
    flex-shrink: 0;
}

.header-logo-dust img,
.header-logo-dust canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.35s ease;
}

.header-logo-dust img {
    filter: drop-shadow(0 5px 10px rgba(63, 36, 82, 0.16));
}

.header-logo-dust canvas {
    opacity: 0;
}

.header-logo-dust.is-enhanced img {
    opacity: 0;
}

.header-logo-dust.is-enhanced canvas {
    opacity: 1;
}

.menu-toggle {
    display: none;
    position: relative;
    overflow: hidden;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: #3b2f45;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    top: 13px;
    height: 3px;
    border-radius: 2px;
    background: #3b2f45;
    box-shadow: 0 8px 0 #3b2f45, 0 16px 0 #3b2f45;
    pointer-events: none;
}

.menu-toggle-line {
    display: block;
    width: 0;
    height: 0;
    margin: 0;
    opacity: 0;
}

.menu-list,
.menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.menu a {
    text-decoration: none;
    color: #4f4458;
    font-size: 0.93rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.4rem, 10vh, 7.2rem) 0 clamp(2.2rem, 6vh, 3.6rem);
}

.hero-layout {
    position: relative;
    z-index: 2;
}

.hero-main {
    max-width: 900px;
}

.hero-logo-dust {
    position: absolute;
    top: clamp(0.2rem, 1vw, 0.8rem);
    right: clamp(1rem, 2.2vw, 1.9rem);
    width: min(240px, 24vw);
    aspect-ratio: var(--logo-ratio, 1 / 1);
    border-radius: 14px;
    pointer-events: none;
}

.hero-logo-dust img,
.hero-logo-dust canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-logo-dust img {
    filter: drop-shadow(0 12px 24px rgba(34, 22, 45, 0.2));
}

.hero-logo-dust canvas {
    opacity: 0;
}

.hero-logo-dust.is-enhanced img {
    opacity: 0;
}

.hero-logo-dust.is-enhanced canvas {
    opacity: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    animation: drift 12s ease-in-out infinite;
}

.hero-orb-a {
    width: 280px;
    aspect-ratio: 1;
    right: -80px;
    top: -30px;
    background: radial-gradient(circle at 24% 24%, rgba(242, 107, 82, 0.35), rgba(242, 107, 82, 0.02));
}

.hero-orb-b {
    width: 210px;
    aspect-ratio: 1;
    left: -80px;
    bottom: 0;
    animation-delay: -4s;
    background: radial-gradient(circle at 30% 30%, rgba(154, 77, 140, 0.3), rgba(154, 77, 140, 0.02));
}

.hero-badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #6d5b79;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6.2vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-wrap: balance;
    max-width: 16ch;
}

.lead {
    margin: 1.2rem 0 0;
    max-width: 66ch;
    color: var(--text-soft);
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-signature {
    margin: 1rem 0 0;
    font-family: 'Caveat', cursive;
    color: var(--accent-2);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.24s ease, background 0.24s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-solid {
    color: #fff;
    background: linear-gradient(120deg, var(--accent) 0%, #ff9575 52%, var(--accent-2) 100%);
    box-shadow: 0 11px 22px rgba(154, 77, 140, 0.23), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-solid:hover {
    background: linear-gradient(120deg, #e96048 0%, #ff896a 52%, #8e447f 100%);
}

.btn-ghost {
    color: #5b4f66;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.78);
}

.section {
    padding: clamp(2.4rem, 7vw, 5rem) 0;
}

.section-lined {
    border-top: 1px solid var(--line);
}

.section h2,
.cta-minimal h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.8rem, 4.1vw, 3rem);
    letter-spacing: -0.02em;
}

.section-intro,
.cta-minimal p {
    margin: 0 auto 1.3rem;
    max-width: 66ch;
    color: var(--text-soft);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.service-item h3,
.process-list h3,
.project-row h3,
.entry-card h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.service-item p,
.process-list p,
.project-row p,
.entry-card p,
.entry-content,
.entry-meta {
    margin: 0;
    color: var(--text-soft);
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.8rem;
    counter-reset: flow;
}

.process-list li {
    border-top: 1px solid var(--line);
    padding: 0.95rem 0;
}

.process-list li::before {
    counter-increment: flow;
    content: '0' counter(flow);
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #866e96;
}

.project-list {
    display: grid;
    gap: 0;
}

.project-row {
    border-top: 1px solid var(--line);
    padding: 1.05rem 0;
}

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

.project-row a {
    display: inline-block;
    margin-top: 0.55rem;
    text-decoration: none;
    color: var(--accent-2);
    font-weight: 700;
}

.project-row a:hover {
    text-decoration: underline;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-grid .project-card {
    display: grid;
    align-content: space-between;
    position: relative;
    min-height: 210px;
    border: 1px solid rgba(20, 18, 24, 0.1);
    border-radius: 20px;
    padding: 1rem 1rem 0.95rem;
    background:
        radial-gradient(circle at 88% 10%, rgba(242, 107, 82, 0.14), transparent 42%),
        linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(251, 244, 253, 0.92));
    box-shadow: 0 14px 28px rgba(36, 22, 48, 0.12);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.project-grid .project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0.98;
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 74, 0, 0.7) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 22%, rgba(255, 38, 119, 0.66) 0 1.5px, transparent 3px),
        radial-gradient(circle at 72% 16%, rgba(122, 46, 255, 0.62) 0 1.8px, transparent 3.2px),
        radial-gradient(circle at 23% 80%, rgba(0, 199, 255, 0.68) 0 2px, transparent 3.2px),
        radial-gradient(circle at 18% 88%, rgba(0, 224, 151, 0.62) 0 1.6px, transparent 3px),
        radial-gradient(circle at 30% 86%, rgba(255, 208, 0, 0.64) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 52% 56%, rgba(255, 94, 58, 0.65) 0 2px, transparent 3.2px),
        radial-gradient(circle at 58% 62%, rgba(226, 86, 255, 0.58) 0 1.6px, transparent 2.8px),
        radial-gradient(circle at 48% 48%, rgba(64, 201, 255, 0.58) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 40% 18%, rgba(255, 126, 31, 0.52) 0 1.2px, transparent 2.5px),
        radial-gradient(circle at 66% 78%, rgba(124, 255, 89, 0.52) 0 1.2px, transparent 2.6px),
        radial-gradient(circle at 12% 18%, rgba(255, 53, 94, 0.6) 0 1.7px, transparent 3px),
        radial-gradient(circle at 16% 26%, rgba(59, 120, 255, 0.54) 0 1.3px, transparent 2.6px);
}

.project-grid .project-card:nth-child(3n + 1)::before {
    background-position: 0 0;
}

.project-grid .project-card:nth-child(3n + 2)::before {
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 74, 0, 0.72) 0 2px, transparent 3px),
        radial-gradient(circle at 22% 18%, rgba(255, 38, 119, 0.68) 0 1.5px, transparent 3px),
        radial-gradient(circle at 34% 12%, rgba(122, 46, 255, 0.64) 0 1.8px, transparent 3.2px),
        radial-gradient(circle at 76% 84%, rgba(0, 199, 255, 0.7) 0 2px, transparent 3.2px),
        radial-gradient(circle at 82% 76%, rgba(0, 224, 151, 0.62) 0 1.6px, transparent 3px),
        radial-gradient(circle at 70% 88%, rgba(255, 208, 0, 0.66) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 40% 54%, rgba(255, 94, 58, 0.66) 0 2px, transparent 3.2px),
        radial-gradient(circle at 30% 62%, rgba(226, 86, 255, 0.6) 0 1.6px, transparent 2.8px),
        radial-gradient(circle at 52% 46%, rgba(64, 201, 255, 0.6) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 60% 22%, rgba(255, 126, 31, 0.54) 0 1.2px, transparent 2.5px),
        radial-gradient(circle at 34% 78%, rgba(124, 255, 89, 0.54) 0 1.2px, transparent 2.6px),
        radial-gradient(circle at 88% 20%, rgba(255, 53, 94, 0.62) 0 1.7px, transparent 3px),
        radial-gradient(circle at 84% 30%, rgba(59, 120, 255, 0.56) 0 1.3px, transparent 2.6px);
}

.project-grid .project-card:nth-child(3n)::before {
    background:
        radial-gradient(circle at 52% 8%, rgba(255, 74, 0, 0.72) 0 2px, transparent 3px),
        radial-gradient(circle at 62% 16%, rgba(255, 38, 119, 0.68) 0 1.5px, transparent 3px),
        radial-gradient(circle at 42% 14%, rgba(122, 46, 255, 0.64) 0 1.8px, transparent 3.2px),
        radial-gradient(circle at 12% 68%, rgba(0, 199, 255, 0.7) 0 2px, transparent 3.2px),
        radial-gradient(circle at 18% 78%, rgba(0, 224, 151, 0.62) 0 1.6px, transparent 3px),
        radial-gradient(circle at 28% 72%, rgba(255, 208, 0, 0.66) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 86% 62%, rgba(255, 94, 58, 0.66) 0 2px, transparent 3.2px),
        radial-gradient(circle at 76% 54%, rgba(226, 86, 255, 0.6) 0 1.6px, transparent 2.8px),
        radial-gradient(circle at 64% 70%, rgba(64, 201, 255, 0.6) 0 1.4px, transparent 2.8px),
        radial-gradient(circle at 20% 30%, rgba(255, 126, 31, 0.54) 0 1.2px, transparent 2.5px),
        radial-gradient(circle at 72% 24%, rgba(124, 255, 89, 0.54) 0 1.2px, transparent 2.6px),
        radial-gradient(circle at 90% 34%, rgba(255, 53, 94, 0.62) 0 1.7px, transparent 3px),
        radial-gradient(circle at 8% 42%, rgba(59, 120, 255, 0.56) 0 1.3px, transparent 2.6px);
}

.project-grid .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 77, 140, 0.3);
    box-shadow: 0 20px 34px rgba(36, 22, 48, 0.18);
}

.project-grid .project-card h3 {
    margin: 0 0 0.45rem;
    padding-right: 3rem;
    position: relative;
    z-index: 1;
}

.project-grid .project-card p {
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.project-grid .project-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.42rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 77, 140, 0.25);
    background: rgba(255, 255, 255, 0.86);
    color: #603f6d;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.project-grid .project-card a:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 1);
}

.project-mini-logo {
    position: absolute;
    right: 0.8rem;
    top: 0.75rem;
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
}

.project-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    background: transparent;
    display: block;
}

.cta-minimal {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.entry-card,
.entry-single {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem;
}

.entry-single.entry-single-bare {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.entry-page-header {
    margin: 0 0 var(--entry-head-gap);
}

.entry-page-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.entry-page-header .entry-meta {
    margin-top: 0.5rem;
}

body.page-id-20 .entry-single,
body.page-id-22 .entry-single,
body.page-id-3 .entry-single,
body.privacy-policy .entry-single {
    background:
        radial-gradient(circle at 86% 14%, rgba(242, 107, 82, 0.1), transparent 45%),
        radial-gradient(circle at 10% 82%, rgba(154, 77, 140, 0.11), transparent 50%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
    border-color: rgba(131, 97, 143, 0.28);
    box-shadow: 0 20px 42px rgba(43, 28, 56, 0.16);
    backdrop-filter: blur(8px) saturate(1.04);
    -webkit-backdrop-filter: blur(8px) saturate(1.04);
}

/* Case pages (Lockerbot Udo, 3Delicious) */
body.is-case-page .content-single {
    max-width: 1040px;
}

body.is-case-page .entry-page-header {
    margin: 0 0 1.35rem;
}

body.is-case-page .entry-page-title {
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
}

body.is-case-page .entry-single {
    padding: clamp(1.25rem, 3.2vw, 2.15rem);
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 12%, rgba(242, 107, 82, 0.18), transparent 52%),
        radial-gradient(circle at 12% 86%, rgba(154, 77, 140, 0.18), transparent 54%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
    border-color: rgba(131, 97, 143, 0.28);
    box-shadow: 0 24px 58px rgba(36, 22, 48, 0.16);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px) saturate(1.06);
    -webkit-backdrop-filter: blur(10px) saturate(1.06);
}

body.is-case-page .entry-single::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 74, 0, 0.52) 0 1.7px, transparent 3px),
        radial-gradient(circle at 82% 30%, rgba(255, 38, 119, 0.48) 0 1.4px, transparent 3px),
        radial-gradient(circle at 72% 14%, rgba(122, 46, 255, 0.42) 0 1.3px, transparent 3px),
        radial-gradient(circle at 18% 82%, rgba(0, 199, 255, 0.44) 0 1.7px, transparent 3px),
        radial-gradient(circle at 24% 90%, rgba(0, 224, 151, 0.42) 0 1.2px, transparent 3px),
        radial-gradient(circle at 36% 88%, rgba(255, 208, 0, 0.45) 0 1.1px, transparent 3px),
        radial-gradient(circle at 54% 62%, rgba(255, 94, 58, 0.44) 0 1.6px, transparent 3px),
        radial-gradient(circle at 62% 70%, rgba(226, 86, 255, 0.38) 0 1.1px, transparent 3px),
        radial-gradient(circle at 46% 48%, rgba(64, 201, 255, 0.36) 0 1.0px, transparent 3px);
}

body.is-case-page .entry-content {
    position: relative;
    z-index: 1;
    color: rgba(20, 18, 24, 0.84);
    font-size: 1.05rem;
    line-height: 1.75;
}

body.is-case-page .entry-content > p:first-of-type {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(20, 18, 24, 0.78);
}

body.is-case-page .entry-content p {
    margin: 0 0 1.05rem;
}

body.is-case-page .entry-content a {
    color: #6a2d73;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.is-case-page .entry-content a:hover {
    color: var(--accent);
}

body.is-case-page .entry-content h2 {
    margin: 2.2rem 0 0.65rem;
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    letter-spacing: -0.02em;
    color: rgba(20, 18, 24, 0.92);
}

body.is-case-page .entry-content h2::after {
    content: '';
    display: block;
    height: 1px;
    width: min(160px, 40%);
    margin-top: 0.65rem;
    background: linear-gradient(90deg, rgba(242, 107, 82, 0.62), rgba(154, 77, 140, 0.38), transparent);
}

body.is-case-page .entry-content h3 {
    margin: 1.6rem 0 0.35rem;
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    letter-spacing: -0.01em;
    color: rgba(20, 18, 24, 0.9);
}

body.is-case-page .entry-content ul,
body.is-case-page .entry-content ol {
    margin: 0.6rem 0 1.15rem;
    padding-left: 1.2rem;
}

body.is-case-page .entry-content li {
    margin: 0.32rem 0;
}

body.is-case-page .entry-content figure,
body.is-case-page .entry-content .wp-block-image,
body.is-case-page .entry-content .wp-block-gallery {
    margin: 1.25rem 0 1.35rem;
}

body.is-case-page .entry-content .wp-block-gallery {
    gap: 0.9rem;
}

body.is-case-page .entry-content figure img,
body.is-case-page .entry-content .wp-block-image img,
body.is-case-page .entry-content .wp-block-gallery img,
body.is-case-page .entry-content .wp-block-video video,
body.is-case-page .entry-content .wp-block-embed iframe,
body.is-case-page .entry-content iframe {
    border-radius: 22px;
    border: 1px solid rgba(20, 18, 24, 0.12);
    box-shadow: 0 20px 48px rgba(44, 27, 56, 0.12);
}

body.is-case-page .entry-content iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

body.is-case-page .entry-content .wp-block-columns {
    gap: clamp(1rem, 2.8vw, 1.9rem);
    align-items: flex-start;
}

body.is-case-page .entry-content .wp-block-button__link {
    border-radius: 999px;
    padding: 0.62rem 1.05rem;
    background: linear-gradient(120deg, var(--accent) 0%, #ff9575 52%, var(--accent-2) 100%);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(154, 77, 140, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    transition: transform 0.15s ease, filter 0.15s ease;
}

body.is-case-page .entry-content .wp-block-button__link:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

@media (max-width: 640px) {
    body.is-case-page .entry-single {
        padding: 1.05rem;
        border-radius: 22px;
    }
}

/* Invitation RSVP (Dolff Einladung RSVP plugin) */
.dsirv-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: min(560px, calc(100vh - 260px));
    position: relative;
    z-index: 2;
}

.dsirv-box {
    width: min(760px, 92vw);
    padding: clamp(1.1rem, 3vw, 1.75rem);
    border-radius: 26px;
    border: 1px solid rgba(20, 18, 24, 0.14);
    background:
        radial-gradient(circle at 84% 14%, rgba(242, 107, 82, 0.16), transparent 55%),
        radial-gradient(circle at 12% 86%, rgba(154, 77, 140, 0.16), transparent 56%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    box-shadow: 0 22px 52px rgba(36, 22, 48, 0.16);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px) saturate(1.04);
    -webkit-backdrop-filter: blur(10px) saturate(1.04);
}

.dsirv-box::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.92;
    background:
        radial-gradient(circle at 92% 18%, rgba(255, 74, 0, 0.65) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 28%, rgba(255, 38, 119, 0.6) 0 1.7px, transparent 3px),
        radial-gradient(circle at 76% 16%, rgba(122, 46, 255, 0.56) 0 1.6px, transparent 3px),
        radial-gradient(circle at 18% 82%, rgba(0, 199, 255, 0.56) 0 2px, transparent 3px),
        radial-gradient(circle at 22% 90%, rgba(0, 224, 151, 0.52) 0 1.5px, transparent 3px),
        radial-gradient(circle at 34% 88%, rgba(255, 208, 0, 0.54) 0 1.4px, transparent 3px),
        radial-gradient(circle at 56% 62%, rgba(255, 94, 58, 0.55) 0 2px, transparent 3px),
        radial-gradient(circle at 62% 70%, rgba(226, 86, 255, 0.48) 0 1.4px, transparent 3px),
        radial-gradient(circle at 46% 48%, rgba(64, 201, 255, 0.46) 0 1.3px, transparent 3px);
}

.dsirv-box::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 42%);
    opacity: 0.65;
}

.dsirv-box > * {
    position: relative;
    z-index: 1;
}

.dsirv-kicker {
    margin: 0 0 0.55rem;
    display: inline-flex;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 77, 140, 0.22);
    background: rgba(255, 255, 255, 0.78);
    color: rgba(88, 64, 102, 0.9);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dsirv-title {
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 4.6vw, 2.85rem);
    letter-spacing: -0.02em;
    line-height: 1.02;
}

.dsirv-copy {
    margin: 0 0 1.05rem;
    color: var(--text-soft);
    max-width: 66ch;
}

.dsirv-notice {
    margin: 0 0 1rem;
    padding: 0.72rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 160, 120, 0.22);
    background: rgba(0, 160, 120, 0.09);
    color: rgba(10, 82, 60, 0.96);
    font-weight: 700;
}

.dsirv-notice.is-muted {
    border-color: rgba(154, 77, 140, 0.22);
    background: rgba(154, 77, 140, 0.08);
    color: rgba(64, 41, 78, 0.92);
}

.dsirv-notice.is-error {
    border-color: rgba(204, 48, 48, 0.24);
    background: rgba(204, 48, 48, 0.08);
    color: rgba(120, 24, 24, 0.95);
}

.dsirv-form {
    display: grid;
    gap: 0.95rem;
    margin-top: 0.35rem;
}

.dsirv-field {
    display: grid;
    gap: 0.45rem;
}

.dsirv-fieldset {
    margin: 0;
    padding: 0.15rem 0 0;
    border: 0;
    display: grid;
    gap: 0.6rem;
}

.dsirv-label {
    font-weight: 900;
    letter-spacing: -0.01em;
}

.dsirv-field input[type='text'],
.dsirv-field input[type='email'],
.dsirv-field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(20, 18, 24, 0.18);
    padding: 0.62rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dsirv-field textarea {
    resize: vertical;
    min-height: 120px;
}

.dsirv-field input:focus,
.dsirv-field textarea:focus {
    border-color: rgba(154, 77, 140, 0.4);
    box-shadow: 0 0 0 4px rgba(154, 77, 140, 0.12);
    transform: translateY(-1px);
}

.dsirv-events {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(154, 77, 140, 0.2);
    background: rgba(255, 255, 255, 0.62);
}

.dsirv-check {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(57, 45, 70, 0.92);
    font-weight: 750;
}

.dsirv-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-2);
}

.dsirv-help {
    margin: 0.2rem 0 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.dsirv-submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    border: 0;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.01em;
    cursor: pointer;
    background: linear-gradient(120deg, var(--accent) 0%, #ff9575 52%, var(--accent-2) 100%);
    box-shadow: 0 12px 24px rgba(154, 77, 140, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.dsirv-submit:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
    box-shadow: 0 16px 28px rgba(154, 77, 140, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.dsirv-submit:active {
    transform: translateY(-1px);
}

.dsirv-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dsirv-hearts {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 82px;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.dsirv-heart {
    position: absolute;
    left: var(--x, 50%);
    top: -16vh;
    font-size: var(--size, 16px);
    opacity: var(--alpha, 0.6);
    color: var(--color, rgba(242, 107, 82, 0.85));
    animation: dsirvHeartFall var(--dur, 7s) linear var(--delay, 0s) infinite;
    filter: drop-shadow(0 10px 14px rgba(86, 46, 108, 0.16));
    will-change: transform;
}

.dsirv-heart-inner {
    display: block;
    animation: dsirvHeartSway var(--swayDur, 2s) ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes dsirvHeartFall {
    from {
        transform: translate3d(0, -12vh, 0) rotate(0deg);
    }
    to {
        transform: translate3d(var(--drift, 0px), 112vh, 0) rotate(var(--rot, 320deg));
    }
}

@keyframes dsirvHeartSway {
    from {
        transform: translateX(calc(var(--sway, 12px) * -1));
    }
    to {
        transform: translateX(var(--sway, 12px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .dsirv-hearts {
        display: none;
    }
}

.dsirv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.dsirv-404-big {
    position: absolute;
    right: 1rem;
    bottom: -0.35rem;
    font-size: clamp(4.6rem, 11vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(20, 18, 24, 0.08);
    pointer-events: none;
    z-index: 0;
}

.dsirv-404::before {
    opacity: 0.75;
}

.dsirv-404::after {
    opacity: 0.7;
}

.dsirv-404 .dsirv-title {
    margin-bottom: 0.75rem;
}

.dsirv-404::selection {
    background: rgba(242, 107, 82, 0.2);
}

@media (max-width: 520px) {
    .dsirv-stage {
        min-height: unset;
    }
}

/* Work page: horizontal project rail */
body.page-work .content-single,
body.page-id-185 .content-single {
    max-width: var(--container);
}

body.page-work .entry-single,
body.page-id-185 .entry-single {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body.page-work .entry-content,
body.page-id-185 .entry-content {
    overflow: visible;
}

body.page-work .entry-page-header,
body.page-id-185 .entry-page-header {
    margin: 0 0 0.35rem;
}

body.page-work .work-title-row,
body.page-id-185 .work-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.95rem, 2.8vw, 1.8rem);
    flex-wrap: wrap;
    text-align: left;
    width: 100%;
}

body.page-work .work-title-row .entry-page-title,
body.page-id-185 .work-title-row .entry-page-title {
    text-align: left;
}

body.page-work .work-signature-strip,
body.page-id-185 .work-signature-strip {
    display: none !important;
}

body.page-work .work-intro,
body.page-id-185 .work-intro {
    margin: 0.75rem 0 0.35rem;
    max-width: 84ch;
    font-size: clamp(0.98rem, 1.15vw, 1.06rem);
    line-height: 1.55;
    color: rgba(63, 50, 74, 0.86);
    padding-left: 0.9rem;
    border-left: 2px solid rgba(154, 77, 140, 0.22);
    text-wrap: pretty;
}

body.page-work .work-signature-strip,
body.page-id-185 .work-signature-strip {
    margin: -0.35rem 0 0.8rem;
    display: flex;
    justify-content: center;
    overflow: visible;
}

body.page-work .work-signature-strip.is-inline,
body.page-id-185 .work-signature-strip.is-inline {
    margin: 0;
}

body.page-work .work-signature,
body.page-id-185 .work-signature {
    display: inline-block;
    margin: 0;
    min-height: 1.38em;
    font-family: 'Great Vibes', 'Caveat', cursive;
    font-size: clamp(2.35rem, 6.2vw, 3.85rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #7f2b6d, #d5553f 58%, #f5a64a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding: 0.08em 0.16em 0 0;
    overflow: visible;
}

body.page-work .work-signature-strip.is-inline .work-signature,
body.page-id-185 .work-signature-strip.is-inline .work-signature {
    min-height: 1.08em;
    font-size: clamp(1.85rem, 4.5vw, 2.55rem);
    line-height: 1.14;
    padding: 0.14em 0.16em 0.08em 0;
}

body.page-work .work-signature::after,
body.page-id-185 .work-signature::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0.14em;
    width: 0.06em;
    height: 0.9em;
    border-radius: 999px;
    background: rgba(126, 63, 119, 0.7);
    animation: signatureBlink 0.85s steps(1) infinite;
}

body.page-work .work-signature.is-complete::after,
body.page-id-185 .work-signature.is-complete::after {
    animation: none;
    opacity: 0;
}

body.page-work .work-meta-strip,
body.page-id-185 .work-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0 0 1rem;
}

body.page-work .work-meta-card,
body.page-id-185 .work-meta-card {
    margin: 0;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(145, 118, 158, 0.18);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(249, 241, 252, 0.92));
    box-shadow: 0 10px 20px rgba(50, 31, 62, 0.08);
}

body.page-work .work-meta-card span,
body.page-id-185 .work-meta-card span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #866f92;
}

body.page-work .work-meta-card strong,
body.page-id-185 .work-meta-card strong {
    display: block;
    margin-top: 0.2rem;
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    line-height: 1.15;
    color: #2c2133;
}

body.page-work .work-rail-wrap,
body.page-id-185 .work-rail-wrap {
    position: relative;
    margin: 0;
    padding: 0 0 0.95rem;
}

body.page-work .work-rail,
body.page-id-185 .work-rail {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 1.1rem;
    overflow: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--rail-edge-pad, 0.1rem);
    scroll-padding-right: var(--rail-edge-pad, 0.1rem);
    margin: 0;
    padding: 0.35rem var(--rail-edge-pad, 0.1rem) 0.8rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

body.page-work .work-rail.is-swarm,
body.page-id-185 .work-rail.is-swarm {
    display: block !important;
    position: relative;
    height: clamp(520px, 70vh, 920px);
    padding: 0;
    overflow: hidden;
    scroll-snap-type: none;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    cursor: default;
    touch-action: pan-y;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.page-work .work-rail.is-coverflow,
body.page-id-185 .work-rail.is-coverflow {
    display: block !important;
    position: relative;
    height: clamp(430px, 54vh, 740px);
    padding: 0;
    overflow: hidden;
    scroll-snap-type: none;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    cursor: default;
    touch-action: pan-y;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    perspective: calc(var(--cf-persp, 1400) * 1px);
    perspective-origin: 50% var(--cf-center-y, 50%);
    transform-style: preserve-3d;
}

body.page-work .work-coverflow-wrap,
body.page-id-185 .work-coverflow-wrap {
    margin-top: -0.85rem;
    padding-bottom: 0.2rem;
}

body.page-work .work-coverflow-wrap .work-palette-btn,
body.page-id-185 .work-coverflow-wrap .work-palette-btn {
    transform: translateY(-2cm);
}

body.page-work .work-rail::-webkit-scrollbar,
body.page-id-185 .work-rail::-webkit-scrollbar {
    display: none;
    height: 0;
}

body.page-work .work-tile,
body.page-id-185 .work-tile {
    position: relative;
    margin: 0;
    flex: 0 0 clamp(235px, 27vw, 335px);
    width: clamp(235px, 27vw, 335px) !important;
    max-width: clamp(235px, 27vw, 335px) !important;
    scroll-snap-align: center;
    --tile-tilt: 0deg;
    --tile-tilt-x: 0deg;
    --tile-lift: 0px;
    --tile-scale: 0.96;
}

body.page-work .work-rail.is-swarm .work-tile,
body.page-id-185 .work-rail.is-swarm .work-tile {
    position: absolute;
    left: var(--swarm-x, 50%);
    top: var(--swarm-y, 50%);
    transform: translate(-50%, -50%) rotate(var(--swarm-rot, 0deg)) scale(var(--swarm-scale, 1));
    opacity: 1;
    filter: blur(var(--swarm-blur, 0px));
    z-index: var(--swarm-z, 1);
    flex: 0 0 auto;
    width: clamp(170px, 17vw, 250px) !important;
    max-width: clamp(170px, 17vw, 250px) !important;
    scroll-snap-align: none;
    --tile-scale: 1;
    will-change: transform;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

body.page-work .work-rail.is-coverflow .work-tile,
body.page-id-185 .work-rail.is-coverflow .work-tile {
    position: absolute;
    left: 50%;
    top: var(--cf-center-y, 50%);
    transform:
        translate3d(var(--cf-x, 0px), 0, var(--cf-z, 0px))
        rotateY(var(--cf-ry, 0deg))
        scale(var(--cf-scale, 1))
        translate3d(-50%, -50%, 0);
    opacity: var(--cf-opacity, 1);
    filter: blur(var(--cf-blur, 0px));
    z-index: var(--cf-z-index, 1);
    flex: 0 0 auto;
    width: clamp(235px, 26vw, 340px) !important;
    max-width: clamp(235px, 26vw, 340px) !important;
    scroll-snap-align: none;
    --tile-depth: clamp(12px, 1.6vw, 24px);
    --tile-scale: 1;
    --tile-lift: 0px;
    --tile-tilt: 0deg;
    --tile-tilt-x: 0deg;
    transform-origin: 50% 50%;
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
    transition: transform 0.72s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.32s ease, filter 0.32s ease;
}

body.page-work .work-rail.is-coverflow .work-tile::before,
body.page-id-185 .work-rail.is-coverflow .work-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 20%, rgba(245, 166, 74, 0.22), transparent 55%),
        radial-gradient(circle at 78% 85%, rgba(242, 107, 82, 0.18), transparent 58%),
        linear-gradient(155deg, rgba(154, 77, 140, 0.16), rgba(255, 255, 255, 0));
    border: 1px solid rgba(146, 119, 160, 0.16);
    transform: translate3d(calc(var(--tile-depth) * 0.8), calc(var(--tile-depth) * 0.8), -1px);
    z-index: 0;
    pointer-events: none;
}

body.page-work .work-rail.is-coverflow .work-tile.is-filtered-out,
body.page-id-185 .work-rail.is-coverflow .work-tile.is-filtered-out {
    pointer-events: none;
    opacity: 0;
}

body.page-work .work-rail.is-swarm .work-tile.is-filtered-out,
body.page-id-185 .work-rail.is-swarm .work-tile.is-filtered-out {
    pointer-events: none;
    opacity: 0.14;
}

body.page-work .work-rail.is-swarm .work-tile.is-grabbed,
body.page-id-185 .work-rail.is-swarm .work-tile.is-grabbed {
    position: fixed;
    left: var(--grab-x, 50vw);
    top: var(--grab-y, 50vh);
    transform: translate(-50%, -50%) scale(1.08);
    z-index: 240;
    opacity: 1;
    filter: none;
    pointer-events: none;
}

body.page-work .work-rail.is-swarm .work-tile.is-grabbed img,
body.page-id-185 .work-rail.is-swarm .work-tile.is-grabbed img {
    box-shadow: none;
    border-color: rgba(242, 107, 82, 0.35);
}

body.work-grab-active {
    cursor: grabbing;
}

body.page-work .work-grab-hint,
body.page-id-185 .work-grab-hint {
    position: absolute;
    left: 0.95rem;
    bottom: 0.95rem;
    z-index: 44;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.46rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(146, 119, 160, 0.22);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 34px rgba(45, 28, 56, 0.12);
    color: rgba(79, 54, 97, 0.92);
    font-size: 0.88rem;
    line-height: 1.2;
    pointer-events: none;
}

body.page-work .work-coverflow-wrap .work-grab-hint,
body.page-id-185 .work-coverflow-wrap .work-grab-hint {
    bottom: auto;
}

body.page-work .work-coverflow-wrap .work-grab-hint:not(.is-inline),
body.page-id-185 .work-coverflow-wrap .work-grab-hint:not(.is-inline) {
    top: calc(var(--cf-center-y, 220px) + (var(--cf-tile, 280px) / 2) + 0.48rem + 1cm);
}

body.page-work .work-grab-hint.is-inline,
body.page-id-185 .work-grab-hint.is-inline {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: 10;
    margin-left: auto;
    padding: 0.38rem 0.62rem;
    font-size: 0.84rem;
    opacity: 0.92;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
}

body.page-work .work-grab-hint-dot,
body.page-id-185 .work-grab-hint-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f26b52, #94487f 55%, #f5a64a);
    box-shadow: 0 10px 18px rgba(242, 107, 82, 0.2);
    flex: 0 0 auto;
}

body.page-work .work-grab-hint kbd,
body.page-id-185 .work-grab-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55em;
    height: 1.55em;
    padding: 0 0.32em;
    border-radius: 8px;
    border: 1px solid rgba(131, 97, 143, 0.22);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    font-weight: 800;
    color: rgba(45, 28, 56, 0.86);
    margin-left: 0.14em;
}

body.page-work .work-grab-hint.is-active,
body.page-id-185 .work-grab-hint.is-active {
    border-color: rgba(242, 107, 82, 0.28);
}

body.page-work .work-rail > .wp-block-image,
body.page-id-185 .work-rail > .wp-block-image {
    margin: 0 !important;
}

body.page-work .work-tile figcaption,
body.page-id-185 .work-tile figcaption {
    display: none !important;
}

body.page-work .work-tile > a,
body.page-work .work-tile > img,
body.page-id-185 .work-tile > a,
body.page-id-185 .work-tile > img {
    display: block;
    text-decoration: none;
}

body.page-work .work-tile > a,
body.page-id-185 .work-tile > a {
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body.page-work .work-tile > a::before,
body.page-id-185 .work-tile > a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    opacity: 0.72;
    z-index: 2;
}

body.page-work .work-tile > a::after,
body.page-id-185 .work-tile > a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        420px 260px at var(--spec-x, 50%) var(--spec-y, 22%),
        rgba(255, 255, 255, 0.62),
        rgba(255, 255, 255, 0) 62%
    );
    mix-blend-mode: overlay;
    transition: opacity 0.18s ease;
    z-index: 3;
}

body.page-work .work-tile:hover > a::after,
body.page-work .work-tile:focus-within > a::after,
body.page-work .work-tile.is-active > a::after,
body.page-id-185 .work-tile:hover > a::after,
body.page-id-185 .work-tile:focus-within > a::after,
body.page-id-185 .work-tile.is-active > a::after {
    opacity: 0.62;
}

body.page-work .work-tile > a img,
body.page-id-185 .work-tile > a img {
    border-radius: 26px;
}

body.page-work .work-tile.has-link > a,
body.page-work .work-tile.has-link > a img,
body.page-id-185 .work-tile.has-link > a,
body.page-id-185 .work-tile.has-link > a img {
    cursor: pointer;
}

body.page-work .work-tile.no-link > a,
body.page-work .work-tile.no-link > a img,
body.page-work .work-tile.no-link > img,
body.page-id-185 .work-tile.no-link > a,
body.page-id-185 .work-tile.no-link > a img,
body.page-id-185 .work-tile.no-link > img {
    cursor: default;
}

body.page-work .work-tile.no-link > a,
body.page-id-185 .work-tile.no-link > a {
    pointer-events: none;
}

body.page-work .work-tile img,
body.page-id-185 .work-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 22px;
    border: 1px solid rgba(20, 18, 24, 0.11);
    box-shadow: none;
    background: linear-gradient(140deg, #fff 0%, #fbf5ff 100%);
    padding: 0;
    transform-origin: center center;
    transform: perspective(1100px) rotateX(var(--tile-tilt-x)) rotateY(var(--tile-tilt)) translateY(var(--tile-lift)) scale(var(--tile-scale));
    transition: transform 0.26s ease, border-color 0.26s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

body.page-work .work-tile::before,
body.page-id-185 .work-tile::before {
    content: none;
}

body.page-work .work-tile.is-active img,
body.page-id-185 .work-tile.is-active img {
    border-color: rgba(154, 77, 140, 0.42);
    box-shadow: none;
}

body.page-work.work-pointer-moving .work-tile:hover,
body.page-work.work-pointer-moving .work-tile:focus-within,
body.page-id-185.work-pointer-moving .work-tile:hover,
body.page-id-185.work-pointer-moving .work-tile:focus-within {
    --tile-tilt-x: 20deg;
}

body.page-work .work-rail-nav,
body.page-id-185 .work-rail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(154, 77, 140, 0.33);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(249, 240, 252, 0.95));
    box-shadow: 0 14px 28px rgba(53, 30, 70, 0.18);
    color: #5c3d68;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    z-index: 30;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

body.page-work .work-rail-nav span,
body.page-id-185 .work-rail-nav span {
    font-size: 1.65rem;
    line-height: 1;
    transform: translateY(-1px);
}

body.page-work .work-rail-nav:hover,
body.page-id-185 .work-rail-nav:hover {
    transform: translateY(-50%) scale(1.07);
    box-shadow: 0 18px 34px rgba(53, 30, 70, 0.24);
    border-color: rgba(154, 77, 140, 0.44);
}

body.page-work .work-rail-nav.prev,
body.page-id-185 .work-rail-nav.prev {
    left: -0.45rem;
}

body.page-work .work-rail-nav.next,
body.page-id-185 .work-rail-nav.next {
    right: -0.45rem;
}

body.page-work .work-swarm-wrap .work-rail-nav,
body.page-id-185 .work-swarm-wrap .work-rail-nav {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(10px);
    border-color: rgba(154, 77, 140, 0.26);
    box-shadow: 0 18px 34px rgba(53, 30, 70, 0.16);
}

body.page-work .work-swarm-wrap .work-rail-nav.prev,
body.page-id-185 .work-swarm-wrap .work-rail-nav.prev {
    left: 0.75rem;
}

body.page-work .work-swarm-wrap .work-rail-nav.next,
body.page-id-185 .work-swarm-wrap .work-rail-nav.next {
    right: 0.75rem;
}

body.page-work .work-rail-nav,
body.page-id-185 .work-rail-nav {
    display: none !important;
}

body.page-work.work-palette-open,
body.page-id-185.work-palette-open {
    overflow: hidden;
}

body.work-palette-open .site-header {
    z-index: 1;
    pointer-events: none;
}

body.page-work .work-palette-btn,
body.page-id-185 .work-palette-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 180;
    border-radius: 999px;
    border: 1px solid rgba(146, 119, 160, 0.28);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 30px rgba(45, 28, 56, 0.12);
    padding: 0.42rem 0.78rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.1;
    color: #4f3661;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    -webkit-tap-highlight-color: transparent;
}

body.page-work .work-palette-btn.is-inline,
body.page-id-185 .work-palette-btn.is-inline {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    z-index: 10;
    align-self: center;
}

body.page-work .work-palette-btn-icon,
body.page-id-185 .work-palette-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

body.page-work .work-palette-btn-kbd,
body.page-id-185 .work-palette-btn-kbd {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(79, 54, 97, 0.62);
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(146, 119, 160, 0.22);
    background: rgba(255, 255, 255, 0.7);
}

body.page-work .work-palette,
body.page-id-185 .work-palette {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

body.page-work .work-palette.is-open,
body.page-id-185 .work-palette.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.page-work .work-palette-backdrop,
body.page-id-185 .work-palette-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 251, 255, 0.7);
    backdrop-filter: blur(12px);
}

body.page-work .work-palette-panel,
body.page-id-185 .work-palette-panel {
    position: relative;
    z-index: 1;
    width: min(660px, 92vw);
    max-height: min(80vh, 560px);
    overflow: auto;
    border-radius: 26px;
    border: 1px solid rgba(131, 97, 143, 0.22);
    background:
        radial-gradient(circle at 88% 14%, rgba(242, 107, 82, 0.12), transparent 48%),
        radial-gradient(circle at 12% 78%, rgba(154, 77, 140, 0.14), transparent 55%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 253, 0.96));
    box-shadow: 0 30px 58px rgba(42, 26, 53, 0.25);
    padding: 0.95rem 0.95rem 0.8rem;
}

body.page-work .work-palette-head,
body.page-id-185 .work-palette-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

body.page-work .work-palette-input,
body.page-id-185 .work-palette-input {
    flex: 1;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(131, 97, 143, 0.22);
    background: rgba(255, 255, 255, 0.86);
    padding: 0.62rem 0.72rem;
    font-size: 1rem;
    color: #1d1524;
    outline: none;
}

body.page-work .work-palette-input:focus,
body.page-id-185 .work-palette-input:focus {
    border-color: rgba(154, 77, 140, 0.45);
    box-shadow: 0 0 0 4px rgba(154, 77, 140, 0.12);
}

body.page-work .work-palette-clear,
body.page-work .work-palette-close,
body.page-id-185 .work-palette-clear,
body.page-id-185 .work-palette-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(131, 97, 143, 0.2);
    background: rgba(255, 255, 255, 0.84);
    color: #574868;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-work .work-palette-clear:hover,
body.page-work .work-palette-close:hover,
body.page-id-185 .work-palette-clear:hover,
body.page-id-185 .work-palette-close:hover {
    background: #fff;
}

body.page-work .work-palette-results,
body.page-id-185 .work-palette-results {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

body.page-work .work-palette-result,
body.page-id-185 .work-palette-result {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(131, 97, 143, 0.16);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.68rem 0.78rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    cursor: pointer;
    text-align: left;
}

body.page-work .work-palette-result.is-selected,
body.page-id-185 .work-palette-result.is-selected {
    border-color: rgba(154, 77, 140, 0.45);
    box-shadow: 0 18px 30px rgba(45, 28, 56, 0.12);
}

body.page-work .work-palette-result-title,
body.page-id-185 .work-palette-result-title {
    font-weight: 800;
    color: #201726;
}

body.page-work .work-palette-result-meta,
body.page-id-185 .work-palette-result-meta {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    color: rgba(90, 74, 105, 0.82);
    max-width: 62ch;
}

body.page-work .work-palette-empty,
body.page-id-185 .work-palette-empty {
    border-radius: 18px;
    border: 1px dashed rgba(131, 97, 143, 0.28);
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.68);
    color: rgba(90, 74, 105, 0.86);
    font-weight: 700;
}

body.page-work .work-palette-foot,
body.page-id-185 .work-palette-foot {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
}

body.page-work .work-palette-hint,
body.page-id-185 .work-palette-hint {
    font-size: 0.82rem;
    color: rgba(90, 74, 105, 0.78);
}

body.page-work .work-detail-panel,
body.page-id-185 .work-detail-panel {
    margin: 0.85rem 0 0;
    border-radius: 24px;
    border: 1px solid rgba(146, 119, 160, 0.2);
    background:
        radial-gradient(circle at 85% 20%, rgba(242, 107, 82, 0.11), transparent 45%),
        radial-gradient(circle at 18% 75%, rgba(104, 67, 160, 0.12), transparent 48%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(251, 245, 254, 0.95));
    box-shadow: 0 16px 30px rgba(45, 28, 56, 0.12);
    padding: 1rem 1.1rem 1.05rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

body.page-work .work-coverflow-wrap + .work-detail-panel,
body.page-id-185 .work-coverflow-wrap + .work-detail-panel {
    margin-top: calc(
        var(--cf-center-y, 220px) + (var(--cf-tile, 280px) / 2) + 0.55rem - var(--cf-stage-h, 430px) - 0.2rem + 3cm
    );
}

body.page-work .work-detail-panel.is-swap,
body.page-id-185 .work-detail-panel.is-swap {
    transform: translateY(-2px);
    border-color: rgba(242, 107, 82, 0.28);
}

body.page-work .work-detail-top,
body.page-id-185 .work-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

body.page-work .work-detail-kicker,
body.page-id-185 .work-detail-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #886d96;
    font-weight: 700;
}

body.page-work .work-detail-count,
body.page-id-185 .work-detail-count {
    font-size: 0.86rem;
    color: #5d4a69;
    font-weight: 700;
}

body.page-work .work-detail-title,
body.page-id-185 .work-detail-title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.22rem, 2.3vw, 1.56rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #19131f;
}

body.page-work .work-detail-text,
body.page-id-185 .work-detail-text {
    margin: 0.5rem 0 0;
    font-size: 0.98rem;
    line-height: 1.52;
    white-space: pre-line;
    color: #4f4458;
    max-width: 62ch;
}

body.page-work .work-detail-bottom,
body.page-id-185 .work-detail-bottom {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

body.page-work .work-detail-link,
body.page-id-185 .work-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    border-radius: 999px;
    border: 1px solid rgba(145, 118, 158, 0.35);
    background: rgba(255, 255, 255, 0.84);
    color: #4f3661;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.42rem 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-work .work-detail-link[hidden],
body.page-id-185 .work-detail-link[hidden] {
    display: none !important;
}

body.page-work .work-detail-link:hover,
body.page-id-185 .work-detail-link:hover {
    transform: translateY(-1px);
    border-color: rgba(145, 118, 158, 0.55);
    box-shadow: 0 9px 18px rgba(53, 31, 68, 0.16);
}

body.page-work .work-dots,
body.page-id-185 .work-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

body.page-work .work-dot,
body.page-id-185 .work-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(151, 126, 166, 0.35);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

body.page-work .work-dot.is-active,
body.page-id-185 .work-dot.is-active {
    background: linear-gradient(135deg, #f26b52, #94487f);
    transform: scale(1.24);
}

body.page-work .work-quote,
body.page-id-185 .work-quote {
    margin: 1.45rem 0 0.45rem;
    text-align: center;
    color: #5b3f67;
}

body.page-work .work-quote-text,
body.page-id-185 .work-quote-text {
    display: block;
    font-family: 'Great Vibes', 'Caveat', cursive;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.06;
}

body.page-work .work-quote-author,
body.page-id-185 .work-quote-author {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    letter-spacing: 0.02em;
    color: #6f5a7b;
    font-weight: 600;
}

@keyframes railGlow {
    0% {
        transform: translateY(0) scale(0.96);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-8px) scale(1.03);
        opacity: 0.52;
    }
    100% {
        transform: translateY(0) scale(0.96);
        opacity: 0.35;
    }
}

@keyframes signatureBlink {
    0%,
    45% {
        opacity: 1;
    }
    46%,
    100% {
        opacity: 0;
    }
}

.stack {
    display: grid;
    gap: 0.8rem;
}

.post-list {
    display: grid;
    gap: 1rem;
}

.content-single {
    max-width: 900px;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 251, 255, 0.93);
}

.footer-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.footer-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-link-btn,
.back-top {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 0.42rem 0.9rem;
    cursor: pointer;
    font-weight: 700;
    color: #5b4f66;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.1;
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sticky-cta-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 251, 255, 0.98);
    border-top: 1px solid var(--line);
    z-index: 60;
    display: none;
}

.sticky-cta-mobile .btn {
    width: 100%;
}

body.consent-open {
    overflow: hidden;
}

.consent-manager {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 1.1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.46s ease;
}

.consent-manager[hidden] {
    display: none !important;
}

.consent-manager.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 11, 21, 0.48);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.46s ease;
}

.consent-manager.is-visible .consent-overlay {
    opacity: 1;
}

.consent-panel {
    position: relative;
    z-index: 1;
    width: min(640px, 95vw);
    max-height: min(88vh, 820px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    border-radius: 26px;
    border: 1px solid rgba(131, 97, 143, 0.24);
    background:
        radial-gradient(circle at 88% 14%, rgba(242, 107, 82, 0.12), transparent 48%),
        radial-gradient(circle at 12% 78%, rgba(154, 77, 140, 0.14), transparent 55%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 253, 0.96));
    box-shadow: 0 30px 58px rgba(42, 26, 53, 0.3);
    padding: 1.2rem 1.2rem 1.1rem;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.46s ease;
}

.consent-manager.is-visible .consent-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.consent-close-btn {
    position: absolute;
    top: 0.62rem;
    right: 0.62rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(131, 97, 143, 0.24);
    background: rgba(255, 255, 255, 0.9);
    color: #574868;
    font-size: 1.28rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.consent-close-btn:hover {
    background: #fff;
}

.consent-kicker {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
    color: #7a6788;
}

.consent-panel h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    line-height: 1.04;
}

.consent-copy {
    margin: 0.6rem 0 0;
    color: #574d62;
    line-height: 1.5;
}

.consent-options {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
}

.consent-option {
    border: 1px solid rgba(131, 97, 143, 0.2);
    background: rgba(255, 255, 255, 0.74);
    border-radius: 16px;
    padding: 0.7rem 0.78rem;
}

.consent-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.consent-option strong {
    font-size: 1rem;
}

.consent-option input[type='checkbox'] {
    width: 19px;
    height: 19px;
    accent-color: #9a4d8c;
}

.consent-option-copy {
    display: block;
    margin-top: 0.35rem;
    color: #60566d;
    font-size: 0.9rem;
    line-height: 1.45;
}

.consent-option.is-required {
    border-style: dashed;
}

.consent-actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.consent-btn {
    border-radius: 999px;
    padding: 0.58rem 1.02rem;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid rgba(131, 97, 143, 0.32);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    color: #4f3d5d;
}

.consent-btn-ghost {
    background: rgba(255, 255, 255, 0.78);
}

.consent-btn-soft {
    background: rgba(255, 255, 255, 0.9);
}

.consent-btn-solid {
    border-color: rgba(131, 97, 143, 0.42);
    background: rgba(245, 237, 248, 0.96);
}

.consent-btn:hover {
    background: #fff;
}

.consent-details {
    margin-top: 0.75rem;
    border: 1px solid rgba(131, 97, 143, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.66);
    padding: 0.7rem 0.78rem;
}

.consent-details h3 {
    margin: 0;
    font-size: 0.92rem;
}

.consent-details ul {
    margin: 0.45rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.26rem;
}

.consent-details li {
    color: #564b61;
    font-size: 0.82rem;
    line-height: 1.45;
}

.consent-details p {
    margin: 0.5rem 0 0;
    color: #564b61;
    font-size: 0.81rem;
    line-height: 1.42;
}

.consent-details a {
    font-weight: 700;
}

.consent-footnote {
    margin: 0.7rem 0 0;
    font-size: 0.8rem;
    color: #6e617b;
}

.consent-embed-placeholder {
    border: 1px solid rgba(131, 97, 143, 0.26);
    border-radius: 14px;
    padding: 0.9rem 0.95rem;
    margin: 0 0 0.9rem;
    background:
        radial-gradient(circle at 94% 14%, rgba(242, 107, 82, 0.1), transparent 44%),
        radial-gradient(circle at 8% 86%, rgba(154, 77, 140, 0.12), transparent 48%),
        rgba(255, 255, 255, 0.76);
}

.consent-embed-placeholder p {
    margin: 0;
    color: #534965;
    line-height: 1.45;
}

.consent-placeholder-btn {
    margin-top: 0.62rem;
    border: 1px solid rgba(131, 97, 143, 0.34);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.48rem 0.84rem;
    font-weight: 700;
    color: #4f3d5d;
    cursor: pointer;
}

.consent-placeholder-btn:hover {
    background: #fff;
}

iframe.consent-blocked-iframe[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .consent-manager,
    .consent-overlay,
    .consent-panel {
        transition: none;
    }

    .consent-panel {
        transform: none;
    }
}

@media (max-width: 640px) {
    .consent-manager {
        place-items: start center;
        padding: 0.72rem;
        padding-bottom: calc(0.72rem + env(safe-area-inset-bottom));
    }

    .consent-panel {
        width: 100%;
        max-height: calc(100vh - 1.44rem - env(safe-area-inset-bottom));
        max-height: calc(100dvh - 1.44rem - env(safe-area-inset-bottom));
        padding: 0.9rem 0.82rem 0.88rem;
        border-radius: 20px;
    }

    .consent-actions {
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, 12px, 0) scale(1.04);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes ambientFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(7vw, -6vh, 0) scale(1.16);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (max-width: 980px) {
    .service-list,
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-work .work-rail,
    body.page-id-185 .work-rail {
        scroll-snap-type: x proximity;
    }

    body.page-work .work-tile,
    body.page-id-185 .work-tile {
        flex-basis: clamp(225px, 58vw, 310px);
        width: clamp(225px, 58vw, 310px) !important;
        max-width: clamp(225px, 58vw, 310px) !important;
    }

    body.page-work .work-rail-nav,
    body.page-id-185 .work-rail-nav {
        width: 44px;
        height: 44px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (hover: none) and (pointer: coarse) {
    body.page-work .work-rail,
    body.page-id-185 .work-rail {
        cursor: auto;
        scroll-snap-type: x proximity;
    }

    body.page-work .work-tile img,
    body.page-id-185 .work-tile img {
        transition: box-shadow 0.22s ease, border-color 0.22s ease;
    }

    body.page-work .work-tile::before,
    body.page-id-185 .work-tile::before {
        animation: none;
        opacity: 0.24;
    }
}

@media (max-width: 860px) {
    body.menu-open {
        overflow: hidden;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .header-logo-dust {
        width: 46px;
        min-width: 46px;
        height: calc(46px / var(--logo-ratio, 1.385));
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 86vw);
        height: 100vh;
        background: linear-gradient(180deg, #fffdff 0%, #f4ecfa 100%);
        border-left: 1px solid var(--line);
        padding: 6rem 1.3rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 110;
        pointer-events: none;
    }

    .main-nav .menu,
    .main-nav .menu-list,
    .main-nav div > ul {
        display: grid;
        gap: 0.7rem;
        align-items: start;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 0.3rem;
        font-size: 1.08rem;
    }

    body.menu-open .main-nav {
        transform: translateX(0);
        pointer-events: auto;
    }

    body.menu-open .menu-toggle {
        position: relative;
        z-index: 120;
    }

    body.menu-open .site-shell::before {
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 3.8rem;
    }
    
    .hero-logo-dust {
        width: min(170px, 38vw);
        top: 0.15rem;
        right: 0.5rem;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.3rem);
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 220px;
    }
}

@media (max-width: 640px) {
    .service-list,
    .process-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2.2rem 0;
    }

    .project-row {
        padding: 0.9rem 0;
    }

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

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 1rem 0;
    }

    body.page-work .work-rail-wrap,
    body.page-id-185 .work-rail-wrap {
        padding-bottom: 0.7rem;
    }

    body.page-work .work-meta-strip,
    body.page-id-185 .work-meta-strip {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-bottom: 0.75rem;
    }

    body.page-work .work-signature-strip,
    body.page-id-185 .work-signature-strip {
        margin: -0.22rem 0 0.58rem;
    }

    body.page-work .work-rail,
    body.page-id-185 .work-rail {
        gap: 0.8rem;
        padding-bottom: 0.55rem;
    }

    body.page-work .work-tile,
    body.page-id-185 .work-tile {
        flex-basis: 78vw;
        width: 78vw !important;
        max-width: 78vw !important;
    }

    body.page-work .work-rail-nav.prev,
    body.page-id-185 .work-rail-nav.prev {
        left: -0.2rem;
    }

    body.page-work .work-rail-nav.next,
    body.page-id-185 .work-rail-nav.next {
        right: -0.2rem;
    }

    body.page-work .work-detail-panel,
    body.page-id-185 .work-detail-panel {
        margin-top: 0.62rem;
        border-radius: 19px;
        padding: 0.85rem 0.85rem 0.92rem;
    }

    body.page-work .work-detail-text,
    body.page-id-185 .work-detail-text {
        font-size: 0.93rem;
    }

}

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
