:root {
    --bg: #030303;
    --bg-soft: #0a0a0c;
    --text: #e5e5e5;
    --text-dim: #9ca3af;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.26);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 24px;
}

.container {
    width: min(90%, 1280px);
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

.text-white {
    color: #fff;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.min-h-screen {
    min-height: 100vh;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.guide-lines {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.guide-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.03);
}

.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nav-logos {
    opacity: 0.8;
}

.logo-uni {
    height: auto;
    width: 6em;
}

.nav-brand {
    display: flex;
    justify-content: center;
}

.logo-idexai {
    height: auto;
    width: 5em;
    margin-left: 1rem;
    margin-bottom: .3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color .25s ease;
}

.nav-links a:hover,
.nav-link-emphasis {
    color: #fff !important;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.lang-switch span {
    color: #4b5563;
}

.lang-btn {
    border: 0;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font: inherit;
}

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

.lang-switch-desktop {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.2rem;
    margin-left: 1.2rem;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: flex;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 6rem;
}

.custom-dark-bg {
    background-image: url("assets/ai-70bk.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: luminosity;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

.hero-title {
    margin: 0 0 2rem;
    max-width: 90vw;
    font-size: clamp(2.8rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
}

.text-transparent {
    color: transparent;
}

.border-text {
    -webkit-text-stroke: 1px #ffffff;
}

.manifesto-index-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
}

.badge-line {
    width: 2rem;
    height: 1px;
    background: var(--accent);
}

.hero-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 420px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
}

.hero-link-icon {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.museum-img-wrapper img {
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.museum-img-wrapper:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

.section {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-alt {
    background: rgba(10, 10, 12, 0.5);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.section-grid-header {
    margin-bottom: 5rem;
}

.section-no {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.12);
}

.section-label {
    margin: 1rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}

.seed-card {
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
}

.seed-title {
    margin: 0 0 0.75rem;
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.seed-desc {
    margin: 0;
    color: #d1d5db;
    line-height: 1.8;
    max-width: 68ch;
    font-size: 0.94rem;
}

.manifesto-title {
    margin: 0 0 4rem;
    max-width: 980px;
    color: #fff;
    line-height: 1.2;
    font-size: 2em;
    font-weight: 300;
}

.manifesto-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    text-align: justify;
}

.manifesto-quote-wrap {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.4rem;
}

.manifesto-quote {
    margin: 0;
    color: #fff;
    font-style: italic;
    font-size: 1rem;
    text-align: justify;
}

.dt-framework {
    --dt-rail: rgba(255, 255, 255, 0.24);
    --dt-node: #6b7280;
    --dt-active: #ffffff;
    --dt-focus: #93c5fd;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.4rem 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.dt-framework-title {
    margin: 0;
    color: #fff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-family: inherit;
}

.dt-framework-copy {
    margin: 0.75rem 0 1.5rem;
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.92rem;
    max-width: 72ch;
    font-family: inherit;
}

.dt-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
    position: relative;
}

.dt-timeline::before {
    content: "";
    position: absolute;
    left: calc(100% / 12);
    right: calc(100% / 12);
    top: 11px;
    height: 1px;
    background: var(--dt-rail);
    z-index: 0;
}

.dt-step {
    position: relative;
    z-index: 1;
}

.dt-step-btn {
    appearance: none;
    border: none;
    background: transparent;
    width: 100%;
    padding: 0;
    color: inherit;
    cursor: pointer;
    text-align: center;
    border-radius: 10px;
    font-family: inherit;
}

.dt-step-btn:focus-visible {
    outline: 2px solid var(--dt-focus);
    outline-offset: 4px;
}

.dt-dot {
    width: 10px;
    height: 10px;
    display: block;
    margin: 6px auto 0.85rem;
    border-radius: 999px;
    background: var(--dt-node);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform .2s ease, background-color .2s ease;
}

.dt-step-btn:hover .dt-dot,
.dt-step-btn:focus-visible .dt-dot {
    transform: scale(1.14);
}

.dt-step-label {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    font-family: inherit;
}

.dt-step-sub {
    display: block;
    margin-top: 0.35rem;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.45;
    text-transform: none;
    font-family: inherit;
}

.dt-step.is-active .dt-dot {
    background: var(--dt-active);
    transform: scale(1.18);
}

.dt-step.is-active .dt-step-label {
    color: var(--dt-active);
}

.dt-framework-note {
    margin: 1.35rem 0 0;
    color: #d1d5db;
    line-height: 1.65;
    font-size: 0.9rem;
    width: 100%;
    font-family: inherit;
}

.dt-framework-note>strong {
    display: block;
    color: #fff;
    margin: 0 0 0.7rem;
}

.dt-roles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
    width: 100%;
}

.dt-role-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.65rem 0.55rem;
    line-height: 1.5;
}

.dt-responsibility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.dt-responsibility-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.65rem 0.55rem;
    line-height: 1.5;
}

.team-title {
    margin: 0;
    font-size: clamp(1.6rem, 3.8vw, 2rem);
    font-weight: 300;
}

.brief-text {
    margin: 1rem 0 0;
    max-width: 72ch;
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.95rem;
}

.logbooks-iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
    background: #000;
    position: static;
    margin: 0;
}

