/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    color: #FEFEFE;
}

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

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    max-width: 100vw;
    background-color: #000;
    cursor: none;
}


@font-face {
    font-family: "PPNeueMontreal-Medium";
    src: url("PPNeueMontreal-Medium.otf");
}

@font-face {
    font-family: "PPNeueMontreal-Italic";
    src: url("PPNeueMontreal-Italic.otf");
}

@font-face {
  font-family: "Arcilla";
  src: url("./Arcilla.otf");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* CURSOR */

#custom-cursor {
    position: fixed;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    background-color: white;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, transform 0.05s ease;
}

.cursor--large {
    width: 5rem !important;
    height: 5rem !important;
}

/* TYPOGRAPHY */
h1 {
    font-family: PPNeueMontreal-Medium;
    font-size: 3rem;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 3.6rem;
    white-space: nowrap;
}

h2 {
    font-family: PPNeueMontreal-Medium;
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1.9rem;
}

strong {
    text-transform: uppercase;
}

h3 {
    font-family: PPNeueMontreal-Medium;
    font-size: 1.4rem;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 1.6rem;
    margin-bottom: 1rem;
    white-space: nowrap;
}

h4 {
    font-family: PPNeueMontreal-Italic;
    font-size: 2rem;
    font-weight: 200;
    line-height: 2.4rem;
    white-space: nowrap;
}

p, a {
    font-family: PPNeueMontreal-Medium;
    font-size: 1.4rem;
    font-weight: 200;
    line-height: 1.8rem;
    text-decoration: none;
    color: #FEFEFE;
}

li {
    font-family: PPNeueMontreal-Medium;
    font-size: 1.4rem;
    font-weight: 200;
    color: #6E6E6E;
    line-height: 2.2rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* SECTIONS */

.section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  row-gap: 4rem;
  column-gap: 2rem;
  margin: 3rem;
}

/* PROJECTS */

.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  row-gap: 4rem;
  column-gap: 2rem;
  margin: 0 3rem;
}

.card {
    grid-column: span 6;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project_img {
  width: 100%;
  aspect-ratio: 4 / 3; /* adjust if you want tighter/taller */
  overflow: hidden;
  position: relative;
  object-fit: contain;
}

.card_img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* important: fills container */
  transition: 0.3s ease;
}

.project_name {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.project_name .arrow {
  opacity: 0;
  transform: translateX(-80%);
  transition: 0.3s ease;
}

.card:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.card:hover .card_img {
    transform: scale(1.1);
}

/* FILTER */

.desktop-filter {
    display: flex;
    gap: 2rem;
}

#filterDropdown {
  display: none;
}


.filter {
    margin-top: 3rem;
    border-top: solid 1px #FEFEFE;
    padding-top: 3rem;
}

.filter_options {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-column: 8 / span 5;
}

.filter_options a {
    color: #6E6E6E;
    transition: 0.3s;
}

.filter_options a.active {
    color: #FEFEFE;
}

/* HEADER */

