@font-face {
  font-family: 'Satoshi';
  src: url('./fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 100 650;
  font-style: normal;
}

:root {
  --bg: #161616;
  --text: #F2F2F2;
  --muted: #BFBFBF;
  --soft: #93AEBF;
  --line: rgba(191, 191, 191, 0.22);
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-anchor: none;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px;
  pointer-events: none;
}

.nav-banner {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 74px;
  border-radius: 22px;
  background: rgba(22, 22, 22, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(-6px) scaleX(0.96);
  transform-origin: top center;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-header.scrolled .nav-banner {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}


.navbar {
  position: relative;
  z-index: 2;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
  transform-origin: center center;
  will-change: transform, filter;
}

.logo:hover img,
.logo:focus-visible img {
  opacity: 1;
  transform: scale(1.07);
  filter: drop-shadow(0 4px 14px rgba(147, 174, 191, 0.38));
}

.nav-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  margin-left: auto;
}

.nav-links {
  position: absolute;
  top: calc(100% + 16px);
  right: -28px;
  width: 240px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  border-radius: 24px;
  background: rgba(22, 22, 22, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
  z-index: 20;
  pointer-events: none;
}

.menu-toggle {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  isolation: isolate;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  backdrop-filter: blur(12px) saturate(108%);
  -webkit-backdrop-filter: blur(12px) saturate(108%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease,
    border-color 0.22s ease;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  opacity: 1;
  z-index: -1;
}

.menu-toggle span {
  width: 18px;
  height: 1.8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  position: relative;
  z-index: 1;
}

.menu-toggle span:nth-child(2) {
  width: 14px;
}

.menu-toggle {
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease,
    border-color 0.22s ease,
    filter 0.42s ease;
}

.site-header.scrolled .menu-toggle {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: drop-shadow(0 2px 8px rgba(147, 174, 191, 0.22));
}

.site-header.scrolled .menu-toggle span:nth-child(1) { width: 12px; }
.site-header.scrolled .menu-toggle span:nth-child(2) { width: 18px; }
.site-header.scrolled .menu-toggle span:nth-child(3) { width: 14px; }

.site-header.scrolled .menu-toggle::before {
  opacity: 0;
}

.site-header.scrolled .menu-toggle:hover,
.site-header.scrolled .menu-toggle:focus-visible {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 12px rgba(147, 174, 191, 0.36));
}

.site-header.menu-open .menu-toggle {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
}

.site-header.menu-open .nav-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7.8px) rotate(45deg);
  width: 18px;
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7.8px) rotate(-45deg);
  width: 18px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.95;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
  text-align: center;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  z-index: -1;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus-visible,
.site-header.menu-open .nav-links a:hover,
.site-header.menu-open .nav-links a:focus-visible {
  opacity: 1;
  color: #F2F2F2;
  transform: none;
}

.site-header.scrolled .nav-links a:hover::before,
.site-header.scrolled .nav-links a:focus-visible::before,
.site-header.menu-open .nav-links a:hover::before,
.site-header.menu-open .nav-links a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 60px 62px;
  z-index: 1;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25) translateY(-8%);
  transform-origin: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(22,22,22,0.03), rgba(22,22,22,0.10)),
    linear-gradient(to top, rgba(22,22,22,0.08), rgba(22,22,22,0.01));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32vh;
  background: linear-gradient(
    to bottom,
    rgba(22,22,22,0) 0%,
    rgba(22,22,22,0.6) 60%,
    rgba(22,22,22,1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  transform: translateY(0);
}

.hero h1 {
  font-size: clamp(4.2rem, 8vw, 7rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 660px;
}

.hero-title {
  min-height: 1.82em;
}

.typewriter {
  display: inline-block;
  white-space: pre-line;
}

.typewriter-smooth {
  display: inline-block;
  white-space: pre-line;
  line-height: inherit;
}

.typewriter-smooth .type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  filter: blur(3px);
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s ease;
  will-change: opacity, transform, filter;
}

.typewriter-smooth .type-char.char-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero h2 {
  margin-top: 28px;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--muted);
}

/* REVEAL SECTIONS */
.photo-section,
.bio-section {
  position: relative;
}

/* PHOTO SECTION */
.photo-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background:
    url("https://www.phil6.be/col1/img/MaximeColin.png") center / cover no-repeat,
    #161616;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.05);
  transition:
    opacity 1.1s ease,
    filter 1.1s ease,
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.reveal-section.is-visible.photo-section {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.photo-section.is-visible + .bio-section .bio-panel h3,
.photo-section.is-visible + .bio-section .bio-panel > p:last-child {
  opacity: 1;
  transform: translateY(0);
}

.photo-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(22,22,22,0.82) 0%,
      rgba(22,22,22,0.34) 26%,
      rgba(22,22,22,0.08) 54%,
      rgba(22,22,22,0) 78%
    ),
    linear-gradient(
      to bottom,
      rgba(22,22,22,1) 0%,
      rgba(22,22,22,0.34) 20%,
      rgba(22,22,22,0) 42%
    );
}

/* BIO SECTION */
.bio-section {
  display: flex;
  align-items: flex-end;
  min-height: 48vh;
  padding: 0 60px 72px;
  margin-top: -48vh;
  z-index: 3;
  border-top: none;
  background: transparent;
}

.bio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 22, 22, 0) 0%,
    rgba(22, 22, 22, 0.12) 18%,
    rgba(22, 22, 22, 0.3) 34%,
    rgba(22, 22, 22, 0.58) 54%,
    rgba(22, 22, 22, 0.82) 76%,
    rgba(22, 22, 22, 0.96) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.bio-panel {
  max-width: 760px;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.bio-panel h3 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 900;
  max-width: 900px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 2.72em;
}

.bio-panel h3 .typewriter {
  display: inline-block;
  white-space: pre-line;
}


.bio-panel > p:last-child {
  margin-top: 28px;
  max-width: 760px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* SKILLS SECTION */
.skills-section {
  position: relative;
  background: #161616;
  padding: 40px 0 120px;
  margin-top: 0;
  z-index: 2;
}

.skills-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 10vh;
  background: linear-gradient(
    to bottom,
    #161616 0%,
    rgba(22,22,22,0.5) 50%,
    rgba(22,22,22,0) 100%
  );
  pointer-events: none;
}

