/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* CUSTOM CSS HERE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url("../Logos/Cursor.png"), auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cossette Titre', sans-serif;
  background: #ffffff;
  color: #161616;
  line-height: 1.1;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* DIVIDER */

.divider {
  border-top: 1px solid #161616;
  width: min(92%, 1380px);
  margin: 0 auto 1.5rem;
}

/* CONTAINER */

.container {
  width: min(92%, 1380px);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  width: 100%;
  padding: 1.5rem 0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo img {
  height: 4.5vh;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: #161616;
  transition: 0.2s ease;
  font-weight: 600;
}

.nav-links a:hover {
  letter-spacing: 0.15em;
}

/* MOBILE MENU */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #161616;
  transition: 0.3s ease;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  padding: 2rem 0 0rem;
}

.hero h1 {
  font-size: clamp(20vw, 18vw, 20vw);
  font-family: 'Manufacturing Consent', system-ui;
  line-height: 1;
  letter-spacing: 0em;
  font-weight: 600;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-right p {
  color: #161616;
  max-width: 420px;
  font-size: 1rem;
  padding: 0 0 0.5rem;
}

.space-text {
  transition: 0.2s ease;
}

.space-text:hover {
  letter-spacing: 0.15em;
}

/* PROJECT HERO */

.project-hero-container {
  width: min(92%, 1380px);
  margin: 2rem auto 1rem;
  padding: 2rem 0;
  border-top: 1px solid #161616; 
  border-bottom: 1px solid #161616;
  display: flex;
  gap: 1.5rem;
}

.project-hero-left {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

.project-hero-left h2 {
  font-weight: 700;
  font-size: 1.75rem;
}

.project-hero-left p {
  font-size: 0.85rem;
}

.project-hero-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

.project-hero-right p {
  font-size: 1.25rem;
}

.project-hero-right a {
  font-size: 1.25rem;
  padding-top: 1rem;
  transition: 0.2s ease;
}

.project-hero-right a:hover {
    font-weight: 700;
    letter-spacing: 0.15em;
}

.metadata {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 0;
  gap: 0.5rem;
}

.metadata p {
  font-size: 1rem;
}

.next-previous {
  display: flex;
  gap: 2.5rem;
}

/* PROJECT CONTENT */

.project-content-container {
  width: min(92%, 1380px);
  margin: auto;
  padding: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
}

.project-content-left {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

.project-content-left p {
  font-size: 0.85rem;
  width: 70%;
}

.project-content-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

.project-content-right img{
  margin-bottom: 0.5rem;
}

/* FILTERS */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0rem 0 2rem;
}

.filters button {
  color: #161616;
  transition: 0.2s ease;
  border: 1px solid #161616;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.filters button:hover,
.filters button.active {
  color: #ffffff;
  background-color: #161616;
}

/* PROJECTS */

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1.2fr);
  gap: 1rem;
  padding-bottom: 6rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-image img {
  height: 100%;
  object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.project-content p {
  color: #161616;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.project-tags span {
  border: 1px solid #161616;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  color: #161616;
}

/* INDIVIDUAL PROJECTS */

.project-display {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

.project-display img,
.project-display video {
  height: 100%;
  width: auto;
  object-fit: cover;
  flex-shrink: 1;
  min-width: 0;
  display: block;
}

/* VIDEO */

.video-wrapper {
  position: relative;
  height: 100%;
  min-width: 0;

  display: flex;
}

.video-wrapper .sound-btn {
  opacity: 0.2;
}

.video-wrapper:hover .sound-btn {
  opacity: 1;
}

.sound-btn {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;

  width: 3.25rem;
  height: 2rem;

  background: #fff;
  border: 1px solid #121212;
  border-radius: 999px;

  display: flex;
  align-items: center;
  padding: 0.25rem;

  transition: 0.2s ease;
}

.sound-toggle {

  width: 1.5rem;
  height: 1.5rem;

  border: 1px solid #121212;
  border-radius: 999px;

  transition: 0.2s ease;
}

.sound-btn.muted .sound-toggle:hover {
  background: #121212;
}

.sound-btn:not(.muted) .sound-toggle:hover {
  background: #fff;
}

.sound-btn.muted {
  justify-content: flex-start;
}

.sound-btn.muted .sound-toggle {
  background: #fff;
}

.sound-btn:not(.muted) {
  justify-content: flex-end;
}

.sound-btn:not(.muted) .sound-toggle {
  background: #121212;
}

/* ABOUT */

.about {
  margin-top: 1rem;
  width: 60%;
  height: auto;
}

.about-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 1.25rem;
}

.about-footer {
  border-top: 1px solid #161616;
  padding: 2rem 0;
  position: fixed; 
  bottom: 0; 
  width: 100%;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid #161616;
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-container h3 {
  margin-bottom: 0.5rem;
}

.footer-container p,
.footer-links a {
  color: #161616;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-logo img {
    height: 7vh;
    width: auto;
}

/* PROJECT PAGE TEMPLATE STYLING */

.project-hero {
  padding: 7rem 0 3rem;
}

.project-hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-body {
  padding: 3rem 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.project-body img {
  border-radius: 8px;
}

.project-text p {
  margin-bottom: 1.5rem;
  color: #161616;
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .project-hero-container {
    flex-direction: column;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-hero-left {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(36vw, 20vw, 36vw);
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .projects img {
    border-radius: 8px;
  }

  .project-content-left {
  width: 90%;
  align-self: center;
  }

  .project-content-left p {
  width: 100%;
  }

  .next-previous {
  flex-direction: column;
  gap: 0;
  }

  .project-display {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  height: auto;
  }

  .project-display video {
    border-radius: 8px;
  }

  .sound-video video {
    border-radius: 8px;
  }

  .project-card:hover img {
  transform: scale(1);
  }

  .project-body {
    grid-template-columns: 1fr;
  }

  .about {
  width: 50%;
  }

  .about-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 1.1rem;
  }

  .about-footer {
  display: flex;
  position: relative;
  }

}

@media (max-width: 700px) {

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    border: 1px solid #161616;
    border-radius: 12px;
    padding: 1rem;
    gap: 1.25rem;
    flex-direction: column;
    min-width: 160px;
    display: flex;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 0.2s ease-in;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .site-footer {
  border-top: none;
  padding: 0 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .project-hero-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  }

  .project-content-container {
  width: min(92%, 1380px);
  margin: auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  }

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

  .project-content-right {
  width: 100%;
  }

  .project-content-right img{
  border-radius: 8px;
  }

}
/* post-edit comment */
