/* Central column — the same measure and gutter as experiments/case.css:
   1600px wide at most, and a gutter that grows with the viewport but never
   past 4rem. On a phone the clamp bottoms out at 1.5rem, so the margins
   stay small there. */
:root{
  --pad: clamp(1.5rem, 3.6vw, 4rem);
  --max: 1600px;
}

body{
  font-family: 'Inter', sans-serif;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* The one exception: the shots grid ignores the column and runs to the
   glass. It lands on the viewport whatever padding it sits in — the same
   escape .ch-gal--square uses on a phone. 100vw counts the scrollbar, so
   the page hides its horizontal overflow to pay for it — see the html rule
   further down. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
  padding: 6px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.grid .cell {
  aspect-ratio: 1 / 1;   /* forces 1:1 square */
  overflow: hidden;
  border-radius: 0px;
  background: #eee;
}

.grid .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills square, crops overflow */
  display: block;
}

.grid .cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills square, crops overflow */
  display: block;
}


/* the frame never moves: fixed grid, text left / media right */
.hero{
  padding-top: 10vh;
    }


.name{
  font-family: "Elms Sans", sans-serif;
  letter-spacing: -1px;
  /* Was a flat 2.5rem at every width. The 1rem base keeps the vw term from
     collapsing on a phone — a common handset still lands near today's 40px,
     and only a 320px screen shrinks far enough to keep "Matheus Neves" on
     one line. Past ~640px it caps at 3.5rem, so the name reads as display
     type against the 1600px column instead of staying at body scale. */
  font-size: clamp(2rem, 6vw + 1rem, 3.5rem);
  line-height:1.12;
  font-weight:100;
  letter-spacing:-0.01em;
  margin:2rem 0 0 0;
}

.role{
  font-size:1.5rem;
  font-weight:100;
  margin:0 0 30px;
}

.bio{
  font-size: 1.2rem;
  line-height:1.6;
  margin:0 0 32px;
  max-width:750px;
  font-weight: 200;
}

  #projectList {
  margin: 0;
  padding: 0;
  }

#projectList li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* 3.5rem is a floor, not a fixed height: on a phone these titles wrap to two
   or three lines, and a fixed row let them spill over the one below. The row
   height now comes from min-height + padding, and the leading is a normal
   multiplier instead of the full row height — a single line still sits where
   it always did. */
#projectList li a {
  display: flex;
  width: 100%;
  min-height: 3.5rem;
  padding-block: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 100;
  border-bottom: 1px #efefef solid ;
  text-decoration: none;
  color: #000;
  opacity: 60%;
  font-weight: 200;
  align-items: center;
  transition: 
    font-weight 0.15s ease-in,  
    opacity 0.5s ease-in,
    padding-left 0.3s ease-in;
  
}

#projectList li a:hover {
  opacity: 100%;
  font-weight: 400;
  border-bottom: 1px #000 solid ;
  padding-left: 1rem;
  
}

h3.bio{
  font-size: 1rem;
  margin-top: 2rem;
  font-weight: 100;
  margin-bottom: 1rem;
}

#projectList li a span{
  background-color: #efefef;
  border-radius: 200px;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  margin-left: 0.5rem;
  font-weight: 300;
  height: 2rem;
  line-height: 2rem;

}
#projectList li a span:first{
  margin-left: 1rem;
}

.pills {
   /*
   background-color: #efefef;
  border-radius: 200px;
  */
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  font-size: 1rem;
  margin-left: 0.5rem;
  font-weight: 300;
  line-height: 2rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  margin-left: 1.2rem;
  color: #000;
}

.bio a {
  text-decoration: none;
  color: #000;
}
.bio a:hover {
  text-decoration: underline;

}
.bio a .dim{
  text-decoration: none;
  opacity: 60%;
}

html {
  scroll-behavior: smooth;
  /* Adjust the value below to match the exact height of your sticky header */
  scroll-padding-top: 80px;
  /* the shots grid escapes the column with 100vw — no sideways scrollbar */
  overflow-x: hidden;
}




.workExperience h4{
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
}

.workExperience ul{
  padding: 0;
  margin: 0;
  margin-top: 0.25rem;
  opacity: 30%;
  list-style: inside;
  list-style-type: '· ';
  display: none;

}


.workExperience p {
  margin: 0;
  font-size: 1rem;
}

.workExperience h4 a {
  text-decoration: none;
  color: #000;
}
.workExperience h4 a:hover {
    text-decoration: underline;
}

.workExperience p span{
  margin: 0;
  opacity: 80%;
  font-weight: 100;
}

#remarkList {
  display: flex;
  gap: 3rem;
}

.remarks{
 border-left: 1px #000 solid;
 width: 280px;
  padding-left: 2rem;

}


.remarks h4{

}

/* Foot — the same shape as .ch-foot on the case pages: a hairline, a small
   line of type, and a block of air under it so the page ends rather than
   stops. The bottom padding lives here because body carries none. */
.foot{
  border-top: 1px #efefef solid;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: clamp(1.25rem, 2.4vw, 2rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  /* name left, the way out right — wraps to two lines when there is no
     width left for both */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.foot p{
  margin: 0;
  font-size: 1rem;
  font-weight: 200;
}

.foot p span{
  opacity: 60%;
}

.foot a{
  font-size: 1rem;
  font-weight: 200;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}

.foot a:hover{
  text-decoration: underline;
}

.remarks ul{
  margin: 0;
  padding: 0;
  list-style: inside;
  list-style-type: '· ';

  
}