:root {
    --cream: #F5F0E8;
    --ink: #1A1A1A;
    --red: #C73E1D;
    --deep-red: #9E2B0E;
    --blue: #2B4C7E;
    --light-blue: #3A6DB5;
    --gold: #D4A843;
    --sage: #5A8A60;
    --paper: #FDFAF4;
    --warm-gray: #8C857A;
    --light-gray: #E8E3DB;
    --medium-gray: #B8B2A6;
    --font-display: 'Playfair Display', Georgia, serif;
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
}

body.single-slide {
    font-family: var(--mono);
    overflow-x: hidden;
    min-height: 100vh;
}

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

.presentation.single-page {
    position: relative;
    min-height: 100vh;
}

.single-page-app .page-panel {
    display: none;
}

.single-page-app .page-panel.active {
    display: flex;
}

.slide {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 5rem;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-number {
    position: relative;
    z-index: 1;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--warm-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

h1,
h2 {
    position: relative;
    z-index: 1;
    font-family: var(--mono);
    line-height: 1.15;
    text-align: center;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    max-width: 900px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.4rem;
    font-weight: 700;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    text-align: left;
}

.code-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.code-rain span {
    position: absolute;
    top: -10vh;
    font-family: var(--mono);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(110vh);
    animation: float-code linear infinite;
    will-change: transform, opacity;
}

.code-rain.light {
    opacity: 0.06;
}

.code-rain.light span {
    color: var(--ink);
}

.code-rain.dark {
    opacity: 0.05;
}

.code-rain.dark span {
    color: var(--cream);
}

.code-rain.purple {
    opacity: 0.12;
}

.code-rain.purple span {
    color: #4a2a63;
}

@keyframes float-code {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(3deg); opacity: 0; }
}

.title-slide {
    background: var(--ink);
    color: var(--cream);
    text-align: center;
}

.landing-slide {
    background: var(--cream);
    color: var(--ink);
}

.landing-slide .slide-number {
    color: #6d577f;
}

.landing-slide h1 {
    color: var(--ink);
}

.landing-bullets {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    gap: 0.9rem;
    text-align: left;
}

.landing-bullets li {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.46);
    border: 1px solid rgba(74, 42, 99, 0.12);
    border-radius: 1rem;
    color: #3f3650;
    box-shadow: 0 10px 26px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-bullets li:hover {
    transform: translateX(5px);
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(0,0,0,0.07);
}

.landing-bullets li span:first-child {
    font-size: 1.1rem;
    line-height: 1.3;
}

.landing-workshops {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
}

.landing-workshops-label {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6d577f;
}

.landing-workshop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.78rem 1.05rem;
    border-radius: 999px;
    background: #4a2a63;
    color: var(--cream);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 26px rgba(74, 42, 99, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.landing-workshop-link:hover {
    transform: translateY(-1px);
    background: #38204d;
}

.title-slide .slide-number {
    color: var(--gold);
}

.title-slide h1 {
    color: var(--cream);
}

.hero-nav {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-nav a,
.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: var(--cream);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-nav a:hover,
.home-link:hover {
    background: var(--cream);
    color: var(--ink);
}

.landing-slide .hero-nav a {
    border-color: rgba(74, 42, 99, 0.18);
    background: rgba(255,255,255,0.45);
    color: #3e3050;
}

.landing-slide .hero-nav a:hover {
    background: #4a2a63;
    color: var(--cream);
}

.landing-header {
    position: absolute;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: min(1120px, calc(100vw - 2rem));
    pointer-events: auto;
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: rgba(253, 250, 244, 0.78);
    border: 1px solid rgba(74, 42, 99, 0.12);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 21;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.2rem 0.35rem;
    border-radius: 0.7rem;
    border: 1px solid transparent;
    background: transparent;
    color: #433455;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 1.2rem;
    line-height: 1;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.back-link:hover {
    border-color: rgba(74, 42, 99, 0.28);
    box-shadow: 0 0 0 3px rgba(74, 42, 99, 0.12);
    transform: translateX(-1px);
}

.landing-brand {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4a2a63;
    text-decoration: none;
}

.landing-brand:hover {
    color: #2f1844;
}

.landing-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.landing-nav a {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 42, 99, 0.14);
    background: rgba(255,255,255,0.52);
    color: #433455;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.landing-nav a:hover {
    background: #4a2a63;
    color: var(--cream);
}

.landing-nav a.active {
    background: #4a2a63;
    color: var(--cream);
}

body[data-page="home"] .back-link {
    opacity: 0;
    pointer-events: none;
}

.social-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.social-link:hover {
    color: #4a2a63;
    text-shadow: 0 0 12px rgba(74, 42, 99, 0.18);
}

.page-with-header {
    padding-top: 4.6rem;
}

.page-with-header-section {
    justify-content: flex-start;
    padding-top: 7.6rem;
    padding-bottom: 3rem;
}

.page-with-header-section .content,
.page-with-header-section h2 {
    margin-top: 0.2rem;
}

.page-with-header .slide {
    justify-content: flex-start;
    padding-top: 6.8rem;
}

.page-with-header .content,
.page-with-header .about-grid,
.page-with-header .project-grid,
.page-with-header .contact-grid {
    margin-top: 0.4rem;
}

.landing-slide {
    justify-content: flex-start;
    padding-top: 8.2rem;
}

.home-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 50;
}

.anim {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide.active .anim {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .anim.d1 { transition-delay: 0.08s; }
.slide.active .anim.d2 { transition-delay: 0.18s; }
.slide.active .anim.d3 { transition-delay: 0.3s; }
.slide.active .anim.d4 { transition-delay: 0.42s; }
.slide.active .anim.d5 { transition-delay: 0.55s; }

.about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 6rem;
    align-items: start;
    max-width: 1050px;
    width: 100%;
}

.team-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.4rem;
    width: min(1120px, 100%);
}

.about-photo-wrapper {
    position: relative;
    width: 280px;
    height: 360px;
}

.about-photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 2px solid var(--ink);
    overflow: hidden;
    background: var(--light-gray);
}

.about-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-frame img.portrait-zoom-soft {
    transform: scale(1.08);
    transform-origin: center 18%;
}

.about-photo-frame.placeholder-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(74, 42, 99, 0.16), transparent 32%),
        linear-gradient(180deg, #f8f4ed 0%, #eee5d6 100%);
    border-style: dashed;
    border-color: rgba(74, 42, 99, 0.35);
}