.skill-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 40px;
  min-height: 260px;
  padding: 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.skill-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.skill-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #93aebf;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.skill-item:hover::before {
  transform: scaleX(1);
}

.skill-item h2,
.skill-desc {
  position: relative;
  z-index: 1;
}

.skill-item h2 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: #F2F2F2;
  transition: color 0.35s ease, font-variation-settings 0.35s ease, transform 0.35s ease;
  font-variation-settings: 'wght' 650;
  min-width: 0;
}

.skill-desc {
  max-width: 390px;
  font-size: 1.28rem;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
  justify-self: end;
}

.skill-item:hover .skill-desc {
  opacity: 1;
  transform: translateX(0);
}

.skill-item:hover h2 {
  color: #161616;
  font-variation-settings: 'wght' 420;
}


.skill-item:hover .skill-desc {
  color: rgba(22, 22, 22, 0.9);
}

/* PROFILE SECTION */
.profile-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 60px 72px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(to bottom, rgba(22, 22, 22, 0.05), rgba(22, 22, 22, 0.16)),
    url("https://www.phil6.be/col1/img/MaximeColin-2.png") center / cover no-repeat;
  overflow: hidden;
  margin-top: 0;
  z-index: 2;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.05);
  transition:
    opacity 1.1s ease,
    filter 1.1s ease,
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-section.profile-visible {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 22, 22, 0.02) 0%,
    rgba(22, 22, 22, 0.10) 28%,
    rgba(22, 22, 22, 0.24) 56%,
    rgba(22, 22, 22, 0.48) 80%,
    rgba(22, 22, 22, 0.68) 100%
  );
  z-index: 0;
}

.profile-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 50vh;
  background: linear-gradient(
    to bottom,
    rgba(22,22,22,1) 0%,
    rgba(22,22,22,0.5) 40%,
    rgba(22,22,22,0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.profile-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.profile-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-name {
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: #F2F2F2;
  max-width: 700px;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-bio {
  margin-top: 28px;
  max-width: 700px;
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  line-height: 1.72;
  font-weight: 300;
  color: #BFBFBF;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-section.profile-visible .profile-name,
.profile-section.profile-visible .profile-bio {
  opacity: 1;
  transform: translateY(0);
}

/* PROJECTS HEADER */
.projects-header {
  background: #161616;
  padding: 80px 60px 40px;
}

.projects-header-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 12px;
}

.projects-header-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #F2F2F2;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* PROJECTS GRID SECTION */
.projects-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 0 60px 80px;
  background: #161616;
  align-items: start;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}



.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 38px;
  background: #F2F2F2;
  text-decoration: none;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  align-self: start;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.project-card-large {
  min-height: 0;
}

.project-card-small {
  min-height: 0;
}

.project-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}

.project-card--wide .project-video {
  object-position: center center;
}

.project-card--wide.project-card-coupdpouce {
  background: #FFFFFF;
}


.project-card--portrait {
  aspect-ratio: 3 / 4;
}

.project-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease,
    opacity 0.35s ease;
}

.project-pacifica .project-video {
  transform: scale(1.5);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 32%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(to top, rgba(22, 22, 22, 0.22) 0%, rgba(22, 22, 22, 0.08) 26%, rgba(22, 22, 22, 0.02) 48%, rgba(22, 22, 22, 0) 68%);
  pointer-events: none;
  opacity: 0.12;
  transition: opacity 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.project-card-title-wrap {
  position: absolute;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(242, 242, 242, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px) saturate(108%);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease;
  pointer-events: none;
}

.project-card-type {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(242, 242, 242, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px) saturate(108%);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease;
  pointer-events: none;
}

.project-card:hover .project-card-title-wrap,
.project-card:focus-visible .project-card-title-wrap,
.project-card:hover .project-card-type,
.project-card:focus-visible .project-card-type {
  opacity: 1;
  transform: translateY(0);
}

.project-card-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #F2F2F2;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.project-card-meta {
  display: inline-block;
  margin-left: 0.45em;
  font-size: 0.7em;
  font-weight: 100;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.32);
  pointer-events: none;
  z-index: 2;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 26px 54px rgba(0, 0, 0, 0.16);
}

.project-card:hover .project-video,
.project-card:focus-visible .project-video {
  transform: scale(1.03);
  filter: brightness(0.92) saturate(1.04);
}

.project-pacifica:hover .project-video,
.project-pacifica:focus-visible .project-video {
  transform: scale(1.53);
  filter: brightness(0.92) saturate(1.04);
}

.project-card:hover .project-card-overlay,
.project-card:focus-visible .project-card-overlay {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 32%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(to top, rgba(22, 22, 22, 0.44) 0%, rgba(22, 22, 22, 0.18) 26%, rgba(22, 22, 22, 0.04) 48%, rgba(22, 22, 22, 0) 68%);
  opacity: 0.92;
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  backdrop-filter: blur(14px) saturate(108%);
  -webkit-backdrop-filter: blur(14px) saturate(108%);
  opacity: 1;
}