.logbook-slider-wrap {
    width: 100%;
}

#logbooklar {
    min-height: auto;
    padding: 0;
}

#logbooklar .logbook-header {
    padding-top: 6rem;
    padding-bottom: 3rem;
    margin-bottom: 0;
}

.logbook-slider-section {
    padding: 0;
    border-top: 0;
}

.title-row {
    display: flex;
    align-items: flex-end;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 1.2rem;
}

.person-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 210px;
}

.person-photo {
    aspect-ratio: 3 / 4;
    background: #0a0a0c;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 210px;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
}

.person-name {
    margin: 0 0 .25rem;
    font-size: .77rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    max-width: 210px;
}

.person-role {
    margin: 0;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6b7280;
    max-width: 210px;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.exhibition-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exhibition-link-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .68rem;
    padding: 0.75rem 0.95rem;
    transition: all .2s ease;
}

.exhibition-link-btn:hover {
    background: #fff;
    color: #000;
}

.exhibition-block {
    margin-top: 3rem;
}

.exhibition-block+.exhibition-block {
    margin-top: 5rem;
}

.exhibition-block-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.exhibition-block-title {
    margin: 0 0 .5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.exhibition-block-desc {
    margin: 0;
    max-width: 72ch;
    color: #9ca3af;
    line-height: 1.7;
    font-size: .9rem;
}

.year-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.year-filters-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.year-filters-inline .filter-btn {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.65rem;
    font-size: 0.66rem;
}

.filter-btn {
    border: 0;
    background: transparent;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    cursor: pointer;
    text-align: right;
}

.filter-btn.active,
.filter-btn:hover {
    color: #fff;
}

.year-filters-inline .filter-btn.active,
.year-filters-inline .filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.student-search-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.student-search-input {
    width: min(220px, 70vw);
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-size: 0.78rem;
}

.student-search-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .68rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
}

.student-search-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    cursor: pointer;
}

.project-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #050505;
    overflow: hidden;
}

.project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .74;
    filter: none;
}

.project-image-wrap:hover img {
    filter: none;
}

.project-meta {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1rem;
}

