/* ─────────────────────────────────────────────
   Marlène Corbun — stylesheet
   ───────────────────────────────────────────── */

:root {
  --cream:     #FFFFFF;
  --bordeaux:  #D40000;
  --dark:      #1C1A17;
  --red-mid:   rgba(184, 0, 31, 0.42);
  --red-faint: rgba(184, 0, 31, 0.10);
  --red-ghost: rgba(184, 0, 31, 0.05);

  --display: 'Space Grotesk', sans-serif;
  --body:    'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--bordeaux);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ────────────────────────────── */

nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-center {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bordeaux);
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.6; }

.nav-links-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-link {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bordeaux);
}

.nav-dot {
  font-size: 0.78rem;
  color: var(--red-mid);
  line-height: 1;
  user-select: none;
}

/* ── Burger (mobile only) ───────────────────── */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 1.5rem;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bordeaux);
  transition: transform 0.3s, opacity 0.2s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile overlay menu ────────────────────── */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-link {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-overlay-link:hover { color: var(--bordeaux); }

.nav-overlay-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-family: var(--body);
  letter-spacing: 0.1em;
  color: var(--red-mid);
  cursor: pointer;
  transition: color 0.2s;
}

.nav-overlay-close:hover { color: var(--bordeaux); }

/* ── Layout ─────────────────────────────────── */

.hero-section,
.bio-section,
.expertise-section,
.projects-section {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 4rem;
}

/* ── Hero ───────────────────────────────────── */

.hero-section {
  padding-top: 14vh;
  padding-bottom: 7rem;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bordeaux);
}

.hero-tag {
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-mid);
}

/* ── Bio grid ───────────────────────────────── */

.photo-frame {
  overflow: hidden;
  background: var(--red-ghost);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  column-gap: 5rem;
  align-items: start;
}

/* ── Bio left column (logo + photo, sticky) ─── */

.bio-left {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.bio-logo {
  width: 100%;
  display: block;
  filter: brightness(0) saturate(100%) invert(9%) sepia(85%) saturate(4500%) hue-rotate(348deg) brightness(1.15) contrast(1.05);
}

.bio-photo {
  width: 100%;
  height: auto;
}

.bio-photo img {
  object-fit: contain !important;
  height: auto !important;
  object-position: center !important;
}

/* ── Bio text ───────────────────────────────── */

.bio-photo-credit {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--red-mid);
  text-align: center;
  margin-top: 0.4rem;
}

.bio-photo-credit a {
  color: var(--red-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--red-mid);
  transition: opacity 0.2s;
}
.bio-photo-credit a:hover { opacity: 0.6; }

.bio-text {
  padding-top: 0.25rem;
}

.bio-text p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 1.2rem;
}


.bio-text p:last-child { margin-bottom: 0; }

.bio-cta {
  font-size: 0.82rem !important;
  color: var(--red-mid) !important;
  margin-top: 0 !important;
}

.bio-cta a {
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.bio-cta a:hover { opacity: 0.6; }

/* ── Section title ──────────────────────────── */

.section-title {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: block;
  margin-bottom: 2.5rem;
}

/* ── Expertise ──────────────────────────────── */

.expertise-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.expertise-section .section-title {
  margin-bottom: 1.5rem;
}

.expertise-intro {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dark);
  max-width: 680px;
  margin-bottom: 3.5rem;
}

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

.expertise-block {
  padding: 0;
}

.expertise-block-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bordeaux);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.expertise-block p {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dark);
}

/* ── Projects ───────────────────────────────── */

.projects-section {
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.projects-section .section-title {
  margin-bottom: 0;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--red-faint);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.project-card:hover { opacity: 0.72; }

.project-card:first-of-type {
  border-top: 1px solid var(--red-faint);
  margin-top: 2.5rem;
}

.project-card-title {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bordeaux);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.project-card-meta {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--red-mid);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.project-card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dark);
}

a.project-card .project-card-more {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(184, 0, 31, 0.42) !important;
  text-transform: uppercase;
  transition: color 0.2s;
}
a.project-card:hover .project-card-more {
  color: rgba(184, 0, 31, 1) !important;
}

.project-card-photo {
  width: 160px;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
}

.projects-substack {
  margin-top: 2.5rem;
}

.projects-substack a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.projects-substack a:hover { opacity: 0.6; }

/* ── Footer ─────────────────────────────────── */

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 4rem;
  border-top: 1px solid var(--red-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p,
footer a {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--bordeaux); }

/* ── Contact page ───────────────────────────── */

.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 4rem;
  padding-top: 22vh;
  padding-bottom: 8rem;
}

.contact-hero {
  margin-bottom: 6rem;
}

.contact-hero h1 {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--bordeaux);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.email-link {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}
.email-link:hover { opacity: 0.6; }

/* ── Socials ────────────────────────────────── */

.socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.socials a {
  color: var(--bordeaux);
  opacity: 0.6;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.socials a:hover { opacity: 1; }

/* ── Newsletter ─────────────────────────────── */

.newsletter-block {
  background: transparent;
  border: 1.5px solid var(--bordeaux);
  padding: 3.5rem 4rem;
  margin-bottom: 2rem;
}

.newsletter-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 0.6rem;
}

.newsletter-desc {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1px solid var(--red-mid);
  border-right: none;
  padding: 0.8rem 1.1rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--bordeaux);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--red-mid);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--bordeaux);
}

