:root {
    --bg: #0a0a0a;
    --text: #bababa;
    --muted: #52525b;
    --medium: #aaaaaa;
    --bg-hover: #131316;
    --border: #1c1c1f;
    --white: #fff;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    padding: 60px 60px;
    display: flex;
    justify-content: flex-start;
}
.portfolio {
    max-width: 550px;
    width: 100%;
}
.intro-blocks {
    margin-bottom: 40px;
}
.intro-blocks p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 21px;
}
.intro-blocks p a {
    color: var(--medium);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
    transition: color 0.2s ease;
}
.intro-blocks p a:hover {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.section {
    margin-bottom: 32px;
}
.section-title {
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 6px;
}
.indent-list {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.item {
    display: inline-flex;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    padding: 2px 8px;
    margin-left: -8px;
    border-radius: 4px;
    transition:
        background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.name {
    font-weight: 500;
    white-space: nowrap;
}
.desc {
    color: var(--muted);
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.item:hover {
    background-color: var(--bg-hover);
}
.item:hover .desc {
    color: var(--text);
}
.more-link {
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    margin-top: 6px;
    padding: 0 8px;
    margin-left: -8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.more-link:hover {
    color: var(--medium);
}
.more-link.lang-en::before {
    content: "";
    width: 14px;
    height: 10px;
    background-size: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%231a1a1a' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23ffffff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23555555' stroke-width='4' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23ffffff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%231a1a1a' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E");
}
.more-link.lang-en:hover::before {
    opacity: 0.8;
}
.more-link.lang-fr::before {
    content: "";
    width: 14px;
    height: 10px;
    background-size: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%233f3f46' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23ffffff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23a1a1aa' d='M2 0h1v2H2z'/%3E%3C/svg%3E");
}
.more-link.lang-fr:hover::before {
    opacity: 0.8;
}
@media (max-width: 600px) {
    body {
        padding: 40px 20px;
    }
    .indent-list {
        padding-left: 20px;
        align-items: flex-start;
    }
    .item {
        flex-wrap: wrap;
        gap: 2px 8px;
    }
}
body {
    flex-wrap: wrap !important;
    align-content: flex-start;
}
.project-container {
    display: flex;
    width: 100%;
    gap: 60px;
    align-items: flex-start;
    flex-basis: 100%;
}
.back-home-link {
    display: inline-flex;
    align-items: center;
    width: max-content;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}
.back-home-link:hover {
    color: var(--text);
}
.project-sidebar {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    letter-spacing: -0.01em;
}
.project-short {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--medium);
    letter-spacing: -0.01em;
}
.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag-badge {
    font-size: 11px;
    color: var(--medium);
    background-color: #131316;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
}
.project-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    padding: 10px 0;
}
.project-description p a {
    color: var(--medium);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
    transition: color 0.2s ease;
    display: inline-block;
}
.project-description p a:hover {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.project-viewer {
    width: 55%;
}
.video-responsive {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000;
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.metadata-strip {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    row-gap: 24px;
    flex-wrap: wrap;
    flex-basis: 100%;
    width: 100%;
    margin-top: 4px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}
.meta-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 10px;
}
.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.meta-value {
    font-size: 13px;
    color: var(--text);
}
a.meta-value {
    color: var(--medium);
    text-decoration: underline;
    transition: color 0.2s ease;
}
a.meta-value:hover {
    color: var(--white);
    text-decoration: underline;
}
.soundcloud-section {
    margin-bottom: 2rem;
    width: 100%;
}
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    margin-bottom: 2rem;
}
.data-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.data-list {
    list-style: none;
}
.data-list a {
    color: var(--text);
}
.data-list a span.external_arrow {
    color: var(--muted);
}
.data-list a:hover {
    color: var(--medium);
}
.data-list a:hover span.external {
    color: var(--white);
}
.data-list a:hover span.external_arrow {
    color: var(--text);
}
.data-list a:hover span.year {
    color: var(--text);
}
.data-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    margin-bottom: 0.8rem;
    text-decoration: none;
    color: var(--medium);
}
.data-row .year {
    font-size: 9px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.tech-item {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}
.tech-item span {
    color: var(--muted);
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.tech-item b {
    color: var(--muted);
    font-weight: 400;
}
.gallery-section {
    margin-top: 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 10px 0 0;
}
.img-box {
    cursor: zoom-in;
    margin-bottom: 0;
}
.img-box img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
    background: var(--border);
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.5s ease;
}
.img-box img:hover {
    cursor: pointer;
    filter: grayscale(0);
    opacity: 1;
    transition: all 0.5s ease;
}
.img-caption {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
    line-height: 1.4;
}
.caption-text {
    display: block;
    font-size: 11px;
    color: var(--medium);
    font-weight: 400;
}
.caption-sub {
    display: block;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}
#lightbox {
    border: none;
    background: 0 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    outline: 0;
}
#lightbox[open] {
    display: flex;
}
#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
#lightbox::backdrop {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}
@media (max-width: 900px) {
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0 0;
}
.video-item {
    width: 100%;
}
.video-item:last-child:nth-child(odd) {
    grid-column: span 2;
}
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-item:last-child:nth-child(odd) {
        grid-column: span 1;
    }
}
.project-container.has-two-videos {
    flex-direction: column;
    gap: 40px;
}
.project-container.has-two-videos .project-sidebar {
    width: 100%;
    max-width: 650px;
}
.project-container.has-two-videos .project-viewer {
    display: flex;
    width: 100%;
    gap: 40px;
}
.project-container.has-two-videos .video-item {
    width: calc(50% - 20px);
}
.project-container.has-two-videos .video-responsive {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
}
@media (max-width: 768px) {
    .project-container.has-two-videos .project-viewer {
        flex-direction: column;
        gap: 24px;
    }
    .project-container.has-two-videos .video-item {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .project-container {
        flex-direction: column;
        gap: 40px;
    }
    .project-sidebar,
    .project-viewer {
        width: 100%;
    }
    .metadata-strip {
        gap: 24px;
        margin-top: 40px;
    }
}
.project-gallery-container {
    flex-basis: 100%;
    width: 100%;
    margin-top: 40px;
}
.video-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 40px 60px;
}
.video-item {
    width: calc(50% - 30px);
}
@media (max-width: 900px) {
    .video-item {
        width: 100%;
    }
    .video-grid {
        gap: 32px;
    }
}
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-basis: 100%;
    width: 100%;
    margin-top: 80px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--muted);
}
.footer-left {
    text-transform: uppercase;
}
.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.project-footer a.footer-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.project-footer a.footer-link:hover {
    color: var(--text);
}
.project-footer .footer-lang {
    margin-top: 0;
    margin-left: 0;
    padding: 0;
}
@media (max-width: 600px) {
    .project-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 48px;
    }
    .footer-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }
}
.about-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 550px;
    width: 100%;
}
.portrait  {
    margin: 1rem 0;
    width: 100%;
    max-width: 550px;
}
.portrait img {
    margin: 0.5rem 0;
    width: 100%;
    max-width: 550px;
}
.portrait .photo_credit {
    margin: 0;
    width: 100%;
    text-align: right;
    font-size: 11px;
    color: var(--muted);
}