.project-year {
    color: #6b7280;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.project-title {
    margin: .3rem 0 .1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.project-student {
    margin: 0;
    color: #9ca3af;
    font-size: .82rem;
}

.site-footer {
    background: #020202;
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-uni {
    height: auto;
    width: 5em;
    opacity: .9;
}

.footer-logo-idexai {
    height: auto;
    width: 5em;
}

.footer-dept {
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .7rem;
}

.footer-tags {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .7rem;
}

.footer-tags span:hover {
    color: #fff;
    cursor: pointer;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.footer-social a {
    color: #6b7280;
    text-decoration: none;
    font-size: 1rem;
    transition: color .2s ease;
}

.footer-social a:hover {
    color: #fff;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-rights {
    text-align: center;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .62rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.flex {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 3, .95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    font-size: 2rem;
}

.modal-image-wrap {
    flex: 1;
    min-width: 0;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-side {
    width: 100%;
    min-width: 0;
    max-height: 42vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.88) transparent;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.modal-side::-webkit-scrollbar {
    width: 6px;
}

.modal-side::-webkit-scrollbar-track {
    background: transparent;
}

.modal-side::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
}

.modal-side::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

.modal-year {
    display: block;
    margin-bottom: .45rem;
    color: #fff;
    letter-spacing: .2em;
    text-transform: capitalize;
    font-size: .62rem;
}

.modal-title {
    margin: 0 0 .25rem;
    color: #fff;
    text-transform: capitalize;
    font-size: 1.8rem;
}

.modal-designer {
    margin: 0;
    color: #9ca3af;
    font-size: .9rem;
}

.modal-divider {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.modal-subtitle {
    margin: 0 0 .7rem;
    text-transform: capitalize;
    letter-spacing: .2em;
    font-size: .62rem;
    color: #6b7280;
}

.modal-text {
    margin: 0 0 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    font-size: .92rem;
}

.modal-short-desc {
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: .9rem 1.2rem;
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: .14em;
    font-size: .7rem;
}

.modal-btn:hover {
    background: #fff;
    color: #000;
}

.modal-tools {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    text-transform: capitalize;
    letter-spacing: .12em;
    font-size: .62rem;
    color: #9ca3af;
}

.modal-tools span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: .32rem .5rem;
}

.global-filter-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(24px);
    z-index: 120;
    width: min(920px, calc(100% - 20px));
    background: linear-gradient(135deg, rgba(18, 18, 22, 0.72), rgba(8, 8, 10, 0.52));
    backdrop-filter: blur(14px);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.global-filter-bar.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

body.modal-open .global-filter-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(24px) !important;
}

.global-filter-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem;
}

.global-filter-label {
    color: #d1d5db;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.global-filter-select,
.global-filter-input {
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.76rem;
    font-family: inherit;
    border-radius: 999px;
    padding: 0 0.55rem;
}

.global-filter-select {
    min-width: 110px;
}

.global-filter-input {
    flex: 1;
    min-width: 140px;
}

#sergi .collection-title,
#sergi .exhibition-link-btn,
#sergi .exhibition-block-title,
#sergi .filter-btn,
#sergi .student-search-btn,
#sergi .project-year,
#sergi .project-title {
    text-transform: none;
}

@media (min-width: 1200px) {
    .desktop-only {
        display: flex;
    }

    .mobile-only {
        display: none;
    }

    .logo-uni {
        height: 2.4rem;
    }

    .logo-idexai {
        height: 1.9rem;
    }

    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    }

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

    .instructors-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3.5rem 1.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem 2.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .footer-tags {
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .modal {
        align-items: flex-start;
    }

    .modal-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-image-wrap {
        flex: none;
        min-height: auto;
    }

    .modal-side {
        max-height: none;
        overflow-y: visible;
    }

    #logbooklar {
        min-height: auto;
    }

    .logbooks-iframe {
        height: 400px;
    }

    .global-filter-bar {
        width: calc(100% - 14px);
        bottom: 8px;
    }

    .global-filter-inner {
        gap: 0.4rem;
    }

    .global-filter-label {
        display: none;
    }

    .global-filter-select {
        min-width: 92px;
    }

    .dt-framework {
        padding: 1rem 0.8rem;
    }

    .dt-framework-copy {
        margin: 0.65rem 0 1.15rem;
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .dt-timeline {
        display: flex;
        flex-direction: column;
        gap: 0.95rem;
    }

    .dt-timeline::before {
        left: 4px;
        right: auto;
        top: 10px;
        bottom: 12px;
        width: 1px;
        height: auto;
    }

    .dt-step-btn {
        display: grid;
        grid-template-columns: 14px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
        text-align: left;
    }

    .dt-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 5px 0 0;
    }

    .dt-step-label {
        grid-column: 2;
        font-size: 0.8rem;
        line-height: 1.35;
        min-width: 0;
    }

    .dt-step-sub {
        grid-column: 2;
        font-size: 0.82rem;
        line-height: 1.45;
        min-width: 0;
    }

    .dt-framework-note {
        margin-top: 1rem;
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .dt-roles-grid {
        grid-template-columns: 1fr;
    }

    .dt-responsibility-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .section-grid {
        grid-template-columns: minmax(120px, 2fr) minmax(0, 10fr);
        gap: 4rem;
    }

    .exhibition-header {
        grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr) minmax(0, 3fr);
        align-items: end;
        margin-bottom: 6rem;
    }

    .collection-title {
        margin: 0 0 .8rem;
        text-transform: uppercase;
        font-size: clamp(2.4rem, 5vw, 4rem);
        line-height: 1;
    }

    .collection-desc {
        margin: 0;
        max-width: 380px;
        color: #9ca3af;
    }

    .instructors-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.8rem 0.8rem;
    }

    .exhibition-links {
        align-items: flex-end;
    }

    .exhibition-link-btn {
        text-align: center;
        min-width: 280px;
    }

    .exhibition-block-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
    }

    .exhibition-block .student-search-wrap {
        margin-top: 0;
    }

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

    .modal-content {
        padding: 3rem;
        flex-direction: row;
        gap: 3rem;
    }

    .modal-image-wrap {
        min-height: auto;
    }

    .modal-side {
        width: 400px;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        flex-shrink: 0;
        justify-content: flex-start;
        padding-top: 4.5rem;
        padding-bottom: 1rem;
    }

    .modal-close {
        top: 2rem;
        right: 2rem;
    }
}
