header{
  display:flex;
  justify-content: space-between;
  margin-bottom:40px;
}

header a, a:hover {
  text-decoration: none;
  color: #000;
    cursor: default;

}

@media (max-width:700px){
  header{
    flex-direction: column;
  }
}

@media (max-width:700px){
  a.work {
    display:none;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.header-nav h2 {
  font-weight: 400;
  font-size: 2em;
}

.header-nav a {
  text-decoration: none;
  color: #000;
}

h1 {
  letter-spacing: -0.8px;
  line-height: 1;
}

header h1, h2 {
  line-height: 1;
  margin: 0;
  margin: 40px 0;
}

.sub {
  font-weight: 400;
  font-size: 2em;
    margin: 0;
}

.insta img {
  margin-bottom: -2px;
  margin-left: 3px;
}


body{
  margin:40px 40px 200px;
  font-family: Alte Haas Grotesk, Helvetica, Arial, sans-serif;
  background:#fff;
  color:#111;

  text-rendering: geometricPrecision;
  font-smooth: always;
  -webkit-font-smoothing:subpixel-antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.filters{
  display: flex;
  gap: 30px;
  margin-bottom:40px;
}

.filters button{
  font: inherit;
  background:none;
  border:none;
  padding: 0;
  cursor:pointer;
  opacity:.45;
  transition:opacity .2s ease;
}

.filters button:last-child {
  margin-left: auto;
}

.filters button:hover{
  opacity:.8;
}

.filters button.active{
  opacity:1;
}

.project {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  break-inside: avoid;
  width: 100%;
}

.project-media {
  position: relative;
  display: inline-block;
}

.project img {
  display: block;
  max-height: 500px;
  width: auto;
  max-width: 100%;
}
.project-media .overlay{
  position:absolute;
  inset:0;
}

.project:nth-child(odd) {
  text-align: right;
}

.project:nth-child(even) {
  text-align: left;
}

.overlay{
  inset:0;
  background:rgba(0,0,0,.33);
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:20px;
  opacity:0;
  transition:opacity .25s ease;
}

.project:hover .overlay {
  opacity: 0;
}

.project-media:hover .overlay {
  opacity: 1;
}

div.project{
  cursor: default;
}

.title{
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.tags{
  font-size:12px;
  opacity:.8;
}



@media (max-width:1080px){
  .sub{
    display:none;
  }
}

@media (max-width:650px){
  .filters button {

  }
}


.grid {
  column-count: 2;
  column-gap: 20px;
}

.project {
  display: block;
  margin-bottom: 20px;
  break-inside: avoid;
  width: 100%;
}

.project-media {
  position: relative;
  display: inline-block;
}

.project img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .grid {
    column-count: 1;
  }
}

.project:nth-child(odd) {
  display: flex;
  justify-content: flex-end;
}


#backToTop{
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  padding:10px 14px;

  font:inherit;
  background:#111;
  color:white;
  border:none;

  cursor:pointer;

  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

#backToTop.show{
  opacity:.8;
  pointer-events:auto;
}

#backToTop:hover{
  opacity:1;
}

#coming-soon-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  color: #fff;
  padding: 16px 32px;
  border-radius: 1px;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#coming-soon-toast.show {
  opacity: 1;
}


.contact {
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.casestudy {
  max-width: 750px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 800px) {
  .casestudy {
    font-size: 70%;
  }
}

h3 {
    font-weight: 400;
    font-size: 2em;
}

h4 {
    font-weight: 400;
    font-size: 1.5em;
    margin: 40px 0 90px;
}

#form-status.success {
  color: black;
}

#form-status.error {
      display: block;
    margin-top: -94px;
    color: red;
}



.fests {
  display: flex;
  gap:15px;
  margin: -30px 0 40px;
  opacity: 45%;
}

.fest {
    display: flex;
    height: 31px;
    width: 50px;
    background-image: url(img/fest.png);
    background-size: 50px;
    font-size: 4px;
    text-align: center;
    align-items: center;
    justify-content: center;    
    padding: 2.5px 0 0;
}


/** Base **/



button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

/** Components **/

.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  color: var(--color-text-default);
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.375rem;
}

.fs-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25rem;
}

.fs-description {
  color: var(--color-text-muted);
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
    background-color: #ffffff;
    border-radius: 2px;
     border-color: #767676;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    line-height: 1rem;
    padding: 1rem 2rem;
    border-width: 1px;
}

.fs-button:hover {
  background-color: var(--color-primary-active);
}

.fs-button:focus-visible {
  background-color: var(--color-primary-active);
  outline: 3px solid var(--color-highlight);
}

.fs-input,
.fs-select {
    appearance: none;
    border-radius: 2px;
    border-width: 1px;
    font-size: 1rem;
    height: 2.5rem;
    line-height: 1.5rem;
    outline: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-input::placeholder {
  color: var(--color-text-muted);
}

.fs-checkbox-group,
.fs-radio-group {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-checkbox-field,
.fs-radio-field {
  column-gap: 0.5rem;
  display: flex;
}

:is(.fs-checkbox-field, .fs-radio-field) .fs-label + .fs-description {
  margin-top: 0.125rem;
}

.fs-checkbox-wrapper,
.fs-radio-wrapper {
  align-items: center;
  display: flex;
  height: 1.25rem;
}

.fs-checkbox,
.fs-radio {
  background-color: #fff;
  border: 1px solid var(--color-text-default);
  height: 1rem;
  width: 1rem;
}

.fs-checkbox {
  border-radius: 0.25rem;
}

.fs-radio {
  border-radius: 100%;
}

.fs-checkbox:checked,
.fs-radio:checked {
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
}

.fs-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.fs-radio:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

.fs-checkbox:focus-visible,
.fs-radio:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.fs-slider {
  background: transparent;
  cursor: pointer;
  height: 1.25rem;
  width: 100%;
}

.fs-slider::-moz-range-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-webkit-slider-runnable-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-moz-range-thumb {
  background-color: var(--color-primary);
  border: none; /* Removes extra border that FF applies */
  border-radius: 50%;
  height: 1.25rem;
  width: 1.25rem;
}

.fs-slider::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  height: 1.25rem;
  margin-top: -0.375rem; /* Centers thumb on the track */
  width: 1.25rem;
}

.fs-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-switch {
  background-color: var(--color-background-alt);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  cursor: pointer;
  height: 1.5rem;
  transition-duration: 200ms;
  transition-property: background-color, background-position;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2.75rem;
}

.fs-switch:checked {
  background-color: var(--color-primary);
  background-position: right center;
}

.fs-switch:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea {
  padding: 0.5rem 0.75rem;
  resize: vertical;
  appearance: none;
    border-radius: 2px;
    border-width: 1px;
    font-size: 1rem;
    height: 2.5rem;
    line-height: 1.5rem;
    outline: none;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}