.header {
    display: flex;
    margin: 3rem;
    margin-bottom: 3rem;
    justify-content: space-between;
    width: 94vw;
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.menu_about {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    grid-column: 1;
}

.circle_menu {
    background-color: #FEFEFE;
    border-radius: 100%;
    width: 1rem;
    height: 1rem;
    transform: scale(1);
    transition: transform 0.5s ease;
}

/* Add animation only on hover */
.menu:hover .circle_menu:nth-child(1) {
    animation: scalePulse 0.5s ease forwards;
    animation-delay: 0s;
}

.menu:hover .circle_menu:nth-child(2) {
    animation: scalePulse 0.5s ease forwards;
    animation-delay: 0.1s;
}

.menu:hover .circle_menu:nth-child(3) {
    animation: scalePulse 0.5s ease forwards;
    animation-delay: 0.2s;
}

/* Define keyframes */
@keyframes scalePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* INTRO */

h1 {
  grid-column: 1 / span 4;
  grid-row: 1;
  white-space: nowrap;
}

.categories {
  grid-column: 1 / span 1;
  grid-row: 2;
}

.scope {
  grid-column: 2 / span 1;
  grid-row: 2;
}

.scope li {
    white-space: nowrap;
}

.description {
  grid-column: 5 / span 5;
}

/* INFO */

.info {
    margin-top: 12rem;
    margin-bottom: 6rem;
    border-top: solid 1px #FEFEFE;
    padding-top: 2rem;
    grid-template-rows: auto;
    row-gap: 2rem;
}

.first {
    margin-top: 0;
}

h2 {
    grid-column: 1 / span 4;
    grid-row: 1;
}

.button {
  grid-column: 5 / span 5;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  text-transform: uppercase;
  padding-top: 1rem;
}

.button img {
  width: 2rem;
  height: auto;
  display: inline-block;
}

/*SLIDER */

/* #arcilla_h1 {
  font-family: Arcilla; font-size: 10rem; line-height: normal;
}

.info--slider h2 { grid-column: 1 / span 7; }

.info-slider {
  grid-column: 10 / span 3;
  display: flex;
  align-items: center;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1pt;
  background: white;
  outline: none;
  cursor: none;
}

.slider-value {
display: none;
}

---------- WebKit (Chrome, Safari) ---------- 
.slider::-webkit-slider-runnable-track {
  height: 2pt;
  background: white;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 100%;
  background: white;
  border: none;
  margin-top: calc(-0.5rem + 0.5pt);
}

---------- Firefox ---------- 
.slider::-moz-range-track {
  height: 2pt;
  background: white;
}

.slider::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 100%;
  background: white;
  border: none;
}

Arcilla sample block
:root { --arcilla-wght-ligatures: 400; --arcilla-wght-text: 400; }

.arcilla-sample {
  grid-column: 1 / span 12;
  height: auto;
  padding: 6rem 0;
  background: #fff;
  color: #000;
  text-align: center;

  font-family: "Arcilla", sans-serif;
  font-size: 15rem;
  line-height: 1.1;
  letter-spacing: 0;

font-variation-settings: "wght" var(--arcilla-wght-ligatures);
}

.text-samples-section {
  grid-column: 1 / span 12;
  height: auto;
  padding: 6rem 0;
  margin: 0;
}

.text-sample {
  grid-column: 1 / span 10;
  margin: 0;
  font-family: "Arcilla", PPNeueMontreal-Medium, sans-serif;
  font-variation-settings: "wght" var(--arcilla-wght-text);
}

Sizes
.text-sample--xl { font-size: 4.6rem; line-height: 1.2; }
.text-sample--md { font-size: 2.8rem; line-height: 1.25; margin-top: 2rem; }
.text-sample--sm { font-size: 2rem; line-height: 1.3; margin-top: 2rem; } */

/* IMAGE & VIDEO LAYOUTS */

.scans {
    grid-column: 1 / span 12; 
    object-fit: contain;
    width: 100%;
    height: fit-content;
    max-height: 90vh;
}

.full {
    grid-column: 1 / span 12; 
    object-fit: contain;
    width: 100%;
    height: fit-content;
}

.half {
    grid-column: span 6; 
    width: 100%;
    object-fit: contain;
    height: fit-content;
}

.third {
    grid-column: span 4; 
    width: 100%;
    object-fit: contain;
    height: fit-content;
}

.quarter {
    grid-column: span 3; 
    width: 100%;
    object-fit: contain;
    height: fit-content;
}

.motion {
  max-height: 85vh;
}


/* FOOTER */
.back {
    grid-column: 1 / span 2; 
}

.links {
    grid-column: 9 / span 4; 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer {
    margin-top: 8rem;
    margin-bottom: 6rem;
}


/* MOBILE ADAPTATION */

@media only screen and (max-width: 800px) {
  #custom-cursor {
    display: none;
  }

  /* GRID → FLEX OVERRIDE */
  .projects {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 0 2rem;
  }

  .projects .card,
  .card {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .project_img {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .card_img,
  .project_img img,
  .project_img video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .project_name {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
  }

  .project_name h3 {
    margin-bottom: 0;
  }

  .section {
    display: flex;
    flex-direction: column;
    margin: 6rem 2rem;
    row-gap: 2rem;
  }

  .intro {
    margin-top: 0;
  }

  .intro h1 {
    white-space: normal;
    text-wrap: wrap;
    max-width: 90%;
  }

  .info {
    border-top: solid 1px #FEFEFE;
  }

  /* HERO BLOCK */
  .hero_block {
    grid-column: 1 / span 12;
    height: 40vh;
    width: 100vw;
  }

  .hero_quote {
    grid-column: 1 / span 12;
    padding-left: 2rem;
    grid-row: 2;
    color: #FEFEFE;
    text-align: left;
  }

  .hero_quote h4 {
    font-size: 1.4rem;
  }

  .quote,
  .hero_quote {
    white-space: normal;
    word-break: break-word;
    max-width: 90%;
  }

  /* FILTERS */
  .filter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-filter {
    display: none;
  }

  #filterDropdown {
    display: block;
    font-family: PPNeueMontreal-Medium;
    color: #fefefe;
    font-size: 1.4rem;
    padding: 0.5rem;
    background-color: #0000;
    border: 1px solid #fefefe;
    width: 90%;
  }

  .mobile-filter {
    display: block;
    align-self: flex-end;
  }

  /* CIRCLES */
  .circles {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
  }

  .circle {
    background-color: #FEFEFE;
    opacity: 0.7;
    border-radius: 100%;
    width: 6rem;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  /* HEADER */
  .header {
    display: flex;
    align-items: center;
    margin: 3rem 1rem 6rem 1rem;
    width: calc(100vw - 4rem);
  }

  .menu {
    margin-top: 0;
    margin-right: 1rem;
  }

  .menu_about {
    margin-top: 4rem;
  }

  /* FOOTER */
  .back {
    grid-column: auto;
  }

  .links {
    display: none;
  }

  /* VIDEO AUTO-PLAY FIX */
  video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }

  /* ARCILLA TEXT SAMPLES */
  .arcilla-sample {
    padding: 0 1rem;
    font-size: 8rem;
  }

  .text-samples-section {
    padding: 0;
  }

  .text-sample--xl {
    font-size: 3.2rem;
    line-height: 1.2;
  }

  .text-sample--md {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-top: 2rem;
  }

  .text-sample--sm {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-top: 2rem;
  }

  #arcilla_h1 {
    font-family: Arcilla;
    font-size: 6rem;
    line-height: normal;
  }
}