.about-photo-frame.placeholder-frame span {
    font-family: var(--mono);
    font-size: 1.55rem;
    color: #4a2a63;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-photo-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--red);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.4;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    width: 280px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    overflow: hidden;
}

.logo-item.logo-item-bottom {
    align-items: flex-end;
}

.logo-item.logo-item-bottom img {
    transform: translateY(-4px);
}

.logo-item.span-2 {
    grid-column: span 2;
}

.logo-item.span-2 img {
    max-width: 70%;
}

.logo-item img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-item-dresdner img {
    transform: translateY(-4px);
}

.logo-item-dresdner:hover img {
    transform: translateY(-4px) scale(1.1);
}


.logo-item-nn {
    height: 45px;
}

.logo-item-nn img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.logo-item-nn:hover img {
    transform: scale(1.1);
}

.text-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: rgba(74, 42, 99, 0.08);
    color: #4a2a63;
    font-family: var(--mono);
    font-size: 0.68rem;
    line-height: 1.25;
    text-align: center;
}

.tutorial-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.tutorial-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 42, 99, 0.16);
    background: rgba(255,255,255,0.6);
    color: #433455;
    font-family: var(--mono);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tutorial-tab:hover,
.tutorial-tab.is-active {
    background: #4a2a63;
    color: var(--cream);
}

.tutorial-panel {
    display: none;
}

.tutorial-panel.is-active {
    display: block;
}

.tutorial-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.tutorial-resource-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(74, 42, 99, 0.12);
    background: rgba(255,255,255,0.66);
    color: #433455;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tutorial-resource-card:hover {
    transform: translateX(5px);
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(0,0,0,0.07);
}