.about-description {
    font-size: 13px;
    line-height: 21px;
    color: var(--text);
    margin-bottom: 40px;
}
.about-description p {
    padding: 5px 0;
}
.about-description a {
    color: var(--medium);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
    transition: color 0.2s ease;
}
.about-description a:hover {
    color: var(--white);
}
.about-container .indent-list {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 32px;
}
.about-container .about-item {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}
.about-container .about-item .date-or-muted {
    color: var(--muted);
    margin-right: 8px;
}
.about-container .indent-list a {
    text-decoration: none !important;
    color: var(--text);
    display: block;
    width: 100%;
}
.about-container .indent-list .date-or-muted,
.about-container .indent-list span:first-child {
    color: var(--muted);
    transition: color 0.2s ease;
    margin-right: 8px;
}
.about-container .indent-list a:hover .date-or-muted,
.about-container .indent-list a:hover span:first-child {
    color: #fff !important;
}
.about-container .indent-list a:hover {
    color: var(--text);
}
.about-container .section:last-of-type .indent-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px 40px !important;
    padding-left: 30px;
}
.about-container .section:last-of-type .indent-list a {
    width: calc(50% - 20px) !important;
    text-decoration: none !important;
    color: var(--text);
    display: inline-block;
}
.about-container .section:last-of-type .indent-list .date-or-muted,
.about-container .section:last-of-type .indent-list span:first-child {
    color: var(--muted);
    transition: color 0.2s ease;
    margin-right: 8px;
}
.about-container .section:last-of-type .indent-list a:hover .date-or-muted,
.about-container .section:last-of-type .indent-list a:hover span:first-child {
    color: #fff !important;
}
@media (max-width: 768px) {
    .about-container .section:last-of-type .indent-list {
        flex-direction: column !important;
        gap: 12px !important;
        padding-left: 20px;
    }
    .about-container .section:last-of-type .indent-list a {
        width: 100% !important;
    }
}
@media (max-width: 600px) {
    .about-container .indent-list {
        padding-left: 20px;
    }
}
.index-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 550px;
    width: 100%;
}
.index-content {
    font-size: 13px;
    line-height: 21px;
    color: var(--text);
    margin-bottom: 40px;
}
.index-content h1 {
    padding: 10px 0;
}
.index-content h2 {
    font-size: 14px;
    padding: 10px 0;
}
.index-content p {
    padding: 5px 0;
}
.index-content a {
    color: var(--medium);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
    transition: color 0.2s ease;
}
.index-content a:hover {
    color: var(--white);
}
.contact-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 550px;
    width: 100%;
}

/* ══════════════════════════════════════════
   FORMULAIRE DE CONTACT
══════════════════════════════════════════ */

.contact-form {
width: 100%;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border: 0.5px solid var(--border);
  padding: 10px 10px;
  margin: 8px 0;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  border-bottom-color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 200px;
}
.form-name {
    display: none !important;
    visibility: hidden !important;
}

#submit-btn {
  background: none;
  border: 0.5px solid var(--text);
  color: var(--text);
  padding: 10px 30px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s;
}

#submit-btn:hover {
  background: var(--text);
  color: var(--bg);
}

#submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1.5rem;
  font-size: 12px;
  font-style: italic;
}

.form-status.success { color: #27ae60; }
.form-status.error { color: #eb5757; }