.newsletter-form button {
  flex-shrink: 0;
  background: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  padding: 0.8rem 1.8rem;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover { opacity: 0.85; }

.newsletter-form button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── Substack ───────────────────────────────── */

.substack-row a {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.substack-row a:hover { opacity: 0.6; }

/* ── Project detail page ────────────────────── */

.project-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 4rem;
  padding-top: 14vh;
  padding-bottom: 8rem;
}

.project-detail-back {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-mid);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s;
}
.project-detail-back:hover { color: var(--bordeaux); }

.project-detail-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--red-faint);
}

.project-detail-title {
  font-family: var(--body);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 0.7rem;
  line-height: 1.1;
}

.project-detail-meta {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--red-mid);
  text-transform: uppercase;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  column-gap: 5rem;
  align-items: start;
}

.project-detail-left {
  position: sticky;
  top: 80px;
}

.project-detail-mainphoto {
  width: 100%;
  height: auto;
}

.project-detail-mainphoto img {
  object-fit: contain !important;
  height: auto !important;
  object-position: center !important;
}

.project-detail-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 3.5rem;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  background: var(--red-ghost);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-size: 0.68rem;
  font-weight: 300;
  font-style: italic;
  color: var(--red-mid);
  padding: 0.45rem 0 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.gallery-caption:empty { display: none; }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.lightbox-caption:empty { display: none; }

/* ── Project detail — curatorial text ──────── */

.project-detail-text {
  margin-bottom: 3.5rem;
}

.project-detail-text p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 1.4rem;
}

.project-detail-text p:last-child {
  margin-bottom: 0;
}

.project-detail-artists {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.3rem !important;
}

.project-detail-credit {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-mid);
  margin-bottom: 2.5rem !important;
}

.project-detail-quote {
  border-left: 1.5px solid var(--red-faint);
  padding-left: 1.5rem;
  font-style: italic;
  margin: 1.8rem 0 2rem !important;
}

.project-detail-quote .quote-source {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--red-mid);
  margin-top: 0.5rem;
}

.project-detail-signature {
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--red-mid) !important;
  margin-top: 2rem !important;
}

/* ── Project detail CTA button ──────────────── */

.project-detail-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.6rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border: 1px solid var(--red-faint);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.project-detail-btn:hover {
  background: var(--bordeaux);
  color: #fff;
}

/* ── Project detail wide gallery (below grid) ── */

.project-detail-gallery-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.project-detail-gallery-wide .gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ── Project detail divider ─────────────────── */

.project-detail-divider {
  width: 100%;
  height: 1px;
  background: var(--red-faint);
  margin: 5rem 0;
}

/* ── Video embed ────────────────────────────── */

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 2px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Lightbox ───────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  z-index: 1;
}
.lightbox-close:hover { color: #fff; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  transition: color 0.2s, opacity 0.2s;
  line-height: 1;
  z-index: 1;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }

.lightbox img {
  transition: transform 0.3s ease, opacity 0.15s ease;
}

.gallery-item {
  cursor: zoom-in;
}

/* ── Scroll animations ──────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
    justify-content: space-between;
  }

  .nav-center {
    flex-direction: row;
    gap: 0;
  }

  .nav-links-row {
    display: none;
  }

  .nav-burger {
    display: flex;
    position: static;
  }

  .hero-section,
  .expertise-section,
  .projects-section,
  .contact-page {
    padding-inline: 1.5rem;
  }

  .hero-section {
    padding-top: 12vh;
    padding-bottom: 2.5rem;
  }

  .hero { margin-bottom: 1.5rem; }

  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .contact-page { padding-top: 14vh; }

  /* Bio */
  .bio-section {
    padding-inline: 1.5rem;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bio-text {
    padding-top: 1.8rem;
  }

  .bio-left {
    width: 100%;
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .bio-logo {
    width: 70%;
    filter: brightness(0) saturate(100%) invert(9%) sepia(85%) saturate(4500%) hue-rotate(348deg) brightness(1.15) contrast(1.05);
  }

  .bio-photo {
    width: 100%;
    height: auto;
    aspect-ratio: unset;
    background: none !important;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
  }

  .bio-photo img {
    object-fit: cover !important;
    height: auto !important;
    width: 100%;
  }

  .bio-text p {
    font-size: 0.85rem;
  }

  /* Expertise */
  .expertise-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  /* Projets */
  .projects-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.8rem 0;
  }

  .project-card-photo {
    width: 100%;
    aspect-ratio: unset;
    order: -1;
  }

  .project-card-photo img {
    object-fit: contain !important;
    height: auto !important;
  }

  .project-card-title {
    font-size: 1rem;
  }

  .section-title,
  .contact-hero h1 {
    font-size: 0.75rem;
  }

  /* Newsletter */
  .newsletter-block { padding: 2rem 1.5rem; }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .newsletter-form input[type="email"] {
    border-right: 1px solid var(--red-mid);
    border-bottom: none;
  }

  /* Footer */
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Project detail */
  .project-detail {
    padding-inline: 1.5rem;
    padding-top: 12vh;
    padding-bottom: 4rem;
  }

  .project-detail-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-detail-left {
    position: static;
  }

  .project-detail-mainphoto {
    width: 75%;
    margin: 0 auto;
  }

  .project-detail-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .project-detail-text p {
    font-size: 0.85rem;
  }
}