.project-card:hover .project-card-title-wrap,
.project-card:focus-visible .project-card-title-wrap,
.project-card:hover .project-card-type,
.project-card:focus-visible .project-card-type {
  background: rgba(242, 242, 242, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.project-card:hover .project-card-meta,
.project-card:focus-visible .project-card-meta {
  color: rgba(255, 255, 255, 0.92);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .site-header {
    padding: 24px;
  }

  .nav-banner {
    top: 24px;
    left: 24px;
    right: 24px;
  }

  .nav-links {
    width: 240px;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    right: -24px;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  .hero {
    padding: 0 24px 44px;
  }

  .hero h2 {
    max-width: 100%;
  }

  .bio-section {
    min-height: 42vh;
    padding: 0 24px 56px;
    margin-top: -42vh;
  }

  .skills-section {
    padding: 24px 0 100px;
  }

  .skill-item {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 150px;
    padding: 24px 24px;
  }

  .skill-item h2 {
    font-size: clamp(2.8rem, 8vw, 4.8rem);
  }

  .skill-desc {
    grid-column: auto;
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    font-size: 1.05rem;
    margin-top: 4px;
    opacity: 1;
    transform: none;
  }

  .skill-item:hover .skill-desc {
    transform: none;
    color: rgba(22, 22, 22, 0.9);
  }

  .profile-section {
    padding: 100px 24px 56px;
    background-position: center center;
  }

  .profile-content {
    max-width: 620px;
  }

  .profile-name {
    font-size: clamp(3rem, 8vw, 5.2rem);
  }

  .profile-bio {
    max-width: 620px;
    font-size: 1.02rem;
  }

  .profile-section {
    margin-top: 0;
  }
  .hero::after { height: 22vh; }
  .projects-grid-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 30px 24px 64px;
  }
  .photo-section {
    background-attachment: scroll;
  }



  .project-card-large {
    min-height: 0;
  }

  .project-card-small {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 20px 18px;
  }

  .nav-banner {
    top: 20px;
    left: 18px;
    right: 18px;
    height: 68px;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .navbar {
    height: 68px;
    padding: 0 20px;
    align-items: center;
    gap: 18px;
  }

  .nav-links {
    width: min(240px, calc(100vw - 36px));
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    right: -20px;
    top: calc(100% + 14px);
  }

  .nav-links a {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    padding: 0 18px 34px;
    height: 100vh;
    align-items: flex-end;
  }

  .bg-video {
    transform: scale(1.3) translateY(-10%);
    transform-origin: center center;
    object-position: 51% center;
  }

  @media (orientation: landscape) {
    .bg-video {
      transform: scale(1.25) translateY(-8%);
      object-position: center center;
    }
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero h2 {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .bio-section {
    min-height: 38vh;
    padding: 0 18px 42px;
    margin-top: -38vh;
  }

  .bio-panel h3 {
    font-size: clamp(1.6rem, 7vw, 3.4rem);
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .bio-panel > p:last-child {
    font-size: 1rem;
  }

  .skills-section {
    padding: 18px 0 72px;
  }

  .skill-item {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 22px 18px;
  }


  .skill-item h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .skill-desc {
    grid-column: auto;
    font-size: 0.98rem;
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .skill-desc {
    opacity: 1;
    transform: none;
  }

  .skill-item:hover .skill-desc {
    transform: none;
    color: rgba(22, 22, 22, 0.9);
  }

  .profile-section {
    padding: 92px 18px 34px;
    background-position: 50% 15%;
    align-items: flex-end;
  }

  .profile-content {
    max-width: 100%;
  }

  .profile-label {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .profile-name {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .profile-bio {
    margin-top: 20px;
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .profile-section {
    margin-top: 0;
  }
  .hero::after { height: 55vh; }
  .hero-content {
    transform: translateY(0);
  }
  .projects-grid-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 48px;
  }

  .projects-header {
    padding: 48px 18px 24px;
  }

  .project-card--wide {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  .project-card--portrait {
    aspect-ratio: 4 / 3;
  }

  .project-card {
    border-radius: 30px;
  }

  .project-card-large {
    min-height: 0;
  }

  .project-card-type {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.72rem;
  }

  .project-card-title-wrap {
    left: 12px;
    right: auto;
    bottom: 12px;
    max-width: calc(100% - 28px);
    padding: 14px 16px;
    border-radius: 16px;
  }

  .project-card-meta {
    display: block;
    margin-left: 0;
    margin-top: 2px;
    opacity: 1;
    transform: none;
    font-size: 0.75em;
  }

  .project-card-title {
    font-size: 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .project-card-meta {
    opacity: 1;
    transform: none;
    font-size: 0.68em;
    margin-left: 0;
  }

  .project-card-small {
    min-height: 0;
  }
}
 
.reveal-horizontal {
  opacity: 1;
  transform: translateX(0);
}

/* PROJECT HERO VIDEO FIX */
.project-hero-media {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-radius: 28px;
}

.project-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}


/* PROJECT PAGE LAYOUT */
.project-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #404040;
  color: #161616;
  padding: 132px 0 64px;
  overflow: hidden;
}

.project-page-canadian {
  color: #F2F2F2;
}

.project-page-beyond {
  background: #8E3A4B;
}

.project-page-coupdpouce {
  background: #9FBCC9;
  color: #F2F2F2;
}

.project-page-canadian {
  background: #234B35;
}

.project-page-beyond .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
}

.project-page.project-page-coupdpouce .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(64, 64, 64, 0.96) 0%, rgba(64, 64, 64, 1) 100%);
}

.project-page.project-page-coupdpouce::before {
  background: #9FBCC9;
}

.project-page.project-page-beyond::before {
  background: #8E3A4B;
}

.project-page.project-page-canadian::before {
  background: #234B35;
}


.project-page.project-page-coupdpouce .project-title,
.project-page.project-page-coupdpouce .project-subtitle,
.project-page.project-page-coupdpouce .project-description {
  color: #F2F2F2;
}

.project-page-canadian .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
}

.project-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}

.project-page > * {
  position: relative;
  z-index: 1;
}

.project-header .nav-banner {
  opacity: 1;
  transform: translateY(0);
}

.project-header .menu-toggle {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: drop-shadow(0 2px 8px rgba(147, 174, 191, 0.22));
}

.project-header .menu-toggle::before {
  opacity: 0;
}

.project-intro-card-section {
  display: flex;
  justify-content: center;
  padding: 28px 24px 44px;
}

.project-intro-card {
  width: min(100%, 980px);
  padding: 34px 36px;
  border-radius: 28px;
  background: #F2F2F2;
  border: 1px solid rgba(22, 22, 22, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-kicker {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.72);
  margin-bottom: 14px;
}

.project-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: #161616;
}

.project-subtitle {
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(22, 22, 22, 0.78);
}

.project-description {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(22, 22, 22, 0.82);
}


.project-page-beyond .project-title,
.project-page-beyond .project-subtitle,
.project-page-beyond .project-description {
  color: #F2F2F2;
}


.project-page-canadian .project-title,
.project-page-canadian .project-subtitle,
.project-page-canadian .project-description {
  color: #F2F2F2;
}

.project-carousel-section {
  padding: 0 24px;
}

.project-carousel-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.project-carousel-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.project-media-slide {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.project-carousel-track > .project-media-slide:first-child {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.project-carousel-track > .project-media-slide:last-child {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.project-media-slide-video,
.project-media-slide-image {
  min-height: 680px;
}

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

.project-media-video {
  object-fit: cover;
}

.project-back {
  padding: 40px 0 0;
  width: min(100%, 1120px);
  margin-left: max(24px, calc((100vw - 1120px) / 2));
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  text-decoration: none;
  color: rgba(242, 242, 242, 0.82);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.22s ease, transform 0.22s ease;
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: #F2F2F2;
  transform: translateX(-2px);
}

@media (max-width: 980px) {
  .project-page {
    padding: 124px 0 56px;
  }

  .project-intro-card-section {
    padding: 24px 24px 36px;
  }

  .project-intro-card {
    width: 100%;
    padding: 30px 30px;
  }

  .project-carousel-shell {
    width: 100%;
  }

  .project-media-slide-video,
  .project-media-slide-image {
    min-height: 520px;
  }

  .project-back {
    margin-left: 24px;
    width: calc(100% - 48px);
  }
}

@media (max-width: 720px) {
  .project-page {
    padding: 112px 0 44px;
    overflow: hidden;
  }

  .project-intro-card-section {
    padding: 18px 18px 30px;
  }

  .project-intro-card {
    width: 100%;
    padding: 24px 22px;
    border-radius: 22px;
  }

  .project-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .project-subtitle {
    margin-top: 14px;
    font-size: 1rem;
  }

  .project-description {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .project-carousel-section {
    padding: 0 18px;
  }

  .project-carousel-track {
    gap: 0;
  }

  .project-media-slide {
    border-radius: 0;
  }

  .project-carousel-track > .project-media-slide:first-child {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }

  .project-carousel-track > .project-media-slide:last-child {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }

  .project-media-slide-video,
  .project-media-slide-image {
    min-height: 360px;
  }

  .project-back {
    padding: 28px 18px 0;
  }

  .project-back {
    margin-left: 18px;
    width: calc(100% - 36px);
  }
}

.project-page.project-page-coupdpouce {
  background: #9FBCC9;
}

.project-page.project-page-coupdpouce::before {
  background: #9FBCC9;
}

.project-page.project-page-coupdpouce .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.project-page.project-page-coupdpouce .project-title,
.project-page.project-page-coupdpouce .project-subtitle,
.project-page.project-page-coupdpouce .project-description {
  color: #F2F2F2;
}

/* --- FINAL HIGH-PRIORITY CANADIAN OUTFITTERS OVERRIDES --- */
.project-page.project-page-canadian {
  background: #234B35;
}

.project-page.project-page-canadian::before {
  background: #234B35;
}

.project-page.project-page-canadian .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-page
.project-page.project-page-canadian .project-title,
.project-page.project-page-canadian .project-subtitle,
.project-page.project-page-canadian .project-description {
  color: #F2F2F2;
}
.project-description a {
  color: #66B18F;
  text-decoration: none;
  font-weight: 500;
}

.project-description a:hover,
.project-description a:focus-visible {
  color: #7BC39E;
  text-decoration: underline;
}

.project-page.project-page-coupdpouce .project-description a {
  color: #66B18F;
}

.project-page.project-page-coupdpouce .project-description a:hover,
.project-page.project-page-coupdpouce .project-description a:focus-visible {
  color: #7BC39E;
}

.project-page.project-page-coupdpouce .project-back-link {
  color: rgba(22, 22, 22, 0.6);
}

.project-page.project-page-coupdpouce .project-back-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-coupdpouce .proj-nav-link {
  color: rgba(22, 22, 22, 0.45);
}

.project-page.project-page-coupdpouce .proj-nav-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-coupdpouce .proj-nav-all {
  color: rgba(22, 22, 22, 0.4);
}

.project-page.project-page-coupdpouce .proj-nav-all:hover {
  color: rgba(22, 22, 22, 0.75);
}

.project-page.project-page-coupdpouce .proj-nav-disabled {
  color: rgba(22, 22, 22, 0.18);
}

/* --- HARIBO PROJECT THEME --- */
.project-page.project-page-haribo {
  background: #F5EEEC;
  color: #1a1a1a;
}

.project-page.project-page-haribo::before {
  background: #F5EEEC;
}

.project-page.project-page-haribo .project-intro-card {
  background: rgba(22, 22, 22, 0.05);
  border: 1px solid rgba(22, 22, 22, 0.10);
}

.project-page.project-page-haribo .project-kicker {
  color: rgba(22, 22, 22, 0.5);
}

.project-page.project-page-haribo .project-title,
.project-page.project-page-haribo .project-subtitle,
.project-page.project-page-haribo .project-description {
  color: #1a1a1a;
}

.project-page.project-page-haribo .project-back-link {
  color: rgba(22, 22, 22, 0.6);
}

.project-page.project-page-haribo .project-back-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-haribo .proj-nav-link {
  color: rgba(22, 22, 22, 0.45);
}

.project-page.project-page-haribo .proj-nav-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-haribo .proj-nav-all {
  color: rgba(22, 22, 22, 0.4);
}

.project-page.project-page-haribo .proj-nav-all:hover {
  color: rgba(22, 22, 22, 0.75);
}

.project-page.project-page-haribo .proj-nav-disabled {
  color: rgba(22, 22, 22, 0.18);
}

/* --- POSTERSM PROJECT THEME --- */
.project-page.project-page-postersm {
  background: #F0EEE8;
  color: #1a1a1a;
}

.project-page.project-page-postersm::before {
  background: #F0EEE8;
}

.project-page.project-page-postersm .project-intro-card {
  background: rgba(22, 22, 22, 0.05);
  border: 1px solid rgba(22, 22, 22, 0.10);
}

.project-page.project-page-postersm .project-kicker {
  color: rgba(22, 22, 22, 0.5);
}

.project-page.project-page-postersm .project-title,
.project-page.project-page-postersm .project-subtitle,
.project-page.project-page-postersm .project-description {
  color: #1a1a1a;
}

.project-page.project-page-postersm .project-back-link {
  color: rgba(22, 22, 22, 0.6);
}

.project-page.project-page-postersm .project-back-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-postersm .proj-nav-link {
  color: rgba(22, 22, 22, 0.45);
}

.project-page.project-page-postersm .proj-nav-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-postersm .proj-nav-all {
  color: rgba(22, 22, 22, 0.4);
}

.project-page.project-page-postersm .proj-nav-all:hover {
  color: rgba(22, 22, 22, 0.75);
}

.project-page.project-page-postersm .proj-nav-disabled {
  color: rgba(22, 22, 22, 0.18);
}

/* --- ÉCHASSEURS PROJECT THEME --- */
.project-page.project-page-echasseurs {
  background: #EDE4D0;
  color: #111100;
}

.project-page.project-page-echasseurs::before {
  background: #EDE4D0;
}

.project-page.project-page-echasseurs .project-intro-card {
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.project-page.project-page-echasseurs .project-kicker {
  color: rgba(0, 0, 0, 0.5);
}

.project-page.project-page-echasseurs .project-title,
.project-page.project-page-echasseurs .project-subtitle,
.project-page.project-page-echasseurs .project-description {
  color: #111100;
}

.project-page.project-page-echasseurs .project-back-link {
  color: rgba(0, 0, 0, 0.6);
}

.project-page.project-page-echasseurs .project-back-link:hover {
  color: #111100;
}

.project-page.project-page-echasseurs .proj-nav-link {
  color: rgba(22, 22, 22, 0.45);
}

.project-page.project-page-echasseurs .proj-nav-link:hover {
  color: #111100;
}

.project-page.project-page-echasseurs .proj-nav-all {
  color: rgba(22, 22, 22, 0.4);
}

.project-page.project-page-echasseurs .proj-nav-all:hover {
  color: rgba(22, 22, 22, 0.75);
}

.project-page.project-page-echasseurs .proj-nav-disabled {
  color: rgba(22, 22, 22, 0.18);
}

/* --- RDR PROJECT THEME --- */
.project-page.project-page-rdr {
  background: #080E08;
  color: #F2F2F2;
}

.project-page.project-page-rdr::before {
  background: #080E08;
}

.project-page.project-page-rdr .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-page.project-page-rdr .project-title,
.project-page.project-page-rdr .project-subtitle,
.project-page.project-page-rdr .project-description {
  color: #F2F2F2;
}

/* --- MAREN PROJECT THEME --- */
.project-page.project-page-maren {
  background: #F0EDE6;
  color: #1a1a1a;
}

.project-page.project-page-maren::before {
  background: #F0EDE6;
}

.project-page.project-page-maren .project-intro-card {
  background: rgba(22, 22, 22, 0.05);
  border: 1px solid rgba(22, 22, 22, 0.10);
}

.project-page.project-page-maren .project-kicker {
  color: rgba(22, 22, 22, 0.5);
}

.project-page.project-page-maren .project-title,
.project-page.project-page-maren .project-subtitle,
.project-page.project-page-maren .project-description {
  color: #1a1a1a;
}

.project-page.project-page-maren .project-back-link {
  color: rgba(22, 22, 22, 0.6);
}

.project-page.project-page-maren .project-back-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-maren .proj-nav-link {
  color: rgba(22, 22, 22, 0.45);
}

.project-page.project-page-maren .proj-nav-link:hover {
  color: #1a1a1a;
}

.project-page.project-page-maren .proj-nav-all {
  color: rgba(22, 22, 22, 0.4);
}

.project-page.project-page-maren .proj-nav-all:hover {
  color: rgba(22, 22, 22, 0.75);
}

.project-page.project-page-maren .proj-nav-disabled {
  color: rgba(22, 22, 22, 0.18);
}

/* Doubles pages — affichage complet sans recadrage */
.project-page-maren .project-media-slide {
  min-height: 0;
  height: auto;
  background: #F0EDE6;
}

.project-page-maren .project-media-image {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 90vh;
}

/* --- BMUSIC PROJECT THEME --- */
.project-page.project-page-bmusic {
  background: #1E1410;
  color: #F2F2F2;
}

.project-page.project-page-bmusic::before {
  background: #1E1410;
}

.project-page.project-page-bmusic .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.project-page.project-page-bmusic .project-title,
.project-page.project-page-bmusic .project-subtitle,
.project-page.project-page-bmusic .project-description {
  color: #F2F2F2;
}

/* --- PACIFICA PROJECT THEME --- */
.project-page.project-page-pacifica {
  background: #5A1E0F;
  color: #F2F2F2;
}

.project-page.project-page-pacifica::before {
  background: #5A1E0F;
}

.project-page.project-page-pacifica .project-intro-card {
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.project-page.project-page-pacifica .project-title,
.project-page.project-page-pacifica .project-subtitle,
.project-page.project-page-pacifica .project-description {
  color: #F2F2F2;
}

/* --- CONTACT PAGE THEME --- */
.contact-page {
  background: #161616;
  color: #F2F2F2;
}

.contact-page::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(147, 174, 191, 0.16) 0%, rgba(147, 174, 191, 0) 26%),
    radial-gradient(circle at 88% 22%, rgba(191, 191, 191, 0.12) 0%, rgba(191, 191, 191, 0) 22%),
    radial-gradient(circle at 78% 78%, rgba(147, 174, 191, 0.10) 0%, rgba(147, 174, 191, 0) 24%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.98) 0%, rgba(22, 22, 22, 1) 100%);
}

.contact-hero-section {
  padding: 0 24px 24px;
}

.contact-page .project-back.project-back-top {
  padding: 0 24px 22px;
}

.contact-hero-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 42px 40px 40px;
  border-radius: 28px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-page .project-kicker {
  color: #93AEBF;
}

.contact-title {
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: #F2F2F2;
  max-width: 900px;
}

.contact-description {
  margin-top: 22px;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.72;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.78);
}

.contact-grid-section {
  padding: 0 24px;
}

.contact-grid-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.contact-panel {
  min-height: 180px;
  height: 100%;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.contact-panel:hover,
.contact-panel:focus-within {
  transform: translateY(-3px);
  background: rgba(242, 242, 242, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.contact-panel-main {
  grid-column: span 1;
  min-height: 220px;
}

.contact-panel-label {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93AEBF;
  margin-bottom: 18px;
}

.contact-main-link {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #F2F2F2;
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease;
  overflow-wrap: anywhere;
}

.contact-main-link:hover,
.contact-main-link:focus-visible {
  color: #93AEBF;
}

.contact-panel-text {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.72);
}

/* CV download button — contact page */
.contact-cv-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(242, 242, 242, 0.18);
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.contact-cv-download:hover {
  color: #161616;
  background: #93AEBF;
  border-color: #93AEBF;
}

/* Download group wrappers */
.contact-downloads {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.contact-downloads .contact-cv-download {
  margin-top: 0;
}

.about-downloads {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.about-cv-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(242, 242, 242, 0.18);
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.about-cv-download:hover {
  color: #161616;
  background: #93AEBF;
  border-color: #93AEBF;
}

.about-downloads .about-cv-download {
  margin-top: 0;
}


.contact-secondary-link {
  display: inline-block;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.18;
  font-weight: 520;
  letter-spacing: -0.025em;
  color: #F2F2F2;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.contact-secondary-link:hover,
.contact-secondary-link:focus-visible {
  color: #93AEBF;
  transform: translateX(2px);
}

.contact-links-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2px;
}

.contact-links-group .contact-secondary-link:first-child {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.contact-links-group .contact-secondary-link:last-child {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.28;
  font-weight: 440;
  opacity: 0.88;
}

.contact-note-section {
  padding: 22px 24px 0;
}

.contact-note-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(242, 242, 242, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-note-text {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.72);
}

.contact-page .project-back-link {
  color: rgba(242, 242, 242, 0.82);
}

.contact-page .project-back-link:hover,
.contact-page .project-back-link:focus-visible {
  color: #F2F2F2;
}

@media (max-width: 980px) {
  .contact-grid-shell {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .contact-panel-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .contact-hero-section {
    padding: 0 18px 18px;
  }

  .contact-hero-card {
    padding: 28px 22px 26px;
    border-radius: 22px;
  }

  .contact-title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .contact-description {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .contact-grid-section {
    padding: 0 18px;
  }

  .contact-grid-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-links-group {
    gap: 12px;
  }

  .contact-links-group .contact-secondary-link:first-child {
    font-size: 1.32rem;
  }

  .contact-links-group .contact-secondary-link:last-child {
    font-size: 1.02rem;
  }

  .contact-panel,
  .contact-panel-main {
    min-height: auto;
    padding: 22px 20px 24px;
    border-radius: 22px;
  }

  .contact-main-link {
    font-size: 1.55rem;
  }

  .contact-secondary-link {
    font-size: 1.18rem;
  }

  .contact-note-section {
    padding: 16px 18px 0;
  }

  .contact-note-card {
    padding: 20px 20px;
    border-radius: 20px;
  }
}

/* CONTACT SOCIAL BUTTONS */
.contact-links-group-buttons { gap: 12px; }

.contact-social-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #F2F2F2;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.contact-social-button:hover,
.contact-social-button:focus-visible {
  transform: translateY(-1px);
  color: #F2F2F2;
  background: rgba(242, 242, 242, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(0,0,0,0.12);
}

.contact-social-icon { width: 20px; height: 20px; display: inline-flex; }
.contact-social-icon svg { width: 100%; height: 100%; }

.contact-social-text { display: flex; flex-direction: column; gap: 2px; }

.contact-social-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-social-meta {
  font-size: 0.92rem;
  color: rgba(242,242,242,0.72);
}

.contact-social-button:hover .contact-social-meta { color: rgba(242,242,242,0.9); }

@media (max-width: 720px) {
  .contact-page .project-back.project-back-top { padding: 0 18px 16px; }
  .contact-social-button { min-height: 58px; padding: 13px 14px; border-radius: 16px; }
  .contact-social-name { font-size: 1rem; }
  .contact-social-meta { font-size: 0.88rem; }
}
/* FINAL CONTACT SOCIAL BUTTON OVERRIDES */
.contact-links-group-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.contact-links-group-buttons .contact-secondary-link {
  display: none;
}

.contact-social-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #F2F2F2;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-social-button:hover,
.contact-social-button:focus-visible {
  transform: translateY(-1px);
  color: #161616;
  background: #93AEBF;
  border-color: #93AEBF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

.contact-social-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.92;
}

.contact-social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-social-name {
  font-size: 1.02rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-social-meta {
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(242, 242, 242, 0.72);
  transition: color 0.22s ease;
}

.contact-social-button:hover .contact-social-meta,
.contact-social-button:focus-visible .contact-social-meta {
  color: rgba(22, 22, 22, 0.72);
}

@media (max-width: 720px) {
  .contact-social-button {
    min-height: 58px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .contact-social-name {
    font-size: 0.96rem;
  }

  .contact-social-meta {
    font-size: 0.84rem;
  }
}
/* FORCE CONTACT SOCIAL BUTTON LAYOUT */
.contact-panel .contact-secondary-link {
  display: none !important;
}

.contact-links-group.contact-links-group-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 2px !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-button {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  color: #F2F2F2 !important;
  background: rgba(242, 242, 242, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-icon {
  display: inline-flex !important;
  width: 20px !important;
  height: 20px !important;
  align-items: center !important;
  justify-content: center !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-icon svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-name {
  font-size: 1.02rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

.contact-links-group.contact-links-group-buttons .contact-social-meta {
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: rgba(242, 242, 242, 0.72) !important;
}

@media (max-width: 720px) {
  .contact-links-group.contact-links-group-buttons .contact-social-button {
    min-height: 58px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
  }
}
.contact-form-section {
  padding: 22px 24px 0;
}

.contact-form-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 28px 28px 30px;
  border-radius: 26px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
  margin-top: 4px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form .form-group:nth-child(5) {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(242, 242, 242, 0.78);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #F2F2F2;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  padding: 16px 18px;
  outline: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 242, 242, 0.34);
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #93AEBF;
  background: rgba(147, 174, 191, 0.08);
  box-shadow:
    0 0 0 4px rgba(147, 174, 191, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-submit-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 54px;
  padding: 0 22px;
  border: none;
  border-radius: 18px;
  background: rgba(242, 242, 242, 0.06);
  color: #F2F2F2;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-submit-button:hover,
.contact-submit-button:focus-visible {
  transform: translateY(-1px);
  color: #161616;
  background: #93AEBF;
  border-color: #93AEBF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 720px) {
  .contact-form-section {
    padding: 16px 18px 0;
  }

  .contact-form-card {
    padding: 22px 20px 24px;
    border-radius: 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form .form-group:nth-child(5) {
    grid-column: auto;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px 16px;
    border-radius: 16px;
    font-size: 0.98rem;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-submit-button {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
  }
}
/* CONTACT FORM SUCCESS MESSAGE */
.contact-success-message {
  width: min(100%, 980px);
  margin: 28px auto 0;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(147, 174, 191, 0.12);
  border: 1px solid rgba(147, 174, 191, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInUp 0.5s ease;
}

.contact-success-message h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #93AEBF;
  margin-bottom: 8px;
}

.contact-success-message p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.85);
}

/* subtle animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONTACT FORM STATUS MESSAGE */
.contact-form-status {
  grid-column: 1 / -1;
  display: none;
  margin-top: 4px;
  padding: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(242, 242, 242, 0.78);
}

.contact-form-status.is-success,
.contact-form-status.is-error {
  display: block;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-form-status.is-success {
  background: rgba(147, 174, 191, 0.12);
  border-color: rgba(147, 174, 191, 0.28);
  color: #93AEBF;
}

.contact-form-status.is-error {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(242, 242, 242, 0.9);
}

@media (max-width: 720px) {
  .contact-form-status.is-success,
  .contact-form-status.is-error {
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 0.92rem;
  }
}
/* ABOUT BUTTON (BIO SECTION) */
.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #F2F2F2;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.about-button:hover,
.about-button:focus-visible {
  transform: translateY(-1px);
  color: #161616;
  background: #93AEBF;
  border-color: #93AEBF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ABOUT BUTTON POSITION IN PROFILE */
.profile-content .about-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 720px) {
  .profile-content .about-buttons {
    margin-top: 22px;
  }
}
/* --- ABOUT PAGE: DEDICATED LAYOUT + REFINED GRIDS --- */
.about-page {
  background: #161616;
}

.about-page::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(147, 174, 191, 0.14) 0%, rgba(147, 174, 191, 0) 26%),
    radial-gradient(circle at 86% 22%, rgba(191, 191, 191, 0.08) 0%, rgba(191, 191, 191, 0) 22%),
    radial-gradient(circle at 78% 80%, rgba(147, 174, 191, 0.07) 0%, rgba(147, 174, 191, 0) 24%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.98) 0%, rgba(22, 22, 22, 1) 100%);
}

.about-page .project-back.project-back-top {
  padding: 0 24px 22px;
}

.about-page .contact-hero-card,
.about-page .contact-panel,
.about-page .contact-form-card {
  background: rgba(242, 242, 242, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.about-hero-text {
  min-width: 0;
}

.about-title {
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.about-desc {
  max-width: 62ch;
  line-height: 1.66;
}

.about-hero-image {
  position: relative;
  width: 100%;
}

.about-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.about-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.about-page .contact-grid-shell {
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-page .contact-panel-main {
  grid-column: auto;
  min-height: 0;
}

.about-page .contact-main-link {
  pointer-events: none;
  cursor: default;
  color: #F2F2F2;
}

.about-page .contact-main-link:hover,
.about-page .contact-main-link:focus-visible {
  color: #F2F2F2;
}

.about-page .contact-panel-text {
  max-width: 56ch;
}

.about-page .contact-form-section {
  padding-top: 18px;
}

.about-page .contact-form-card {
  padding: 34px 36px 36px;
}

.about-page .contact-form-card .contact-description {
  max-width: 100%;
}

.about-page .contact-form-card .contact-description p {
  max-width: 72ch;
  line-height: 1.72;
}

.about-page .contact-form-card .contact-description p + p {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-hero-image {
    max-width: 520px;
  }

  .about-page .contact-form-card {
    padding: 30px 30px 32px;
  }
}

@media (max-width: 720px) {
  .about-page .project-back.project-back-top {
    padding: 0 18px 16px;
  }

  .about-hero {
    gap: 18px;
  }

  .about-title {
    max-width: none;
    line-height: 1.02;
  }

  .about-desc {
    max-width: 100%;
    line-height: 1.62;
  }

  .about-hero-image img {
    border-radius: 22px;
  }

  .about-page .contact-form-card {
    padding: 24px 22px 26px;
  }

  .about-page .contact-form-card .contact-description p {
    max-width: 100%;
    line-height: 1.66;
  }
}

/* =========================
   ABOUT PAGE — FINAL FIX
   ========================= */

.about-page {
  background: #161616;
}

.about-page::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(147, 174, 191, 0.14) 0%, rgba(147, 174, 191, 0) 26%),
    radial-gradient(circle at 86% 22%, rgba(191, 191, 191, 0.08) 0%, rgba(191, 191, 191, 0) 22%),
    radial-gradient(circle at 78% 80%, rgba(147, 174, 191, 0.07) 0%, rgba(147, 174, 191, 0) 24%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.98) 0%, rgba(22, 22, 22, 1) 100%);
}

.about-page .project-back.project-back-top {
  padding: 0 24px 22px;
}

.about-page .contact-hero-section {
  padding: 0 24px 20px;
}

.about-page .contact-hero-card {
  width: min(100%, 1120px);
  background: rgba(242, 242, 242, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

/* hero */
.about-hero {
  display: block;
  min-height: 480px;
}

.about-hero-text {
  min-width: 0;
  max-width: 55%;
  position: relative;
  z-index: 3;
}

.about-title {
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.about-desc {
  max-width: 62ch;
  line-height: 1.68;
  font-size: 1.02rem;
}

.about-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  margin: 0;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}

.about-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #1f1f1f 0%,
    #1f1f1f 4%,
    rgba(31, 31, 31, 0.78) 22%,
    rgba(31, 31, 31, 0.32) 44%,
    rgba(31, 31, 31, 0.05) 66%,
    transparent 82%
  );
  z-index: 2;
  pointer-events: none;
}

.about-hero-image::after {
  display: none;
}

.about-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 22%;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0.92) contrast(1.02);
}

/* on neutralise l’ancien faux bloc contact de la page about */
.about-page .contact-form-section {
  display: none;
}

/* nouvelle section éditoriale */
.about-editorial-section {
  padding: 0 24px 0;
}

.about-editorial-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.about-editorial-intro,
.about-editorial-card {
  padding: 30px 30px 32px;
  border-radius: 28px;
  background: rgba(242, 242, 242, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-editorial-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-editorial-title {
  margin-top: 8px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #F2F2F2;
  max-width: 12ch;
}

.about-editorial-text {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.68;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.76);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 22px;
  height: 100%;
}

.about-editorial-card-text {
  font-size: 1rem;
  line-height: 1.66;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.76);
}

.about-cta-section {
  padding: 22px 24px 48px;
}

.about-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1120px);
  margin: 0 auto;
  min-height: 72px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.08);
  transition: border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.about-cta-card:hover {
  border-color: rgba(147, 174, 191, 0.3);
  background: rgba(242, 242, 242, 0.07);
}

.about-cta-card:hover .about-cta-title {
  color: var(--soft);
}

.about-cta-card:hover .about-cta-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.about-cta-button {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  text-decoration: none;
  color: #F2F2F2;
  transition: color 0.22s ease;
}

.about-cta-button:hover .about-cta-title,
.about-cta-button:focus-visible .about-cta-title {
  color: var(--soft);
}


.about-cta-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-cta-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.about-cta-meta {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(242, 242, 242, 0.68);
  transition: color 0.22s ease;
}

.about-cta-button:hover .about-cta-meta,
.about-cta-button:focus-visible .about-cta-meta {
  color: rgba(242, 242, 242, 0.85);
}

.about-cta-arrow {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.8;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.about-cta-button:hover .about-cta-arrow,
.about-cta-button:focus-visible .about-cta-arrow {
  transform: translateX(4px);
  opacity: 1;
}

@media (max-width: 720px) {
  .about-cta-section {
    padding: 22px 18px 36px;
  }

  .about-cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .about-downloads {
    flex-direction: column;
    width: 100%;
  }

  .about-cv-download {
    justify-content: center;
    width: 100%;
  }
}

/* responsive */
@media (max-width: 980px) {
  .about-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }

  .about-hero-text {
    max-width: 100%;
  }

  .about-hero-image {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
  }

  .about-hero-image::before {
    display: none;
  }

  .about-hero-image::after {
    display: block;
  }

  .about-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  }

  .about-editorial-shell {
    grid-template-columns: 1fr;
  }

  .about-editorial-intro,
  .about-editorial-card {
    padding: 26px 24px 28px;
    border-radius: 24px;
  }

  .about-editorial-title,
  .about-editorial-text {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .about-page .project-back.project-back-top {
    padding: 0 18px 16px;
  }

  .about-page .contact-hero-section {
    padding: 0 18px 18px;
  }

  .about-hero {
    gap: 18px;
  }

  .about-title {
    max-width: none;
    line-height: 1.02;
  }

  .about-desc {
    max-width: 100%;
    line-height: 1.62;
    font-size: 0.98rem;
  }

  .about-hero-image img,
  .about-hero-image::after {
    border-radius: 22px;
  }

  .about-editorial-section {
    padding: 0 18px 0;
  }

  .about-editorial-shell {
    gap: 16px;
  }

  .about-editorial-intro,
  .about-editorial-card {
    padding: 22px 20px 24px;
    border-radius: 22px;
  }

  .about-editorial-title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    max-width: none;
  }

  .about-editorial-text,
  .about-editorial-card-text {
    font-size: 0.96rem;
    line-height: 1.62;
  }
}

/* PAGE FADE-IN */
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: page-fade-in 0.38s ease both;
}

/* ACTIVE NAV LINK */
.nav-links a.is-active {
  color: #F2F2F2;
  opacity: 1;
}

.nav-links a.is-active::before {
  opacity: 1;
  transform: scale(1);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Social icons row inside hamburger menu */
.nav-social-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 10px 14px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 4px;
  list-style: none;
}

.nav-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 242, 242, 0.5);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-social-row a:hover {
  color: #F2F2F2;
}

/* ABOUT DESC — paragraph spacing */
.about-desc p + p {
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 48px 60px 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.footer-logo {
  display: block;
  width: 175px;
  opacity: 0.85;
  transition: opacity 0.22s ease;
  align-self: flex-start;
  margin-top: -26px;
  margin-left: -20px;
}

.footer-logo:hover { opacity: 1; }

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-tagline {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(242, 242, 242, 0.36);
  letter-spacing: 0.02em;
  max-width: 180px;
  line-height: 1.5;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 242, 242, 0.08);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-nav a,
.footer-socials a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(242, 242, 242, 0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav a:hover,
.footer-socials a:hover {
  color: #F2F2F2;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(242, 242, 242, 0.26);
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .site-footer {
    padding: 40px 40px 28px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 32px 20px 24px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .footer-tagline {
    margin-top: 0;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* En construction badge */
.project-card--wip {
  cursor: default;
  pointer-events: none;
}

.project-card--wip .project-video {
  filter: brightness(0.55) saturate(0.4);
}

.project-card-wip-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(242, 242, 242, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .site-footer {
    padding: 36px 18px 24px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 56px;
  height: auto;
  opacity: 0.9;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50%       { opacity: 1;   transform: scale(1.02); }
}

/* curseur natif OS — rien à overrider */

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  display: none;
}

/* ============================================================
   PREV / NEXT PROJECT NAV
   ============================================================ */
.proj-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 60px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.proj-nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242, 242, 242, 0.45);
  transition: color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.proj-nav-link:hover {
  color: #F2F2F2;
}

.proj-nav-prev:hover { transform: translateX(-3px); }
.proj-nav-next:hover { transform: translateX(3px); }

.proj-nav-all {
  color: rgba(147, 174, 191, 0.6);
  flex-shrink: 0;
}

.proj-nav-all:hover { color: #93AEBF; }

.proj-nav-disabled {
  color: rgba(242, 242, 242, 0.18);
  pointer-events: none;
}

@media (max-width: 720px) {
  .proj-nav {
    padding: 24px 20px 0;
    gap: 10px;
  }
  .proj-nav-link { font-size: 0.72rem; }
}