.tutorial-resource-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.tutorial-resource-card .logo-video {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    background: transparent;
}

.tutorial-emoji {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
}

.tutorial-resource-card strong {
    display: block;
    margin-bottom: 0.2rem;
}

.tutorial-resource-card p {
    margin: 0;
    color: #5b5364;
    font-size: 0.88rem;
    line-height: 1.4;
}

.tutorial-inline-brand {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.tutorial-inline-brand img {
    height: 24px;
    width: auto;
    display: block;
}

.model-landscape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.model-provider-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(74, 42, 99, 0.12);
    background: rgba(255,255,255,0.7);
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.model-provider-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.model-provider-head img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.provider-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.model-provider-head img.provider-logo-wide {
    width: 72px;
    height: 28px;
}

.model-provider-head .text-badge {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0.2rem;
    border-radius: 0.8rem;
    font-size: 0.64rem;
}

.model-provider-head strong {
    font-size: 1rem;
    color: var(--ink);
}

.provider-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.provider-link:hover {
    color: #4a2a63;
    text-shadow: 0 0 12px rgba(74, 42, 99, 0.18);
}

.model-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.model-link:hover {
    color: #4a2a63;
    text-shadow: 0 0 12px rgba(74, 42, 99, 0.18);
}

.model-provider-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.45rem 0 0;
    font-size: 0.9rem;
}

.model-provider-row + .model-provider-row {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(74, 42, 99, 0.08);
}

.model-provider-row span:first-child {
    color: var(--warm-gray);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.model-provider-row span:last-child {
    color: #433455;
    font-weight: 600;
}

.logo-item:hover img {
    transform: scale(1.1);
}

.bio-info {
    margin-bottom: 0.8rem;
}

.bio-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.bio-heading .bio-name {
    margin-bottom: 0;
}

.bio-name {
    font-family: var(--mono);
    font-size: 1.7rem;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.bio-year {
    flex: 0 0 auto;
    color: #4a2a63;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}

.bio-meta {
    font-size: 1.05rem;
    color: #4a2a63;
    margin-bottom: 0.3rem;
}

.education-box {
    background: rgba(42,43,42,0.03);
    border-left: 2px solid var(--red);
    padding: 0.5rem 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.career-flow {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.flow-box {
    background: var(--cream);
    border: 1px solid rgba(42,43,42,0.1);
    padding: 0.4rem 1rem;
    border-radius: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.flow-box:hover {
    border-color: var(--red);
    transform: translateX(5px);
}

.flow-connector {
    width: 2px;
    height: 6px;
    background: var(--warm-gray);
    margin-left: 2rem;
    opacity: 0.3;
}

.today-box {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    background: var(--ink);
    color: var(--cream);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.today-label {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.project-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 900px;
}

.project-card {
    border: 1px solid rgba(26,26,26,0.08);
    border-radius: 20px;
    padding: 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f4ed 100%);
    color: var(--ink);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    text-align: left;
}

.project-card.primary {
    border-top: 5px solid var(--blue);
}

.project-card.primary.project-card-sage {
    border-top-color: var(--sage);
    border-color: var(--sage);
}

.project-card.secondary {
    border-top: 5px solid var(--red);
}

.project-card.secondary.project-card-plum {
    border-top-color: #4a2a63;
    border-color: #4a2a63;
}

.project-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(74, 42, 99, 0.1);
    background: rgba(255,255,255,0.72);
}

.project-media.project-media-compact {
    max-width: 460px;
    margin: 0 auto 1rem;
    aspect-ratio: 16 / 8.8;
}

.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.project-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.project-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

.project-logo.trafa {
    background: transparent;
    box-shadow: none;
}

.project-logo.copilot24 {
    background: linear-gradient(135deg, var(--red) 0%, #ec7c44 100%);
}

.project-title {
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
}

.project-tag {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.project-text {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #5c564c;
}

.project-note {
    margin-top: 0.9rem;
    font-style: italic;
    color: #7b7368;
    line-height: 1.5;
}

.project-link-card {
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(199, 62, 29, 0.12), 0 18px 34px rgba(0,0,0,0.1);
}

.project-card.project-card-plum:hover {
    border-color: #4a2a63;
    box-shadow: 0 0 0 3px rgba(74, 42, 99, 0.12), 0 18px 34px rgba(0,0,0,0.1);
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px 300px 260px;
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    row-gap: 1.5rem;
    margin-top: 2rem;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.contact-video {
    width: 260px;
    height: 260px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(74, 42, 99, 0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.54);
    box-shadow: 0 10px 26px rgba(0,0,0,0.04);
}

.contact-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 320px));
    justify-content: center;
    align-items: start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-extra-grid .contact-card:last-child {
    justify-self: center;
}

.contact-card-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.contact-card-meta {
    color: var(--warm-gray);
    font-size: 1.05rem;
}

.contact-card-note {
    max-width: 220px;
    color: var(--warm-gray);
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-action {
    appearance: none;
    border: 1px solid rgba(74, 42, 99, 0.18);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    padding: 0.55rem 0.9rem;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-action:hover,
.contact-action:focus-visible {
    color: #4a2a63;
    border-color: rgba(74, 42, 99, 0.38);
    box-shadow: 0 0 0 3px rgba(74, 42, 99, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.contact-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-mobile-hero {
    display: none;
}

.contact-mobile-list {
    display: none;
}

.contact-mobile-tile {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.46);
    border: 1px solid rgba(74, 42, 99, 0.12);
    box-shadow: 0 10px 26px rgba(0,0,0,0.04);
    color: #3f3650;
    font: inherit;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-mobile-tile:hover,
.contact-mobile-tile:focus-visible {
    transform: translateX(5px);
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(0,0,0,0.07);
    outline: none;
}

.contact-mobile-icon {
    font-size: 1.1rem;
    line-height: 1.3;
}

.contact-mobile-copy {
    display: grid;
    gap: 0.18rem;
}

.contact-mobile-copy strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.25;
}

.contact-mobile-copy span {
    color: var(--warm-gray);
    font-size: 0.92rem;
    line-height: 1.45;
}

body.is-phone-viewport .contact-mobile-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.4rem 0 0;
    text-align: left;
}

body.is-phone-viewport .contact-mobile-hero {
    display: flex;
    justify-content: center;
    margin: 1.1rem 0 1.35rem;
}

body.is-phone-viewport .contact-mobile-hero .contact-video {
    width: min(100%, 430px);
    height: auto;
}

body.is-phone-viewport .contact-grid,
body.is-phone-viewport .contact-extra-grid {
    display: none !important;
}

@media (max-width: 1100px) {
    .contact-extra-grid {
        grid-template-columns: repeat(2, minmax(220px, 320px));
    }

    .contact-extra-grid .contact-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .slide {
        padding: 2rem 1.5rem;
        min-height: 100dvh;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .about-grid {
        gap: 2rem;
        width: 100%;
    }

    .content {
        max-width: 100%;
    }

    .about-photo-wrapper,
    .logo-grid {
        width: min(280px, 100%);
    }

    .bio-name {
        font-size: 1.5rem;
    }

    .bio-year {
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .bio-meta,
    .education-box,
    .flow-box,
    .today-box,
    .project-text,
    .project-note {
        font-size: 0.96rem;
    }

    .project-grid {
        max-width: 100%;
    }

    .project-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .project-header {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .project-brand {
        align-items: flex-start;
    }

    .project-title {
        font-size: 1.45rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        justify-items: center;
        column-gap: 1.4rem;
        row-gap: 1.2rem;
    }

    .contact-grid > div:empty {
        display: none;
    }

    .contact-video-wrap {
        grid-column: 1 / -1;
        order: 3;
    }

    .contact-grid > div:nth-child(4) {
        order: 4;
    }

    .contact-grid > div:nth-child(6) {
        order: 5;
    }

    .contact-video {
        width: min(60vw, 250px);
        height: auto;
    }

    .qr-image {
        width: min(28vw, 190px);
        height: auto;
    }

    .contact-extra-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        justify-items: center;
    }

    .home-link {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
    }

    .landing-header {
        top: 0.75rem;
        width: calc(100vw - 1rem);
    }

    .landing-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 0.9rem;
    }

    .landing-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .landing-nav a,
    .hero-nav a,
    .landing-workshop-link {
        min-height: 44px;
    }

    .landing-brand {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .landing-bullets li {
        padding: 0.85rem 0.9rem;
    }

    .tutorial-resource-grid {
        grid-template-columns: 1fr;
    }

    .model-landscape-grid {
        grid-template-columns: 1fr;
    }

    .page-with-header {
        padding-top: 4.2rem;
    }

    .page-with-header .slide {
        padding-top: 6rem;
    }

    .landing-slide {
        padding-top: 7.2rem;
    }

    .page-with-header-section {
        padding-top: 7rem;
    }
}

@media (max-width: 560px) {
    .slide {
        padding: 1.4rem 1rem 1.6rem;
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.06;
    }

    h2 {
        font-size: 1.7rem;
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .slide-number {
        font-size: 0.68rem;
        margin-bottom: 0.4rem;
    }

    .landing-header {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        z-index: 100;
    }

    .landing-header-inner {
        gap: 0.38rem;
        border-radius: 0;
        padding: 0.52rem 0.7rem;
        background: rgba(253, 250, 244, 0.95);
        align-items: center;
    }

    .landing-brand {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        width: 100%;
        text-align: center;
        align-self: center;
    }

    .landing-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.28rem;
        width: 100%;
        align-items: stretch;
    }

    .landing-nav a {
        width: 100%;
        justify-content: center;
        padding: 0.42rem 0.28rem;
        font-size: 0.69rem;
        min-height: 34px;
        border-radius: 0.58rem;
        letter-spacing: 0.02em;
        text-align: center;
    }

    .landing-nav .back-link {
        width: 100%;
        min-width: 0;
        min-height: 34px;
        padding: 0;
        font-size: 0.95rem;
        grid-column: auto;
        justify-self: stretch;
        justify-content: center;
    }

    .landing-slide {
        padding-top: calc(10.6rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header .slide {
        padding-top: calc(11.2rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header-section {
        padding-top: calc(11.2rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header .content,
    .page-with-header-section .content,
    .page-with-header-section h2 {
        margin-top: 0;
    }

    .landing-bullets {
        gap: 0.7rem;
        margin-top: 1rem;
    }

    .landing-bullets li {
        grid-template-columns: 1.35rem 1fr;
        gap: 0.6rem;
        font-size: 0.92rem;
        border-radius: 0.9rem;
        padding: 0.7rem 0.8rem;
    }

    .landing-workshops {
        margin-top: 1.5rem;
    }

    .landing-workshop-link {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }

    .about-photo-wrapper {
        width: min(220px, 60vw);
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .about-photo-wrapper::before {
        top: 6px;
        left: 6px;
    }

    .logo-grid {
        width: min(280px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 1rem;
        margin-top: 1rem;
    }

    .logo-item {
        height: 30px;
    }

    .logo-item.logo-item-bottom img,
    .logo-item-dresdner img {
        transform: none;
    }

    .logo-item-dresdner:hover img,
    .logo-item-nn:hover img {
        transform: scale(1.05);
    }

    .logo-item.span-2 img {
        max-width: 80%;
    }

    .logo-item-nn {
        height: 36px;
    }

    .logo-item-nn img {
        width: auto;
        height: 100%;
        max-width: 100%;
        transform: none;
    }

    .bio-name {
        font-size: 1.18rem;
        line-height: 1.2;
    }

    .bio-heading {
        align-items: center;
        flex-wrap: wrap;
        gap: 0.2rem 0.6rem;
    }

    .bio-year {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .bio-meta {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .education-box,
    .today-box,
    .flow-box {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .education-box {
        padding: 0.6rem 0.8rem;
    }

    .flow-box {
        padding: 0.55rem 0.8rem;
    }

    .today-box {
        padding: 0.75rem 0.85rem;
    }

    .project-logo {
        width: 46px;
        height: 46px;
    }

    .project-title {
        font-size: 1.25rem;
        line-height: 1.15;
    }

    .project-tag {
        font-size: 0.7rem;
    }

    .project-header,
    .project-brand {
        gap: 0.6rem;
    }

    .project-text,
    .project-note {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tutorial-tabs {
        gap: 0.35rem;
        margin-bottom: 0.9rem;
    }

    .tutorial-tab {
        font-size: 0.72rem;
        padding: 0.5rem 0.7rem;
        min-height: 38px;
    }

    .tutorial-resource-card {
        grid-template-columns: 44px 1fr;
        gap: 0.7rem;
        padding: 0.8rem;
        align-items: start;
    }

    .tutorial-resource-card img,
    .tutorial-resource-card .logo-video,
    .tutorial-emoji {
        width: 44px;
        height: 44px;
    }

    .tutorial-resource-card p {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .landing-nav .back-link {
        display: none;
    }

    .page-with-header {
        padding-top: 0;
    }

    .landing-header-inner {
        gap: 0.34rem;
    }

    .landing-nav a {
        font-size: 0.67rem;
        line-height: 1.18;
        white-space: normal;
    }

    .landing-slide {
        padding-top: calc(10rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header .slide {
        padding-top: calc(10rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header-section {
        padding-top: calc(10rem + env(safe-area-inset-top, 0px));
    }

    .about-grid {
        gap: 1.5rem;
    }

    .logo-grid {
        width: min(280px, 100%);
        gap: 0.85rem 1rem;
    }

    .logo-item {
        height: 30px;
    }

    .logo-item.span-2 img {
        max-width: 80%;
    }

    .logo-item-nn {
        height: 36px;
    }

    .logo-item-nn img {
        width: auto;
        height: 100%;
        max-width: 100%;
        transform: none;
    }

    .logo-item-nn:hover img {
        transform: scale(1.05);
    }

    .tutorial-tab {
        min-height: 40px;
        padding: 0.55rem 0.8rem;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }

    .tutorial-resource-card {
        grid-template-columns: 42px 1fr;
        gap: 0.7rem;
        padding: 0.85rem;
    }

    .tutorial-resource-card strong {
        font-size: 0.92rem;
        line-height: 1.3;
    }
}

@media (max-width: 430px) {
    .slide {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .landing-header-inner {
        padding: 0.48rem 0.58rem 0.6rem;
    }

    .landing-brand {
        font-size: 0.8rem;
        letter-spacing: 0.07em;
    }

    .landing-nav {
        gap: 0.24rem;
    }

    .landing-nav a {
        font-size: 0.64rem;
        padding: 0.4rem 0.24rem;
        min-height: 33px;
    }

    .landing-slide {
        padding-top: calc(9.7rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header .slide {
        padding-top: calc(9.7rem + env(safe-area-inset-top, 0px));
    }

    .page-with-header-section {
        padding-top: calc(9.7rem + env(safe-area-inset-top, 0px));
    }

    .about-grid {
        gap: 1.8rem;
    }

    .about-photo-wrapper {
        width: min(220px, 64vw);
    }

    .logo-grid {
        width: min(260px, 85vw);
        gap: 0.8rem 0.9rem;
    }

    .logo-item {
        height: 28px;
    }

    .logo-item.span-2 img {
        max-width: 80%;
    }

    .logo-item-nn {
        height: 34px;
    }

    .logo-item-nn img {
        width: auto;
        height: 100%;
        max-width: 100%;
        transform: none;
    }

    .logo-item-nn:hover img {
        transform: scale(1.05);
    }

    .flow-box,
    .today-box,
    .education-box,
    .project-text,
    .project-note {
        font-size: 0.84rem;
    }

    .tutorial-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .tutorial-tab {
        width: 100%;
    }

    .tutorial-resource-grid {
        gap: 0.75rem;
    }

    .tutorial-resource-card {
        padding: 0.75rem;
    }
}
